* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom, #071930, #000000);
    font-family: 'Lato', sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.event-title {
    font-family: 'Lato', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

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

.digit-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.digit {
    width: 100px;
    height: 120px;
    background: linear-gradient(to bottom, #c5412b, #320101);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lato', sans-serif;
    font-size: 4.2rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
    /*color: #0a192f;*/
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
    overflow: hidden;
    perspective: 400px;
}

.label {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 5px;
}

.content-section {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.image-container img {
    height: 300px;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);*/
    margin-bottom: 10px;
}

.event-info {
    text-align: left;
    width: 100%;
    max-width: 400px;
}

.event-info h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: normal;
}

.info-item .material-icons {
    color: #4ade80;
    font-size: 1.5rem;
}

.set-event-btn {
    background-color: white;
    color: #0a192f;
    border: none;
    padding: 12px 24px;
    border-radius: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.set-event-btn:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}



/* GRAN FINAL */
h2 {
  margin: 0 0 2rem 0; 
  padding: 0;
  position: relative; 
  font-size: 6em; 
  color: transparent;
  text-transform: uppercase;
  display: inline-block;
  white-space: nowrap;
}
h2 span:nth-child(1){
  position:absolute;
  top:0; left:0; color: #E3533B;
  transition:0.5s;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
  overflow:hidden;
}
h2:hover span:nth-child(1){
  transform:translateY(-18px); 
}
h2 span:nth-child(2){
  position:absolute;
  top:0; left:0; color: #E3533B;
  transition:0.5s;
  clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
  overflow:hidden;
}
h2:hover span:nth-child(2){
  transform:translateY(18px); 
}
h2 span:nth-child(3){
  position:absolute;
  top:50%; left: 0;
  transform:translateY(-50%) scaleY(0);
  width: 97%; color: #fff;
  background:#593BE3;
  font-size: 0.4em; font-weight: 500;
  letter-spacing:0.7em;
  text-align:center;
  padding-left: 20px; margin-left: 5px;
  transition:0.5s;
}
h2:hover span:nth-child(3){
  transform:translateY(-50%) scaleY(1);
}

/* FIN GRAN FINAL */



@media (max-width: 425px) {
    h2#final-text {
        font-size: 3em; 
    }

    .event-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .countdown-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        justify-items: center;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .digits-container {
        align-items: center;
    }

    .digit {
        width: 48px;
        height: 68px;
        font-size: 2.5rem;
    }

    .label {
        font-size: 1.1rem;
        margin-top: 4px;
    }

    .content-section {
        flex-direction: column;
        gap: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .image-container img {
        max-width: 280px;
    }

    .event-info {
        max-width: 320px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .event-info h2 {
        font-size: 1.2rem;
    }


    .info-item {
        font-size: 1rem;
    }

    .set-event-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    h2#final-text {
        font-size: 3em; 
    }
    
    .digit {
        width: 44px;
        height: 64px;
        font-size: 1.7rem;
    }

    .digit.flip .digit-top,
    .digit.flip .digit-bottom {
        font-size: 1.7rem;
    }

    .label {
        font-size: 1rem;
    }

    .countdown-container {
        gap: 12px;
        max-width: 320px;
    }
}

/* From Uiverse.io by vinodjangid07 */ 
.Btn-Container {
  display: flex;
  width: 250px;
  height: fit-content;
  background-color: #1d2129;
  border-radius: 40px;
  box-shadow: 0px 5px 10px #831b13;
  justify-content: space-between;
  align-items: center;
  border: none;
  cursor: pointer;
}
.icon-Container {
  width: 45px;
  height: 45px;
  background-color: #c5412b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid #1d2129;
}
.text {
  width: calc(250px - 45px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f76004;
  font-size: 1.1em;
  letter-spacing: 1.2px;
}
.icon-Container svg {
  transition-duration: 1.5s;
}
.Btn-Container:hover .icon-Container svg {
  transition-duration: 1.5s;
  animation: arrow 1s linear infinite;
}
@keyframes arrow {
  0% {
    opacity: 0;
    margin-left: 0px;
  }
  100% {
    opacity: 1;
    margin-left: 10px;
  }
}
