:root {
    --blanco: #ffffff;
    --oscuro: #154b58;
    --primario: #083a06;
    --secundario: #ddda35;
    --gris: #757575;
    --grisClaro: #DFE9F3;
}

/*  Globales **/
html {
    font-size: 62.5%;
    box-sizing: border-box;
    /* Hack para Box Model **/
    scroll-snap-type: y mandatory;
}

/** Scroll Snap**/
/* .servicios,
.navegacion-principal,
.formulario {
    scroll-snap-align: center;
    scroll-snap-stop: always;
} */

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-size: 16px;
    /* 1rem = 10px */
    font-family: 'Bungee', cursive;
    /* font-family: 'Krub', sans-serif; /*
    
    /* background-image: url(https://r4.wallpaperflare.com/wallpaper/372/141/138/abstracto-dark-nubes-oscuras-wallpaper-94b9133329d5c92b06b8a7c0cb2279cd.jpg); */
    background-image: linear-gradient(to top, #323332 0%, #070707 100% );
    background-position: center;
}

.contenedor {
    max-width: 120rem;
    margin: 0 auto;
    width: 95%;
}

.boton {
    background-color: var(--secundario);
    color: var(--blanco);
    padding: 1rem 3rem;
    margin-top: 3rem;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: .5rem;
    width: 90%;
    text-align: center;
    border: none;
}

@media (min-width: 768px) {
    .boton {
        width: auto;
    }
}

.boton:hover {
    cursor: pointer;
}

.sombra {
    box-shadow: 0px 5px 15px 0px rgba(112, 112, 112, 0.48);
    background-color: rgba(151, 162, 172, 0.658);
    padding: 2rem;
    border-radius: 1rem;
}

.sombra_torneo {
    box-shadow: 0px 5px 15px 0px rgba(20, 20, 20, 0.48);
    background-image: linear-gradient(to top, #a78a08 0%, var(--blanco) 100%);
    /* background-color: rgb(107, 114, 16); */
    padding: 2rem;
    border-radius: 1rem;
}

/* Tipografia */
h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}

h1, h2, h3 {
    text-align: center;
}

.titulo {
    color: var(--blanco);
}

/* Titulos */
.titulo span {
    font-size: 2rem;
}

/** Utilidades **/
.w-sm-100 {
    width: 100%;
}

@media (min-width: 768px) {
    .w-sm-100 {
        width: auto;
    }
}

.flex {
    display: flex;
}

.alinear-derecha {
    justify-content: flex-end;
}

.margin {
    margin-top: 3rem;
}

/* Navegacion Principal */
.nav-bg {
    background-color: var(--secundario);
}

.navegacion-principal {
    display: flex;
    flex-direction: column;
    background-color: #c4c4c4;
}

@media (min-width: 768px) {
    .navegacion-principal {
        flex-direction: row;
        justify-content: space-evenly;
        background-color: rgba(243, 243, 236, 0.466);
    }
}

.navegacion-principal a {
    display: block;
    text-align: center;
    color: var(--primario);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    padding: 1rem;
}

.navegacion-principal a:hover {
    background-color: var(--blanco);
    color: var(--oscuro);
}

/* Hero */
.hero {
    background-image: url(../img/FondoAOE2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 550px;
    position: relative;
    margin-bottom: 2rem;
}

.contenido-hero {
    position: absolute;
    background-color: rgba(0, 0, 0, .7);
    /** Anterior **/
    background-color: rgb(0 0 0 / 70%);
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.contenido-hero img {
    width: 20rem;
}

.contenido-hero a {
    text-decoration: none;
}

.contenido-hero h2,
.contenido-hero p {
    color: var(--blanco);
}

.contenido-hero .ubicacion {
    display: flex;
    align-items: flex-end;
}



/** Servicios **/
@media (min-width: 768px) {
    .servicios {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 1rem;
    }
}

.servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.servicio h3 {
    color: var(--secundario);
    font-weight: normal;
}

.servicio p {
    line-height: 2;
    text-align: center;
}

.servicio .iconos {
    height: 15rem;
    width: 15rem;
    background-color: var(--primario);
    border-radius: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

/** Contacto **/
.formulario {
    background-color: var(--gris);
    width: min(60rem, 100%);
    /** Utilizar el valor más pequeño **/
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1rem;
}

.formulario fieldset {
    border: none;
}

.formulario legend {
    text-align: center;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primario);
}

@media (min-width: 768px) {
    .contenedor-campos {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: auto auto 20rem;
        column-gap: 1rem;
    }

    .campo:nth-child(3),
    .campo:nth-child(4) {
        grid-column: 1 / 3;
    }
}

.campo {
    margin-bottom: 1rem;
}

.campo label {
    color: var(--blanco);
    font-weight: bold;
    margin-bottom: .5rem;
    display: block;
}

.campo textarea {
    height: 20rem;
}

.input-text {
    width: 100%;
    border: none;
    padding: 1.5rem;
    border-radius: .5rem;
}

/** Footer **/
.footer {
    text-align: center;
    background-color: #154b58b2;
    padding: 2rem;
}


@media (min-width: 768px) {

    .campeones {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 1rem;
        background-color: #d4dd4d75;
    }
}

.campeon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.redes {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.red img {
    height: 2rem;
}

.red a {
    text-decoration: none;

}

iframe {
    width: 350px;
    height: 750px;
}

@media (min-width: 490px) {
    iframe {
        width: 760px;
        height: 750px;
    }
}

.logocup {
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .torneo {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: white;

    }

    .torneo h3 {
        margin-bottom: 2rem;
    }

    .logocup {
        width: 20rem;
        height: 20rem;
    }


    .redes {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;

    }

    .red {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .red img {
        height: 5rem;
    }

    iframe {
        width: 1150px;
        height: 1250px;
    }
}


.mySlides {
    display: none
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    max-width: 70%;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: -25px;
    width: 100%;
    text-align: center;
}

.text-img {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    top: -60px;
    width: 100%;
    text-align: center;
}

.text-contenido {
    color: #ffffff;
    font-size: 24px;
    padding: 8px 50px;
    position: absolute;
    top: 80px;
    width: 100%;
    text-align: center;
    font-family: 'Rancho', cursive;

}

.text-contenido img {
    width: 80%;
}

.text-contenido a {
    text-decoration: none;
    color: #0b0b0b;
}

.text3 {
    font-size: 25px;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .next, .text {
        font-size: 11px
    }

    .dot {
        height: 10px;
        width: 10px;
    }
}

@media only screen and (max-width: 500px) {
    .prev, .next, .text {
        font-size: 14px
    }

}

@media only screen and (max-width: 1200px) {
    .text-contenido img {
        width: 55%;
    }

}

@media only screen and (max-width: 748px) {
    .text-img {
        color: #f2f2f2;
        font-size: 15px;
        padding: 8px 12px;
        position: absolute;
        top: -30px;
        width: 100%;
        text-align: center;
    }

    .text-contenido {
        color: #ffffff;
        font-size: 16px;
        padding: 8px 30px;
        position: absolute;
        top: 35px;
        width: 100%;
        text-align: center;
        font-family: 'Rancho', cursive;

    }

    .text-contenido img {
        width: 50%;
    }

    .text {
        color: #f2f2f2;
        font-size: 8px;
        padding: 8px 12px;
        position: absolute;
        bottom: -15px;
        width: 100%;
        text-align: center;
    }


    .text3 {
        font-size: 14.5px;
    }
}

@media only screen and (max-width: 450px) {
    .text-img {
        color: #f2f2f2;
        font-size: 15px;
        padding: 8px 12px;
        position: absolute;
        top: -30px;
        width: 100%;
        text-align: center;
    }

    .text-contenido {
        color: #ffffff;
        font-size: 8px;
        padding: 8px 30px;
        position: absolute;
        top: 10px;
        width: 100%;
        text-align: center;
        font-family: 'Rancho', cursive;

    }

    .text {
        color: #f2f2f2;
        font-size: 8px;
        padding: 8px 12px;
        position: absolute;
        bottom: -9px;
        width: 100%;
        text-align: center;
    }

    .text3 {
        font-size: 7.5px;
    }
}


.clasificacion {
    background-color: #154b5888;
    padding: 2rem 2rem;
    border-radius: 2rem;
    margin-top: 1rem;
}

.clasificacion h3, p {
    text-align: center;
    color: white;
}

.posicion {
    list-style: none;
    margin: 0;
    padding: 0
}

@media (min-width: 768px) {
    .grupos-contenedor {

        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;

    }

    .posicion{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

}

.grupos-contenedor p {
    color: black
}



.grupos {
    padding: 1rem;
}

.bg-verde {
    background-color: #19b513a4;
}

.bg-azul {
    background-color: #0f90c898;
}

.bg-amarillo {
    background-color: #a78a088b;
}

.bg-rojo {
    background-color: #8d0d0d95;
}


.encuentro {
    padding: 2rem 0
}

.encuentro h3 {
    color: #fff;
    margin-bottom: 2rem;
    text-align: center
}

@media (min-width:768px) {
    .encuentro .contenedor-encuentro {
        display: grid;
        gap: 5rem;
        grid-template-columns: repeat(2, 1fr)
    }
}

.pase {
    color: #000
}

.pase .nombre-pase {
    color: #fff;
    font-size: 2.8rem;
    text-align: center
}

.pase-footer, .pase-header {
    padding: .5rem
}

.pase-footer p, .pase-header p {
    color: #fff;
    margin: 0;
    text-align: center
}



.pase-header p {
    font-size: 1.6rem;
    text-transform: uppercase
}

.pase-body {
    background-color: #fff;
    text-align: center;

}

.pase-body ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.pase-body li{
display: flex;
align-content: center;
align-items: center;
justify-content: space-evenly;
}

.pase-body ul, .pase-body ul li {
    background-color: #fff;
    border-bottom: 1px solid #e1e1e1;
    padding: 1rem
}

.pase-footer {
    background-color: #e8f40d29

    
}

.pase-footer p {
    font-size: 2.4rem;
    font-weight: 700
}

.equipo-contenedor {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-items: center;
}

@media (min-width:768px) {
    .equipo-contenedor {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        gap: 0.5rem;
        justify-items: center;

    }
}

.equipo {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;

}

.equipos {
    color: white;
    background-color: #154b5888;
    border-radius: 2rem;
    padding: 1rem 0;
    margin-top: 1rem;
}

main h2 {
    color: white;
}

.reglamento{
    margin-bottom: 2rem;
    text-align: center
}

.reglamento a{
    text-decoration: none;
    color: var(--blanco);
}


.container{
   
    display: flex;
    align-items: center;
    justify-content: center;
   
    
}

.container h1{
font-size: 1.5rem;
}
.countdown{
    display: flex;
  
   
}

.countdown h1{
    text-align: center;
    color: #fff;
    font-size: 2rem;
    padding: 30px 10px;
}
.countdown p{
    display: grid;
    place-items: center;
    border: solid 1px #fff;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    background-color: #a78a088b;
    margin: 0;
}
.countdown span{
    display: block;
    text-align: center;
    color: #1e7f21;
    font-size: 1.25rem;
    font-weight: 400;
}


#btn1 ,#btn2, #btn3, #btn4, #btn5, #btn6, #btn7, #btn8, #btn9, #btn10, #btn11, #btn12, #btn13, #btn14, #btn15, #btn16{
    visibility: hidden;

}

.count5{
    visibility: unset;
}