/* GLOBAL */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0px;
  letter-spacing: 1px;
  background: #2D2F83;
}

img {
  width: 100%;
}

a {
  cursor: pointer;
}

.container {
  margin: auto;
  overflow: hidden;
  display: block;
}


/* BACKGROUND */
.background {
  background: #ec2017;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


/* CONFETTI */
.confetti {
  background-image: url("../assets/img/global/confetti.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* HEADER */
.header {
  background: #ffeb04;
  height: 75px;
}

.header .logo {
  width: auto;
  top: 0;
  left: 0;
  height: auto;
  position: absolute;
  max-width: 180px;
  padding-top: 20px;
  padding-left: 20px;
}

.header .logo-big {
  width: 80%;
  height: auto;
  padding-top: 50px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 560px;
}

.header .menu {
  width: 40px;
  top: 0;
  right: 0;
  height: auto;
  position: absolute;
  padding-top: 35px;
  padding-right: 35px;
  cursor: pointer;
}

@media only screen and (max-width: 1000px) {
  .header .logo {
    width: 30%;
  }

  .header .menu {
    width: 30px;
    padding-top: 30px;
    padding-right: 30px;
  }

  .header .logo-big {
    padding-top: 70px;
  }

}


/* IMAGES */
.image {
  position: absolute;
}

.visible {
  opacity: 1 !important;
  display: block !important;
}

/* SECTION 1*/
.section1 {
  height: calc(0.7 * 900px);
  position: relative;
  pointer-events: none;
  margin: auto;
  background: #ffeb04;
}


#image1_1 {
  width: 140%;
  margin: auto;
  display: block !important;
  left: 0;
  right: 0;
  max-width: 800px;
  z-index: 1;
  top: -40px;
  z-index: 2;
}


#image1_2 {
  bottom: -2px;
}

#image1_3 {
  width: 80%;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  max-width: 520px;
}


@media only screen and (max-width: 800px) {
  .section1 {
    height: calc(1.1 * 100vw);
  }

  #image1_1 {
    margin-left: -16%;
  }
}

@media only screen and (max-width: 600px) {
  .section1 {
    height: calc(1.1 * 100vw);
  }
}


/* PASO 1*/
.paso1 {
  height: calc(0.45 * 800px);
  position: relative;
  pointer-events: none;
  margin: auto;
  max-width: 800px;
}

#paso1_1 {
  width: 25%;
  top: 10%;
  left: 10%;
}

#paso1_2 {
  width: 90%;
  margin-top: 7%;
  margin-left: 5%;
}

#paso1_3 {
  width: 25%;
  right: 0%;
  top: 15%;
}

#paso1_4 {
  position: relative;
  max-width: 70%;
  margin: auto;
  margin-top: -10%;
  margin-bottom: -5%;
}

@media only screen and (max-width: 800px) {
  .paso1 {
    height: calc(0.5 * 100vw);
  }
}

/* PASO 2*/
.paso2 {
  height: calc(0.5 * 800px);
  position: relative;
  pointer-events: none;
  margin: auto;
  max-width: 800px;
}

#paso2_1 {
  width: 25%;
  top: 8%;
  right: 10%;
}

#paso2_2 {
  width: 90%;
  margin-left: 5%;
  margin-top: 7%;
}

#paso2_3 {
  width: 28%;
  right: 10px;
  top: 30px;
}

#paso2_3 {
  width: 28%;
  left: 10px;
  top: 30px;
}

#paso2_4 {
  width: 15%;
  right: 1%;
  top: 26%;
}

@media only screen and (max-width: 800px) {
  .paso2 {
    height: calc(0.5 * 100vw);
  }
}


/* PASO 3*/
.paso3 {
  height: calc(0.45 * 800px);
  position: relative;
  pointer-events: none;
  margin: auto;
  max-width: 800px;
  margin-top: 20px;
}

#paso3_1 {
  width: 25%;
  top: 0%;
  left: 10%;
}

#paso3_2 {
  width: 90%;
  margin-top: 7%;
  margin-left: 5%;
}

#paso3_3 {
  width: 25%;
  right: 0%;
  top: 15%;
}

#paso3_4 {
  width: 15%;
  left: 1%;
  bottom: 5%;
}

@media only screen and (max-width: 800px) {
  .paso3 {
    height: calc(0.5 * 100vw);
  }
}


/* SECTION 2*/
#warning {
  position: relative;
  max-width: 700px;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 90%;
}

#video_title {
  position: relative;
  max-width: 500px;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 80%;
}

#video_placeholder {
  position: relative;
  max-width: 600px;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 60px;
  width: 80%;
  cursor: pointer;
}


/* SECTION 3*/
.section3 {
  height: calc(0.7 * 900px);
  position: relative;
  pointer-events: none;
  margin: auto;
  justify-content: center;
  display: flex;
}

#cajaspremiadas_titulo {
  position: relative;
  max-width: 700px;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 90%;
}

#caja {
  position: absolute;
  max-width: 500px;
  margin: auto;
  margin-top: auto;
  width: 100%;
  cursor: pointer;
  margin-top: -300px;
}


@media only screen and (max-width: 800px) {
  .section3 {
    height: calc(0.8 * 100vw);
  }

  #caja {
    width: 75%;
    margin-top: -200px;
  }
}


/* SECTION 4*/
#sendButton {
  margin: auto;
  margin-top: 30px;
  position: relative;
  background: transparent;
  max-width: 250px;
  object-fit: contain;
  width: 40%;
}

#contacto {
  position: relative;
  max-width: 700px;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 90%;
}

#importante {
  position: relative;
  max-width: 700px;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 90%;
}


#terminos {
  position: relative;
  max-width: 400px;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 20px;
  width: 90%;
}





#pdf-viewer {
  margin-top: 50px !important;
  width: 80%;
  margin: auto;
  display: block;
  min-height: 80vh;
  margin-bottom: 40px;
}

.pdf-canvas {
  border: 1px solid #e6e6e6 !important;
  direction: ltr;
  width: 100%;
  margin-top: 20px;
}

.socialContainer {
  display: flex;
  flex-direction: row;
  max-width: 150px;
  gap: 10px;
  margin: auto;
  margin-top: 20px;
}

@media only screen and (max-width: 800px) {
  .socialContainer {
    max-width: 100px;
  }

}


/* FORM */
.form-container {
  margin: auto;
  width: 100%;
  display: block;
  position: relative;
  margin-top: 20px;
}


.form {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
  justify-content: center;
}

.form .form-inner {
  width: 80%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: auto;
}

.form label {
  display: none;
}

.form input {
  width: 100%;
  border: none;
  background: white;
  height: 40px;
  border-radius: 10px;
  margin: auto;
  text-align: left;
  padding-left: 20px;
  color: #4d4a4a;
  font-size: larger;
  font-weight: normal;
  padding-top: 5px;
  padding-bottom: 5px;
}

.form select {
  width: 85%;
  border: none;
  background: white;
  height: 50px;
  border-radius: 10px;
  margin: auto;
  text-align: left;
  padding-left: 20px;
  color: #4d4a4a;
  font-size: larger;
  font-weight: normal;
  padding-top: 5px;
  padding-bottom: 5px;
}

.form h4 {
  font-weight: bold;
  color: white;
  text-align: center;
  font-size: larger;
  margin: 0;
  margin-left: 10px;
}

.form .error {
  border-width: 1px;
  border-color: red;
  border-style: solid;
}

.type-container {
  width: 80% !important;
  color: white;
}

.type-container p {
  font-weight: bold;
  font-size: large !important;
}

.type-container input {
  width: 26px;
  height: 26px;
  margin: 0;
}

.type-container .option {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  margin-left: 20px;
}

.type-container label {
  display: block !important;
}


#uploadImageButton {
  width: 85%;
  height: 230px;
  margin: auto;
  margin-bottom: 10px;
  object-fit: cover;
  border-radius: 20px;
  cursor: pointer;
}


#imagePreview {
  width: 85%;
  max-width: 600px;
  padding: 5px;
  object-fit: contain;
  border-radius: 20px;
  margin: auto;
  cursor: pointer;
  display: none;
  background: #00000057;
  margin-top: 10px;
}

.termsText {
  font-size: small !important;
}


.imageInputContainer {
  width: 101%;
  cursor: pointer;
  background: white;
  height: fit-content;
  min-height: 42px;
  border-radius: 10px;
  margin: auto;
  text-align: left;
  padding-left: 20px;
  color: #4d4a4a;
  font-size: larger;
  font-weight: normal;
  padding-top: 5px;
  padding-bottom: 5px;
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
}


.imageInputContainer h5 {
  margin: 0 !important;
  width: fit-content !important;
  font-size: large !important;
  line-height: 1em !important;
}

@media only screen and (max-width: 800px) {
  .imageInputContainer {
    h5 {
      font-size: small !important;
    }
  }


  .form .form-inner {
    margin-right: 14%;
  }

}



.selectInputButton {
  letter-spacing: 0;
  font-weight: normal;
  font-size: 12px !important;
  padding: 5px;
  background: #ddd;
  border-color: black;
  border-width: 1px;
  border-style: solid;
  border-radius: 2px;
  min-width: fit-content;
  padding-left: 2px !important;
  padding-right: 2px !important;
  margin: 0 !important;
}


@media only screen and (max-width: 800px) {

  .form {
    flex-direction: column;
  }

  .form div {
    width: 100%;
    margin-bottom: 10px;
  }

  .image2_2-container {
    width: 50%;
  }

  .form input {
    height: 25px;
  }

  .termsText {
    font-size: larger !important;
  }

}




/* THANK YOU PAGE */
.thankyou-title {
  color: #C6202F;
  text-align: center;
  padding-top: 40px;
  margin-top: 0px;
  margin-bottom: 20px;
}

.team {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.team div {
  padding: 40px;
  padding-top: 0px;
}

.team div a img {
  object-fit: contain;
}


.team div h3 {
  margin-top: 0px;
  margin-bottom: 0px;
}

.team div h1 {
  color: #C6202F;
  text-align: center;
  font-size: xxx-large;
  margin-top: 0px;
}

@media only screen and (max-width: 800px) {

  .team {
    flex-direction: column;
  }

}





/* LOADER */
#loader {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  background: rgba(26, 26, 26, 0.6);
}

#loaderLogo {
  display: block;
  max-width: 200px;
  object-fit: contain;
  margin: auto;
  margin-top: 35vh;
}

#snackbar {
  visibility: hidden;
  width: 80%;
  min-width: 250px;
  background-color: #ffeb04;
  color: black;
  text-align: center;
  border-radius: 20px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 0;
  bottom: 30px;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: max-content;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
.show {
  visibility: visible !important;
  /* Show the snackbar */

  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

/* VIDEO */
.video-responsive {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  padding-top: 30px;
  position: relative;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* PARTICIPANTES */

.table {
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.table div {
  display: flex;
  border-color: black;
  border-width: 1px;
  border-style: solid;
  word-break: break-all;
}

.table div h4 {
  width: 11.11%;
  height: 80px;
  overflow: hidden;
  font-size: smaller;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.table div a img {
  width: 80%;
  height: 80px;
  overflow: hidden;
}

.columns-user {
  margin-bottom: 10px;
}

.column-user {
  font-weight: normal;
}

.columns a {
  width: 11.11%;
}

.columns a img {
  object-fit: contain;
  background: gray;
}


/* VIDEO MODAL */

.modal {
  max-height: 100vh;
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 60px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.5);
  /* Black w/ opacity */
}


/* Modal Content */

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 80%;
  height: 100%;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
}

#modalImg {
  background: transparent;
  margin-top: -3% !important;
}


/* Add Animation - Zoom in the Modal */

.modal-content {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}


/* The Close Button */

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #E1251B;
  text-decoration: none;
  cursor: pointer;
}

.blur {
  filter: blur(5px);
}


/* 100% Image Width on Smaller Screens */

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}


#video {
  width: 40vw;
  height: 65vh;
  margin-top: 10vh;
  border-style: solid !important;
  border-width: 1px !important;
  border-color: #d7d7d7 !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  background: black !important;
}

#closeModalVideo {
  right: 27vw;
  left: auto;
  top: 14vh;
}

@media only screen and (max-width: 800px) {
  #video {
    width: 80vw;
  }

  #closeModalVideo {
    left: auto;
    right: 1vw;
    top: 1vh;
  }

}

.navigation-container {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 30px;
  margin-bottom: 30px;
}


.navigation-container button {
  border-radius: 5px;
  border-style: solid;
  border-width: 2px;
  padding: 10px;
  font-weight: bold;
  font-size: large;
  height: auto;
  cursor: pointer;
}


.downloadJson {
  background: white;
  border-radius: 10px;
  border-style: solid;
  margin: auto;
  display: block;
  height: 40px;
  border-color: transparent;
  font-weight: bold;
}

.dataRange {
  margin: auto;
  margin-bottom: auto;
  display: block;
  margin-bottom: 35px;
  padding: 10px;
}