/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/
* {
  margin: 0;
}

html {
  font-family: "Roboto";
}

#winner {
  color: white;
  font-size: 100px;
  z-index: 3;
  visibility: hidden;
  opacity: 0;
  position: fixed;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  will-change: opacity;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#winner.open {
  visibility: initial;
  opacity: 1;
  transition: opacity 0.5s ease 1.5s, visibility 0.5s ease 1.5s;
}

#close {
  height: 25px;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  will-change: opacity;
  top: 40px;
  right: 40px;
  z-index: 4;
  cursor: pointer;
}

#close.open {
  visibility: initial;
  opacity: 1;
  transition: opacity 0.5s ease 2.5s, visibility 0.5s ease 2.5s;
}

#world {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.95);
  position: fixed;
  z-index: 2;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  will-change: opacity, visibility;
}

#world.open {
  visibility: initial;
  opacity: 1;
  transition: opacity 1.5s ease, visibility 0.5s ease;
}

.namepicker {
  padding: 50px 35px 50px 35px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.15);
  display: block;
  animation: fadeIn 0.75s forwards 0s ease;
}

.namepicker h3 {
  color: #585858;
  font-weight: 700;
  letter-spacing: 1px;
}

.namepicker input {
  width: 420px;
  color: #898989;
  font-size: 20px;
  font-weight: normal;
  background-color: white;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  padding: 20px;
  border: 0;
  margin-bottom: 75px;
}

.namepicker input::placeholder {
  color: #d9d9d9;
}

.namepicker input:focus {
  outline: none;
}

.namepicker h2 {
  color: #6e6e6e;
  font-size: 48px;
  font-weight: medium;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 55px;
}

.namepicker a {
  color: white;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 21px 161px;
  background: linear-gradient(to right, #01c9f5, #5850a2);
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.15);
  border-radius: 1000px;
  display: block;
  margin: auto;
  transition: opacity 0.3s ease;
}
.btn_1 {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 15px 50px;
  background: linear-gradient(to right, #01c9f5, #5850a2);
  border-radius: 1000px;
  display: block;
  margin: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -ms-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
}

.namepicker a:hover,
.btn_1:hover {
  background: linear-gradient(to left, #01c9f5, #5850a2);
  opacity: 1;
}

.card-brand {
  /* border-color: #fff; */
  background-color: rgba(255, 255, 255, 0.3);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 1rem;
  text-align: center;
}

.card-brand .content-img {
  height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-brand img {
  max-width: 90%;
  object-fit: cover;
  margin: 0 auto;
}

.card-brand .card-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra el contenido del body */
  justify-content: flex-end; /* Alinea el contenido al final */
  gap: 0.5rem; /* Espacio entre elementos si hay múltiples */
}

.card-brand .btn_1 {
  margin-top: 1rem; /* Espacio adicional para el botón */
}

.card-brand:hover {
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.927);
}

@keyframes fadeIn {
  0% {
    transform: scale(0.5);
    transform: skewY(25deg);
    opacity: 0;
    box-shadow: none;
  }
  100% {
    transform: scale(1);
    transform: skewY(0deg);
    opacity: 1;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.15);
  }
}
