body{
    font-family: sans-serif;
    margin: 0;
    background-color: rgba(128, 128, 128, 0.808);
    color: white;
}
a{
    text-decoration: none;
    color: white;
}

.icono-hover:hover {
    color: rgb(240, 130, 130); /* Cambia el color a rojo cuando se pasa el ratón sobre el icono */
}
#barra-arriba{
    display: flex;
    min-height: 70px;
    background-color: rgb(0, 0, 0);
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.logo{
    display: flex;
    align-items: center;
}

.logo img{
    height: 75px;
    margin-right: 20px;
    margin-left: 20px;
    
}

nav a{
    font-weight: 600;
    padding-right: 10px;
}

nav a:hover{
    color:rgb(240, 130, 130);
}

@media (max-width:700px){
    header{
        flex-direction: column;
    }

    nav{
        padding: 10px 10px;
    }
}


.contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* 100% de la altura de la ventana */
}
.tarjeta {
    width: 200px;
    margin: 20px;
    display: inline-block;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px;
    transition: transform 0.3s ease;
    background-color: black;
    position: relative;
    overflow: hidden; /* Para ocultar el exceso de sombra */
}

/* Estilos de las imágenes dentro de las tarjetas */
.tarjeta img {
    max-width: 100%;
}

/* Estilos de la información dentro de las tarjetas */
.informacion {
    margin-top: 10px;
}

/* Efecto de agrandamiento al pasar el cursor por encima (hover) */
.tarjeta:hover {
    transform: scale(1.1) rotate(2deg) ;
    transition: transform 0.7s ease;
    animation: moveBorder 2s linear infinite;
    
}

/* Animación para mover el borde */
@keyframes moveBorder {
    0% {
        box-shadow: -5px 0 10px rgba(255, 192, 192, 0.9);
    }
    25% {
        box-shadow: 0 -5px 10px rgba(255, 192, 192, 0.9);
    }
    50% {
        box-shadow: 5px 0 10px rgba(255, 192, 192, 0.9);
    }
    75% {
        box-shadow: 0 5px 10px rgba(255, 192, 192, 0.9);
    }
    100% {
        box-shadow: -5px 0 10px rgba(255, 192, 192, 0.9);
    }
}

/* Estilos para los enlaces normales */
.link-normal {
    color: rgb(173, 243, 255);
    text-decoration: none; /* Elimina la subraya predeterminada */
}

/* Estilos para los enlaces al pasar el cursor por encima (hover) */
.link-normal:hover {
    color: rgb(148, 219, 231); /* Cambia el color a rojo cuando se pasa el cursor */
}
h2:hover{
    transition: transform 0.7s ease;
    transform: scale(1.1);
    color: rgb(240, 130, 130);
    cursor:grab;
}