@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --light-gray: #797979;
    --dark-gray: #575757;
    --blue: #2DC1FC;
    --link-blue: #0C81AF;
    --mobile-menu: #007895;
    --mobile-backdrop: #0C81AF;

    --fs-10: 0.6rem;
    --fs-11: 0.688rem;
    --fs-12: 0.8rem;
    --fs-13: 0.813rem;
    --fs-14: 0.9rem;
    --fs-15: 0.938rem;
    --fs-16: 1rem;
    --fs-17: 1.063rem;
    --fs-18: 1.1rem;
    --fs-19: 1.188rem;
    --fs-20: 1.3rem;
    --fs-21: 1.313rem;
    --fs-22: 1.375rem;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    height: 100%;
    min-height: 100vh;
    font: normal normal 300 var(--fs-17)/25px Roboto;
}

body {
    width: 100%;
    color: var(--dark-gray);
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    background-color: #FFF;
}

h1 {
    margin: 0;
    color: var(--light-gray);
    font-size: 1.3125rem;
    font-weight: bold;
}

h2 {
    margin: 0.25rem 0;
    font-size: .875rem;
    font-weight: 300;
    letter-spacing: 0.15px;
    line-height: 22px;
}

h3 {
    color: var(--blue);
    font-size: 17px;
}

p {
    margin: 30px 0;
    font-size: 17px;
    letter-spacing: 0.15px;
}

a {
    color: var(--blue);
    font-weight: 300;
    text-decoration: none;
}

strong {
    font-size: 17px;
    font-weight: 700;
}

a:hover,
a.active,
li.selected a {
    font-weight: 700 !important;
}

dl, dt, dd {
    font-size: 17px;
}

header {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 10px;
}

#logo img {
    max-width: 98px;
}

.heading {
    display: flex;
    flex-direction: column;
    /*align-items: flex-end;*/
    flex: 1;
    margin-left: 20px;
    padding-top: 10px;
    padding-right: 5px;
    overflow: hidden;
}

.heading h1 {
    letter-spacing: -0.6px;
}

.heading h2 {
    letter-spacing: -0.4px;
    line-height: 0.5;
}

.lang-menu-wrapper {
    display: none;
}

.mobile-menu-wrapper {
    position: absolute;
    top: 60px;
    right: 25px;
}

.mobile-menu-wrapper button {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-menu-wrapper svg {
    width: 100%;
    height: 100%;
    fill: var(--mobile-menu)
}

#mobileMenu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: var(--mobile-backdrop);
    transition: all .2s;
    transform: translateX(100%);
    opacity: 0;
}

#mobileMenu.show {
    transform: translateX(0);
    opacity: .88;
}

#mobileMenu nav {
    flex: 1;
    width: 100%;
}

#mobileMenu ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

#mobileMenu ul li a {
    color: white;
    font-weight: 400;
    font-size: 2rem;
}

.mobile-lang-select {
    display: flex;
    flex-direction: row !important;
    margin-bottom: 1rem;
    list-style: none outside none;
}

.mobile-lang-select li a {
    font-size: 1.4rem !important;
}

#mobileCloseBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    color: white;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.menu ul {
    justify-content: flex-end;
    gap: 30px;
    width: 400px;
    list-style: none outside none;
}

.menu ul li a {
    /*font-size: 1.075rem;*/
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.48px;
    user-select: none;
}

#langs {
    position: relative;
    padding-top: 10px;
    color: var(--dark-gray);
}

#langs span {
    padding-right: 15px;
    font-size: 1.075rem;
    line-height: 20px;
    letter-spacing: 0.48px;
}

#langs button {
    cursor: pointer;
    background: none;
    border: 0;
}

#langs button img {
    width: 13px;
}

#langs ul {
    display: flex;
    flex-direction: column;
    gap: 12px;

    position: absolute;
    top: 8px;
    left: -17px;
    right: auto;
    padding: 12px 18px;
    width: 86px;
    border: 0;
    border-radius: 3px;
    background-color: white;
    z-index: -1;
    box-shadow: 0px 3px 6px rgba(50,50,50,.3);
    transition: all .2s;
    opacity: 0;
}

#langs ul li {
    list-style: none inside none;
}

#langs ul li a {
    color: var(--dark-gray);
}

#langs #up {
    position: absolute;
    top: 14px;
    right: 15px;
}

#langs #up img {
    transform: rotate(180deg);
}


main {
    padding: 0;
    font-size: .875rem;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 0.15px;
}

main a {
    color: var(--link-blue);
}

main ul {
    margin: 0;
    padding: 0 40px;
    list-style: none inside none;
}

main ul li {
    position: relative;
    margin: 1rem 0;
    font-size: 17px;
}

main ul li::before {
    position: absolute;
    content: '';
    top: 8px;
    left: -20px;
    width: 8px;
    height: 8px;
    background-color: var(--blue);
    border-radius: 50%;
}

footer nav {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

footer nav ul {
    justify-content: space-around;
    margin: 0 5px;
    width: 100%;
    list-style: none outside none;
    flex-direction: column;
    align-items: center;
}

footer nav ul li a {
    /*font-size: 0.875rem;*/
    font-size: 17px;
    line-height: 20px;
    user-select: none;
}

footer nav ul li a::after {
    content: attr(data-text);
    content: attr(data-text) / "";
    height: 0;
    visibility: hidden;
    overflow: hidden;
    user-select: none;
    pointer-events: none;
    font-weight: 700;
}

.container {
    display: grid;
    grid-template-rows: auto 1fr 60px;
    padding: 0px 28px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.object-fit {
    object-fit: cover;
    object-position: center center;
    height: 100%;
}

.grid {
    display: grid;
    gap: 10px;
}

.cols-2 {
    grid-template-columns: 1fr;
}

.template .heading {
    margin: 40px 0;
}

.template h3 {
    margin: 0;
}

.template ul {
    padding: 0 20px;
}

.template dl {
    display: grid;
    gap: 20px 40px;
    grid-template-columns: 150px 1fr;
}

.template dl dt {
    position: relative;
    padding-left: 20px;
    font-weight: 700;
}

.template dl dt:before {
    position: absolute;
    content: '';
    top: 8px;
    left: 0px;
    width: 8px;
    height: 8px;
    background-color: var(--blue);
    border-radius: 50%;
}

.template dl dd {
}

.form-wrapper legend {
    color: var(--blue);
    font-size: 17px;
    font-weight: 700;
}

.form-wrapper form {
    margin-top: 30px;
}

.form-wrapper .formline {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 30px;
}

.form-wrapper .formline label {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-wrapper .formline input,
.form-wrapper .formline select {
    padding: 10px 15px;
    height: 44px;
    color: var(--light-gray);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    border: 1px solid var(--dark-gray);
    background-color: white;
}

.form-wrapper .formline input[type=submit] {
    align-self: flex-end;
    margin: 0;
    padding: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.075rem;
    border: 0;
    background: none;
}

.message {
    padding: 20px;
    margin: 20px 0;
    border-radius: 1px;
    text-align: center;
    font-weight: 700;
}
.message.success {
    border: 1px solid green;
    background-color: lightgreen;
    color: darkgreen;
}
.message.error {
    border: 1px solid darkred;
    background-color: #FFCDD2;
    color: darkred;
}

@media (max-width: 425px) {
    #logo img {
        max-width: 70px;
    }
}
@media (max-width: 479px) {
    .heading h1 {
        font-size: 18px;
    }
    .heading h2 {
        font-size: 13px;
    }
}
@media (max-width: 500px) {
    .container {
        grid-template-rows: 110px 1fr 60px;
        padding: 0 10px;
    }
    .mobile-menu-wrapper {
        right: 10px;
    }
    .banner {
        text-align: center;
    }
}
@media (min-width: 488px) {
    footer nav ul {
        flex-direction: row;
    }
}
@media (min-width: 1024px) {
    .mobile-menu-wrapper {
        display: none;
    }
    .lang-menu-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: space-between;
        max-height: 110px;
    }
    #logo img {
        max-width: 123px;
    }
    header {
        grid-template-columns: 1fr 1fr;
        padding: 23px 0;
        height: 180px;
    }
    /*.heading {
        align-items: flex-start;
    }*/
    .heading h1, .heading h2 {
        line-height: 1;
        letter-spacing: 0;
    }
    h1 {
        font-size: 26px;
        line-height: 36px !important;
    }

    h2 {
        margin: 0;
        font-size: 17px;
        line-height: 22px !important;
        letter-spacing: 0.24px;
    }
    .grid {
        gap: 40px;
    }
    .cols-2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    p {
        letter-spacing: 0.48px;
    }
    .container {
        grid-template-rows: 200px 1fr 60px;
    }
    header {
        grid-template-columns: 1fr 1fr;
        padding: 25px 0;
        height: 180px;
    }
    main {
        line-height: 25px;
        letter-spacing: 0.48px;
    }
    footer nav ul {
        justify-content: space-between;
        margin: 0 auto;
        width: 480px;
    }
    footer nav ul li a {
        font-size: 17px;
        font-weight: 400;
        line-height: 20px;
    }
}
