body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    overflow-x: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #252850;
    color: white;
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    margin: auto;
    position: relative;
    left: -20px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}


nav ul ul.submenu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgb(0, 0, 0);
    width: 200px; 
}


nav ul li:hover > ul.submenu {
    display: block;
}

nav ul ul.submenu li {
    width: 80%;
    text-align: left;
    padding: 0.5rem 1rem;
}

nav ul ul.submenu a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    display: block;
}

nav ul ul.submenu a:hover {
    background-color: #aca2a22c;
}


main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}
.hero {
    position: relative;
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out; 
}

.hero.hidden {
    opacity: 0; 
    transform: scale(0.5); 
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: transform 0.5s ease-out; 
}

.hero.hidden #bg-video {
    transform: scale(0.5); 
}

.content-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0));
    align-items: flex-end;
    padding-bottom: 10%;
    transition: transform 0.5s ease-out; 
}

.hero.hidden .content-wrapper {
    transform: scale(0.5); 
}

.content {
    flex: 1;
    padding: 2rem;
    max-width: 50%;
}

.content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #FFC107;
    color: #000;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #FFA000;
}

.additional-info {
    top: 30px;
    position: relative;
    background-color: #ffffff;  
}

.h2{
    font-family: 'Courier New', monospace; 
    color: #333; 
    margin-bottom: 20px;
    
}
.contenedor {
    display: flex;                
    flex-direction: column;       
    align-items: center;          
    width: 100%;                  
    padding: 20px 0;             
}

.texto1, .texto2 {
    text-align: center;           
    width: 50%;                   
    margin: 10px 0;              
    color: rgb(155, 154, 154);                  
    font-size: 1.2rem;            
    line-height: 1.5;             
}


.efecto-tipografico {
    font-family: 'Courier New', monospace;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid;
    width: 0;
    animation: escribir 5s steps(30) forwards;
}

@keyframes escribir {
    from {
        width: 0;
    }
    to {
        width: fit-content;
    }
}

footer {
    background-color:  #252850;
    color: white;
    padding: 1rem;
    text-align: center;
    margin-top: 100px;
}
.social-links {
    margin-top: 1rem;
}
.social-links a {
    color: white;
    margin: 0 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
}
.social-links a:hover {
    color: #FFC107;
}
@media (max-width: 768px) {
    header {
        height: auto;
    }

    header.menu-open {
        height: 100vh;
        overflow-y: auto;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        display: none;
    }

    header.menu-open nav ul {
        display: flex;
    }

    nav li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .toggle-btn {
        display: block;
    }

    .content-wrapper {
        background: linear-gradient(to bottom, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0));
        align-items: center;
        padding-bottom: 20%;
    }

    .content {
        max-width: 100%;
        text-align: center;
    }

    header.menu-open .logo {
        display: none;
    }

    header.menu-open nav ul {
        margin-top: 2rem;
    }

    .cta-button {
        background-color: #40E0D0;
        color: #000;
        display: inline-block;
        margin-top: 1rem;
    }

    .toggle-btn {
        display: block; 
        position: fixed;
        border-radius: 10px;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
        background-color: #ffffff;
        color: rgb(0, 0, 0);
        border: none;
        padding: 1.5rem 1.5rem;
        cursor: pointer;
        box-shadow: 3px 5px rgba(0, 0, 0, 0.5);
        transition: transform 0.2s ease, box-shadow 0.2s ease; 
    }
    
    .toggle-btn:active {
        transform: scale(0.95); 
        box-shadow: 5px 5px rgba(0, 0, 0, 0.3);
    }

    nav ul ul.submenu {
        display: none;
    }
    nav ul li:active > ul.submenu, 
    nav ul li:focus > ul.submenu {
        display: block; 
    }

    .texto1, .texto2 {
        text-align: center;           
        width: 85%;                   
        margin: 10px 0;              
        color: gray;                  
        font-size: 1.2rem;            
        line-height: 1.5;             
    }

    .h2_info{
        font-size: 19px;
    }

    .logo{
        position: relative;
        left: -50px;
    }
    
    .logo img{
        position: relative;
        left: 0;
    }

    .toggle-btn {
        font-size: 25px;
    }
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    height: 100vh;
}

.left-half {
    width: 50%;
    background: linear-gradient(to bottom, white, #f0f0f0); 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.right-half {
    width: 50%;
    position: relative;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    z-index: 1;
    color: black; 
}

.h2_inicio {
    font-size: 3em;
    margin: 0;
}

.hero-content p {
    font-size: 1.5em;
}

.donate-button {
    background-color: #ff6600;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.donate-button:hover {
    background-color: #ff4500;
}










