/* GENERAL */
html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  position: absolute;
  margin: 0px;
  top: 0px !important;
  width: 100%;
  height: 100%;
  background: #f7f5ff;
  font-family: Poppins;
  font-size: 100%;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  background-image: url("../images/background.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: #3a3a3a;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

ul {
  position: absolute;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

::placeholder {
  color: rgb(160, 160, 160);
}
/* * * * * * * */

/* MENU SUPERIOR */
.div-top-menu {
  position: absolute;
  display: flex;
  align-items: center;
  top: 0;
  width: 100%;
  height: 3.5rem;
  z-index: 10;
  justify-content: center;
  color: white;
}

.icon-top-menu {
  position: absolute;
  height: 80%;
  cursor: pointer;
  left: 3rem;
}
/* * * * * * * * */

/* SECCION */
.section {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  text-align: center;
  top: 0;
}
/* * * * * */

/* BOTON PERSONALIZADO */
.button-custom {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  border-radius: 2rem;
  border-style: solid;
  border-width: 0.1rem;
  color: black;
}

.button-rect {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  border-style: none;
  border-width: 0.1rem;
  color: black;
  font-family: Oswald;
  font-size: 1.2rem;
}

.button-gray {
  background: linear-gradient(
    180deg,
    rgba(219, 219, 219, 1) 25%,
    rgba(255, 255, 255, 1) 100%
  );
}

.button-gray:hover {
  color: white;
  background: linear-gradient(
    180deg,
    rgba(157, 157, 157, 1) 25%,
    rgba(206, 206, 206, 1) 100%
  );
  box-shadow: 1px 1px 4px gray;
}

.button-gold {
  background: linear-gradient(
    180deg,
    rgba(230, 196, 87, 1) 25%,
    rgba(228, 230, 87, 1) 100%
  );
}

.button-gold:hover {
  color: white;
  background: linear-gradient(
    180deg,
    rgba(192, 164, 73, 1) 25%,
    rgba(193, 195, 71, 1) 100%
  );
  box-shadow: 1px 1px 4px gold;
}

.button-purple {
  color: white;
  background: linear-gradient(
    180deg,
    rgba(159, 72, 213, 1) 25%,
    rgba(87, 118, 230, 1) 100%
  );
}

.button-purple:hover {
  color: white;
  background: linear-gradient(
    180deg,
    rgba(117, 54, 157, 1) 25%,
    rgba(67, 91, 177, 1) 100%
  );
  box-shadow: 1px 1px 4px #6d4aff;
}

.button-blue {
  color: white;
  background: #0090b7;
}

.button-blue:hover {
  color: white;
  background: #589cae;
  box-shadow: 1px 1px 4px #005871;
}

.button-blue-light {
  color: white;
  background: #c0f2ff;
}
/* * * * * * * * * * * * * /



/* FOOTER */
footer {
  position: absolute;
  display: flex;
  justify-content: center;
  bottom: 0;
  width: 100%;
  height: 4rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  color: white;
}

.ul-footer {
  display: flex;
  top: 0.5rem;
}

.ul-footer li {
  padding-right: 1em;
  cursor: pointer;
}

.ul-footer li:hover {
  color: rgb(198, 198, 198);
}

.footer-text {
  position: absolute;
  bottom: 0.5rem;
  font-size: 0.8rem;
}

footer img {
  height: 1.5rem;
}
/* * * * * * */

/* CHECKBOX */
/* The container */
.container {
  display: flex;
  position: relative;
  padding-left: 2em;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 1.5em;
  padding-top: 0.1em;
  font-size: 0.8rem;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark-cross {
  position: absolute;
  top: 0;
  left: 0;
  height: 1.5em;
  width: 1.5em;
}
.checkmark-tick {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  height: 1.5em;
  width: 1.5em;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark-tick {
  display: block;
}
.container input:checked ~ .checkmark-cross {
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark-tick:after {
  display: block;
}
.container input:checked ~ .checkmark-cross:after {
  display: none;
}
/* * * * * * * * * * * * * /

/* LEGAL */
.div-text-legal {
  position: absolute;
  width: 90%;
  height: 70vh;
  overflow-x: hidden;
  overflow-y: auto;
  backdrop-filter: blur(5px);
  color: white;
  padding: 1rem;
  text-align: left;
}
/* * * * * * */

/* IMAGEN EN GRANDE */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 5%; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
  z-index: 50;
  justify-content: center;
  backdrop-filter: blur(0.3rem);
}

.modal-white {
  background-color: rgba(255, 255, 255, 0.3); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  height: 80%;
}

/* 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: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
/* * * * * * * * */

/* VERSION MOVIL */
@media only screen and (max-width: 65em) {
  /* HTML */
  html,
  body {
    overflow-x: hidden;
  }

  /* MENU SUPERIOR */
  .div-top-menu {
    height: 8.5rem;
    justify-content: center;
  }

  .icon-top-menu {
    height: 4rem;
    -ms-transform: none;
    transform: none;
    left: auto;
    top: 0.5rem;
  }

  .top-h1 {
    top: 5rem;
    font-size: 1.5rem;
  }

  #h1-event {
    position: absolute;
    bottom: 0;
  }

  /* FOOTER */
  footer {
    top: 53rem;
    height: 6rem;
    font-size: 0.9rem;
  }

  .ul-footer {
    margin-left: 2rem;
  }

  /* MODAL */
  .modal {
    padding-top: 20%;
  }

  .modal-content {
    max-width: 80%;
  }
}
/* * * * * * * * */
