* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Monotype Corsiva", "Comic Sans MS", cursive;
    background-color: #0a0a0a;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
}


h1, h2, h3 {
    font-family: "Monotype Corsiva", "Comic Sans MS", cursive;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);  
    font-size: 55px;
}

.hero {
    min-height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.7));
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 5cm; /* Espacio entre imagen y texto */
    margin: 0 auto;
    text-align: left;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 3%;
    position: fixed;
    width: 100%;
    background: rgba(16, 16, 16, 0.8);
    backdrop-filter: blur(1px);
    z-index: 1000;
}

.logo {
    font-family: 'Zen Dots', cursive;
    font-size: 2rem;
    color: #c39b6a;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 20px;
}

.nav-links a:hover {
    color: #c39b6a;
}


.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #c39b6a;
    font-size: 50px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #c39b6a;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #b08f5e;
    transform: scale(1.2);
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;

}
.hero-media img {
    width: 100%;
    max-width: 590px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(195, 155, 106, 0.3);
    left: -50px;
    border: 3px  solid #c39b6a;
}
.hero-text {
    text-align: center;
    animation: float 3s ease-in-out infinite;
} 
/* animación del hero-text */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
    100% { transform: translateY(0); }
}

/* new game notification */
.notification {
    color: #ff4d4f;
    font-size: 15px;
    margin-left: 3cm;
    animation: parpadeo 0.7s infinite;
}
/* animación del parpadeo */
@keyframes parpadeo {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
/* Estilos para el contenedor de descarga */
.contenedor {
    display: flex;
    justify-content:center;
    align-items: center;
    height: 50vh; 
    margin-top: -10vh; 
}
/* download button */
.descargar {
    display: inline-block;
    padding: 1rem 2rem;
    background: #c39b6a;
    color:#fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}
.descargar:hover{
    background: #b08f5e;
    transform: scale(1.2);
}
#games h1 {
    margin: 1cm;
    color: #c39b6a;
} 
.left{
    text-align: left;
    padding-left: 2cm;
}
.img-left {
    display: flex;
    gap: 40px; 
    align-items: center; 
}
/* estilos para bordes */
.img-group img {
    border: 1px solid #ffffff; 
    border-radius: 8px; 
    padding: 5px; 
    box-shadow: 0 0 10px rgb(165, 51, 22); 
}

/* Opcional: Efecto hover */
.img-group img:hover {
    transform: scale(1.02); 
    transition: all 0.3s ease; /
}

/* animación de temblor para los texto h3 de section games*/
#games h3{
    font-size: 20px;
    color: #c39b6a;
    animation: temblor 0.5s infinite;
}
/* @keyframes temblor {
    0% { transform: translate(0); }
    25% { transform: translate(-2px, -2px); }
    50% { transform: translate(2px, 2px); }
    75% { transform: translate(-2px, 2px); }
    100% { transform: translate(0); }
} */
.descargar-left{
    display: inline-block;
    padding: 1rem 2rem;
    background: #c39b6a;
    color:#fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}
.descargar-left:hover{
    background: #b08f5e;
    transform: scale(1.2);
}
.right{
    text-align: left;
    padding-left: 2cm;
}
.img-right {
    display: flex;
    gap: 40px; 
    align-items: center; 
}
/* estilos para bordes */
.img-right img {
    border: 1px solid #ffffff; 
    border-radius: 8px; 
    padding: 5px; 
    box-shadow: 0 0 10px rgb(165, 51, 22); 
}
/* no entiendo pq funciona :-) ? */
.games{ 
    display: flex
}

/* section 3: game engine */
#game_engine h1 {
    margin: 1cm;
    color: #c39b6a;
} 
.content-engine {
    display: flex;
    flex-direction: column; /* Apila los elementos verticalmente */
    gap: 20px; /* Espacio entre elementos */
}
.content-engine {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Estilos para el contenedor de texto */
.text-1, .text-2 {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border: 2px solid #b6c36a;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(255, 2, 2, 0.2);
    animation: borderL 4s infinite linear;
}

@keyframes borderL {
    0% {
        border-color: #b6c36a;
        box-shadow: 0 0 20px rgba(255, 2, 2, 0.2);
    }
    25% {
        border-color: #ff5722;
        box-shadow: 0 0 25px rgba(255, 87, 34, 0.4);
    }
    50% {
        border-color: #fbc02d;
        box-shadow: 0 0 30px rgba(251, 192, 45, 0.5);
    }
    75% {
        border-color: #4caf50;
        box-shadow: 0 0 25px rgba(76, 175, 80, 0.4);
    }
    100% {
        border-color: #b6c36a;
        box-shadow: 0 0 20px rgba(255, 2, 2, 0.2);
    }
}
.text-1 h3, .text-2 h3 {
    color: #c39b6a;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-1 p, .text-2 p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1.5rem;
}

.header-container text-3 h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #c39b6a;
}
.contenedor-horizontal {
    display: flex;
    align-items: center;      
    justify-content: center;  
    gap: 40px;                

}

.godot-group {
    display: flex;
    flex-direction: column;
    align-items: center;      
    text-align: center;
}

.text-3 h1 {
    margin: 0;
}

.text-3 p {
    margin: 0;
    font-size: 18px;
    color: gray;
}

.descargar {
    margin-bottom: 8px;
    margin-top: 80px;
    padding: 10px 16px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}
.texto-descarga {
    margin-left: 240px; 
}
.texto-descarga {
    padding-left: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}
.texto-descarga:hover {
    animation-play-state: paused;
}

/* section 4: about us */
#about_us h1 {
    margin: 1cm;
    color: #c39b6a;
} 
.mission{
    text-align: left;
    padding-left: 2cm;
}
#about_us h3{
    font-size: 20px;
    color: #c39b6a;
    animation: temblor 0.5s infinite;
}
.mission p {
    max-width: 300px; /* texto justificado */
    text-align: justify; 
    word-wrap: break-word;
}
.values{
    text-align: left;
    padding-left: 2cm;
}
.values p{
    padding: 1em;
}
.about-content{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
}
#contacts h1{
    margin: 1cm;
    color: #c39b6a;
}
#contacts p{
    padding: 15px;
    margin: 1.3rem ;
    font-size: 1.3rem;
    color: #fff;
}
.contact_content {
    display: flex;
    justify-content: space-around; /* o use space-between, center, etc. */

    gap: 2rem; /* Espacio entre los elementos */
    padding: 2rem;
}

.contact_item {
    max-width: 300px;
    text-align: center;
}

.contact_item img {
    height: auto;
    border-radius: 10px;
    border: 3px solid #c39b6a;
}
.contact_item img:nth-of-type(2) {
    margin-top: 8rem; /* ajusta según lo que necesites */
}

#team h1{
    margin: 1cm;
    color: #c39b6a;
}
.team-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}
.dev-tao h3{
    font-size: 20px;
    padding-left: 40px;
    color: #c39b6a;

}
.dev-tao p{
    padding: 15px;
    margin: 1.3rem ;
    font-size: 1.3rem;
    color: #fff;
    max-width: 400px; /* texto justificado */
    text-align: justify; 
    word-wrap: break-word;
}
.dev-joel h3{
    font-size: 20px;
    padding-left: 40px;
    color: #c39b6a;

}
.dev-joel p{
    padding: 15px;
    margin: 1.3rem ;
    font-size: 1.3rem;
    color: #fff;
    max-width: 400px; /* texto justificado */
    text-align: justify; 
    word-wrap: break-word;
}
.divider {
    width: 2px;
    height: 450px;
    background-color: #c39b6a;
    margin: 0 2rem;
}
.footer {
  background-color: #111;
  color: #fff;
  padding: 1.5rem 1rem;
  text-align: center;
  font-family: "Monotype Corsiva", "Comic Sans MS", cursive;
}

.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 40px;
}

.follow-text {
  color: #c39b6a;
  margin-left: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
}

.social-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.social-icon:hover {
  transform: scale(1.2);
}

.footer-line {
  border: none;
  height: 1px;
  background-color: #444;
  margin: 1rem auto;
  width: 80%;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #aaa;
}

.flag-icon {
  width: 25px;
  height: auto;
  border-radius: 2px
}
.flag-icon:hover {
  transform: scale(1.2);
}
.leadership_team img {
     border-radius: 50%;
    border: 3px  solid #c39b6a;
}
/* aplicar estilo a la primera img del hijo directo de dev-tao*/
.dev-tao > img:first-of-type {
    border-radius: 50%;
    border: 3px  solid #c39b6a;
}
/* aplicar estilo a la primera img del hijo directo de dev-joel*/
.dev-joel > img:first-of-type {
    border-radius: 50%;
    border: 3px  solid #c39b6a;
}