Body {
    --gapgeneral: 3vh;
    --margin_text: 20px 20px;
    --padding_text: 5px 10px;
    --border_radio_text: 20px;
    margin: var(--gapgeneral);
    background-image: url(IMG/PORTADA\ INICIAL\ .png);
    background-size: 100%;
}

#Container {
    width: 100%;
    height: 94vh;
    display: grid;
    grid-template-rows: 17vh 33vh 38vh;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gapgeneral);
    grid-template-areas: 'nombre nombre' 'melamina lessence' 'dj lessence';
}

#Nombre {
    grid-area: nombre;
    position: relative;
    display: grid;
}

#Melamina_JC {
    grid-area: melamina;
    position: relative;
    display: grid;
}

#Dj_yeiciem {
    position: relative;
    grid-area: dj;
    display: grid;
}

#Lessence_desing {
    position: relative;
    grid-area: lessence;
    display: grid;
}

#Nombre img{
    width: 76%;
    justify-self: center;
    align-self: start;
    transform: translateY(-28px);
}

.TEXT {
    font-family: "Chau Philomene One", sans-serif;
    font-size: 30px;
    font-weight: 400;
    font-style: normal;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(3px);
    position: absolute;
    align-self: end;
    margin: var(--margin_text);
    padding: var(--padding_text);
    border-radius: var(--border_radio_text);
    color: rgb(255, 255, 255);
    z-index: 5;
}

.Fondo_1 {
    width: 98.5%;
    height: 96%;
    align-self: center;
    justify-self: center;
    border-radius: 40px;
    border: solid white 5px;
    z-index: 1;
}


/* #Fondo_DJ {
    width: 98.5%;
    height: 94%;
    transform: translatey(-2px);
}

#Fondo_DJ_2 {
    width: 98.5%;
    height: 94%;
    transform: translatey(-2px);
} */

#Fondo_Melamina {
    width: 98.5%;
    height: 95.5%;
    transform: translatey(0px);
}


/* Fondos 2 */

.Fondo_2 {
    align-self: center;
    justify-self: center;
    border-radius: 40px;
    border: solid white 5px;
}

#Fondo_DJ {
    transition: transform 1.5s ease;
}


/* TRANSISCION DE GRUPO LESSENCE DESING */

#Fondo_lessence {
    position: absolute;
    top: 0;
    left: 0;
    width: 98.5%;
    height: 98%;
    transition: opacity 2.5s ease;
    transition: transform 1.0s ease;
}

#Fondo_lessence_2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 98.5%;
    height: 98%;
    opacity: 0;
    scale: 1;
    transition: opacity 2.5s ease;
    transition: transform 2.5s ease;
}

#Lessence_desing:hover #Fondo_lessence {
    /* transform: scale(1.27) translate(-75px, -50px); */
    opacity: 0;
    cursor: pointer;
}

#Lessence_desing:hover #Fondo_lessence_2 {
    /* transform: scale(1.27) translate(-75px, -50px); */
    opacity: 1;
}


/* TRANSISCION DE GRUPO DJ YEICIEM */

#Fondo_DJ {
    position: absolute;
    top: 0;
    left: 0;
    width: 98.5%;
    height: 98%;
    transition: opacity 2.5s ease;
    transition: transform 1.0s ease;
}

#Fondo_DJ_2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 98.5%;
    height: 98%;
    opacity: 0;
    scale: 1;
    transition: opacity 2.5s ease;
    transition: transform 2.5s ease;
}

#Dj_yeiciem:hover #Fondo_DJ {
    /* transform: scale(1.27) translate(-75px, -50px); */
    opacity: 0;
    cursor: pointer;
}

#Dj_yeiciem:hover #Fondo_DJ_2 {
    /* transform: scale(1.27) translate(-75px, -50px); */
    opacity: 1;
}


/* TRANSISCION DE GRUPO MELAMINA */

#Fondo_Melamina {
    position: absolute;
    top: 0;
    left: 0;
    width: 98.5%;
    height: 98%;
    transition: opacity 2.5s ease;
    transition: transform 1.0s ease;
}

#Fondo_Melamina_2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 98.5%;
    height: 98%;
    opacity: 0;
    scale: 1;
    transition: opacity 2.5s ease;
    transition: transform 2.5s ease;
}

#Melamina_JC:hover #Fondo_Melamina {
    /* transform: scale(1.27) translate(-75px, -50px); */
    opacity: 0;
    cursor: pointer;
}

#Melamina_JC:hover #Fondo_Melamina_2 {
    /* transform: scale(1.27) translate(-75px, -50px); */
    opacity: 1;
}

@media (max-width: 768px) {
    body {
        height: 730px;
        background-size: cover;
    }
    #Container {
        width: 90vw;
        height: 400px;
        display: grid;
        grid-template-rows: 50px 300px 180px 140px;
        grid-template-columns: 90vw;
        grid-template-areas: 'nombre' 'lessence' 'dj' 'melamina';
    }
    #Nombre img{
    width: 105%;
    transform: translateY(-5px);
    }   
}