:root {
    --neutral-white: #FEFEFE;
    --blue-500: #2151D7;
    --black-text: #0a0a0a;
    --screen-bg: #f5f7f9;
    --neutral-200: #F5f5f5;
    --neutral-400: #D9D9D9;
    --neutral-700: #8F9193;
    --neutral-900: #454749;
    --blue-300: #3679F5;
    --blue-4: #9EBEFA;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background-color: #fff;
    overflow-x: hidden;
    cursor: default;
    -webkit-font-smoothing: antialiased
}

body,
button,
input,
select {
    font-family: "Open Sans", sans-serif;
}

h1 {
    font-size: 36px;
}

h3 {
    font-size: 20px;
}

.fw-400 {
    font-weight: 400;
}

button {
    width: max-content;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px;
    border: 1px solid;
    height: 48px;
    border-radius: 8px;
}

.btn-primary {
    background-color: var(--screen-bg);
    color: var(--blue-500);
    border-color: var(--blue-500);
    padding-inline: 20px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background-color: var(--blue-500);
    border: transparent;
    color: var(--neutral-white);
}

button:hover {
    filter: brightness(95%);
}

button:active {
    filter: brightness(90%);
}

.btn-primary:active {
    box-shadow: none;
}

input,
select,
option {
    color: var(--black-text);
}

select {
    appearance: none;
    background-image: url("/resources/arrow-down.svg");
    background-repeat: no-repeat;
    background-position: 97% 50%;
    cursor: pointer;
}

option {
    cursor: pointer;
}

.flex-row {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-sb {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

a {
    font-size: 20px;
    text-decoration: none;
}

a:visited {
    color: var(--blue-500);
}

a.active {
    font-weight: 600;
}

details {
    background-color: var(--screen-bg);
    max-height: 58px;
    transition: 1.2s max-height;
    overflow: hidden;
}

details[open] {
    max-height: 200vh;
    transition: 1.2s max-height;
}

details > p {
    padding: 20px;
}

details summary img {
    transition: 0.5s transform;
}

details[open] summary img {
    transform: rotate(180deg);
    transition: 0.5s transform;
}

details[open] summary p {
    font-weight: 700;
}

/* NAVBAR HEADER */
header {
    padding-inline: 7.5rem;
    padding-block: 18px;
    border-bottom: 1px solid var(--blue-500);
    align-items: center;
}

header a {
    display: inline-flex;
    color: var(--blue-500);
}

.header-logo {
    width: 240px;
    user-select: none;
}

header ul {
    list-style-type: none;
    gap: 2.25rem;
    align-items: center;
}

header input,
header label {
    display: none;
}

/* JUMBOTRON */
.jumbotron {
    padding-inline: 7.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.jumbotron a {
    margin-top: 24px;
    width: fit-content;
}

/* FOOTER */
footer {
    background-color: var(--screen-bg);
}

.footer-main {
    padding-inline: 7.5rem;
    padding-block: 3rem;
    padding-bottom: 6rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 20px;
}

.footer-link {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-link a {
    color: var(--black-text);
}

.footer-copyright {
    display: flex;
    justify-content: center;
    padding-block: 24px;
    font-size: 20px;
    color: var(--black-text);
    background-color: white;
}

/* INPUT */
.input {
    display: flex;
    padding: 14px 24px;
    border: 1px solid var(--blue-4);
    border-radius: 8px;
    font-size: 20px;
}

.input-search {
    background-image: url('/resources/search-icon.svg');
    background-position: 95% 50%;
    background-repeat: no-repeat;
}

@media screen and (max-width: 1200px) {
    header,
    .jumbotron,
    .footer-main {
        padding-inline: 4rem;
    }

    .footer-main {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    header {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-left: 0;
        margin-right: 0;
        padding-inline: 1rem;
    }

    header ul {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        flex-basis: 100%;
    }

    header ul li {
        margin-bottom: 0;
        width: 100%;
        text-align: right;
    }

    header label {
        display: flex;
        cursor: pointer;
        padding: 0.25rem;
        user-select: none;
        border-radius: 4px;
    }

    .header-logo {
        width: 40vw;
        max-width: 240px;
    }

    header label img {
        width: 2rem;
        height: 2rem;
        filter: invert(22%) sepia(54%) saturate(6854%) hue-rotate(226deg) brightness(90%) contrast(86%);
    }

    header input[type='checkbox']:not(:checked)~nav {
        height: 0;
        padding: 0;
        visibility: hidden;
        overflow: hidden;
        transition: 0.5s height;
    }

    header input[type='checkbox']:checked+label {
        color: rgba(33, 81, 215, 0.15);
        background-color: rgba(33, 81, 215, 0.02);
        box-shadow: 0 0 0 0.25rem;
        transition: 0.2s box-shadow;
    }

    header input[type='checkbox']:checked~nav {
        overflow: hidden;
        height: 11.5rem;
        transition: 0.5s height;
    }

    nav {
        width: 100%;
        padding-top: 1rem;
    }

    .jumbotron {
        padding-inline: 4rem;
    }

    .footer-copyright {
        font-size: 16px;
    }

    .footer-main {
        padding: 3rem;
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
}

@media (min-width: 910px) and (max-width: 992px) {
    .footer-main {
        display: flex;
        align-items: flex-start;
    }
}

@media (max-width: 910px) {
    .footer-main {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .footer-main > div:first-child {
        display: flex;
        width: 100%;
    }

    .footer-col {
        width: calc((100% / 2) - 16px);
    }
}

@media (max-width: 768px) {
    .jumbotron {
        padding-inline: 3rem;
    }

    .footer-main {
        display: grid;
        padding: 3rem;
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        gap: 2rem;
    }

    .footer-col {
        width: 100%;
    }
}

@media only screen and (max-width: 576px) {
    .footer-copyright {
        padding-inline: 1rem;
        text-wrap: balance;
        text-align: center;
    }
}