/*************
-----Global
 ************/

:root {
    --black: #2A2829;
    --primary: #478eff;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--black);
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
optgroup,
select,
textarea {
    font: inherit;
    color: inherit;
    background-color: transparent;
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    border: none;
}

input,
select,
textarea {
    max-width: 300px;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #D5D8DE;
    padding: 18px 15px;
    margin: 0 auto 18px;
    font-size: 14px;
}

input::placeholder,
textarea::placeholder {
    font-family: inherit;
}

textarea {
    resize: none;
}

img,
picture,
video {
    display: block;
    height: auto;
    width: 100%;
}

h1, h2, h3, h4, p {
    margin: 0;
}


.button {
    cursor: pointer;
    margin: 0 auto;
    max-width: 191px;
    width: 100%;
    height: 29px;
    background-color: var(--primary);
    color: #FFF;
    padding: 7px 10px;
    font-weight: 600;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.button.loading {
    position: relative !important;
    pointer-events: none !important;
    color: transparent !important;
}

.button.loading::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: loading 1s ease infinite;
}

@keyframes loading {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}


/*********
Content
 */

.content,
.contentTall {
    color: var(--black);
    font-size: 17px;
    line-height: 27px;
    max-width: 500px;
    margin: auto;
}

.contentTall {
    line-height: 33px;
}

@media (max-width: 500px) {

    .button {
        height: 34px;
    }

    .content,
    .contentTall {
        font-size: 16px;
        line-height: 20px;
    }

    .contentTall {
        line-height: 30px;
        margin-top: 10px;
    }
}

/*************
-----Header
 ************/

#header {
    background-color: var(--black);
    padding: 40px 30px;
    border-bottom: 2px solid white;
    display: grid;
    grid-template-columns: 50px auto 50px;
    position: sticky;
    top: 0;
    z-index: 2;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

#headerLink {

}

#headerLinkLogo {
    max-width: 227px;
    margin: 0 auto;
    background-color: var(--black);
}

#headerMenu {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#headerMenu svg {
    width: 30px;
    height: auto;
}

#headerNav {
    position: absolute;
    top: 100%;
    width: 100%;
    background-color: white;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows ease 500ms;
}

#headerNav.active {
    grid-template-rows: 1fr;
}

#headerNavInner {
    text-align: center;
    display: grid;
    row-gap: 10px;
    overflow: hidden;
}

#headerNav a:first-child {
    padding-top: 10px;
}

#headerNav a:last-child {
    padding-bottom: 10px;
}

#headerNav a {
    display: block;
}


@media (max-width: 500px) {

    #header {
        padding: 21px 30px;
    }

    #headerLinkLogo {
        max-width: 150px;
    }

    #headerMenu svg {
        width: 20px;
    }

}


/*************
-----Footer
 ************/

#footer {
    padding: 30px 20px;
    background-color: var(--black);
}

#footerLogo {
    max-width: 150px;
    margin: auto;
}

@media (max-width: 500px) {
    #footer {
        padding: 30px;
    }
}
