body {
    background-image: url("./imgsp1/background3.jpg");
    background-size: 1440px;
}

.previous{
  text-align: left;
  margin-top: 200px;
  margin-left: 350px;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-style: italic;
  font-size: 20px;
}

.p1{
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: 25px;
}

.p2{
    text-align: left;
    margin-top: -10px;
    margin-bottom: 0px;
    margin-left: 350px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: lighter;
    font-size: 20px;
}

.p3{
    text-align: left;
    margin-top: -10px;
    margin-bottom: 0px;
    margin-left: 350px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: lighter;
    font-size: 20px;
}

.p4{
    text-align: left;
    margin-top: -10px;
    margin-bottom: 0px;
    margin-left: 350px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: lighter;
    font-size: 20px;
}

.p5{
    text-align: left;
    margin-top: -10px;
    margin-bottom: 0px;
    margin-left: 350px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: lighter;
    font-size: 20px;
}


.cong {
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    font-family: 'Times New Roman', Times, serif;
    font-weight: lighter;
    font-size: 20px;
  }
  
  .s1{
    display: inline-block;
    padding-left: 1300px;
    animation: marquee 15.0s linear infinite;
  }
  
  .cong span {
    animation-delay:0s;
  }
  
  @keyframes marquee {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(-100%, 0);
    }
  }

  .s1:hover{
    animation-play-state: paused;
  }

  .s1{
    -webkit-transition: color 1s; 
    transition: color 1s; 
}
.s1:hover {
    color: #ff0000;
}

.s2{
    display: inline-block;
    padding-left: 1300px;
    animation: marquee 15.0s linear infinite;
  }
  
  .cong span {
    animation-delay:0s;
  }
  
  @keyframes marquee {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(-100%, 0);
    }
  }

  .s2:hover{
    animation-play-state: paused;
  }

  .s2{
    -webkit-transition: color 1s; 
    transition: color 1s; 
}
.s2:hover {
    color: #ff0000;
}

.s3{
    display: inline-block;
    padding-left: 1300px;
    animation: marquee 15.0s linear infinite;
  }
  
  .cong span {
    animation-delay:0s;
  }
  
  @keyframes marquee {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(-100%, 0);
    }
  }

  .s3:hover{
    animation-play-state: paused;
  }

  .s3{
    -webkit-transition: color 1s;
    transition: color 1s; 
}
.s3:hover {
    color: #ff0000;
}


.s4{
    display: inline-block;
    padding-left: 1300px;
    animation: marquee 15.0s linear infinite;
  }
  
  .cong span {
    animation-delay:0s;
  }
  
  @keyframes marquee {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(-100%, 0);
    }
  }

  .s4:hover{
    animation-play-state: paused;
  }

  .s4{
    -webkit-transition: color 1s; 
    transition: color 1s; 
}
.s4:hover {
    color: #ff0000;
}

.s5{
    display: inline-block;
    padding-left: 1300px;
    animation: marquee 15.0s linear infinite;
  }
  
  .cong span {
    animation-delay:0s;
  }
  
  @keyframes marquee {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(-100%, 0);
    }
  }

  .s5:hover{
    animation-play-state: paused;
  }

  .s5{
    -webkit-transition: color 1s; 
    transition: color 1s; 
}
.s5:hover {
    color: #ff0000;
}

.s6{
    display: inline-block;
    padding-left: 1300px;
    animation: marquee 15.0s linear infinite;
  }
  
  .cong span {
    animation-delay:0s;
  }
  
  @keyframes marquee {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(-100%, 0);
    }
  }

  .s6:hover{
    animation-play-state: paused;
  }

  .s6{
    -webkit-transition: color 1s; 
    transition: color 1s; 
}
.s6:hover {
    color: #ff0000;
}

  .p2 p {
    background-image: linear-gradient(to right, rgba(255,255,255,0) 50%, #FFE815 50%);
    background-position: -0% 0;
    background-size: 200% auto;
   
    transition: background-position 0.5s ease-out;
  }
  .p2 p:hover {
    background-position: -99.99% 0;
  }

  .p4 p {
    background-image: linear-gradient(to right, rgba(255,255,255,0) 50%, #FFE815 50%);
    background-position: -0% 0;
    background-size: 200% auto;
   
    transition: background-position 0.5s ease-out;
  }
  .p4 p:hover {
    background-position: -99.99% 0;
  }


  .preanswer{
    text-align: left;
    margin-top: -10px;
    margin-bottom: 0px;
    margin-left: 350px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: lighter;
    font-size: 20px;
}

.answer{
    color: blue;
    text-decoration: underline;
}

.answer {
    -webkit-transition: color 1s; 
    transition: color 1s; 
}
.answer:hover {
    color: red;
}

 .answerhover {
    padding: 10px;
    display: none;
    color: red;
  }
    
  .answer:hover + .answerhover {
    display: block;
    justify-content: center;
  }

  .grid{
    margin-top: 20px;
    display: block;
  justify-content: center;
  width: 15%;
  height: auto;
  }

  .p6{
    display: block;
    justify-content: center;
    text-align: left;
    margin-top: 220px;
    margin-bottom: 0px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    color: blue;
    font-size: 20px;
}

.button{
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-weight: bold;
    font-size: 15px;
    width: 80px;
    height: 30px;
    background-color: rgb(200, 93, 200);
}

a:visited { 
    text-decoration: none; 
   }

   .text-rainbow-animation {
    background-image: 
      linear-gradient(to right, red,orange,yellow,green,blue,indigo,violet, red); 
    -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;  
    animation: rainbow-animation 200s linear infinite;
  }
  
  @keyframes rainbow-animation {
      to {
          background-position: 4500vh;
      }}

      a:visited { 
        text-decoration: none; 
        color: black
       }