@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');

html{
    scroll-behavior: smooth;
}

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

body{
    font-family: 'Comfortaa', sans-serif;
    background-color: #404e61;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

header{
    background-image: url(./imagenes/manuimagen.png);
    position: sticky;
    top: 0;
    z-index: 9999;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px #113494;
}

@media(min-width: 640px){
    header{
        flex-direction: row;
    }
}

.header-logo{
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

@media(min-width: 640px){
    .header-logo{
        margin-bottom: 0;
    }
}

.header-logo img{
    height: 4rem;
    width: 4rem;
    border-radius: 9999px;
    margin-right: 0.75rem;
    border: 2px solid #a8b0bb;
    box-shadow: 0 0 10px #a8b0bb;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.header-logo img:hover{
    transform: scale(1.05);
    transition: all 0.4s ease-in-out;
}

.header-logo h1{
    font-size: 1.5rem;
    font-weight: 700;
    color: #a8b0bb;
    text-shadow: 0 0 15px #ffffff;
}

.header-nav{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
}

@media(min-width: 640px){
    .header-nav{
        flex-direction: row;
        gap: 1.5rem;
    }
}

.header-nav a{
    color: white;
    padding: 0.5rem;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.header-nav a:hover{
    color: #919191;
    text-shadow: 0 0 15px #fff;
}

.header-nav a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #a8a8a8;
    box-shadow: 0 0 15px #fff;
    transition: width 0.3s ease-in-out;
}

.header-nav a:hover::after{
    width: 100%;
}

.header-botones{
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media(min-width: 640px){
    .header-botones{
        margin-top: 0;
    }
}

.animated-button{
    margin-right: 15px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid;
    border-color: transparent;
    background-color: #058EA7;
    font-size: 16px;
    border-radius: 100px;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 0 0 2px #320C90;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg{
    position: absolute;
    width: 24px;
    fill: #1f387e;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1{
    right: 16px;
}

.animated-button .arr-2{
    left: -25%;
}

.animated-button .circle{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #320C90;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text{
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover{
    box-shadow: 0 0 0 12px transparent;
    color: #ffffff;
    border-radius: 12px;
}

.animated-button:hover .arr-1{
    right: -25%;
}

.animated-button:hover .arr-2{
    left: 16px;
}

.animated-button:hover .text{
    transform: translateX(12px);
}

.animated-button:hover svg{
    fill: #058EA7;
}

.animated-button:active{
    scale: 0.95;
    box-shadow: 0 0 0 4px greenyellow;
}

.animated-button:hover .circle{
    width: 220px;
    height: 220px;
    opacity: 1;
}

.reg{
    height: 65px;
    color: white;
    display: flex;
    gap: 10px;
    margin-left: auto;
    margin-right: 25px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
    padding: 10px 20px;
    border-radius: 100px;
    background: #320C90;
    border: 1px solid transparent;
    align-items: center;
    font-size: 15px;
}

.reg:hover{
    background: #058EA7;
}

.reg > svg{
    width: 34px;
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

.reg:hover svg{
    transform: translateX(5px);
}

.reg:active{
    transform: scale(0.95);
}

.main-section{
    background-color: rgba(5, 142, 167, 0.25);
    box-shadow: 0 0 20px #113494;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
    align-items: center;
    border: 1px solid #2147b1;
}

.torneo-cartel{
    width: 100%;
    margin-bottom: 1.5rem;
}

.torneo-cartel img{
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 0 30px #061e5f;
    border: 2px solid #2147b1;
    transition: all 0.4s;
}

.torneo-cartel img:hover{
    transform: translateY(-1rem);
    transition: all 0.4s;
}

.detalles-torneo{
    width: 100%;
    text-align: center;
}

.detalles-torneo h2{
    font-size: 3rem;
    font-weight: 700;
    color: #303030;
    text-shadow: 0 0 7px #ffffff;
    margin-bottom: 1rem;
}

.detalles-torneo p{
    font-size: 1.6rem;
    font-weight: 700;
    color: #7fce7f;
}

.detalles-torneo ul{
    list-style: disc;
    list-style-position: inside;
    margin-left: 1rem;
    color: #38b638;
    font-size: 1.5rem;
}

.detalles-torneo ul li{
    margin-bottom: 0.25rem;
}

.fa-location-dot{
    color: #630c0c;
    font-size: 4rem;
}

.redes-sociales{
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.redes-sociales a{
    color: #a3e8f1;
    transition: all 0.3s ease-in-out;
    text-shadow: 0 0 7px #410dce;
}

.redes-sociales a:hover{
    transform: scale(1.1);
    color: #058EA7;
    text-shadow: 0 0 7px #838a9c;
}

.redes-sociales .fa-3x{
    font-size: 3.5rem;
}

.section-mapa h2{
    font-size: 3rem;
    font-weight: 700;
    color: #303030;
    text-shadow: 0 0 7px #fff;
    margin-bottom: 3rem;
}

.contenedor-mapa {
    position: relative;
    width: 100%;
    padding-bottom: 40%;
}

.contenedor-mapa iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0 15px #38b638;
    border: 2px solid #fff;
}

.carrusel{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1f2937;
}

.carrusel h2{
    font-size: 3rem;
    font-weight: 700;
    color: #303030;
    text-shadow: 0 0 7px #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

input{
    display: none;
}

.contenedor-carrusel{
    width: 100%;
    max-width: 600px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transform-style: preserve-3d;
    position: relative;
    margin-bottom: 100px;
    perspective: 1000px;
}

.cuadrados{
    position: absolute;
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.55s ease;
}

.cuadrados label{
    position: absolute;
    width: 430px;
    height: 450px;
    left: 0;
    right: 0;
    margin: auto;
    cursor: pointer;
    transition: transform 0.55s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #323444;
    border-radius: 10px;
    padding: 30px 35px;
    color: white;
}

.cuadrados .imagen{
    display: flex;
    justify-content: center;
    width: 100%;
}

.cuadrados .imagen img{
    border-radius: 5px;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 50%);
    margin-top: 23px;
    width: 86%;
    height: 220px;
    object-fit: cover;
    transition: all 0.5s;
}

.cuadrados .imagen img:hover{
    transform: scale(1.05);
}

.cuadrado .info span{
    display: block;
}

.info .nombre{
    font-size: 30px;
    color: var(--current-color1, #eceaed);
    letter-spacing: 8px;
    margin-bottom: 20px;
    padding-left: 0;
    text-align: center;
    transition: all 0.6s ease;
}


#c1:checked ~ .cuadrados #carrusel4,
#c2:checked ~ .cuadrados #carrusel5,
#c3:checked ~ .cuadrados #carrusel1,
#c4:checked ~ .cuadrados #carrusel2,
#c5:checked ~ .cuadrados #carrusel3{
    box-shadow: 0 15px 30px rgba(0, 0, 0, 45%);
    transform: translate3d(-70%, 0, -220px);
    --current-color1: #eceaed;
    --current-color2: #404457;
}

#c1:checked ~ .cuadrados #carrusel5,
#c2:checked ~ .cuadrados #carrusel1,
#c3:checked ~ .cuadrados #carrusel2,
#c4:checked ~ .cuadrados #carrusel3,
#c5:checked ~ .cuadrados #carrusel4{
    box-shadow: 0 20px 40px rgba(0, 0, 0, 45%);
    transform: translate3d(-35%, 0, -120px);
    --current-color1: #eceaed;
    --current-color2: #404457;
}

#c1:checked ~ .cuadrados #carrusel1,
#c2:checked ~ .cuadrados #carrusel2,
#c3:checked ~ .cuadrados #carrusel3,
#c4:checked ~ .cuadrados #carrusel4,
#c5:checked ~ .cuadrados #carrusel5{
    box-shadow: 0 25px 50px rgba(0, 0, 0, 50%);
    transform: translate3d(0, 0, 0);
    --current-color1: #fad00c;
    --current-color2: #ececec;
}

#c1:checked ~ .cuadrados #carrusel2,
#c2:checked ~ .cuadrados #carrusel3,
#c3:checked ~ .cuadrados #carrusel4,
#c4:checked ~ .cuadrados #carrusel5,
#c5:checked ~ .cuadrados #carrusel1{
    box-shadow: 0 20px 40px rgba(0, 0, 0, 45%);
    transform: translate3d(35%, 0, -120px);
    --current-color1: #eceaed;
    --current-color2: #404457;
}

#c1:checked ~ .cuadrados #carrusel3,
#c2:checked ~ .cuadrados #carrusel4,
#c3:checked ~ .cuadrados #carrusel5,
#c4:checked ~ .cuadrados #carrusel1,
#c5:checked ~ .cuadrados #carrusel2{
    box-shadow: 0 15px 30px rgba(0, 0, 0, 45%);
    transform: translate3d(70%, 0, -220px);
    --current-color1: #eceaed;
    --current-color2: #404457;
}

.balon-patrocinador{
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
    background-color: rgba(5, 142, 167, 0.25);
    box-shadow: 0 0 20px #113494;
    border: 1px solid #2147b1;
    border-radius: 1.5rem;
    transition: all 0.3s ease-in-out;
    margin: 2rem 2rem;
    gap: 1.5rem;
}

.balon-patrocinador h2{
    font-size: 3rem;
    font-weight: 700;
    color: #303030;
    text-shadow: 0 0 7px #ffffff;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.balon-patrocinador-items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 1350px){
    .balon-patrocinador-items{
        flex-direction: row;
    }
}


.balon-patrocinador:hover{
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}

.balon-patrocinador img{
    height: 400px;
}

.balon-patrocinador h2{
    font-size: 3rem;
    font-weight: 700;
    color: #303030;
    text-shadow: 0 0 7px #ffffff;
    margin-bottom: 1rem;
}

.balon{
    background-color: #fff;
    border-radius: 2rem;
    transition: all 0.3s ease-in-out;
    margin-bottom: 2rem;
}

.balon:hover{
    transform: translateY(-4px);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 15px #303030;
}

.cssbuttons-io-button{
  background: #335ebb;
  color: white;
  font-family: inherit;
  padding: 0.35em;
  padding-left: 1.2em;
  font-size: 17px;
  font-weight: 500;
  border-radius: 0.9em;
  border: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 1.6em -0.6em #714da6;
  overflow: hidden;
  position: relative;
  height: 2.8em;
  padding-right: 3.3em;
  cursor: pointer;
}

.cssbuttons-io-button .icon{
  background: white;
  margin-left: 1em;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2em;
  width: 2.2em;
  border-radius: 0.7em;
  box-shadow: 0.1em 0.1em 0.6em 0.2em #ffffff;
  right: 0.3em;
  transition: all 0.3s;
}

.cssbuttons-io-button:hover .icon{
  width: calc(100% - 0.6em);
}

.cssbuttons-io-button .icon svg{
  width: 1.1em;
  transition: transform 0.3s;
  color: #7b52b9;
}

.cssbuttons-io-button:hover .icon svg{
  transform: translateX(0.1em);
}

.patrocinador{
    border-radius: 2rem;
    transition: all 0.3s ease-in-out;
    margin-bottom: 2rem;
}

.patrocinador img{
    border-radius: 2rem;
}

.patrocinador:hover{
    transform: translateY(-4px);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 15px #ffffff;
}

.left-arrow-button-custom{
  background: #335ebb;
  color: white;
  font-family: inherit;
  padding: 0.35em;
  padding-left: 3.3em;
  padding-right: 1.2em;
  font-size: 17px;
  font-weight: 500;
  border-radius: 0.9em;
  border: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  box-shadow: inset 0 0 1.6em -0.6em #714da6;
  overflow: hidden;
  position: relative;
  height: 2.8em;
  cursor: pointer;
}

.left-arrow-button-custom .left-arrow-icon-custom{
  background: white;
  margin-right: 1em;
  margin-left: 0;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2em;
  width: 2.2em;
  border-radius: 0.7em;
  box-shadow: 0.1em 0.1em 0.6em 0.2em #ffffff;
  left: 0.3em;
  transition: all 0.3s;
}

.left-arrow-button-custom:hover .left-arrow-icon-custom{
  width: calc(100% - 0.6em);
}

.left-arrow-button-custom .left-arrow-icon-custom svg{
  width: 1.1em;
  transition: transform 0.3s;
  color: #7b52b9;
}


.left-arrow-button-custom:hover .left-arrow-icon-custom svg{
  transform: translateX(-0.1em);
}

footer{
    background-color: #1f2937;
    color: white;
    padding: 1.5rem;
    text-align: center;
    margin-top: auto;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    box-shadow: 0 -4px 12px #0e2157;
}

footer p{
    margin: 0 10;
    font-size: 0.875rem;
}

.gmail{
    color: #ffffff;
    text-decoration: none;
}

.gmail:hover{
    text-decoration: underline;
}