
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


@font-face {
    font-family: 'Nexa';
    src: url(../fonts/Nexa-ExtraLight.ttf);
    font-display: swap;
}


@font-face {
    font-family: 'Nexa-Bold';
    src: url(../fonts/Nexa-Heavy.ttf);
    font-display: swap;
}


.separador{
    width: 100%;
    background: #111;
    height: 10px;
    overflow: hidden;

}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
}

html{
    scroll-behavior: smooth;
}

.container{
    max-width: 1500px;
    margin: 0 auto;
}

.imagen img{
    width: 280px;
    transition: .4s;
}

.btn-1{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #282b63;
    width: 170px;
    padding: 10px 20px;
    color: #fff;
    font-family: 'Poppins';
    border-radius: 10px;
    margin-top: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-1 a{
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

 .btn-1:hover{
    background:#ce1417;
    transform: scale(1.1);
}

.btn-1  a i{
    font-size: 1.6rem;
}

.h2{
    font-size: 50px;
    line-height: 70px;
    color: #282b63;
    margin-bottom: 20px;
    font-family: 'Poppins';
}

/* Scroll Bar */

::-webkit-scrollbar{
    width: 11px;
    background: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb{
    width: 100%;
    background: var(--scroll-thumb-color);
    border-radius: 2rem;
}

::-webkit-scrollbar-thumb:hover{
    background: var(--scroll-thumb-hover-color);
}

/* Scroll Bar */
:root{
    --white-color: #fff;
    --dark-color:#222;
    --body-bg-color:#fff;
    --section-bg-colo:#202834;
    --navigation-item-hover-color:#3b5378;
    --title-color:hsl(237, 38%, 18%);
    
    --text-shadow:0 5px 25px rgba(0,0,0,0.1);
    --box-shadow:0 5px 25px rgb(0 0 0 /20%);

    --scroll-bar-color:#fff;
    --scroll-thumb-color:#282f4e;
    --scroll-thumb-hover-color:#454f6b;
}

body{
    background: var(--body-bg-color);
}

/* ======== HEADER ======== */

header{
    z-index: 999;
    position: fixed;
    width: 100%;
    height: calc(5rem + 1);
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    background: #1d1f40d3;
    transition: .8s;
    transition-property: height, background ,padding;
}


header.sticky{
    background: #1d1f40d3;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: .5s;
}

header.sticky .nav-bar{
    padding: 13px 150px 13px 150px;
}

header .nav-bar{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 250px 20px 250px;
    transition: 1s ;
}

header.sticky .nav-bar .imagen{
    width: 250px;
    transition: 1s;
}

.nav-close-btn,
.nav-menu-btn,.menu {
    display: none;
}

.nav-bar .logo{
    color: var(--white-color);
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    text-decoration: var(--text-shadow);
}

.navigation .nav-items a{
    position: relative;
    color: var(--white-color);
    font-size: 1rem;
    text-decoration: none;
    text-shadow: var(--text-shadow);
    margin-left: 30px;
}

.navigation .nav-items a::after{
    content: '';
    position: absolute;
    background-color: #6addec;
    height: 3px;
    width: 100%;
    left: 0;
    bottom: -10px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease-in-out;
}

.navigation .nav-items a:hover::after{
    transform-origin: left;
    transform: scaleX(1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.82, 0.94);
}

.navigation .nav-items a i{
    display: none;
}

/* =================== home  =================== */

.home{
    overflow: hidden;
    clip-path: polygon(50% 96%, 100% 88%, 100% 0, 0 0, 0 88%); 
}


/* =================== Slider de Fondo  =================== */

.bg-slider{
    z-index: 777;
    position: relative;
    width: 100%;
    min-width:100vh;
    transition: 2s ease;

}
.bg-slider .swiper-slide{
    position: relative;
    height: 100vh;
}

.bg-slider .swiper-slide img{
    width: 100%;
    height: 100vh;
    object-fit: cover;
    background-position: center;
    background-size: cover;
    pointer-events: none;
}

.swiper-slide .text-content{
    position: absolute;
    top: 25%;
    color: var(--white-color);
    margin: 0 200px;
    transition: .3s ease;
}


/* titulo banner */

.swiper-slide .text-content .title{
    font-size: 4rem;
    font-weight: 700;
    text-shadow: var(--text-shadow);
    margin-bottom: 20px;
    transform: translateX(-200px);
    opacity: 0;
}


/* Swiper active */

.swiper-slide-active .text-content .title {
    transform: translateX(0);
    opacity: 1;
    transition: 1s ease;
    transition-delay: .3s;
    transition-property: transform, opacity;
}   


.swiper-slide .text-content .title span{
    font-size: 3rem;
    font-weight: 300;
    color: #fff;

}

.swiper-slide .text-content p{
    max-width: 900px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-shadow: var(--text-shadow);
    padding: 20px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow);
    transform: translateY(70px);
    opacity: 0;
}

/* Swiper active parrafo*/


.swiper-slide-active .text-content p{
    transform: translateY(0);
    opacity: 1;
    transition: 1s ease;
    transition-delay: .3s;
    transition-property: transform, opacity;
}


.swiper-slide .text-content a{
    text-decoration: none;
}

.swiper-slide .text-content .read-btn{
    border: none;
    outline: none;
    background-color: var(--white-color);
    color: var(--dark-color);
    font-size: 1em;
    font-weight: 500;
    padding: 8px 25px;
    display: flex;
    align-items: center;
    margin-top: 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: .4s ease;
    transform: translateX(-50px);
    opacity: 0;
}


.swiper-slide-active .text-content .read-btn{
    transform: translateX(0);
    opacity: 1;
    transition: 1s ease;
    transition-property: transform, opacity;
}

.swiper-slide .text-content .read-btn i{
    font-size: 1.6em;
    transition: .2s ease;
}

.swiper-slide .text-content .read-btn:hover{
    transform: translateX(20px);
}

.dark-layer::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: #1d1f4099;
}


.bg-slider-thumbs{
    z-index: 777;
    position: absolute;
    bottom: 7em;
    left: 50%;
    transform: translateX(-50%);
    transition: .3s ease;
}


.thumbs-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 3px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow);

}
.thumbs-container img{
    width: 50px;
    height: 35px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
}

.swiper-slide-thumb-active{
    border: 1px solid var(--white-color);
}

.thumbs-container .box1{
    width: 13px;
    height: 13px;
    margin: 0  6px;
    border-radius: 5px;
    cursor: pointer;
    background: #506e9b;
    border-radius: 50%;
}

.media-icons{
    z-index: 100;
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 90px;
    right: 0;
    mix-blend-mode: difference;

    
}

.media-icons a img{
    width: 25px;
    height: 25px;
    fill: #fff;
    margin: 10px 0;
    transition: .5s;
}


.media-icons a img:hover{
    transform: scale(1.3);
}


/*? Latop */
@media  screen and (max-width:1580px) {

    .container{
        max-width: 1200px;
    }


    header .nav-bar .logo img{
        width: 170px;
    }

    header .navigation .nav-items a{
        font-size: 14px;
        text-align: center;
    }

    header .nav-bar{
        padding: 10px 80px 12px 130px;
    }

    header.sticky .nav-bar{
        padding: 8px 60px 8px 80px;
    
    }
    .media-icons{
        margin-right: 30px;

    }

    .media-icons a img{
        width: 20px;
        height: 20px;

    }
    .swiper-slide .text-content{
        margin: 0 70px 0 60px;
    }

    .swiper-slide .text-content .title{
        font-size: 3rem;
    }

    .swiper-slide .text-content .title span{
        font-size: .4em;
    }

    .swiper-slide .text-content p{
        font-size: 13.5px;
        width: 85%;
    }

    .swiper-slide  .text-content .read-btn {
        font-size: .9rem;
    }

    .swiper-wrapper .box1{
        width: .7rem;
        height: .7rem;
    }

    .btn-1{
        font-size: .9rem;
        width: 170px;
    }

}

@media (max-width:785px) {

    header .nav-bar {
        padding: 20px 50px;
    }

    .swiper-slide .text-content{
        margin: 0 50px;
        width: 70%;
    }

    .swiper-slide .text-content .title{
        font-size: 2rem;
    }

    .swiper-slide .text-content .title span{
        font-size: .35em;
    }

    .swiper-slide .text-content p{
        font-size: 12px;
        width: 60%;
    }

    .thumbs-container .box1{
        width: 12px;
        height: 12px;
    }

    
    .menu img{
        width: 30px;
    }

    .nav-menu-btn,.menu{
        display: block;
        cursor: pointer;
    }

    .navigation{
        z-index: 99999;
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.25);
        display: flex;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        opacity: 0;
        transition: .4s ease ;
    }



    .navigation .nav-items{
        position: relative;
        background: var(--white-color);
        width: 400px;
        max-width: 400px;
        display: grid;
        place-content: center;
        margin: 20px;
        padding: 40px;
        border-radius: 20px;
        box-shadow: var(--box-shadow);
        transform: translateY(-220px);
        transition: .3s ease;
    }
    .navigation.active{
        visibility: visible;
        opacity: 1;
        transition: .3s ease;
    }

    .nav-items img{
        width: 20px;
    }

    .nav-close-btn{
        display: block;
        color: var(--dark-color);
        position: absolute;
        top: 0;
        right: 0;
        font-size: 1.3em;
        margin: 25px;
        cursor: pointer;
        transition: .3s ease;
    }


    .navigation.active .nav-items {
        transform: translateY(0);
    }

    .navigation .nav-items a{
        color: var(--dark-color);
        font-size: 1em;
        margin: 15px 50px;
        transition: .4s ease;
    }

    .navigation .nav-items:hover{
        color: var(--navigation-item-hover-color);
    }

    .navigation .nav-items > a > i{
        display: inline-block;
        font-size: 1em;
        margin-right: 5px;
    }

    .swiper-slide .text-content .read-btn{
        font-size: .8em;
        display: none;
    }

    .imagen{
        width: 150px;
    }

    header.sticky .nav-bar{
        padding: 13px 50px 13px 50px;

    }

}


@media (max-width:450px){

    .container{
        max-width: 900px;
    }

    header .imagen{
        width: 130px;
    }

    .navigation .nav-items{
        padding: 30px;
    }

    .navigation .nav-items a{
        color: #1d1f40;
    }

    .swiper-slide .text-content{
        width: 50%;
    }

    .swiper-slide .text-content .title{
        font-size: 1.9rem;
    }

    .swiper-slide .text-content .title span{
        font-size: .5em;
    }

    .media-icons{
        margin: 15px;
        position: absolute;
    }

    .media-icons a i{
        font-size: 1.3em;
        padding: 3px;
    }

    .bg-slider-thumbs{
        bottom: 3em;
    }

    .btn-1{
        font-size: 13px;
        width: 160px;
    }

}

