:root{
    --purpura: #9536B5;
    --naranja: #E68A37;
    --purpura-oscuro: #380955;
    --purpura-vino: #3B1142;
    --morazul: #6636B5;
}

html, body{
    font-size: 16px;
    font-family: "Nunito", sans-serif;
    box-sizing: border-box;
    scroll-snap-type: y mandatory;
    height: 100vh;
    margin:auto 0;
    padding: 0;
}

*, *:before, *:after{
    box-sizing: inherit;
}

.container-publicidad{
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    background-image: url(/utils/image/publicidad/cueva3.jpg);
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: 50% top;
    overflow: hidden;
}

.cortina-filtro {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    background: #3b0d4bf5;
    z-index: 0;
    opacity: .80;
  }

.flecha-atras{
    width: 3rem;
    position: absolute;  
    margin: 20px 0 0 20px;
    z-index: 9;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.flecha-atras:hover {
    transform: scale(1.1);
}

.titulo-roca{
    font-family: "Nunito", sans-serif;
    color: white;
    font-weight: 600;
    font-size: 25px;
    text-shadow: 1px 5px 8px rgba(0,0,0,0.98);
}

/*popup rrss*/

.conten-title-roca-paidMedia{
    position: absolute;
    margin: 5% 5%;
    width: 30%;
    text-align: center;
}

.conten-title-roca-rrss{
    position: absolute;
    margin: 5% 15%;
    width: 30%;
    text-align: center;
}

.container-rrss {
   height: 100vh;
}

.container-paid-media{
    height: 100vh;
}

.centro-rrss img{
    width: 50%;
    margin: 40% 35%;
    animation: float 3s ease-in-out infinite;
    transition: 2s;
}

.centro-paid-media img{
    width: 50%;
    margin: 40% 20%;
    animation: float 3s ease-in-out infinite;
    transition: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px); 
    }
    100% {
        transform: translateY(0);
    }
}

.centro-rrss img:hover{
    width: 60%;
    transition: 1.5s;
    margin: 15%;
    margin-top: 20%;
}

.centro-paid-media img:hover{
    width: 60%;
    transition: 1.3s ;
    margin: 20%;
} 

.centro-paid-media img.active {
    position: fixed;
    transition: 0s ;
    width: 30%;
    margin-top: 10%;
    margin-left: 15%;
    z-index: 1000; 
}

.centro-rrss img.active {
    position: fixed;
    transition: 0s ;
    width: 30%;
    margin-top: 10%;
    margin-left: 5%;
    z-index: 1000; 
} 

.popup-container,
.popup-container-rrss {
    z-index: 999; 
}

.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;    
    width: 100%;
    height: 100%;
    background: rgba(27, 2, 48, 0.589);
    justify-content:baseline;
    align-items: center;
    perspective: 1000px;
}


.popup-container-rrss {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 2, 48, 0.589);
    justify-content: flex-end;
    align-items: center;
    perspective: 1000px;
}

.popup-rrss {
    position: relative;
    width: 80%;
    height: 90%;
    max-width: 700px;
    margin-inline-end: 9%;
    padding: 20px;
    border-radius: 8px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-10%) rotateY(-30deg);
    transition: transform 0.5s ease;
    overflow: hidden; 
}

.popup-m {
    position: relative;
    width: 80%;
    height: 90%;
    max-width: 700px;
    margin-inline-end: 9%;
    padding: 20px;
    border-radius: 8px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline-start: 9%;
    transform: translate(50%, 10%) rotateY(60deg);
    transition: transform 0.5s ease;
    overflow: hidden; 
}

.popup-rrss::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/utils/image/publicidad/rrss/redes.png');
    background-size: cover;
    background-position: center;
    opacity: 1.85;
    filter: blur(1px) brightness(0.1);
    z-index: -1; 
}

.popup-m::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/utils/image/publicidad/paid-media/medias.png');
    background-size: cover;
    background-position: center;
    opacity: 1.85;
    filter: blur(1px) brightness(0.1);
    z-index: -1;
}

.popup-m.open {
    transform: rotateY(0);
}

.popup-rrss.open {
    transform: translateY(0) rotateY(0);
}

.titles-publi {
    text-align: center;
    font-family: "Nunito", sans-serif;
    color: var(--naranja);
    font-weight: 800;
    margin-bottom: 20px;
}

.conten-listas-publi {
    display: flex;
    justify-content: center;
    width: 100%;
}
  
.listas-publi {
    font-size: 130%;
    line-height: 1.9;
    list-style-image: url(/utils/image/punta.png);
    padding-left: 20px;
    margin: 0;
}

.comentar{
    text-align: center;
    font-size: 130%;
}

.accion-whatsapp{
    background: var(--purpura-oscuro);
    padding: 2%;
    border-radius: 25px ;
    border: .5px solid white;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 136, 0, 0.863);
    animation: pulse 2s infinite;
}

.accion-whatsapp:hover{
    font-weight:600 ;
    background-color: var(--naranja);
    
}

.accion-whatsapp a{
    color: white;
    text-decoration: none;
}

footer {
    position: absolute;
    bottom: 5%;
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    
}

footer img {    
    width: 30px;
    transition: transform 0.3s ease;
    background-color: #5b065ed7;
    background-size: contain;
    border-radius: 50%;
    border: solid #380955d2;
    
    

}

footer img:hover {
    transform: scale(1.2);
    box-shadow: 0 0 8px 10px rgba(164, 3, 196, 0.89);
    border-radius: 50%;    
    padding: 10%;             
}


@keyframes pulse {
    0% {
        box-shadow: 0 0 10px rgba(255, 87, 51, 0.7);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 87, 51, 1);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 87, 51, 0.7);
    }
}

.close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 50px;
    cursor: pointer;
} 
 
.close-btn-rrss {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 50px;
    cursor: pointer;
}

  @media only screen and (min-width: 1200px) {
    body {
      font-size: 18px;
    }
  }
  
  @media only screen and (min-width: 1024px) and (max-width: 1199px) {
    body {
      font-size: 17px;
    }
    .centro-paid-media img{
        width: 90%;
        margin: 70% 5%;
    }
    .centro-rrss img{
        width: 90%;
        margin: 66% 9%;
    }
    .titulo-roca{
        font-size: 38px;
    }
   
    .conten-title-roca-paidMedia{
        margin: 14% 10%;
    }
    .conten-title-roca-rrss{
        margin: 12% 15%;
    } 
    .container-publicidad {
        grid-template-rows: repeat(2, 1fr);
    }
    footer img{
        width: 60px;
    }

  }
  
  @media only screen and (min-width: 768px) and (max-width: 1023px) {
    body {
      font-size: 16px;
    }
    .centro-paid-media img{
        width: 90%;
        margin: 70% 5%;
    }
    .centro-rrss img{
        width: 90%;
        margin: 66% 9%;
    }
    .titulo-roca{
        font-size: 30px;
    }
    .conten-title-roca-paidMedia{
        margin: 14% 10%;
    }
    .conten-title-roca-rrss{
        margin: 12% 15%;
    } 
    footer{
        bottom: 15%;
    }
    footer img{
        width: 70px;
    }
  }
  
  @media only screen and (min-width: 481px) and (max-width: 767px) {
    body {
      font-size: 15px;
    }
    .centro-paid-media img{
        width: 60%;
        margin: 50% 20% 0;
    }
    .centro-rrss img{
        width: 60%;
        margin: 50% 20% 0;
    }
    .conten-title-roca-paidMedia{
        margin: 18% 35%;
    }
    .conten-title-roca-rrss{
        margin: 18% 35%;
    } 
    .titulo-roca{
        font-size: 22px;
    }
    .container-publicidad{
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: 1fr;
    }
    footer{
        position: relative;
        bottom: 10%;
    }
    .container-rrss{
        height: 45vh;
    }
    .container-paid-media{
        height: 70vh;
    }
    .centro-paid-media img.active{
        margin-left: 60%;
        bottom: 70%;
    }
  }

  @media only screen and (min-width: 320px) and (max-width: 480px) {
    body {
      font-size: 14px;
    }
    .centro-paid-media img{
        width: 60%;
        margin: 50% 20% 0;
    }
    .centro-rrss img{
        width: 60%;
        margin: 50% 20% 0;
    }
    .titulo-roca{
        font-size: 15px;
    }
    .conten-title-roca-paidMedia{
        margin: 18% 35%;
    }
    .conten-title-roca-rrss{
        margin: 18% 35%;
    }
    .container-publicidad{
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: 1fr;
    }
    footer{
        position: relative;
        bottom: 10%;
    }
    .container-rrss{
        height: 45vh;
    }
    .container-paid-media{
        height: 70vh;
    }
    .centro-paid-media img.active{
        margin-left: 60%;
        bottom: 70%;
    }
  }
  @media only screen and (max-width: 319px) {
    body {
      font-size: 16px;
    }
    .centro-paid-media img{
        width: 60%;
        margin: 50% 20% 0;
    }
    .centro-rrss img{
        width: 60%;
        margin: 50% 20% 0;
    }
    .titulo-roca{
        font-size: 13px;
    }
    .conten-title-roca-paidMedia{
        margin: 18% 35%;
    }
    .conten-title-roca-rrss{
        margin: 18% 35%;
    }
    .container-publicidad{
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: 1fr;
    }
    .container-rrss{
        height: 45vh;
    }
    .container-paid-media{
        height: 70vh;
    }
    .centro-paid-media img.active{
        margin-left: 60%;
        bottom: 70%;
    }
    footer{
        position: relative;
        bottom: 10%;
    }
  }
  