
/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Fira Code', monospace;
    color: #fff;
    
}

section {
    padding: 20px;

}

.hero {
    
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    padding-right: 10px;
    overflow: hidden;
}

.hero-background {

   position: absolute;
    inset: 0;
    background-image: url(/assets/Img/about1.jpg);
    background-size: cover;
    background-position: center;
    z-index: 1;
   
}
  
.hero-content {
   position: relative;
    z-index: 2;
    max-width: 400px;
    padding: 0;
    margin: 0;
    text-align: center;
}

.hero-content2 p {
    font-size: 19px;
    font-weight: bold;
    color: rgb(22, 28, 42);
    
}


.hero-content2 {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: right;
    margin: 0;
    padding: 0;
}

h1 {
    margin: 0;
    font-size: 30px;
}


/* Nueva secciÃ³n de separaciÃ³n */
.separator {
    height: 150px; /* Altura de la seccion */
    background-color: #FFBF00; /* Color de fondo amarillo/naranja vibrante */
    width: 100%; /* Ancho completo */
    display: flex; /* Usar flexbox para alinear los elementos */
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    color: #2D2D2D; /* Color del texto oscuro para mejor legibilidad */
    font-size: 1.1rem;   /* bigger */
    font-weight: 600;    /* bold */
}

.content-container {
    display: flex; /* Usar flexbox para alinear el contenido */
    align-items: center; /* Centrar verticalmente */
}

.content-container p {
    margin: 0; /* Eliminar mÃ¡rgenes */
    text-align: left; /* Alinear a la izquierda */
    margin-right: 20px; /* Espacio entre el pÃ¡rrafo y el botÃ³n */
}

.cta-button {
    background-color: #FF6F20; /* Color de fondo del botÃ³n en naranja mÃ¡s oscuro */
    color: #ffffff; /* Texto blanco para el botÃ³n */
    padding: 10px 20px; /* Espacio dentro del botÃ³n */
    border: none; /* Sin borde */
    border-radius: 5px; /* Bordes redondeados */
    text-decoration: none; /* Sin subrayado */
    transition: background-color 0.3s; /* TransiciÃ³n suave al pasar el ratÃ³n */
}

.cta-button:hover {
    background-color: #E65C00; /* Color de fondo del botÃ³n al pasar el ratÃ³n (mÃ¡s oscuro) */
}

a {
    color: #ffcc00;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
@keyframes colorChangeAndScale {
    0% {
        color: #000;
        transform: scale(1);
    }

    25% {
        color: rgb(27, 13, 120);
        transform: scale(1.1);
    }

    50% {
        color: rgb(233, 131, 6);
        transform: scale(1.3);
    }

    75% {
        color: rgb(20, 10, 156);
        transform: scale(1.1);
    }

    100% {
        color: #641300;
        transform: scale(1);
    }
}

.animated-word {
    font-size: 3em;
    font-weight: bold;
    animation: colorChangeAndScale 3s ease-in-out infinite;
}

header nav {
    position: relative; 
    top: 0; /* Corrected from 'top: 10' to 'top: 0' */
    left: 0;
    right: 0;
    height: 70px; /* Adjust height as needed */
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Ensure visibility */
    z-index: 1000; /* Keep it above other elements */
}

header nav ul {
    
    list-style: none;
   
    padding: 25px;
    text-align: center;
}

header nav ul li {
    display: inline-block;
    margin: 0 10px;
}

header nav ul li a {
    color: #fff;
    font-weight: bold;
}

header nav ul li a:hover {
    color: #ffcc00;
}
#contact {
    background-color: #333;
    padding: 40px 20px;
}

#contact h3 {
    margin-bottom: 20px;
}
section {
    padding: 60px 20px;
    text-align: center;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 90px;
}

.social-icon {
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
}

.social-icon:hover {
    color: #ffcc00;
}
/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 20px;
}

footer p {
    margin: 0;
    text-align: center;
}


@media screen and (max-width: 769px) {
    
    header nav {

        height: 90px; /* Adjust height as needed */
    }

    footer {
        
        padding: 10px;
        font-size: 1.1rem;
    }
    .hero {
        height: 60vh; /* Reduce height for smaller screens */
        justify-content: center; /* Center content horizontally */
        padding: 50px; /* Add more padding to avoid content crowding */
        padding-right: 10px;
    }
    .hero-content {
        
        height: 350px; /* Height of the element */  
        padding: 60px; /* Padding inside the element */
       
        transform: translateY(-50%);
        margin-top: 60%;
    }
   

    h1
     {
        font-size: 20px;
        width: 100px;
    }

    .animated-word {
        font-size: 1.5em;
        font-weight: bold;
        animation: colorChangeAndScale 3s ease-in-out infinite;
    }

    p {
        font-size: 15px;
    }

    .hero-content2 p {
        font-size: 13px;
    }
}

@media screen and (max-width: 400px) {
    .hero-content2 p {
        font-size: 8px;
    }
    
}