* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background: url(./imgs/background.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  
  .list {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #fff;
  }
  
  .list .logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .list .logo img {
    width: 100%;
  }
  
  .list .list-item a {
    text-decoration: none;
    padding: 50px;
    color: #fff;
    display: inline-block;
    font-size: 18px;
    font-family: Helvetica;
  }
  
  ul li a img {
    width: 15%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  .topnav {
    background-color: #000000;
  }
  
  #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, 5, 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;
  }
  
  .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: 100%;
    padding: 1%;
    font-family: Helvetica;
  }
  
  .blackBackBround {
    background-image: url("imgs/background.png");
    -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-image: url("imgs/background2.png");
    -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: #000000;
    color: #ffffff;
    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: 110%;
    background-color: transparent;
    color: #fff;
    padding: 15px
  }
  
  #userText:focus {
    border: none;
  }
  
  button {
    background-color: transparent;
    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: #472CE6;
  }
  
  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 {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 4rem;
    font-family: Helvetica;
    color: #fff;
  }
  
  .parentesis {
    text-align: center;
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 4rem;
    justify-content: center;
    font-family: Helvetica;
    color: #fff;
  }
  
  .parentesis2 {
    position: relative;
    margin: auto;
    text-align: center;
    font-size: 110%;
    margin-top: 1%;
    margin-bottom: 1.5%;
    justify-content: center;
    color: #20b2aa;
    font-family: Helvetica;
  }
  
  .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;
    }
  }
  
  
  #animation-canvas {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #animation-canvas canvas {
    display: none;
  }
  
  #animation-canvas canvas {
    width: 400px !important;
    height: 400px !important;
  }* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url(./imgs/background.png);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.list {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #fff;
}

.list .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.list .logo img {
  width: 100%;
}

.list .list-item a {
  text-decoration: none;
  padding: 50px;
  color: #fff;
  display: inline-block;
  font-size: 18px;
  font-family: Helvetica;
}

ul li a img {
  width: 15%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.topnav {
  background-color: #000000;
}

#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, 5, 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;
}

.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: 100%;
  padding: 1%;
  font-family: Helvetica;
}

.blackBackBround {
  background-image: url("imgs/background.png");
  -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-image: url("imgs/background2.png");
  -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: #000000;
  color: #ffffff;
  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: 110%;
  background-color: transparent;
  color: #fff;
  padding: 15px
}

#userText:focus {
  border: none;
}

button {
  background-color: transparent;
  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: #472CE6;
}

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 {
  text-align: center;
  font-size: 2.5rem;
  margin-top: 4rem;
  font-family: Helvetica;
  color: #fff;
}

.parentesis {
  text-align: center;
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 4rem;
  justify-content: center;
  font-family: Helvetica;
  color: #fff;
}

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

.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;
  }
}


#animation-canvas {
  display: flex;
  justify-content: center;
  align-items: center;
}

#animation-canvas canvas {
  display: none;
}

#animation-canvas canvas {
  width: 400px !important;
  height: 400px !important;
}