
body {
    background: url(../Images/bg2_rev_wide.jpg);
    position: absolute;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    margin: 0.5em;
    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
}

.text-container{
    background-color: rgba(39, 39, 39, 0.123);
    margin: 1em;
}

p{
    margin: 0.5em;
    margin-bottom: 2em;
    margin-top: 1em;
    text-align: center;
    flex: 1;
    color: white;
    font-weight: lighter;
    line-height: 1.5em;
    animation: fadeIn2 0.65s forwards;
    padding: 1em
}

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;
}
  
/*.products{
    font-weight: bold;
    text-decoration: underline;
}*/
  
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.2rem;
      margin-top: 4em;
    }
    .products{
      border-style: solid;
      text-decoration: none;
      margin-left: 3em;
    }
                       
  }
  
  @media (min-width:700px) {
    /*.bg-img{
      background-position: -35em;
    }*/
    
    
  }
  
  @media (min-width:900px) {
    h1{
      font-size: 1.3rem;
    }
    .text-container{
      display: flex;
    }
    p{
      text-align: left;
      
    }
  }
  
  @media (min-width:1000px) {
    
    h1{
      font-size: 1.5rem;
      margin-top: 2.5em;
    }
    p{
      line-height: 2.5em;
    }
    .p1{
      padding-right: 3em;
    }
    .text-container{
      margin-left: 2em;
      margin-right: 2em;
    }
  }

  @media (min-width:1200px) {
    h1{
      font-size: 1.5rem;
      margin-top: 2.5em;
    }
    p{
      line-height: 2.5em;
      font-size: large;
    }
    .p1{
      padding-right: 3em;
    }
    .text-container{
      margin-top: 2em;
      margin-right: 3em;
      margin-left: 3em;
    }
  }
  
  @media (min-width:1400px) {
    h1{
      font-size: 1.5rem;
      margin-top: 3.5em;
    }
    .text-container{
      margin-top: 3em;
      margin-left: 4em;
      margin-right: 4em;
    }
    a{
      font-size: 1.2rem;
      padding-right: 3em;
      padding-left: 3em;
    }
  }
  
  @media (min-width:1600px) {
    h1{
      font-size: 1.7rem;
    }
    a{
      font-size: 1.3rem;
    }
  }
