body{
    margin: 0;
    padding: 0;
    background-color: black;
    background-size: 100%;
    font-size: 16px;
}
nav{
    background-color: black;
    position:fixed;
    z-index: 9999;
    width: 100%;
    height: 90px;
}
a{
    text-decoration: none;
}
.link{
    position: absolute;
    padding: 20px 50px;
    margin-top: -0.5%;

}
nav ul{
    float: right;
    z-index: 9999;
    margin-right: 22%;
    margin-top: 5px;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    z-index: 9999;
    margin: 0 12px;
    
}
nav ul li a{
    z-index: 9999;
    color: #FFFF;
   font-size: 15px;
   font-family: "Quicksand", sans-serif;
   border-radius: 3px;
   padding: 2px 9px;
   text-transform: uppercase;
}
.liyf{
    transition: 0.5s;
    object-fit: cover;
    margin-top: -12%;
    margin-left: 99%;
}
.liyf:hover{
    transform: scale(1.2);
}
#zoom{
    transition: 0.5s;
    object-fit: cover;
}
#zoom:hover{
    transform: scale(1.2);
}
.checkbtm{
    margin-top: 2%;
    position: absolute;
    display: none;
    cursor: pointer;
    border-radius: none;
}
#check{
    display: none;
}
.bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  background-image: url("fond-reflex.png");
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: -1;
}


.lr {
  color: #ecca41;
  font-size: 40px;
  font-family: "Bebas Neue", sans-serif;
  text-align: center;
}
.lr h1{
    width: 70%;
}
.lr-p {
  color: #ecca41;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  font-size: 30px;
}
.lr-p p{
    width: 70%;
    margin: auto;
    line-height: 1.5;
}
main {
  margin-top: 0;
}


section { 
    position: relative;
     min-height: 100vh;
      display: grid;
       place-items: center;
    padding: 50px 0;}


section:nth-of-type(2) {
 height: 140vh;
  padding: 40px 0;
}


h1 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
  color: antiquewhite;
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
}

.animate span {
  opacity: 1;
  transform: translateY(0);
}

.animate-out span {
  opacity: 0;
  transform: translateY(30px);
}

span .video-post {
  max-width: 40%;
  width: 100%;
  border-radius: 12px;
}
span video {
  max-width: 99%;
  width: 100%;
  border-radius: 12px;
}
.vid2, .vid3, .vid4 {
    width: 100%;
    max-width: 800px; 
    margin: 40px auto;
    padding: 0 15px;
    box-sizing: border-box;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    background-color: #000;
    
}

.vid2, .vid3, .vid4,.vid5, .vid6, .vid7 video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.custom-video {
    position: relative;
    width: 100%;
    max-width: 950px;
    margin: 20px auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    overflow: hidden;
    background-color: #000;
}

.custom-video video {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.custom-video {
    position: relative;
    margin: 40px auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    overflow: hidden;
    background-color: #000;
}

.custom-video video {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.custom-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 50px;
    padding: 20px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s ease;
}

.custom-video .play-button:hover {
    background: rgba(0, 0, 0, 0.8);
}
/* =========================
   FOOTER GENERAL
========================= */
.footer {
  background: radial-gradient(circle at top, #111 0%, #000 70%);
  padding: 80px 30px 70px;
  color: white;
  font-family: "Bebas Neue", sans-serif;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* =========================
   GRID LAYOUT (AREAS)
========================= */
.footer-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "logo logo logo"
    "menu young social";
  gap: 60px;
  align-items: start;
  text-align: center;
}

/* =========================
   GRID AREAS
========================= */
.footer-logo {
  grid-area: logo;
}

.footer-menu {
  grid-area: menu;
}

.footer-youngfest {
  grid-area: young;
}

.footer-social {
  grid-area: social;
}

/* =========================
   ANIMACIÓN DE ENTRADA
========================= */
.footer-container > div {
  opacity: 0;
  transform: translateY(35px);
  animation: fadeUp 0.9s ease forwards;
}

.footer-logo { animation-delay: 0.15s; }
.footer-menu { animation-delay: 0.30s; padding-bottom: 10%; }
.footer-youngfest { animation-delay: 0.45s; }
.footer-social { animation-delay: 0.60s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   LOGO PRINCIPAL
========================= */
.footer-logo img {
  width: 200px;
  margin-bottom: 40px;
  border-radius: 17px;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.25));
}

/* =========================
   MENÚ
========================= */
.footer-menu h2,
.footer-social h2 {
  margin-bottom: 16px;
  font-size: 20px;
  letter-spacing: 2px;
  text-decoration: underline;
}

.footer-menu a {
  display: block;
  color: #eaeaea;
  font-size: 15px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.footer-menu a:hover {
  color: white;
  transform: translateX(6px);
}

/* =========================
   YOUNGFEST
========================= */
.footer-youngfest img {
  width: 170px;
  margin-bottom: 12px;
}

.instagram {
  display: flex;
  justify-content: center;
  align-items: center;
}

.instagram a {
  color: #eaeaea;
  font-size: 15px;
  transition: 0.3s;
}

.instagram a:hover {
  color: white;
}

/* =========================
   REDES SOCIALES
========================= */
.icons {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.icons img {
  width: 34px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.icons img:hover {
  opacity: 1;
  transform: scale(1.2);
}
@keyframes cambiarColor {
    0% {
      border-color: rgb(124, 4, 4);
    }
    25% {
      border-color: rgb(2, 2, 105);
    }
    50% {
      border-color: rgb(59, 26, 71);
    }
    75% {
      border-color: rgb(95, 95, 3);
    }
    100% {
      border-color: rgb(97, 2, 2);
    }
  }
@media (max-width: 900px) {
    
    .link{
        padding-left: 140px;
        top: -5%;
    }
    .link img{
        width: 200px;
    }
    nav ul li a{
        font-size: 16px;
    }
    nav{
        height: 94px;
    }
    .liyf{
        margin-left: 0%;
    }
}
@media (max-width: 800px) {
    .cannac{
        width: 100%;
        margin-left: -1%;
    }
    .mcms_etrv{
        width: 100%;
    }
    .campañas_mcms{
        width: 100%;
    }
    .checkbtm{
        display: block;
        z-index: 9999;
        margin-top: 25px;
        margin-left: 22px;
    }
    .link{
        
        margin-top: -2%;
    }
    .h1ca{
        font-size: 40px;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background:  black;
        top: 70px;
        left: -150%;
        text-align: center;
        transition: all .3s;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    #check:checked ~ ul{
        left: -7%;
    }
    .mms .capa{
        margin-top: -40%;
        height: 114px;
    }
    .capa{
        
    width: 90%;
    }
    .mms .capa h1{
        font-size: 25px;
    }
    .mms img{
        height: 153px;
    }
.footer-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "menu"
      "young"
      "social";
    gap: 40px;
  }

  .footer-logo img {
    width: 180px;
    margin-bottom: 25px;
  }
}
@media (max-width: 600px) {
    .mms .capa{
        margin-top: -38%;
    }
    .contw{
        margin-left: 77%;
    }
}
@media (max-width: 455px) {
    .liyf{
        margin-top: 4%;
    }
    .imyf img{
        width: 190px;
    }
    .imyf{
        margin-left: 7%;
    }
    .vdyf{
        margin-top: -28%;
    }
    .vdyf video{
        width: 150px;
    }
    .divimg{
        margin-top: -29%;
    }
    .imyf1{
        margin-left: 7%;
    }
    .imyf1 img{
        width: 190px;
    }
    .vdyf1{
        margin-left: 7%;
    }
    .vdyf1 video{
        width: 350px;
    }
    .capyf{
        margin-top: -19%;
        margin-left: 12%;
    }
    .capyf1{
        margin-top: -21%;
        margin-left: 15%;
    }
    .capyf h1{
        font-size: 28px;
    }
    .capyf1 h1{
        font-size: 33px;
    }
    .capyf2{
        margin-top: 0%;
        margin-left: -7%;
    }
    .capyf2 a h1{
        font-size: 45px;
    }
    .yflog img{
        width: 400px;
    }
    .link{
        margin-top: -2%;
    }
   .mms .capa{
        height: 113px;
        width: 90%;
        margin-top: -38%;
    
    }
    .mms .capa h1{
        font-size: 25px;
    }
    .mms img{
        height: 153px;
    }
     .vdyf{
        margin-left: 56%;
        margin-top: -31%;
    }
    .capyf h1{
        font-size: 35px;
    }
    .capyf{
        margin-top: -23%;
        margin-left: 9%;
    }
    .redmms h1{
        font-size: 44px;
    }
    .redmms .red{
        font-size: 32px;
    }
    .div1{
        margin-left: 20%;
    }
    .div2{
        margin-left: 45%;
    }
    .div3{
        margin-left: 28.4%;
        margin-top: 14%;
    }
    .div3 .adv3{
        margin-left: 19%;
        margin-top: -9%;
    }
    .div3 .imgd3{
        margin-left: 7%;
        margin-top: 5%;
    }
    .div4{
        margin-left: 37%;
        margin-top: 18%;
    }
    .div4 h2{
        margin-left: 10%;
    }
    .div4 div{
        margin-left: -12%;
    }
    .contw{
        margin-top: 55%;
    }
    
}
@media (max-width: 415px) {
    .link{
        margin-left: -7% ;
    }
    .liyf{
        margin-top: 4%;
    }
    .div1{
        margin-left: 20%;
    }
    .div2{
        margin-left: 45%;
    }
    .div3{
        margin-left: 28.4%;
        margin-top: 14%;
    }
    .div3 .adv3{
        margin-left: 19%;
        margin-top: -9%;
    }
    .div3 .imgd3{
        margin-left: 7%;
        margin-top: 5%;
    }
    .div4{
        margin-left: 37%;
        margin-top: 18%;
    }
    .div4 h2{
        margin-left: 10%;
    }
    
    .div4 div{
        margin-left: -12%;
    }
    
}
@media (max-width: 400px) {
    .mms .capa{
        margin-top: -45%;
    }
    .link{
        padding-left: 110px;
    }
}
@media (max-width: 383px) {
    .link{
        margin-left: -7%;
    }
    
}
@media (max-width: 311px) {
    .link{
        padding-left: 80px;
        margin-top: -2%;
    }
    .capa{
        padding: 29px;
        margin-top: -57%;
    }
    .mms .capa h1{
        margin-top: -5%;
    }
    .h3mcms{
        font-size: 12px;
    }
    .h1ca{
        font-size: 33px;
    }
    
}
@media (min-width: 768px) and (max-width: 1024px) {
    .div1{
        margin-top: 7%;
        margin-left: 37%;
    }
    .div2{
        margin-left: 19%;
        margin-top: 4%;
    }
    .div3{
        margin-left: 40%;
        margin-top: -14.5%;
    }
    .div2 h3 a{
        color: #FFFF;
        font-size: 14px;
        font-family: "Bebas Neue", sans-serif;
    }
    .div2 h3 a:hover{
        color: #fcfbfb7c;
    }
    .div2 h2{
        color: #eef3fa;
        font-family: "Bebas Neue", sans-serif;
        text-decoration: underline;
    }
    .div3 a h1{
        font-family: "Bebas Neue", sans-serif;
        color: #eef3fa;
        font-size: 17px;
        transition: 1.5s;
    }
    .div3 a h1:hover{
        text-decoration: underline;
    }
    .div4{
        margin-left: 65%;
        position: relative;
        margin-top: -11.5%;
        justify-content: center; 
        align-items: center; 
        gap: 20px; 
    }
    .div4 h2{
        color:#FFFF;
        font-family: "Bebas Neue", sans-serif;
        margin-left: 14%;
        text-decoration: underline;
    }
    .div4 div{
        display: inline-block;
        margin: 0 50px;
        margin-left: -9%;
        vertical-align: middle;
    }
}