body {
    min-height: 100vh;
    margin: 0;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
    background-color: #024A96;
    background-image: url('../Images/Index/mobile-background.jpg');
    background-image: -webkit-image-set( 
        url('../Images/Index/mobile-background.webp') type('image/webp'), 
        url('../Images/Index/mobile-background.jpg') type('image/jpeg')
    );
    background-image: image-set( 
        url('../Images/Index/mobile-background.webp') type('image/webp'), 
        url('../Images/Index/mobile-background.jpg') type('image/jpeg')
    );
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-block: 1rem;
    box-sizing: border-box;
    min-height: 100vh;
    width: 100%;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F8F8F8;
    max-width: 36.25rem;
    padding-inline: 2rem;
    padding-block: 3rem;
    margin: 1rem;
    gap: 1.5rem;
    border-radius: 1.5rem;
}

#creaone-logo-wrapper, #disclaimer-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#creaone-logo {
    width: 100%;
    max-width: 20em;
}

#disclaimer {
    font-size: 0.875rem;
    text-align: center;
}

#buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

#logo-crea-mobile {
    width: 100%;
    max-width: 10rem;
}

.button {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background-color: #FABB00;
    color: #000000;
    text-decoration: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    word-break: break-word;
}

.button:hover {
    opacity: 0.9;
}

.button i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    color: #FFFFFF;
    font-size: 1rem;
    border-radius: 50%;
}

.button.profissional i {
    background-color: #FE6233;
}

.button.funcionario i {
    background-color: #01B157;
}

.button.consulta-publica i {
    background-color: #127FB6;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    margin-bottom: 1rem;
}

footer p {
    margin: 0;
    padding-inline: 1rem;
    font-size: 0.875rem;
    color: #FFFFFF;
}

#copyright-and-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
}

#address-contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
}

@media screen and (min-width: 1024px) {
    body {
        padding-inline: 2rem;
        background-color: #F8F8F8;
        background-image: url('../Images/Index/desktop-background.png');
        background-image: -webkit-image-set( 
            url('../Images/Index/desktop-background.webp') type('image/webp'), 
            url('../Images/Index/desktop-background.png') type('image/png') 
        );
        background-image: image-set( 
            url('../Images/Index/desktop-background.webp') type('image/webp'), 
            url('../Images/Index/desktop-background.png') type('image/png') 
        );
        box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.04);
    }

    form {
        align-items: flex-end;
    }

    main {
        background-color: transparent;
    }

    footer {
        flex-direction: row;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
        justify-content: space-between;
        align-items: flex-end; 
    }

    footer p { 
        color: #000000;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
    body {
        background-position: calc(100% - 8rem) top;
    }

    main {
        max-width: 25rem;
    }
}

@media screen and (min-width: 1280px) and (max-width: 1439px) {
    body {
        background-position: calc(100% - 12rem) top;
    }

    main {
        max-width: 29rem;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
    body {
        background-position: calc(100% - 14rem) top;
    }

    main {
        max-width: 31rem;
    }
}

@media screen and (min-width: 1920px) and (max-width: 2559px) {
    body {
        background-position: calc(100% - 15rem) top;
    }
}

@media screen and (min-width: 2560px) {
    body {
        background-position: calc(100%) top;
    }
}