@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v47-latin-regular.eot');
    src: url('../fonts/roboto-v47-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v47-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v47-latin-regular.woff') format('woff'), url('../fonts/roboto-v47-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v47-latin-regular.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #545454;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 71.25rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.35) 0 .312rem .937rem;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.mail {
    color: #197283;
}

a.mail:hover {
    color: #245863;
    text-decoration: underline
}

p {
    margin: 0 0 1.875rem;
}

i {
    color: #50B9C8;
    width: 0.875rem;
    margin-right: 0.625rem;
}

h1 {
    font-size: 2.55rem;
    line-height: 1.3;
    margin: 1.625rem 0;
    font-weight: normal;
}

h2 {
    font-size: 1.562rem;
    margin: 2.5rem 0 1.25rem;
}

h3 {
    border-left: solid thin;
    color: #197283;
    padding: 4.5rem 0.625rem;
    margin: 0 0 0 3.125rem;
    font-size: 2.187rem;
}

h5 {
    font-size: 1rem;
    border-left: #50B9C8 solid .312rem;
    padding: 0 0 0 0.625rem;
    margin: 0.625rem 0 0.625rem 10%;
    font-weight: normal;
}

ul {
    list-style: none;
    margin: 0 0 1.875rem;
    padding: 0;
}

ul li {
    padding: 0 0 0.5rem 1.375rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
    color: #50B9C8;
}

section {
    color: #fff;
    background: #19728399;
    backdrop-filter: blur(.625rem);
    border-radius: .625rem;
    position: absolute;
    z-index: 1;
    top: 8.75rem;
    padding: 2.5rem;
    width: 57%;
    left: 5%;
}

header i {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 0.0625rem;
    -webkit-text-stroke-color: #50B9C8;
}

.flextext {
    display: flex;
    column-gap: 1.25rem;
}

.logo {
    display: block;
    width: fit-content;
    margin: 1rem;
}

main {
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
}

article {
    width: 60%;
    padding: 1.875rem 1rem .625rem;
}

.article {
    width: 40%;
    padding: 1.875rem 1.25rem 5rem;
    background: #F0F0F0;
    border-radius: 0.625rem;
    height: fit-content;
    position: absolute;
    top: 30.625rem;
    right: 0;
    box-shadow: rgba(0, 0, 0, 0.35) 0 .312rem .937rem;
}

a.button {
    margin: 3.875rem 0 0;
    background: #851940;
    color: #fff;
    display: block;
    width: 100%;
    font-weight: 700;
    padding: 1.25rem;
    border-radius: 2.5rem;
    text-align: center;
}

a.button:hover {
    background: #671433;
    transform: scale(1.05);
}

.flex {
    border-radius: 0.625rem;
    display: flex;
    justify-content: space-between;
    align-items: top;
    padding: 0 4rem;
    background-color: rgb(8, 67, 80);
    overflow: hidden;
    min-height: 21rem;
}

.box {
    position: relative;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    width: 30%;
    padding: 6rem 0;
}

.box img {
    width: 3.5rem;
    margin-bottom: 1.25rem;
}

.box h4 {
    text-align: center;
    color: #fff;
    font-size: 0.875rem;
    margin: 0
}

.box p {
    text-align: center;
    color: #fff;
    visibility: hidden;
    bottom: 0;
    display: none;
    margin-bottom: 0;
}

.box:hover {
    padding: 1rem 0;
    align-self: center;
}

.box:hover h4 {
    padding: 0 0 0.3125rem;
    margin: 0 0 0.3125rem;
    border-bottom: solid;
}

.box:hover p {
    visibility: visible;
    display: block;
    top: 12.5rem;
}

footer {
    margin-top: 2.5rem
}

@media only screen and (max-width: 71.187rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    span {
        white-space: nowrap;
    }

    section {
        position: static;
        width: 100%;
        border-radius: 0;
        padding: .625rem;
    }

    header i {
        -webkit-text-stroke-color: #084350;
    }

    .flextext {
        flex-direction: column;
    }

    article {
        flex: 0 0 65%;
    }

    article,
    .article {
        width: 100%;
        position: static;
        box-shadow: none;
    }

    footer {
        margin-top: 1rem
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }
}

@media only screen and (max-width: 48rem) {
    main {
        padding: 0;
        display: block;
    }

    article {
        padding: 0;
    }

    h1 {
        font-size: 1.875rem;
    }

    .flex {
        padding: 0 1rem;
    }
}

@media only screen and (max-width: 42.5rem) {
    h2 {
        margin: 0.625rem 0;
        font-size: 1.125rem;
    }

    ul li {
        padding: 0 0 0 1.375rem;
    }

    .flex {
        display: block;
    }

    .box {
        width: 100%;
        padding: 0.9375rem 0;
    }
}

@media only screen and (max-width: 30rem) {

    h1,
    section p {
        text-align: center;
    }

    h3 {
        font-size: 1.562rem;
        padding: 1.875rem .625rem;
    }

    .logo {
        margin: 0.625rem auto 1.25rem;
    }

    .article {
        padding: 1.25rem .625rem
    }

    a.button {
        margin: 0 0 .625rem;
    }

}

@media only screen and (max-width: 23.437rem) {
    h3 {
        font-size: 1.062rem;
    }
}
