
img { -ms-interpolation-mode: bicubic; }
* {
    font-family: "Montserrat", sans-serif;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none;
}

:root {
    --dark-blue: #0050aa;
    --blue: #5ab4e6;
    --light-blue: #def0fa;
    --orange: #e65028;
    --white: #ffffff;
    --black: #030712;
    --light-gray: #F8F8F8;
    --gray: #CFCCCB;
    --dark-gray: #8E999C;
}

body {
    background: var(--white);
    width: 100dvw;
    height: 100dvh;
    display: flex;
    overflow: hidden;
    flex-direction: row;   
}

@media (width < 40rem) {
    body {
        flex-direction: column; 
    }
}


main {
    display: flex;
    flex-direction: column;
    opacity: 0;
    height: 100dvh;
    width: 100%;
    flex-grow: 1;
    overflow-y: scroll;
    transition: opacity !important;
    transition-duration: 250ms !important;
}

@media (width < 40rem) {
    main {
        padding-top: 75px;
    }
}

#__loading {
    display: flex;
    position: relative;
    height: 100dvh;
    width: 100%;
    background-color: var(--white);
}

#__loading div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    transform-origin: center;
}

@keyframes loading-spin {
    to {
        transform: translate(-50%, -50%) scale(1.5) rotate(360deg);
    }
}

#__loading #__loading_i {
    animation: loading-spin 2s linear infinite;
}

#__loading #__loading_o {
    animation: loading-spin 1s linear infinite;
}

#__loading #__loading_t {
    animation: loading-spin 1.4s linear infinite;
}



section {
    display: flex;
    position: relative;
    flex-direction: column;
    flex-grow: 1;
    border-radius: 0px 0px 36px 36px;
    background: var(--light-gray);
    padding: 36px;
}

@media (width < 40rem) {
    section, footer {
        padding: 24px;
    }
}

nav {
    background: var(--dark-blue)
}

footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 36px;
    gap: 12px;
    padding: 36px;
    div {
        display: flex;
        flex-direction: column;

        span, a {
            color: var(--dark-gray);
            font-size: 12px;
            font-weight: 400;
        }

        a:hover {
            opacity: .5
        }
    }
}

@media (width < 40rem) {
    footer {
        padding-top: 18px;
        div {
            width: 100%;
            span, a { 
                font-size: 8px !important;
            }
        }

    }
}



h1 {
    font-size: 36px;
    font-weight: 500;
    padding-bottom: 36px;
    padding-top: calc(32px + 12px);
    width: 100%;
}

h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
}

h3 {
    font-size: 20px;
    font-weight: 500;
}

@media (width < 40rem) {
    h1 {
        font-size: 24px;
        font-weight: 500;
        padding-top: 0px;
        padding-bottom: 18px;
        width: 100%;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 16px;
    }
}


