body {
    background-image: url('../media/backcomp.gif');
    background-repeat: repeat;
    background-size: min(40vw, 300px) auto;
    margin: 0;
    box-sizing: border-box;
    padding: 2vh 0;
    display: flex;
    flex-direction: column;
    max-height: 100%;
    min-height: 100vh;
    justify-content: center;
    align-items: center;

    
}



::-moz-selection { /* Para Firefox */
    color: white;
    background: rgb(245, 159, 0);
  }
  
  ::selection {
    color: white;
    background: rgb(245, 159, 0);
  }
  

.contenedor-blanco {
    margin-top: auto;
    margin-bottom: auto;
    font-family: 'Figtree', sans-serif;
    text-align: center;
    justify-content: center;
    align-content: center;
    background: white;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: clamp(0rem, 20vw, 6rem);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    width: 80rem;
    min-height: clamp(80%, 90vh, 52rem);
    position: relative;
    box-sizing: border-box;
    display: block;
    transition: min-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    will-change: min-height;
}

@media (max-width: 780px) {
  .contenedor-blanco {
    align-content: flex-start;
    min-height: 80%;
    min-height: clamp(1rem, 100vw, 50rem);
  }
}

@media (orientation: portrait) {
  .contenedor-blanco {
    min-height: 90vh;
  }
}

.contenedor-interno {
  margin: 0 auto;
}


h1 {
    font-family: 'Jua', sans-serif;
    font-size: clamp(3vh, 8vw, 7vh);
    margin-bottom: 2vh;
}

.wave-text span {
    display: inline-block;
    animation: wave 1.8s ease-in-out infinite;
}

.wave-text span:nth-child(1) {
    animation-delay: 0s;
}
.wave-text span:nth-child(2) {
    animation-delay: -0.2s;
}
.wave-text span:nth-child(3) {
    animation-delay: -0.4s;
}
.wave-text span:nth-child(4) {
    animation-delay: -0.6s;
}
.wave-text span:nth-child(5) {
    animation-delay: -0.8s;
}
.wave-text span:nth-child(6) {
    animation-delay: -1s;
}
.wave-text span:nth-child(7) {
    animation-delay: -1.2s;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(clamp(-1vh, 1.5vw, 2vh));
    }
}

p {
    text-align: left;
    padding-left: clamp(0vh, 10vw, 60vh);
    padding-right: clamp(0vh, 10vw, 60vh);
}

hr {
  
  width: 60%;
  height: 0px;
  background-color: rgb(148, 148, 148);
}

a.contact-link {
    color: rgb(0, 0, 0);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
    transform-origin: left center;
}

a.contact-link:hover {
    color: rgb(228, 148, 0);
    transform: scale(1.1);
    text-decoration: underline;
}

.discord-wrapper {
  white-space: nowrap;
}

.discord-tag {
  display: inline-block;

  transition: transform 0.2s ease;
}

.discord-link:hover + .discord-tag {
  transform: translateX(0.6em);
}

.lista-contacto{
font-size: clamp(1.6vh, 3.8vw, 2vh);
}


.botones-columnas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

button {
  /* Variables */
  --button_radius: 1.75em;
  --button_color: #ffffff;
  --button_outline_color: #000000;
  font-size: 14px;
  font-family: 'Figtree', sans-serif;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: var(--button_radius);
  background: var(--button_outline_color);
}

/* From Uiverse.io by Voxybuns (edited) */ 
.button-link {
  all: unset; 
  --button_radius: 1.75em;
  --button_color: #ffffff;
  --button_outline_color: #000000;
  font-size: 14px;
  font-family: 'Figtree', sans-serif;
  font-weight: bold;
  border-radius: var(--button_radius);
  background: var(--button_outline_color);
  cursor: pointer;
  display: inline-block;
}

.button-link .button_top {
  display: block;
  box-sizing: border-box;
  border: clamp(2px, 0.6vw, 3px) solid var(--button_outline_color);
  border-radius: var(--button_radius);
  padding: 0.75em 1.5em;
  background: var(--button_color);
  color: var(--button_outline_color);
  transform: translateY(-0.2em);
  transition: transform 0.1s ease;
  min-width: 124px;
}

.button-link:hover .button_top {
  transform: translateY(-0.44em);
}

.button-link:active .button_top {
  transform: translateY(0);
}

.contenedor-redes{
  color: rgb(58, 58, 58);
}

.redes {
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: clamp(1rem, 5vw, 6rem);
  flex-wrap: wrap;
  padding-left: clamp(0vh, 5vw, 30vh);
  padding-right: clamp(0vh, 5vw, 30vh);
  margin: 1rem 0;
}

.redes a {
  color: inherit; /* para tenerlo del mismo que el texto */
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;  /* hace más grande el área clickable */
  transition: transform 0.2s ease;
}

.redes a:hover {
  transform: scale(1.3);
  color: rgb(228, 148, 0);
}

.redes svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
