@font-face {
    font-family: "Roboto";
    src: url(/Assets/roboto/Roboto-Regular.ttf);
    src: url(/Assets/roboto/Roboto-Black.ttf);
    src: url(/Assets/roboto/Roboto-Bold.ttf);
}
body{
    background-color: rgb(255, 255, 255);
    margin: 0px;
    padding: 0px;
    z-index: 1;
}
main{
    background-color: rgb(255, 255, 255);
    height: 100vh;
    width: 100vw;
    margin: 0px;
    padding: 0px;
}
#top{
height: 50vh;
width: 100vw;
background-color: #FFD0C1;
}
/* MAIN CONTAINER */
#middle{
    background-color: rgb(255, 255, 255);
    height: 70vh;
    width: 70vw;
    opacity: 1;
    box-shadow: -10px 10px 10px rgba(103, 94, 94, 0.23);
    border-radius: 15px;
    position: absolute;
    top: 15%;
    left: 15%; 
    display: flex;

}
#feedback{
    background: linear-gradient(0deg, rgba(106,84,123,1) 36%, rgba(7,12,75,1) 96%);
    height: 100%;
    width: 40%;
    border-radius: 0px 15px 15px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly; 
    text-align: center;
    margin: 0px; 
}
#divindiv{
height: 100%;
width: 60%;  
display: flex;
flex-direction: column; 
}
label{
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    padding-left: 20px;
}
.text1{
    width: 60%;
    border-top: none;
    border-left: none;
    border-right: none;
    margin-top: 20px;
    padding-top: 10px;
    outline: none;
    font-family: FontAwesome;
    font-size: 100%;
}
.text2{
    width: 60%;
    border-top: none;
    border-left: none;
    border-right: none;
    margin-top: 20px;
    padding-top: 10px;
    outline: none;
    font-family: FontAwesome;
    font-size: 100%;
}
.text3{
    width: 60%;
    border-top: none;
    border-left: none;
    border-right: none;
    margin-top: 20px;
    padding-top: 10px;
    outline: none;
    font-family: FontAwesome;
    font-size: 100%;
}
.text4{
    width: 60%;
    height: 10%;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
    font-family: FontAwesome;
    font-size: 100%;
    resize: none;
}
#submit{
border-radius: 10px;
border: none;
color: white;
background: linear-gradient(90deg, rgba(216,125,18,1) 36%, rgba(254,197,111,1) 96%);
filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
cursor: pointer;
font-size: 1.5em;
width: 25%;
height: 8%;

}
#submit:active {
    box-shadow: none;
}
#submit:active{
    transform: translateY(3px);
}
h1{
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    margin: 0;
    font-size: 1.5em;
}
#p1{
    color: #ffffff;
    font-size: 1em;
    font-family: "Roboto", sans-serif;
} 
#p2{
    color: #ffffff;
    font-size: 1em;
    font-family: "Roboto", sans-serif;
}
#p3{
    color: #ffffff;
    font-size: 1em;
    font-family: "Roboto", sans-serif;
    margin-right: 5%;
}
.icons1{
    width: 3em;
    height: 3em;
    float: left;
    margin-right: 2%;
    margin-left: 8%;
    
}
.icons2{
    width: 2.5em;
    height: 2.em;
    float: left;
    margin-right: 2%;
    margin-left: 8%;
}
.icons3{
    width: 2.8em;
    height: 2.8em;
    float: left;
    margin-right: 2%;
    margin-left: 8%;
}
.divmail{
    display: flex;
    align-items: center;
}
.divphone{
    display: flex;
    align-items: center;
}
.divloc{
    display: flex;
    align-items: center;
}
/* PLACEHOLDER TEXT */
input:focus::placeholder {
    color: transparent;
  }
  input:required:valid {
    border-color: green;
  } 
 input::before:invalid{
     border-color: none;
 }
input:focus:invalid{
    border-color: red;     
}

form{
    margin-left: 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
}
textarea {
    padding: 10px;
    max-width: 100%;
    line-height: 1.5;
}
textarea:required:valid{
    border-color: green;
}
textarea:focus:invalid{
    border-color: red;
}
textarea::before:invalid{
    border-color: none;
}

/* ERROR MESSAGE UNDER FIELDS */

#spanResult{
    color: red;
    width: 40%;
    display: none;
  }
  #spanResult2{
    color: red;
    width: 40%;
    display: none;
  }
  #spanResult3{
    color: red;
    width: 40%;
    display: none;
  }
  #spanResult4{
    color: red;
    width: 40%;
    display: none;
  }

/* VALIDATION POPUP */

  #orange{
      width: 40%;
      height: 20%;
      background: linear-gradient(90deg, rgba(216,125,18,1) 36%, rgba(254,197,111,1) 96%);
      color: white;
      font-weight: bold;
      border: none;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      padding: 20px;
      text-align: center;
      display: none;
      flex-direction: column;
      justify-content: space-evenly;
      align-items: center;
      border-radius: 10px;
      font-family: 'Roboto';
      font-size: 1.5em;
      z-index: 100;
  }
  #adios{
      width: 20%;
      height: 20%;
      border-radius: 5px;
      border: none;
      color: #ffffff;
      background-color: #FEC56F;
  }

#checked{
font-size: 1.3rem;
color: white;
font-family: FontAwesome;
}
.qqch{
    filter: blur(10px);
}

  /* RESPONSIVE PART */
  
  /* TABLET */


  @media screen and (max-width: 820px) and (min-width: 450px){
      #middle{
        flex-direction: column;
        width: 90vw;
        height: 90vh;
        left: 5%;
        top: 5%;
      }
      #feedback{
          width: 100%;
          height: 40%;
          border-radius: 0px 0px 15px 15px;
      }
      #divindiv{
        height: 60%;
        width: 100%;  
        display: flex;
        flex-direction: column; 
        }
        form{
            width: 100%;
            margin-left: 5%;
        }
        .text1{
            width: 60%;
            border-top: none;
            border-left: none;
            border-right: none;
            margin-top: 20px;
            padding-top: 10px;
            outline: none;
            font-family: FontAwesome;
            font-size: 100%;
        }
        .text2{
            width: 60%;
            border-top: none;
            border-left: none;
            border-right: none;
            margin-top: 20px;
            padding-top: 10px;
            outline: none;
            font-family: FontAwesome;
            font-size: 100%;
        }
        .text3{
            width: 60%;
            border-top: none;
            border-left: none;
            border-right: none;
            margin-top: 20px;
            padding-top: 10px;
            outline: none;
            font-family: FontAwesome;
            font-size: 100%;
        }
        .text4{
            width: 60%;
            height: 10%;
            border-top: none;
            border-left: none;
            border-right: none;
            outline: none;
            font-family: FontAwesome;
            font-size: 100%;
            resize: none;
        }
        textarea {
            padding: 10px;
            max-width: 100%;
            line-height: 1.5;
        }
        label{
            font-size: 1.3em;
            font-weight: bold;
            display: flex;
            flex-direction: column;
            font-family:'Roboto', sans-serif;
            margin: 0px;   
        }
  }
 
  /*  PHONE */

  @media screen and (max-width: 450px) {
    #middle{
        flex-direction: column;
        width: 90vw;
        height: 90vh;
        left: 5%;
        top: 5%;
      }
      #feedback{
          width: 100%;
          height: 40%;
          border-radius: 0px 0px 15px 15px;
      }
      #divindiv{
        height: 60%;
        width: 100%;  
        display: flex;
        flex-direction: column; 
        }
        form{
            width: 100%;
            margin-left: 5%;
        }
        .text1{
            width: 80%;
            border-top: none;
            border-left: none;
            border-right: none;
            margin-top: 20px;
            padding-top: 10px;
            outline: none;
            font-family: FontAwesome;
            font-size: 100%;
        }
        .text2{
            width: 80%;
            border-top: none;
            border-left: none;
            border-right: none;
            margin-top: 20px;
            padding-top: 10px;
            outline: none;
            font-family: FontAwesome;
            font-size: 100%;
        }
        .text3{
            width: 80%;
            border-top: none;
            border-left: none;
            border-right: none;
            margin-top: 20px;
            padding-top: 10px;
            outline: none;
            font-family: FontAwesome;
            font-size: 100%;
        }
        .text4{
            width: 80%;
            height: 10%;
            border-top: none;
            border-left: none;
            border-right: none;
            outline: none;
            font-family: FontAwesome;
            font-size: 100%;
            resize: none;
        }
        textarea {
            padding: 10px;
            max-width: 100%;
            line-height: 1.5;
        }
        label{
            font-size: 1.2em;
            font-weight: bold;
            display: flex;
            flex-direction: column;
            font-family:'Roboto', sans-serif;
            margin: 0px;
        }
  }

  
 