@import url('BASE.css');

body {
    font-family: 'TNTStudios', sans-serif;
    color: white;
    background-color: #121212;
    margin: 0;
    padding: 0;
    text-align: center;
    animation: fadeIn 3s ease-out forwards;
    margin-bottom: 140px;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    margin-top: 20px;
}








.partners {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.partners img {
    width: 150px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.year-section {
    margin: 40px 0;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1060px;  /* limita a 3 proyectos de 300px + gaps */
    margin: 0 auto;    /* centra el contenedor */
}



.project {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    width: 300px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: scale(1.05); /* Aumenta ligeramente el tamaño */
    box-shadow: 0px 6px 15px rgba(0, 195, 255, 0.6); /* Resalta con un color azul */
}


.project img {
    width: 100%;
    height: 200px;  /* Ajusta este valor según la altura deseada */
    object-fit: contain; /* Escala la imagen sin recortarla */
    object-position: center; /* Centra la imagen */
    border-radius: 10px;
    
}



.partners img {
    width: 150px;
    height: 150px;    /* Ahora forzamos también la altura */
    object-fit: cover; /* Recorta la imagen para que llene el contenedor sin deformarse */
    border-radius: 10px;
    margin-top: -40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.project-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00c3ff;
    margin-top: -8px;
    text-align: center;
}

.project-description {
    margin-top: 5px;
  font-size: 1rem;       /* Ajusta el tamaño de fuente a tu gusto */

}


@media (max-width: 768px) {
    .project-container {
        flex-direction: column;
        align-items: center;
    }

    .project {
        width: 90%;
    }
}






/* -------------------------------------------------- */
/* Añade aquí los estilos para la animación de Twitch */
/* -------------------------------------------------- */

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
    min-height: 250px; 
}

.glass {
    position: relative;
    width: 180px;
    height: 200px;
    background: linear-gradient(#fff2, transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    border-radius: 10px;
    margin: 0 -45px;
    backdrop-filter: blur(10px);
    transform: rotate(calc(var(--r) * 1deg)) scale(0.9);
    opacity: 0;
    cursor: pointer;
}

.show {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Animación de entrada con opacidad */
.fade-in {
    animation: fadeOpacity 0.6s ease-out forwards;
    opacity: 0;
}

/* Animación de salida con opacidad */
.fade-out {
    animation: fadeOpacityOut 0.6s ease-in forwards;
}

@keyframes fadeOpacity {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeOpacityOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}


/* Hover */
.glass:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;

}

.glass::before {
    content: attr(data-text);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 18px;
}




/* 📱 Media Query para móviles */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem; /* Reducimos el tamaño en móviles */
        margin-top: 10px;
    }

    .container {
        transform: scale(0.67);
        margin-top: -60px;
        margin-bottom: -60px;
        gap: 110px;
        
    }
    
    .project-container {
    transform: scale(0.9);
    margin-top: -20px;


}



    
}
