:root{
  --font-color: white;
}

body {
  background: url(../Images/bg2_rev_wide.jpg);
  position: absolute;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
  font-family: 'poppins', sans-serif;
}

.parent-container{
  display: flex;
  width: 100vw;
  justify-content: center;
  align-items: center;
  animation: fadeIn2 0.65s forwards
}

.container{
  width: 100%;
  flex: auto;
  margin-right: 3em;
  margin-left: 3em;
}

.form-group{
  margin-top: 0.75em;
}

.form-label{
  font-size: .75rem;
  color: var(--font-color);
  opacity: 1;
  font-weight: lighter;
  display: block;
}

.form-control{
  box-shadow: none;
  box-sizing: border-box;
  border-radius: 0.2em;
  border-style: none;
  width: 100%;
  font-size: 1rem;
  padding: 0.5em;
}

.form-control::placeholder{
  color: rgba(0, 0, 0, 0.397);
}

.form-control:focus{
  box-shadow: none;
  outline: none;
  border-color: aqua;
}


.btn{
  background-color: aqua;
  border: none;
  border-radius: 0.3em;
  color: black;
  cursor: pointer;
  padding: 0.5em 1em;
}

.btn:hover{
  background-color: rgb(0, 231, 231);
}

textarea{
  resize: none;
  width: 100%;
  border-style: none none solid none;
  border-color: aqua;
  font-family: 'poppins', sans-serif;
}

h1{
  margin: 1.8em auto 0;
  text-align: center;
  font-weight: normal;
  font-size: 1.3rem;
  color: rgb(255, 255, 255);
  animation: fadeIn2 0.65s forwards
}

h2{
  text-align: center;
  font-weight: lighter;
  font-size: 1rem;
  color: rgb(255, 255, 255);
  animation: fadeIn2 0.65s forwards;
  margin-right: 1.5em;
  margin-left: 1.5em;
}

span{
  font-weight: normal;
}

nav{
 position: fixed;
 right: 0;
 top: 0;
 background: rgba(43, 42, 42, 0.952);
 height: 100vh;
 width: 50%;
 z-index: 999;
 transform: translateX(100%);
 transition: transform .5s ease-in-out;
}

ul{
  list-style-type: none;
  padding: 0;
  margin-top: 5em;
}

a{
  color: white;
  padding: .75em 1.5em;
  display: block;
  border-radius: 1em;
  text-decoration: none;
  font-size: 1.3rem;
}

a:hover{
  background: rgba(66, 66, 66, 0.562);
}

.close{
  float: right;
  margin: 1.25em;
  width: 2.5em;
  cursor: pointer;
}

header{
  display: flex;
  justify-content: space-between;
}

.hamburger-menu{
  position: fixed;
  top: 1.5em;
  right: 1.5em;
  width: 2.2em;
  cursor: pointer;
}

footer{
  position:fixed;
  bottom: 0;
  margin-bottom: 1px;
  margin-top: 1em;
  color: white;
  font-weight: 200;
  text-align: center;
  width: 100vw;
  font-size: x-small;
  z-index: 998;
}

/*this is for js - (hamburger menu) */
.open-nav{
  transform: translateX(0%);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4em);    
    }
  to {
    opacity: 1;}
}

@keyframes fadeIn2 {
  from {
    opacity: 0;
    }
  to {
    opacity: 1;}
}

/*main media query that deals with the nav bar elements*/
@media (min-width: 550px) {
  .hamburger-menu{
    display: none;
  }
  .close{
    display: none;
  }
 
  header{
    display: grid;
    grid-template-columns: 2fr;
    justify-content: space-between;
    background: black;
  }
  nav{
    display: flex;
    transform: translateX(0);
    justify-content: space-between;
    background: rgba(150, 150, 150, 0.274);
    position: fixed;
    height: auto;
    width: 100vw;
    padding: 0;
    margin: 0;
  }
  
  ul{
    display: flex;
    margin: .75em;
  }
  a{
    font-size: 1em;
    padding: .1em 2em;
  }
  a:hover{
    background: rgba(255, 255, 255, 0.151);
  }
  body {
    overflow-x: hidden;
  }
  h1{
    font-size: 1.3rem;
    margin-top: 4em;
  }
  h2{
    margin: 1em 2em;
  }      
  .container{
    margin: 1em 4em;
  }         
  .form-control{
    padding: 0.8em;
  }
}

@media (min-width:700px) {
  h2{
    margin-right: 4em;
    margin-left: 4em;
  }
}
@media (min-width:800px){
  .container{
    margin: 1em 8em;
  }
}

@media (min-width:900px) {
  h1{
    font-size: 1.3rem;
  }
  h2{
    margin-right: 6em;
    margin-left: 6em;
    margin-bottom: 0;
  }
  .container{
    margin: 1em 10em;
  }
}

@media (min-width:1000px) {
  
  h1{
    font-size: 1.5rem;
    margin-top: 3.5em;
  }
  h2{
    font-size: 1.15rem;
    margin-bottom: 1em;
  }
  .container{
    margin: 1em 12em;
  }
  
}

@media (min-width:1200px) {
  h1{
    font-size: 1.7rem;
  }
  h2{
    font-size: 1.25rem;
    margin-bottom: 0.5em;
  }
  .container{
    margin: 1em 17em;
  }
  .form-label{
    font-size: 1rem;
  }
  .btn{
    padding: 0.7em 1.1em;
    font-size:medium;
  }
}

@media (min-width:1400px) {
  h1{
    font-size: 1.5rem;
    margin-top: 3.5em;
  }
  .form-group{
    margin-bottom: 1em;
  }
  .container{
    margin: 1em 20em;
  }
  a{
    font-size: 1.2rem;
    padding-right: 3em;
    padding-left: 3em;
  }
}

@media (min-width:1600px) {
  h1{
    font-size: 1.8rem;
    margin-top: 3em;
  }
  h2{
    margin-bottom: 1em;
    font-size: 1.4rem;
  }
  a{
    font-size: 1.3rem;
  }
  .container{
    margin: 1em 28em
  }
}

@media (min-width:1900px) {
  .container{
    margin: 1em 35em;
  }
  .form-group{
    margin-bottom: 2em;
  }
}