body,
html {
  padding: 0;
  margin: 0;
  overflow-x: clip;
}
a {
    text-decoration: none;
}

/* Hero */
.heroSection {
    width: 100%;
    height: 60vh;
}
.heroImage {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
}
.heroImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.heroText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -31%);
}
.heroText h1 {
    margin: 0;
    color: white;
    white-space: nowrap;
    text-wrap: nowrap;
    text-align: center;
    font-size: 4.5em;
    font-family: 'Oswald';
}

/* Barra roja */
.redSection {
    width: 100%;
    height: 6vh;
    background-color: rgb(156, 24, 47);
}
.navLinks {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0 0.5vw;
    width: 100%;
    height: 100%;
    padding-left: 4%;
}
.navLinks a, .navLinks p {
    color: white;
    font-family: 'Caviar Dreams';
    font-size: 1em;
}


/* Videos */
.videoSection {
    width: 100%;
    background-color: #1C0102;
}
.videosHeader {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3%;
}
.videosText {
    text-align: center;
    width: 100%;
}
.videosText h2 {
    color: white;
    font-size: 4em;
    font-family: 'Caviar Dreams';
    margin: unset;
    margin-top: 20px;
}
/* .videosText h2 {
    color: white;
    font-size: 4em;
    font-family: 'Caviar Dreams';
} */
.videosText p, .videosFlex p {
    color: white;
    font-size: 1.3em;
    font-family: 'Caviar Dreams';
    white-space: nowrap;
    text-wrap: nowrap;
}
.videosFlex p {
    margin: 0 auto;
}
.logoVideos {
    width: 130px;
}
.logoVideos img {
    width: 100%;
    height: 100%;
}
.videosFlex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 5% 15%;
}
.iframesVideos {
    width: 23%;
    height: auto;
    margin-bottom: 1.8vw;
}
.localVideos {
    width: 23%;
    height: auto;
    margin-bottom: 1.7vw;
}
.videosFlex iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  border-radius: 20px;
}
.videosFlex video {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  border-radius: 20px;
}


@media only screen and (max-width:1600px){
    .videosFlex {
        padding: 5% 12%;
    }
}


@media only screen and (max-width:1200px){
    .heroText {
        transform: translate(-50%, -45%);
    }
    .heroText h1 {
        font-size: 4em;
    }
    .videosFlex {
        grid-template-columns: repeat(3, 1fr);
    }
    .videosHeader {
        padding-top: 4%;
    }
    .iframesVideos {
        width: 31%;
        height: auto;
        margin-bottom: 2.2vw;
    }
    .localVideos {
        width: 31%;
        height: auto;
        margin-bottom: 2.2vw;
    }
}


@media only screen and (max-width:800px){
    .heroText {
        transform: translate(-50%, -45%);
    }
    .heroText h1 {
        font-size: 3.5em;
    }
    .videosHeader {
        padding-top: 9%;
    }
    .videosFlex {
        grid-template-columns: repeat(2, 1fr);
    }
    .iframesVideos {
        width: 48%;
        height: auto;
        margin-bottom: 2.7vw;
    }
    .localVideos {
        width: 48%;
        height: auto;
        margin-bottom: 2.7vw;
    }
}


@media only screen and (max-width:650px){
    .heroText h1 {
        font-size: 3.2em;
        white-space: unset;
        text-wrap: unset;
    }
    .navLinks {
        gap: 0 1vw;
    }
    .videosText h2 {
        font-size: 3em;
    }
    .videosText p {
        font-size: 1.2em;
        white-space: unset;
        text-wrap: unset;
    }
    .videosFlex {
        grid-template-columns: repeat(1, 1fr);
    }
    .iframesVideos {
        width: 100%;
        height: auto;
    }
    .localVideos {
        width: 100%;
        height: auto;
    }
}

@media only screen and (max-width: 600px) {
    .videosFlex {
        padding: 5% 1%;
    }
    .videosFlex p {
        text-wrap: wrap;
        text-align: center;
    }
}

@media only screen and (max-width:500px){
    .heroText h1 {
        font-size: 2.8em;
    }
    .navLinks {
        justify-content: center;
        gap: 0 0.5vw;
        padding: 0;
    }
    .navLinks a, .navLinks p {
        font-size: 0.9em;
    }
    /*
    .videosFlex {
        padding: 5% 7%;
    }
    */
    .videosText h2 {
        font-size: 3em;
    }
    .videosText {
        width: 80%;
    }
    .videosText p {
        font-size: 1.1em;
        gap: 2vh 2%;
    }
}

@media only screen and (max-width: 450px) and (max-height: 700px) {
    .videosFlex p {
        font-size: 0.9em !important;
    }
}