:root {
    --primary-color: #1c2d59;
    --secundary-color: #a3bfcf;
    --font-family: 'Montserrat', sans-serif;
    --body-color: #1c2d59;
    --border-radius: 0;
}

body {
    overflow-x: hidden;
    font-family: var(--font-family);
    color: var(--body-color);
}

img {
    max-width: 100%;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.text-primary {
    color: var(--primary-color) !important;
}

.text-secundary {
    color: var(--secundary-color) !important;
}

.bg-primary {
    background: var(--primary-color) !important;
}

.bg-secundary {
    background: var(--secundary-color) !important;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

section {
    padding: 80px 0;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    background-color: var(--secundary-color) !important;
    border-color: var(--secundary-color) !important;
    color: white;
}

.btn-primary:active,
.btn-primary:focus {
    box-shadow: none !important;
}

.button-okay {
    font-size: 14px;
    background: var(--secundary-color);
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    -webkit-appearance: none;
    border: none;
    text-align: center;
    border-radius: var(--border-radius);
    padding: 10px 30px;
    display: inline-block;
}

.button-okay:hover {
    color: #ffffff;
    background: var(--primary-color);
    transition: background 0.2s linear;
    cursor: pointer !important;
}

.button-cancel {
    background: #fc4254;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: var(--border-radius);
    -webkit-appearance: none;
    text-align: center;
    padding: 10px 30px;
    display: inline-block;
}

.button-cancel:hover {
    color: #ffffff;
    background: #c82333;
    cursor: pointer !important;
    transition: background 0.2s linear;
}

#navbar_top{
    border-bottom: 1px solid var(--secundary-color);
}

.menu {
    text-decoration: none;
    color: var(--secundary-color);
    font-weight: bold;
}

.menu.active, .menu:hover {
    color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url('../../img/burger-menu.png') !important;
}

.customPopup .modal-content{
    border-radius: var(--border-radius);
    background-color: var(--secundary-color);
}

.customPopup .modal-body{
    padding-bottom: 0;
}

.customPopup .modal-footer{
    border-top: 0;
    border-radius: var(--border-radius);
}

.iconSVG {
    filter: invert(13%) sepia(12%) saturate(3269%) hue-rotate(218deg) brightness(97%) contrast(101%);
}

.iconSVG:hover {
    filter: invert(32%) sepia(87%) saturate(407%) hue-rotate(207deg) brightness(90%) contrast(85%);
    cursor: pointer;
}


#logo-header{
    position: absolute;
    top: 2dvh;
    right: 2dvw;
}

#productSection{
    background-image: url("../img/bg-caixa-header.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.floatingImg{
    position: absolute;
    top: calc(-20% - 80px);
    left: 50%;
    transform: translate(-50%, -20%);
    z-index: 4;
}

.play{
    transition: transform 0.5s ease-in-out;
}

.play:hover{
    transform: rotate(360deg);
    cursor: pointer;
}

#lentesSection{
    background-image: url("../img/fundo-lentes.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding-block: 0;
    background-attachment: fixed;
    position: relative;

    .row{
        min-height: 80dvh;
    }

    p {
        position: absolute;
        bottom: 2vh;
        width: 29vw;
        left: 2vw;
    }
}

#iconsSection{
    padding-bottom: 200px;
}

.iconTitle{
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

#footerSection{
    background-image: url("../img/bg-footer.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    /*background-attachment: fixed;*/

    padding-top: 30px;

    /*padding: 200px 0 170px 0;*/

    .floatingImg{
        top: -25%;
        transform: translate(-50%, -25%);
        scale: 0;
        opacity: 0;
        animation: fadeIn2 linear forwards;
        animation-timeline: view(1000px 0px);
    }

    .logo-foot{
        position: absolute;
        bottom: 3px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.imgVideo{
    scale: 0.5;
    opacity: 0.6;
    animation: fadeIn linear forwards;
    animation-timeline: view(80px);
}

.special1, .special2{
    animation: biggerText linear;
    animation-timeline: view();
}

.icon{
    position: relative;
    left: -100%;
    opacity: 0;
    animation: fadeInLeft linear forwards;
    animation-timeline: view(720px 20px);
}

@keyframes biggerText {
    from { font-size: 100%}
    to { font-size: 300%}
}

@keyframes fadeIn {
    from { scale: 0.5; opacity: 0.6}
    to { scale: 1; opacity: 1}
}

@keyframes fadeInLeft {
    from { left: -100%; opacity: 0}
    to { left: 0; opacity: 1}
}

@keyframes fadeIn2 {
    from { scale: 0; opacity: 0; }
    to { scale: 1; opacity: 1;}
}

.icon{
    transition: transform 0.5s ease-in-out;
}

.icon:hover{
    transform: rotate(360deg);
}

/* END DEFAULT STYLES */

.bootbox-body {
    color: var(--body-color);
}

@media only screen and (max-width: 767px) {
    #logo-header{
        max-width: 50px !important;
        top: 0.5dvh;
        right: 0.5dvw;
    }

    #productSection{
        .floatingImg {
            max-width: 150px !important;
            top: calc(-5% - 80px);
            transform: translate(-50%, -5%);
        }
    }

    #footerSection{
        .floatingImg {
            max-width: 300px !important;
            top: calc(-220% - 80px);
            transform: translate(-50%, -220%);
            animation: fadeInMobile 2s linear forwards;
            animation-timeline: view(850px 0px);
        }
    }

    #lentesSection{
        padding-bottom: 200px; 

        .row{
            min-height: 40dvh;
        }

        p {
            position: absolute;
            bottom: 2vh;
            width: 90vw;
            left: 50%;
            transform: translateX(-50%);
        }
    }

    #logo-footer{
        max-width: 50% !important;
        position: relative !important;
        bottom: unset !important;
        left: unset !important;
    }

    @keyframes fadeInMobile {
        from { scale: 1; opacity: 0; }
        to { scale: 1; opacity: 1;}
    }
}

@media only screen and (max-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
    #productSection{
        .floatingImg {
            max-width: 300px !important;
            top: calc(-10% - 80px);
            transform: translate(-50%, -10%);
        }
    }

    #lentesSection{
        .row{
            min-height: 60dvh;
        }

        p {
            position: absolute;
            bottom: 2vh;
            width: 90vw;
            left: 50%;
            transform: translateX(-50%);
        }
    }

    #footerSection{
        .floatingImg {
            max-width: 260px !important;
            top: calc(-150% - 80px);
            transform: translate(-50%, -150%);
            animation: fadeInMobile 2s linear forwards;
            animation-timeline: view(1000px 0px);
        }
    }

    #logo-footer{
        max-width: 50% !important;
        position: relative !important;
        bottom: unset !important;
        left: unset !important;
    }

    @keyframes fadeInMobile {
        from { scale: 1; opacity: 0; }
        to { scale: 1; opacity: 1;}
    }
}

@media only screen and (min-width: 960px) and (max-width: 1024px) and (orientation:portrait) {
    #lentesSection{
        p {
            position: absolute;
            bottom: 2vh;
            width: 90vw;
            left: 50%;
            transform: translateX(-50%);
        }
    }

    .icon{
        animation-timeline: view(650px 20px);
    }

    #footerSection {
        .floatingImg {
            max-width: 260px !important;
            top: calc(-150% - 80px);
            transform: translate(-50%, -150%);
            animation: fadeInMobile 2s linear forwards;
            animation-timeline: view(1300px 0px);
        }

        .text-center{
            text-align: left !important;
        }

        .col-lg-3, .col-lg-6{
            width: 100%;
            padding-bottom: 1rem !important;
        }

        .text-lg-end {
            text-align: left !important;
        }
    }
    
    @keyframes fadeInMobile {
        from { scale: 1; opacity: 0; }
        to { scale: 1; opacity: 1;}
    }

    #logo-footer{
        max-width: 50% !important;
        position: relative !important;
        bottom: unset !important;
        left: unset !important;
        transform: unset !important;
    }
}