@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');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #e6f7e6;
    background-image: url('./assets/img/ProyectoColibrilogo.png');
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: white;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* containers slide bar */

.container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.slides img {
    width: 100%;
    max-width: 400px;
    justify-content: center;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.slides img:hover {
    transform: scale(1.1); 
}

.slides h2 {
    font-size: 70px;
    font-weight: 600;
    max-width: 650px;
}

.slide1 h1 {
    font-size: 70px;
    color: #ffffff;
    padding-bottom: 30px;
}

.cwhite {
    color: white;
    font-size: 25px;
}

.slide1 p {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #c5c5c5;
}

.slide2 p {
    font-size: 20px;
    margin-top: 10px;
    color: #e7e7e7;
}

.slide3 p {
    font-size: 20px;
    margin-top: 10px;
    color: #e7e7e7;
}

.slide4 p {
    font-size: 20px;
    margin-top: 10px;
    color: #e7e7e7;
}

.slides {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    gap: 20px;
    color: #fff;
    scroll-snap-align: start;
    text-align: center;
    padding: 250px;
}

.texto {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide1 {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    color: #fff;
    scroll-snap-align: start;
    text-align: center;
    padding: 300px;
    background: linear-gradient(#408053, #034626);
}
/*.slide1 {*/
    /*  

    width: 100%;
    height: 100vh;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;
    justify-content: center;

    gap: 50px;
    color: #fff;
    scroll-snap-align: start;
    text-align: center;
    padding: 150px 200px;
    */
/*    background: linear-gradient(#408053, #034626);*/
/*} */

/* Video PUP */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.575);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-container {
    position: relative;
    width: 100%;
    max-width: 1500px;
}

.close-btn {
    position: absolute;
    top: -40;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: transparent;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 25px;
    z-index: 1010;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 1rem;
}

.open-popup-btn {
    padding: 10px 20px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}
/* ----- */
/* 
.titleVideo{
    display: flex;
    flex-direction: column;
    justify-items: center;
    justify-content: center;
    align-items: center;
} */

/* .slide1 video{
    width: 400px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    border-radius: 10px;
    justify-content :center;
} */

.slide2 {
    background: linear-gradient(#034626, #4a3966);
}

.slide3 {
    background: linear-gradient(#4a3966, #7c2930);
}

.slide4 {
    background: linear-gradient(#7c2930, #2e2e2e);
}

/* containers slide bar end */

.logo-container {
    /* position: absolute; */
    object-fit: cover;
    right: 55%;
    transform: translateX(20%); 
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.1);
}

.login-btn {
    background-color: #6aa16a;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.login-btn:hover {
    background-color: #559955;
}

.login-btn a {
    color: inherit;
    text-decoration: none;
}

nav ul {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 10px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #6aa16a;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2a7a2a;
    border-radius: 5px;
}

/* Hamburger menu for mobile */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media screen and (max-width: 1366px) {
    .slides {
        padding: 100px 100px;
    }
    
    .slide1 {
        padding: 200px 80px;
    }
    
    .slides h2 {
        font-size: 60px;
    }
    
    .slide1 h1 {
        font-size: 60px;
    }
}

@media screen and (max-width: 1200px) {
    .slides {
        padding: 100px 100px;
    }
    
    .slide1 {
        padding: 200px 80px;
    }
    
    .slides h2 {
        font-size: 60px;
    }
    
    .slide1 h1 {
        font-size: 60px;
    }
}

@media screen and (max-width: 992px) {
    .slides {
        padding: 180px 60px;
    }
    
    .slide1 {
        padding: 180px 50px;
    }
    
    .slides h2 {
        font-size: 50px;
    }
    
    .slide1 h1 {
        font-size: 50px;
        padding-bottom: 30px;
    }
    
    .cwhite {
        font-size: 22px;
    }
    
    .slide2 p, .slide3 p, .slide4 p {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        z-index: 1000;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .slides {
        grid-template-columns: 1fr;
        padding: 200px 400px;
        height: auto;
        min-height: 100vh;
    }
    
    .slide1 {
        padding: 150px 30px;
        height: auto;
        min-height: 100vh;
    }
    
    .slides h2 {
        font-size: 40px;
    }
    
    .slide1 h1 {
        font-size: 40px;
        padding-bottom: 2px;
    }
    
    .texto {
        margin-top: -100px;
    }
    
    .cwhite {
        font-size: 20px;
    }
}

@media screen and (max-width: 576px) {
    header {
        padding: 10px 15px;
    }
    
    .logo {
        height: 40px;
    }
    
    .login-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .slides {
        padding: 120px 20px 50px;
    }
    
    .slide1 {
        padding: 120px 20px 50px;
    }
    
    .slides h2 {
        font-size: 32px;
    }
    
    .slide1 h1 {
        font-size: 32px;
    }
    
    .slide1 p {
        font-size: 16px;
    }
    
    .slide2 p, .slide3 p, .slide4 p {
        font-size: 16px;
    }
    
    .cwhite {
        font-size: 18px;
    }
}

@media screen and (min-width:1300px){
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.575);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-container {
    position: relative;
    width: 80%;
    max-width: 1200px;
}

.close-btn {
    position: absolute;
    top: 20;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: transparent;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 25px;

}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 1rem;
}

.open-popup-btn {
    padding: 10px 20px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}
    
}

/* Animaciones para el menú hamburguesa */
.hamburger.active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}