#container-completo {
    width: 100%;
    min-height: 100vh; /* Asegura que ocupe toda la pantalla */
    position: relative;
}

#container-completo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/Fondo-2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px) brightness(30%);
    z-index: -1;
}

#about-us{
    margin: 20px 0 ;
    height: 89vh;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

/* Estilos generales para la ventana de código */
#windows-code {
    width: 90%;
    height: 100%;
    background-color: #262a31;
    border-radius: 8px;
    overflow: hidden;
    font-family: monospace;
    opacity: 0;
    transform: scale(0.9);
    animation: openWindow 0.5s ease-out forwards;

}

/* Barra superior de la ventana */
#header-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #1e1e1e;
}

/* Círculos estilo Mac */
.circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    position: relative;
}

#c-red { background-color: #f75c52; }
#c-yellow { background-color: #f2b629; }
#c-green { background-color: #20c238; }

/* Nombre del archivo */
#name-archive {
    color: #5d6670;
    font-size: 14px;
    margin-left: 10px;
    flex-grow: 1; /* Empuja el texto al centro */
    text-align: center;
}

/* Estilos para el título */
#container-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background-color: #262a31;
}

#title-write {
    font-size: 35px;
    color: #5d6670;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    border-right: 2px solid;
    width: 15ch;
    animation: typing 2s steps(15), blink .5s infinite step-end alternate;
    overflow: hidden;
}

#container-parrafer-about {
    width: 80%;
    margin: 10px auto;
}

.about-us-p {
    color: #5d6670;
    font-size: 16.7px;
    opacity: 0; /* Empieza invisible */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s forwards; /* Animación de desvanecimiento */
    margin-bottom: 10px; /* Espacio entre párrafos */
}

/* Estilo para centrar y colocar el CMD debajo del botón */
#mision-vision-valores {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: #ffffff2d;
    width: 100%;
    height: 100%;
    box-shadow: 0px -10px 20px rgba(255, 255, 255, 0.3), /* Borde superior difuminado */
                    0px 10px 20px rgba(255, 255, 255, 0.3); /* Borde inferior difuminado */
}

/* Estilo inicial del CMD */
.cmd-window {
    background-color: #1e1e1e;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    font-family: "Courier New", monospace;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform-origin: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Clase para mostrar suavemente */
.show {
    animation: fadeInScale 0.4s ease forwards;
}

/* Clase para ocultar suavemente */
.hide {
    animation: fadeOutScale 0.4s ease forwards;
}

/* Botón para mostrar la ventana CMD */
#show-cmd-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #1e1e1e90;
    color: #00ff00;
    border: 1px solid #00ff00;
    font-family: "Courier New", monospace;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s;
    
}

#show-cmd-btn:hover {
    background-color: #333;
}

/* Minimizar (oculta solo el cuerpo del CMD) */
.minimized .cmd-body {
    display: none;
}

/* Barra superior estilo macOS / Windows 11 */
.cmd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    padding: 4px 15px 0 10px;
    color: white;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
    position: relative;
}

/* Barra de título de la ventana */
.cmd-page {
    background-color: #181818;
    padding: 5px;
    display: flex;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

#route-cmd{
    display: flex;
    align-items: center;
    justify-content: center;
}

#icon-cmd{
    width: 20px;
    margin-right: 4px;
}
/* Ruta y nombre del archivo */
#cmd-path-page{    
    font-size: 12px;
    color: #ffffff;
    font-weight: bold;
}

.cmd-path {
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
}

/* Estilo general para la ruta */
.cmd-path-route, .cmd-file {
    white-space: nowrap; /* Evita que el texto se divida en varias líneas */
    display: inline-block;
}

/* Para pantallas grandes */
.cmd-header p {
    font-size: 16px; /* Tamaño de fuente para pantallas grandes */
}

.cmd-file {
    color: #00ffff;
}

/* Botón de reinicio */
.reset-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
    margin-left: 10px;
}

.reset-btn:hover {
    transform: rotate(180deg);
}

/* Botones de ventana - Estilo de iconos (minimizar, maximizar, cerrar) */
.botons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 55px;
}

.container-boton{
    display: flex;
    align-items: center;
    height: 50%;
    width: 30px;
}

.botons .container-boton i {
    font-size: 12px;
    color: #d1d1d1;
    cursor: pointer;
    transition: color 0.2s ease;
}

/* Efectos hover para los botones de la ventana */
.botons i{
    text-align: center;
}

.botons i:hover {
    color: #ffffff;
}

.cmd-header i {
    font-size: 16px;
    color: #d1d1d1;
    cursor: pointer;
    margin-left: 10px;
}

/* Cuerpo del CMD */
.cmd-body {
    padding: 15px;
    line-height: 1.5;
    font-size: 14px;
    text-align: left;
    background-color: #181818;
    border-radius: 0 0 8px 8px;
    color: #ffffff;
}

/* Cursor en el CMD */
.cursor {
    display: inline-block;
    width: 2px;
    height: 16px;
    background-color: #ffffff;
    animation: blink 0.8s infinite alternate;
}

#nuestra-filosofia {
    position: relative;
    width: 100%;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Para evitar que el video sobresalga */
}

/* Video de fondo */
#video-filosofia {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Hace que el video cubra toda la sección */
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(10px);
}

/* Caja de texto */
.philosophy-box {
    width: 80%;
    padding: 20px;
    background-color: rgba(38, 42, 49, 0.95); /* Color con opacidad */
    color: #5d6670;
    font-size: 16px;
    font-style: italic;
    border-left: 5px solid #f75c52;
    border-radius: 4px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    opacity: 0; /* Oculto inicialmente */
    transform: translateX(-100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

#title-filosifia {
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
}

/* Clase que se activará cuando aparezca en pantalla */
.show {
    opacity: 1;
    transform: translateX(0);
}

#our-team{
    width: 100%;
    height: auto;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#titlet-team{
    width: 70%;
    text-align: center;
    font-size: 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    color: #d1d1d1;
}

#separator{
    background-color: #960a00;
    width: 70%;
    height: 4px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.container-cards-team{
    width: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card {
    display: flex;
    flex-direction: column;
    width: 60%;
    align-items: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.752);
    margin: 10px 0;
    padding: 20px 10px;
    border-radius: 10px;
    
    /* Sombra 3D en la esquina inferior derecha */
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5), 
                -3px -3px 10px rgba(255, 255, 255, 0.2);
}

.img-team { 
    width: 130px;
    height: 130px;
    border-radius: 100px;
    border: 8px solid rgba(107, 107, 107, 0.205);
    object-fit: cover; /* Ajusta la imagen sin deformarla */
}


.content-text{
    margin: 15px 0;
    padding: 5px;
}

.title-name{
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

.profetion{
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 12px;
    margin: 0;
}

.social{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}


.icon-social-item{
    text-decoration: none;
    list-style: none;
    margin: 0 10px;

}


.link-icon{
    color: #960a00;
}


/* Animación de aparición */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animación de desaparición */
@keyframes fadeOutScale {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Animación del cursor */
@keyframes blink {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* Animaciones para salida del windows code */
@keyframes openWindow {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animaciones de la pregunta */
@keyframes typing {
    from { width: 0; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Animación de desvanecimiento y aparición */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Agregar retraso para cada párrafo, haciendo que aparezcan uno tras otro */
#container-parrafer-about .about-us-p:nth-child(1) {
    animation-delay: 0s; /* Primer párrafo */
}

#container-parrafer-about .about-us-p:nth-child(2) {
    animation-delay: 1s; /* Segundo párrafo */
}

#container-parrafer-about .about-us-p:nth-child(3) {
    animation-delay: 2s; /* Tercer párrafo */
}

#container-parrafer-about .about-us-p:nth-child(4) {
    animation-delay: 3s; /* Cuarto párrafo */
}

/* Media query para pc */
@media (min-width: 1024px){
    #about-us{
        height: 80vh;
    }
    
    /* Estilos generales para la ventana de código */
    #windows-code {
        width: 85%;
    }

    #container-parrafer-about {
        width: 90%;
    }
    .about-us-p {
        font-size: 18px;
    }

    .circle:hover {
        filter: brightness(1.2);
        cursor: pointer;
    }
    
    .circle::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #000;
        color: #fff;
        font-size: 10px;
        padding: 5px;
        border-radius: 5px;
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
        pointer-events: none;
    }
    
    .circle:hover::after {
        opacity: 1;
    }

    /* Estilo inicial del CMD */
    .cmd-window {
        width: 100%;
        max-width: 1200px;
    }
    .container-boton {
        position: relative;
    }

    .container-boton[data-tooltip]:hover::after {
        content: attr(data-tooltip);
        position: absolute;
        top: -25px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 5px 8px;
        font-size: 12px;
        border-radius: 4px;
        white-space: nowrap;
        opacity: 0.8;
    }

    /* Caja de texto */
    .philosophy-box {
        width: 90%;
    }

    #our-team{
        height: 100%;
        min-height: 900px;
        justify-content: center;
    }
    
    #titlet-team{
        font-size: 37px;
        margin-bottom: 40px;
    }
    
    #separator{
        margin-bottom: 30px;
    }
    
    .container-cards-team{
        width: 95%;
        height: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    .card {
        width: 20%;
        margin: 10px 10px;
        background-color: rgba(255, 255, 255, 0.347);
        transition: 0.4s;
        transform: scale(1);
        opacity: 0.4;
    }

    .card:hover{
        background-color: rgb(255, 255, 255);
        border-radius: 20px;
        transform: scale(1.02);
        opacity: 1;
    }
    
    .img-team{
        width: 150px;
        height: 150px;
    }   
    
    .link-icon{
        color: #960a00;
        transition: 0.3s;
    }

    .link-icon:hover{
        color: #de3b30;
    }

    .icon-social-item{
        text-decoration: none;
        list-style: none;
        margin: 0 10px;
        transform: translateY(30px);
        transition: 0.5s;
        opacity: 0;
        transition-delay: calc(0.1s * var(--i));
    }
    
    .card:hover .icon-social-item{
        transform: translateY(0px);
        opacity: 1;
    }
}