html {
  font-size: 16px;
  font-family: Poppins, serif;
}


body {
  width: auto;
  height: auto;
  margin: 0;
  background: linear-gradient(rgba(255, 0, 0, 0.5), rgba(255, 0, 0, 0.5)), url("images/bg-intro-desktop.png");
}


#message {
  display: inline-block;
  position: relative;
  top: 180px;
  left: 4%;
  width: 40%;
  margin-left: 10%;
  margin-right: 10%;
  color: white;
}

  #message h1 {
    font-size: 3rem;
    font-weight: 700;
    width: 100%;
    line-height: 1.1;
  }

  #message p {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: pre-line;
  }


#sign {
  position: absolute;
  top: 10%;
  right: 15%;
  text-align: center;
}

  #sign h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    background-color: hsl(248, 32%, 49%);
    color: white;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: 0 7px 2px rgba(50, 50, 50, 0.25);
    }

    h4 span {
      font-weight: 400;
      margin-left: 3px;
    }
      
    form {
    display: inline-block;
    width: 400px;
    text-align: center;
    border-radius: 7px;
    border-color: transparent;
    padding: 20px 15px;
    background-color: white;
    box-shadow: 0 7px 2px rgba(50, 50, 50, 0.25);
    } 

        .input {
          margin: 7px 10px;
          padding: 5px 25px;
          width: 80%;
          height: 35px;
          font-family: Poppins, serif;
          font-size: 0.8rem;
          font-weight: 600;
          border: 1px solid hsl(246, 25%, 77%);
          border-radius: 3px;
        }

          .input:focus {
            border: 0.1px solid hsl(248, 32%, 49%);
          }


        #submit {
          padding: 10px 15px;
          width: 93%;
          height: 25%;
          background-color: hsl(154, 59%, 51%);
          color: white;
          font-size: 0.8rem;
          font-weight: 500;
          border-radius: 3px;
          border-color: transparent;
          box-shadow: 0 3px 1px hsl(154, 56%, 44%);
         
        }

          #submit:hover {
            cursor: pointer;
            background-color: hsl(154, 61%, 62%);
          }

        .error {
          position: relative;
          left: 28%;
          bottom: 10px;
          font-size: 0.65rem;
          text-align: end;
          color: hsl(0, 100%, 74%);
        }


        form p {
          font-size: 0.55rem;
          color: hsl(246, 25%, 77%);
        }

            p a{
              color: hsl(0, 100%, 74%);
              text-decoration: none;
              font-weight: 700;
            }




/*Media Queries*/

@media screen and (min-width: 950px) and (max-width: 1150px) {
  #message {
    position: relative;
    left: 0;
  }

  #sign {
    position: absolute;
    right: 5%;
  }
}


@media screen and (min-width: 700px) and (max-width: 900px) {
  #message {
    display: block;
    position: initial;
    width: auto;
    margin: 10%;
    text-align: center;
  }
  
  #sign {
    position: relative;
    right: auto;
  }
  
    #sign h4 {
      margin: 5% 21%;
    }
    
    form {
      margin-bottom: 5%;
    }
}

@media screen and (min-width: 300px) and (max-width: 600px) {
 body {
   background: linear-gradient(rgba(255, 0, 0, 0.5), rgba(255, 0, 0, 0.5)), url("images/bg-intro-mobile.png");
 }

  #content {
    display: flex;
    flex-direction: column;
    width: auto;
  }

    #message {
      position: initial;
      width: auto;
      margin: 25px;
      text-align: center;
    }
      
      #message h1 {
        font-size: 2rem;
      }

    #sign {
      position: relative;
      right: 0;
      width: auto;
      margin: 15px;
    }

      #sign h4 {
        margin: 5%;
        flex-direction: column;
      }

      form {
        width: auto;
      }

        .input {
          width: 85%;
          padding: 5px 15px;
        }
  }

