/* LOGO Y ANIMACIÓN DE MÁQUINA DE ESCRIBIR */
.fondo{
    background: url(../Image/F2.jpg);
    position:relative;
    width: 100%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:end;
    text-align: end;
    background-position:center;
    background-size:cover;
}
.logo_container {
    margin: 0px;
    padding: 0px;
    position: relative;
    width: 100%;    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    /*background: linear-gradient(to right, #B5B5B5, #F2F2F2);*/
    z-index: 1;
}

.center_Logo {
    margin-top: 20px;
    padding-top: 150px;
    width: 200px;
    max-width: 200px;
}

/* Texto TimKis home */
.texhome{
    margin-top: 0px;
    padding-top: 20px;
    font-size: 80px;
    color:  white
}

.letraspamhome{
    color: aqua;
}


/* LOGO Y ANIMACIÓN DE MÁQUINA DE ESCRIBIR */
.maquina_escribir {
    margin-top: 0px;
    color: rgb(225, 225, 232);
    font-size: 3vw;
    max-width: 80%;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    display: inline-block;
    min-height: 10vh;
}

.maquina_escribir::after {
    content: '';
    position: absolute;
    right: 0; /* Coloca la línea al final del texto */
    top: 0;
    width: 0px; /* Grosor de la línea */
    height: 1em; /* La altura de la línea será igual a la altura del texto */
    background-color: black;
    animation: parpadeo 0.5s infinite;
}

/* TARJETA HOME */
.tarjeta_Home {
    margin-top: 25px;
    display: flex;
    width: 100%;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    z-index: 2;
    flex-wrap: wrap;
}

.lado {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
}

.izquierda {
    background-color: #7fb7b4;
}

.derecha {
    background-color: #b177c9;
}

.lado p {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    margin: 10px 0;
    line-height: 1.4;
    text-align: center;
    max-width: 90%;
}

.lado .resaltado {
    color: #FFFF00;
}

.boton {
    background-color: transparent;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: 2px solid white;
    border-radius: 50px;
    width: auto; /* Ajustamos el ancho para que se adapte al contenido */
    max-width: 180px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap; /* Evita que el texto se divida en dos líneas */
}

.boton:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Eliminar subrayado de los enlaces */
a {
    text-decoration: none; /* Elimina el subrayado de los enlaces */
}

/* MEDIA QUERIES PARA ADAPTAR MEJOR EN DISPOSITIVOS PEQUEÑOS */
@media screen and (max-width: 768px) {
    .tarjeta_Home {
        position: relative; /* Cambia de absolute a relative */
        bottom: auto; /* Elimina bottom */
        margin-top: 10; /* Asegura que no tenga margen extra */
    }

    .lado {
        padding: 15px;
    }

    .lado p {
        font-size: 1rem;
    }

    .boton {
        font-size: 0.9rem;
        height: 35px;
        max-width: 150px;
    }

    /* Elimina el espacio entre las tarjetas y la primera imagen */
    .descanso {
        margin-top: 0; /* Elimina cualquier margen superior */
        padding-top: 0; /* Elimina cualquier padding superior */
    }
}

@media screen and (orientation: landscape) {

    .tarjeta_Home {
        width: 100%; /* Hacer que las tarjetas ocupen todo el ancho */
        max-width: none; /* Eliminar el límite de ancho máximo */
        margin: 0; /* Eliminar el margen para que ocupe todo el ancho */
        position: relative; /* Asegura que las tarjetas estén dentro de su contenedor */
        bottom: 0; /* Colocarlas al final */
        margin-top: 10vh; /* Separar un poco las tarjetas */
    }

    .lado {
        padding: 8px; /* Reducir el padding para hacer las tarjetas más pequeñas */
        flex: 1; /* Asegura que los lados tomen todo el ancho disponible */
    }

    .lado p {
        font-size: 1rem; /* Reducir el tamaño del texto */
    }

    .boton {
        font-size: 0.9rem;
        height: 35px;
        max-width: 150px;
    }
}
