

#loading {
/*   border: 1px solid white; */
  display: block;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index : 101;
}

#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0; 
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0); /* Black background with opacity */
  z-index: 100; /* Specify a stack order in case you're using a different order for other elements */

}




.logo{
    width: 15%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 35px;
    margin-top: 5px;
}



.size2{
    text-align: center;
    vertical-align: middle;
    margin: auto;
    color: white;
    width: 62%;
    font-size: 110%;
    padding: 1%;

}
.colan{
    text-align: center;
    vertical-align: middle;
    margin: auto;
    color: white;
    width: 62%;
    font-size: 110%;
    padding: 1%;
}

#timerContent{
    text-align: center;
    vertical-align: middle;
    margin: auto;
    color: white;
    width: 62%;
    font-size: 110%;
    padding: 1%;
    font-family: Helvetica;
}


.blackBackBround{
background-color: #000000;
-webkit-transition: all 3s ease;
-moz-transition: all 3s ease;
-o-transition: all 3s ease;
-ms-transition: all 3s ease;
transition: all 3s ease;
}

.whiteBackGround{
background-color: #FFFFFF;
-webkit-transition: all 3s ease;
-moz-transition: all 3s ease;
-o-transition: all 3s ease;
-ms-transition: all 3s ease;
transition: all 3s ease;
}

#box {
  display: block;
  align-items: center;
  justify-content: center;
  width: 400px;
  height: 200px;
  color: white;
  font-family: "Raleway";
  font-size: 120%;
}
.gradient-border {
  --borderWidth: 4.5px;
  background: white;
  position: relative;
  border-radius: var(--borderWidth);
}
.gradient-border:after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--borderWidth));
  left: calc(-1 * var(--borderWidth));
  height: calc(100% + var(--borderWidth) * 2);
  width: calc(100% + var(--borderWidth) * 2);
  background: linear-gradient(
    60deg,
    #f79533,
    #f37055,
    #ef4e7b,
    #a166ab,
    #5073b8,
    #1098ad,
    #07b39b,
    #6fba82
  );
  border-radius: calc(1 * var(--borderWidth));
  z-index: -1;
  -webkit-animation: animatedgradient 0s ease alternate infinite;
  animation: animatedgradient 3s ease alternate infinite;
  background-size: 300% 300%;
}

@-webkit-keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#userText {
    width: 400px;
    height: 200px;
    border:none;
    text-align: center;
    font-size: 130%
    background-color: transparent;
    color: #333333;
    padding: 15px
    }

#userText:focus {
    border:none;
}

button {
  background-color: black;
  text-align: center;
  color: white;
  box-shadow: inset 0px 0px 0px rgb(0 0 0);
  transition: background-color 0.3s ease;
  -webkit-transition: background-color 0.3s ease;
  cursor: pointer;
  display: block;
  margin-top: 20px;
  width: 345px;
  height: 45px;
  outline: none;
  border-radius: 100px;
  border: 1px solid gray;
  font-size: 1rem;
  font-weight: 500;
}

button:hover, 
button:focus {
  background-color: #6aa84f;
}

button:active {
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0);
}

.controls{
  position:relative;
  margin: auto;
  /*width:13%;*/
  width: max-content;
  text-align: center;
}


.explicacion{
    position:relative;
    margin: auto;
    width: 62%;
    text-align: center;
    font-size: 100%;
}


.sueno {
    position: relative;
    margin: auto;
    width: 62%;
    text-align: center;
    font-size: 210%;
    margin-top: 1%;
    font-family: Helvetica;
    animation: color-change 8s infinite;
}

@keyframes color-change {
    0%     { color: red; }
    11.11% { color: orange; }
    22.22% { color: yellow; }
    33.33% { color: green; }
    44.44% { color: turquoise; }
    55.56% { color: blue; }
    66.67% { color: indigo; }
    77.78% { color: violet; }
    88.89% { color: gold; }
    100%   { color: silver; }
}


.parentesis{
    position:relative;
    margin: auto;
    width: 62%;
    text-align: center;
    font-size: 110%;
    margin-top: 1%;
    margin-bottom: 1.5%;
    justify-content: center;
    font-family: Helvetica;
    color: #000000;
}

.parentesis2{
    position:relative;
    margin: auto;
    width: 62%;
    text-align: center;
    font-size: 110%;
    margin-top: 1%;
    margin-bottom: 1.5%;
    justify-content: center;
    color: #20B2AA;
    
}

.textboxxx{
  margin: auto;
  background: transparent;
  text-align: center;
  margin-top: 1%;
  display: flex;
  justify-content: center;
  font-family: Helvetica;
}



@media only screen and (max-width: 600px) {
  body {
    margin: auto;
    width: fit-content;
  }
  
  .RegOn {
    font-size: 70px;
  }
  
  .sueno {
      font-size: 60px;
  }
  
  #userText {
    width: 100%;
    height: 200px;
  }
  
  #submit , #random {padding: 30px;}
}