/* styles for lottery number generator */

* {
    box-sizing: border-box;
  }
  
  body {
    position: relative;
    height: 100vh;
    width: 100vw;
    margin: 0;
    font-family: "Varela Round", sans-serif;
    line-height: 1.5;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: url(bg.svg);
    background-size: cover;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  header {
    width: 100vw;
    height: 20vh;
    position: absolute;
    top: 0;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  nav {
  }
  
  nav a {
    text-decoration: none;
    color: #fff;
  }
  
  footer {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .lotto-numbers {
    display: flex;
    justify-content: center;
    width: 100vw;
  }
  
  .lotto-ball {
    width: 100px;
    height: 100px;
    background: -moz-linear-gradient(
      230deg,
      #08fedd 33%,
      #e7f619 92%
    ); /* FF3.6+ */
    background: -webkit-gradient(
      linear,
      230deg,
      color-stop(33%, 08fedd),
      color-stop(92%, E7F619)
    ); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(
      230deg,
      #08fedd 33%,
      #e7f619 92%
    ); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(230deg, #08fedd 33%, #e7f619 92%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(230deg, #08fedd 33%, #e7f619 92%);
    /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1301FE', endColorstr='#F4F60C', GradientType='1');
    /* for IE */
    background: linear-gradient(230deg, #08fedd 33%, #e7f619 92%); /* W3C */
    border-radius: 50%;
    margin: 0 15px;
    box-shadow: inset 0 0 30px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
  }
  .lucky-lotto-ball {
    width: 100px;
    height: 100px;
    background: -moz-linear-gradient(230deg, #fe0303 33%, #e7f619 92%);
    /* FF3.6+ */
    background: -webkit-gradient(
      linear,
      230deg,
      color-stop(33%, FE0303),
      color-stop(92%, E7F619)
    ); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(
      230deg,
      #fe0303 33%,
      #e7f619 92%
    ); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(
      230deg,
      #fe0303 33%,
      #e7f619 92%
    ); /* Opera 11.10+ */
    background: -ms-linear-gradient(230deg, #fe0303 33%, #e7f619 92%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1301FE', endColorstr='#F4F60C', GradientType='1'); /* for IE */
    background: linear-gradient(230deg, #fe0303 33%, #e7f619 92%); /* W3C */
    border-radius: 50%;
    margin: 0 15px;
    box-shadow: inset 0 0 30px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
  }
  .lotto-button {
    display: flex;
    justify-content: center;
    width: 100vw;
    margin: 2rem 0;
  }
  .lotto-btn {
    background: #aa00aa;
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: 0.5s ease-in-out 0s;
  }
  .lotto-btn:hover {
    background: #880088;
  }
  .lotto-btn:focus {
    outline: 0;
  }
  .rotate {
    -webkit-animation: spin 0.4s ease-in-out;
    -moz-animation: spin 0.4s ease-in-out;
    animation: spin 0.4s ease-in-out, size 0.4s ease-in-out;
  }
  @-moz-keyframes spin {
    100% {
      -moz-transform: rotate(360deg);
    }
  }
  @-webkit-keyframes spin {
    100% {
      -webkit-transform: rotate(360deg);
    }
  }
  @keyframes spin {
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes size {
    from {
      font-size: 0.1rem;
    }
    to {
      font-size: 2.5rem;
    }
  }
  /* media queries */
  @media screen and (max-width: 500px) {
    h1 {
      font-size: 2rem;
    }
    .lotto-ball,
    .lucky-lotto-ball {
      width: 50px;
      height: 50px;
      font-size: 1.5rem;
      margin: 0 0.2rem;
    }
    .lotto-btn {
      font-size: 1.5rem;
    }
    @keyframes size {
      from {
        font-size: 0.1rem;
      }
      to {
        font-size: 1.5rem;
      }
    }
  }
  
    footer a {
    color: #22E8B3;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    padding: 0 20px;
  }

  footer a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #22E8B3;
    transition: width .3s;
}

footer a:hover::after {
    width: 100%;
}
  