html {
    scroll-behavior: smooth;
}

body {
    font-family: Monda, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: #333333;
    padding-bottom: 0;
    margin: 0;
}

section, header {
    background: white;
}

:target {
    scroll-margin-top: 4.5rem;
}

p {
    line-height: 1.6em;
}

h1 {
    font-size: 2rem;
    font-weight: bold;
}

h2 {
    font-weight: 500;
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.4rem;
}

h2, h3, h4 {
    margin: 1em 0;
}

span.highlight {
    font-weight: 700;
    color: #00669a;
}

div.head-description {
    margin: 2rem 0 1rem 0;
}

.flex {
    display: flex;
}

input[type="submit"] {
    border: 0.3rem solid #00669a;
    background: transparent;
    padding: 0.2rem 0.5rem;
    color: #00669a;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.4s ease-in-out;
}

input[type="submit"]:hover,
input[type="submit"]:focus {
    background: #00669a;
    color: white;
    border-radius: 0.5rem;
}

div.center-text {
    width: 100%;
    text-align: center;
}

.clickable {
    cursor: pointer;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/*********************************************    HEADER    ***********************************************************/
header {
    width: 100%;
    height: fit-content;
}

header nav.navbar {
    font-weight: 600;
    width: calc(100% - 2rem);
    position: fixed;
    display: flex;
    height: 4.5rem;
    background: white;
    box-shadow: 0 0 7px rgba(0, 0, 0, .1);
    z-index: 10;
    top: 0;
    left: 0;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

header nav.navbar img.menu-icon {
    width: 4rem;
}

header nav.navbar a {
    text-decoration: none;
    color: rgba(33, 33, 33, 0.82);
}

header nav.navbar a:hover,
header nav.navbar a:focus {
    text-decoration: underline;
    opacity: 0.7;
    transition: all .4s ease-in-out;
}

header nav.navbar a.image {
    display: block;
}

header nav.navbar a.image img {
    height: 3.5rem;
}

@media (min-width: 650px) {
    header nav.navbar img.menu-icon {
        display: none;
    }

    header nav.navbar div.links {
        display: flex;
        align-items: stretch;
        gap: 1rem;
    }

    header div.useful-info {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: space-between;
        align-items: center;
        margin-top: 4.5rem;
        padding: 0.5rem 1rem;
        border-bottom: 1px solid #e9e9e9;
    }

    header div.useful-info div.left {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem;
    }

    header div.useful-info .padding-right {
        padding-right: 0.5rem;
        border-right: 1px solid lightgrey;
    }

    header div.useful-info a {
        text-decoration: none;
        color: #494949;
        font-weight: 600;
    }

    header div.useful-info img.icon {
        width: 1.2em;
    }
}

@media (max-width: 650px) {
    header nav.navbar div.links a {
        display: block;
        padding: 0.8em 0.5em;
        width: 10em;
        border-bottom: #b3b3b3 1px dotted;
    }

    header nav.navbar div.links {
        visibility: hidden;
        max-height: 0;
        position: absolute;
        border-top: 2px solid #2ea3f2;
        box-shadow: -1px 1px 5px #5c5c5c;
        top: 4.5rem;
        right: 0;
        transition: all 0.5s ease-in-out;
        text-align: center;
        background-color: white;
        padding: 0;
        overflow-y: hidden;
    }

    header nav.navbar img.menu-icon:hover ~ div.links,
    header nav.navbar img.menu-icon:focus ~ div.links,
    header nav.navbar div.links:hover,
    header nav.navbar div.links:focus {
        visibility: visible;
        max-height: 15.5em;
        transition: all 0.5s ease-in-out;
    }

    header div.useful-info {
        display: none;
    }

    section.simple-title {
        margin-top: 4.5rem;
    }
}

/*********************************************    FOOTER    ***********************************************************/
div.contact-us {
    text-align: center;
    padding: 2rem;
    background: #e2e6e8;
    color: black;
}

div.contact-us h2 {
    font-size: 1.2rem;
}

div.contact-us a {
    padding: 0.5rem 1rem;
    background: #5cb85c;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
}

footer div.publicity {
    padding: 2rem 5% 4rem 5%;
    background: #e2e6e8;
}

footer div.publicity img {
    max-width: 80vw;
    width: 50rem;
    margin: auto;
    display: block;
}

footer div.policy {
    text-align: center;
    padding: 2rem 5%;
    background: #013765;
    color: white;
}

footer div.policy img {
    width: 100%;
    max-width: 8rem;
}

footer div.policy nav.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

footer div.policy nav.flex a {
    text-decoration: none;
    color: #959a8f;
}

footer div.rights {
    padding: 0.1rem 5%;
    background-color: #2c3e4f;
    color: white;
    text-align: center;
}

/*********************************************    SIMPLE ELEMENTS    **************************************************/
section.simple-title {
    padding: 1rem 10%;
    background: #013765;
    color: white;
}

section.simple-text {
    padding: 1rem 10%;
}

nav.content-table a {
    text-decoration: none;
    color: #333333;
}

section.simple-text li {
    line-height: 1.6em;
}

section.simple-text h2 {
    font-weight: 600;
    font-size: 1.2rem;
}

section.simple-text h3 {
    font-size: 1rem;
    margin: 2em 0 1em 0;
}

section.simple-text a {
    text-decoration: none;
    color: #013765;
}

section.simple-text a:hover,
section.simple-text a:focus {
    color: #3b82bf;
}