@import url("global.css");

.loading {
    animation: rotating 3s linear infinite;
}

@keyframes rotating {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Defauly */
@media only screen and (min-width: 0px), (min-device-width: 0px) { 
    /* Header Styles */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 15px 76px;
        /* padding: 2.17vh 5.28vw; */
        display: flex;
        justify-content: center;
        align-items: center;
        transition: background-color 0.5s ease;
        background-color: transparent;
        border-radius: 0 0 10px 10px;

        .logo {
            height: 50px;
            /* height: 7.06vh; */
            margin-right: auto;
        }

        nav {
            position: absolute;

            ul {
                display: flex;
                list-style: none;
                gap: 50px;
                /* gap: 3.47vw; */
            }

            a {
                font-size: 15px;
                /* font-size: 2.12vh; */
                color: var(--white);
                text-decoration: none;
                font-weight: 400;
                transition: color 0.3s;
                position: relative;
                display: flex;
            }

            a:hover {
                color: var(--orange);
            }

            a::after {
                content: '';
                position: absolute;
                width: 0;
                height: 2px;
                /* height: 0.28vh; */
                bottom: -5px;
                /* bottom: -0.71vh; */
                left: 0;
                background-color: var(--orange);
                transition: width 0.3s;
            }

            a:hover::after {
                width: 100%;
            }
        }

        .auth-buttons {
            display: flex;
            gap: 8px;
            /* gap: 0.56vw; */
            align-items: center;
            margin-left: auto;

            img {
                height: 37px;
                /* height: 5.23vh; */
                cursor: pointer;
            }

            a {
                display: flex;
                text-decoration: none;
            }
        }

        .mobile-menu {
            display: none;
        }
    }

    header.scrolled {
        /* background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.8)); */
        background-color: var(--dark-blue);
    }

    /* ---------------------------------- */
    /* Newsletter + Contato + Footer */
    .box-container-footer {
        width: 100%;

        .newsletter {
            margin-top: 128px; /* margin-top: 18.08vh; */
            align-items: center;

            .on-off {
                width: 30px; /* width: 2.08vw; */
                height: 14px; /* height: 1.98vh; */
                border-radius: 100px; /* border-radius: 14.12vh; */
                background-color: var(--white);
                padding: 2px 2px; /* padding: 0.28vh 0.14vw; */
                cursor: pointer;

                display: flex;
                flex-direction: column;
                align-self: center;
                margin-left: 10px; /* margin-left: 0.69vw; */

                .point {
                    background-color: var(--dark-blue);
                    height: 10px; /* height: 1.41vh; */
                    width: 10px; /* width: 1.41vh; */
                    border-radius: 200px; /* border-radius: 50vh; */
                    align-self: flex-start;
                }
            }

            .footer-background {
                height: 949px; /* height: 134.04vh; */
                width: 100%;
            }

            .mobile-background {
                display: none;
            }

            .newsletter-content {
                margin-top: 25px; /* margin-top: 3.53vh;  */
                position: absolute;

                .newsletter-header {
                    text-align: center;

                    .newsletter-icon {
                        height: 37px; /* height: 5.23vh; */
                    }
                }

                .newsletter-header h2 {
                    font-weight: 700;
                    font-size: 39px; /* font-size: 5.51vh; */
                    color: var(--white);

                    margin-top: 42px; /* margin-top: 5.93vh; */
                    margin-bottom: 20px; /* margin-bottom: 2.82vh; */
                }

                .newsletter-header p {
                    font-weight: 400;
                    font-size: 16px; /* font-size: 2.26vh; */
                    color: var(--white);
                }

                .newsletter-form {
                    width: 1165px; /* width: 80.9vw; */
                    margin-top: 50px; /* margin-top: 7.06vh; */
                    justify-content: space-between;
                    z-index: 2;

                    .form-text {
                        width: 27.99vw; /* width: 27.99vw; */
                        text-align: start;
                        gap: 21px; /* gap: 3vh; */
                    }

                    .form-text p {
                        font-weight: 400;
                        font-size: 16px; /* font-size: 2.26vh; */
                        color: var(--white);
                    }

                    .form {
                        margin-left: 50px; /* margin-left: 3.47vw; */
                        gap: 30px; /* gap: 4.24vh; */

                        .checkbox-field {
                            display: flex;
                        }

                        .row {
                            gap: 30px; /* gap: 2.08vw; */

                            .input-field,
                            .select-field {
                                gap: 10px; /* gap: 1.41vh; */
                            }

                            .select-field {
                                width: 205px;

                                .icon {
                                    height: 9px; /* height: 1.28vh; */
                                    color: var(--light-gray);
                                    position: absolute;
                                    margin-left: 285px; /* margin-left: 19.79vw; */
                                    margin-top: 40px; /* margin-top: 5.65vh; */

                                    transition: transform 0.3s;
                                }
                            }

                            .notifications {
                                width: 500px;
                                gap: 10px;

                                img {
                                    margin-left: 0;
                                }
                            }
                        }

                        ::placeholder,
                        .label-checkbox {
                            color: var(--light-gray);
                            font-weight: 400;
                            align-self: center;
                        }

                        input[type='checkbox'] {
                            appearance: none;
                            height: 0;
                            width: 0;
                            position: absolute;
                        }

                        .checkbox {
                            height: 17px; /* height: 2.4vh; */
                            margin-left: 10px; /* margin-left: 0.69vw; */
                            margin-bottom: -3px; /* margin-bottom: -0.42vh; */
                            cursor: pointer;
                            align-self: center;
                        }

                        .btn {
                            margin-left: auto;
                        }
                    }

                    .form label {
                        font-weight: 700;
                        font-size: 16px; /* font-size: 2.26vh; */
                        color: var(--white);
                        margin-left: 5px; /* margin-left: 0.35vw; */
                        user-select: none;
                    }

                    .form ::placeholder {
                        font-style: italic;
                    }

                    .form input[type="text"],
                    .form input[type="email"],
                    .form input[type="phone"] {
                        width: 313px; /* width: 21.74vw; */
                        background-color: transparent;
                        outline: none;
                        appearance: none;
                        z-index: 2;
                        cursor: pointer;

                        padding: 0 20px 8px 5px; /* padding: 0 1.39vw 1.13vh 0.35vw; */
                        border: none;
                        border-bottom: 2px solid var(--light-gray); /* border-bottom: 0.21vh solid var(--light-gray); */
                        transition: border-bottom 0.3s;

                        font-size: 16px; /* font-size: 2.26vh; */
                        font-family: 'Montserrat', sans-serif;
                        color: var(--white);
                        font-weight: 400;
                    }

                    /* .phone-input {
                            display: flex;
                            flex-direction: row;
                        } */
                }

                .contact-content {
                    width: 1165px; /* width: 80.9vw; */
                    margin-top: -20px; /* margin-top: -2.82vh; */

                    .logo {
                        height: 72px; /* height: 10.17vh; */
                        align-self: start;
                    }

                    .row {
                        margin-top: 30px; /* margin-top: 4.24vh; */
                        justify-content: space-between;
                    }

                    .contact-text p {
                        font-size: 12px; /* font-size: 1.67vh; */
                        font-weight: 400;
                        color: var(--white);

                        width: 403px; /* width: 27.99vw; */
                    }

                    .contact-text p:first-child {
                        margin-bottom: 20px; /* margin-bottom: 2.82vh; */
                    }

                    .contact-info {

                        .phone {
                            margin-top: 7px; /* margin-top: 0.99vh; */
                        }

                    }

                    .contact-info p {
                        font-size: 14px; /* font-size: 1.98vh; */
                        font-weight: 400;
                        color: var(--white);
                        text-align: end;
                    }

                    .contact-info p:first-child {
                        margin-bottom: 20px; /* margin-bottom: 2.82vh; */
                    }

                    .contact-icons {
                        gap: 13px; /* gap: 0.9vw; */
                        margin-top: 16px; /* margin-top: 2.26vh; */
                    }

                    .contact-icons a {
                        display: flex;
                    }

                    .contact-icons img {
                        height: 25px; /* height: 3.53vh; */
                    }
                }
            }
        }

        /* Footer */
        .footer {
            width: 100%;
            margin-top: -50px; /* margin-top: -7.06vh; */

            .footer-content {
                display: flex;
                flex-direction: row;
                padding: 0 76px; /* padding: 0 5.28vw; */
                justify-content: center;

                .copyright {
                    font-weight: 400;
                    position: absolute;
                }

                .row {
                    margin-left: auto;

                    p:first-child {
                        margin-right: 40px; /* margin-right: 2.87vw; */
                    }
                }

                p {
                    font-weight: 500;
                    font-size: 12px; /* font-size: 1.67vh; */
                    color: var(--white);
                }

                a {
                    text-decoration: underline;
                    color: var(--white);
                }

                .column {
                    display: none;
                }
            }

            .footer-content > p {
                margin-right: auto;
            }   
        }
    }

    /* -------------------- */
    /* Alertas do form */
    .alert {
        position: fixed;
        right: 0;
        border-radius: 16px 0 0 16px; /* border-radius: 2.26vh 0 0 2.26vh; */
        padding: 16px 24px; /* padding: 2.26vh 1.67vw; */
        gap: 16px; /* gap: 1.11vw; */
        z-index: 11;
        top: 128px; /* top: 18vh; */
        /* transition: 0.5s all; */
        transform: scaleX(0);
        transform-origin: right;

        .icon-big {
            height: 32px; /* height: 4.52vh; */
        }

        .alert-text {
            align-items: flex-start;
            color: var(--white);
            min-width: 358px; /* min-width: 24.86vw; */
            max-width: 358px; /* max-width: 24.86vw; */

            h2 {
                font-size: 20px; /* font-size: 2.97vh; */
            }

            p {
                margin-top: 8px; /* margin-top: 1vh; */
                font-size: 18px; /* font-size: 2.54vh; */
            }
        }

        .icon-small {
            height: 18px; /* height: 2.54vh; */
            cursor: pointer;
        }
    }

    .alert.success {
        background-color: #3A41F0;
    }

    .alert.error {
        background-color: #D10000;
    }

    .alert.attention {
        background-color: #FF6B00;
    }
}

/* Laptop S */
/* NOT READY */
/* @media (max-width: 1200px) {


/* Tablet */
@media only screen and (min-width: 1px) and (max-width: 768px), (min-device-width: 1px) and (max-device-width: 768px) {
    header {
        padding: 24px 30px 24px 30px;
        align-items: start;
        transition: border-radius 0.5s ease, background-color 0.5s ease;

        .logo {
            height: 57px;
            /* height: 7.06vh; */
            margin-right: auto;
        }

        nav, .auth-buttons {
            display: none;
        }

        .mobile-menu {
            display: flex;
            flex-direction: column;
            align-items: flex-end;

            .menu-icon {
                height: 19px;
            }

            .menu-options {
                margin-top: 38px;
                align-items: flex-end;

                nav {
                    display: flex;
                    position: static;

                    ul {
                        display: flex;
                        flex-direction: column;
                        align-items: flex-end;
                        gap: 32px;
                    }
                }
            }

            .link {
                margin-top: 32px;

                img {
                    height: 20px;
                }
            }
        }
    }

    header.mobile-border {
        border-radius: 0 0 0 110px;
    }

    /* ---------------------------------- */
    /* Newsletter + Contato + Footer */
    .box-container-footer {
        width: 100%;

        .newsletter {
            margin-top: 128px;
            align-items: center;

            .on-off {
                width: 30px;
                height: 14px; 
                border-radius: 100px;
                background-color: var(--white);
                padding: 2px 2px;
                cursor: pointer;

                display: flex;
                flex-direction: column;
                align-self: center;
                margin-left: 10px;

                .point {
                    background-color: var(--dark-blue);
                    height: 10px;
                    width: 10px;
                    border-radius: 200px;
                    align-self: flex-start;
                }
            }

            .footer-background {
                display: none;
            }

            .mobile-background {
                display: block;
                height: 1431px;
                width: 100%;
            }

            .newsletter-content {
                max-width: 768px;
                width: 100%;
                padding: 0 40px;
                margin-top: 35px; 

                .newsletter-header {
                    h2 {
                        font-size: 28px; 

                        margin-top: 50px; 
                        margin-bottom: 30px;
                    }

                    p {
                        text-align: start;
                    }
                }
                
                .newsletter-form {
                    width: 100%; 
                    margin-top: 20px; 
                    justify-content: center;
                    flex-direction: column;

                    .form-text {
                        width: 100%;
                        gap: 20px; 
                    }

                    .form {
                        margin: 50px 0 0 0; 
                        gap: 37px; 

                        .row {
                            .input-field {
                                width: 100%;
                            }

                            .select-field .icon {
                                height: 9px; 
                                color: var(--light-gray);
                                position: absolute;
                                margin-left: 285px; 
                                margin-top: 40px; 

                                transition: transform 0.3s;
                            }

                            .notifications {
                                width: 94%;
                                gap: 10px;

                                img {
                                    align-self: flex-start;
                                }
                            }

                            #submit {
                                align-self: center;
                            }
                        }
                    }


                    .form input[type="text"],
                    .form input[type="email"],
                    .form input[type="phone"] {
                        width: 100%;
                    }

                    /* .phone-input {
                            display: flex;
                            flex-direction: row;
                        } */
                }

                .contact-content {
                    max-width: 768px;
                    width: 100%;
                    margin-top: 75px;

                    .logo {
                        height: 60px;
                    }

                    .row {
                        margin-top: 30px;
                    }

                    .contact-text p {
                        width: 100%;
                        font-size: 14px;
                    }

                    .contact-text p:first-child {
                        margin-bottom: 20px;
                    }

                    .contact-info {
                        margin-top: 30px;
                        align-items: start;

                        .contact-icons {
                            gap: 17px;
                            margin-top: 23px; 

                            img {
                                height: 33px; 
                            }
                        }
                    }

                    .contact-info p:first-child {
                        margin-bottom: 20px;
                    }
                }

                .contact-content > .row {
                    flex-direction: column;
                }
            }
        }

        /* Footer */
        .footer {
            margin-top: -110px;

            .footer-content {
                padding: 0 32px; 
                gap: 20px;
                flex-direction: column;

                .row {
                    margin: 0 auto;
                }

                .column {
                    display: flex;
                    align-items: center;

                    .copyright {
                        position: static;
                    }
                }

                p {
                    font-size: 14px; 
                }
            }

            .footer-content > .copyright, .footer-content > p {
                display: none;
            }
        }
    }
}

/* Mobile G */
@media only screen and (min-width: 1px) and (max-width: 560px), (min-device-width: 1px) and (max-device-width: 560px) {
    /* ---------------------------------- */
    /* Newsletter + Contato + Footer */
    .box-container-footer {
        .newsletter {
            .mobile-background {
                height: 1981px;
            }

            .newsletter-content {
                max-width: 560px;
                padding: 0 32px;
                
                .newsletter-form {
                    .form {
                        .row {
                            .input-field,
                            .select-field {
                                width: 95%;
                            }
                        }

                        .row:has(> .notifications) {
                            margin-top: 240px;
                        }
                    }

                    .form > .row {
                        flex-direction: column;
                    }

                    .form input[type="text"],
                    .form input[type="email"],
                    .form input[type="phone"] {
                        width: 100%;
                    }

                    /* .phone-input {
                            display: flex;
                            flex-direction: row;
                        } */
                }

                .contact-content {
                    max-width: 560px;
                }

                .contact-content > .row {
                    flex-direction: column;
                }
            }
        }
    }
}
