body {
    margin: 0;
    font-family: sans-serif;
    background-color: #f0f0f0;
    overflow: hidden;
    /* Oculta las barras de desplazamiento */
}

.parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
    background-image: url('../IMG/1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100vw;
    height: 100vh;
    color: #ffffff;
    text-align: center;
    border: 2px solid #cccccc;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.div1 {
    grid-column: span 5 / span 5;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding: 10px;
}

.div1 img {
    position: absolute;
    left: 10px;
    top: 10px;
    height: 50px;
}

.div1 h1 {
    text-align: center;
    margin: 0;
    flex-grow: 1;
    padding-top: 10px;
}

.div2 {
    grid-column: span 5 / span 5;
    grid-row-start: 2;
    background-color: rgba(0, 0, 0, 0.5);
    /* Corrección de la opacidad */
    padding: 10px 0;
    max-height: 25px;
    margin-top: -55px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.div2-nav {
    display: flex;
    gap: 20px;
    /* Espacio entre elementos */
    align-items: center;
}

.div2-nav button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    padding: 5px 10px;
    transition: color 0.3s ease;
    position: relative;
}

.div2-nav button::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
}

.div2-nav button:hover {
    color: #00bfff;
    /* Cambio de color al pasar el ratón */
}

.div2-nav button:hover::after {
    width: 100%;
    left: 0;
}

.div3 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-row-start: 3;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.div3 h1 {
    margin-bottom: 10px;
    /* Aumenta la separación entre h1 y p */
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    font-size: 20;
}

.div3 p {
    color: white;
    font-size: 1.2rem;
    max-width: 600px;
    line-height: 1.6;
    opacity: 0.8;
}