body {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.logo-caja {
    padding-left: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 148px;
    height: 148px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid black;
}

header {
    width: 100%;
    background-color: #333;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    justify-content: space-between;
    align-items: center;
    color: white;
}

header h2 {
    font-size: 2.8rem;
}

.navegacion ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    padding-right: 50px;
}

.navegacion ul li a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bolder;
}

.navegacion ul li a:hover {
    color:rgb(4, 248, 4);
    opacity: 0.7;
    transition: all 0.5s ease;
    border: 1px solid white;
    padding: 6px;
}

label {
    font-size: 23px;
    line-height: 30px;
    width: 80%;
    margin: 0;
    text-align: center;
    color: black;
}

h1 {
    font-size: 80px;
    width: 100%;
    margin: 0 0 40px 0;
    text-align: center;
    color: rgb(4, 248, 4);
}

footer {
    background: rgb(4, 248, 4);
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
    font-size: 1.5rem;
}

.container-redes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px;
    margin-top: 20px;
}

.tarjetas {
    margin: 15px;
    background: #c5c7c4;
    padding: 20px;
    border-radius: 15px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3;
    gap: 25px;
}

.tarjetas:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    font-size: 15px;
}

.tarjetas img {
    width: 80%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    align-items: center;
}

