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

.parent {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
    background-image: url('../IMG/9.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 8 / span 8;
    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 8 / span 8;
    grid-row-start: 2;
    background-color: rgba(4, 230, 162, 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 3 / span 3;
    grid-row: span 3 / span 3;
    grid-row-start: 3;
    flex-direction: column;
    justify-content: left;
    padding: 10px;
    margin-top: -110px;
    font-size: 35px;
    padding-left: 100px;
}

.div4 {
    grid-column: span 4 / span 4;
    grid-row: span 3 / span 3;
    grid-column-start: 5;
    grid-row-start: 3;
    margin-top: -120px;
    padding: 20px;
    color: white;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 15px;
    transform: translateX(-65px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background: rgba(20, 20, 20, 0.8);
    /*Fondooscurocontransparencia*/
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    max-height: 500px;
    /*Alturamáximaconscroll*/
    overflow-y: auto;
    backdrop-filter: blur(10px);
    -webkit-transform: translateX(-65px);
    -moz-transform: translateX(-65px);
    -ms-transform: translateX(-65px);
    -o-transform: translateX(-65px);
}

.contact-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    margin: 15px auto;
    border-radius: 10px;
    max-width: 600px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-section:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
}

.contact-section h3 {
    color: #00d4ff;
    font-size: 1.5rem;
}

.contact-section p {
    font-size: 1rem;
}

.contact-section a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: bold;
}

.contact-section a:hover {
    text-decoration: underline;
}