:root {
    --navbar-bg-color: hsl(0, 0%, 100%);
    --navbar-text-color: rgb(102, 6, 54);
    --navbar-text-color-focus: white;
    --navbar-bg-contrast: hsl(0, 0%, 25%);
  }
  
  * {
    /* outline: 1px #000 solid; */
    box-sizing: border-box;
  }



body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    
  }


  /****Page Wrapper****/
  .wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 5px;
    grid-template-areas:
      "nav"
      "contact";
  
      border-style: solid;
   border-color: rgb(102, 6, 54);
  }

  /* Begin NAV */
  #navbar {
    display: flex;
  height: 110px;
    grid-area: nav;
  }
  
  .navbar-container {
    display: flex;
    background-color: #ffffff;
    justify-content: space-between;
    flex-basis: 100%;
    /* align-items: center; */
  }
  
  .navbar-item {
    margin: 0.4em;
    width: 100%;
    text-transform: uppercase;
    /* align-items: center; */
  }
  
  .navbar-link {
    color: var(--navbar-text-color);
    transition: color 0.2s ease-in-out;
    text-decoration: none;
    display: flex;
    font-weight: 400;
    align-items: center;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    font-weight: 600;
    
    /* justify-content: center; */
  }
  
  .home-link:focus,
  .home-link:hover {
    color: var(--navbar-text-color-focus);
  }
  
  .navbar-link {
    justify-content: center;
    width: 100%;
    padding: 0.4em 0.8em;
    border-radius: 5px;
  }
  
  .navbar-link:focus,
  .navbar-link:hover {
    color: var(--navbar-text-color-focus);
    background-color: var(--navbar-bg-contrast);
  }
  
  /* .navbar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px;
    width: 200px;
  } */
  
  #logo {
    border-radius: 10%;
    max-width: 250px;
    height: auto;
  }
  
  
.navbar-toggle {
  margin-top: 35px !important;
  margin-right: 10px !important;
  cursor: pointer;
  border: none;
  background-color: transparent;
  /* width: 90px;
  height: 90px; */
  display: flex;
  /* align-items: center; */
  /* justify-content: center; */
  flex-direction: column;
}

.icon-bar {
  display: block;
  width: 45px !important;
  height:6px !important;
  margin: 4px !important;
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out,
    opacity 0.2s ease-in-out;
  background-color: var(--navbar-text-color);
}
  
  .navbar-toggle:focus .icon-bar,
  .navbar-toggle:hover .icon-bar {
    background-color: var(--navbar-text-color-focus);
  }
  
  #navbar.opened .navbar-toggle .icon-bar:first-child,
  #navbar.opened .navbar-toggle .icon-bar:last-child {
    position: absolute;
    margin: 0;
    width: 30px;
  }
  
  #navbar.opened .navbar-logo {
    display: none;
  }
  
  #mob-logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
  }
  
  #mob-logo {
    height: auto;
    width: 90px;
  }
  #navbar.opened .navbar-toggle .icon-bar:first-child {
    transform: rotate(45deg);
  }
  
  #navbar.opened .navbar-toggle .icon-bar:nth-child(2) {
    opacity: 0;
  }
  
  #navbar.opened .navbar-toggle .icon-bar:last-child {
    transform: rotate(-45deg);
  }
  
  .navbar-menu {
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    height: 100%;
    left: 0;
    right: 0;
    /* background-color: pink; */
  }
  
  #navbar.opened .navbar-menu {
    background-color: rgb(79, 25, 104);
    opacity: 1;
    visibility: visible;
  }
  
  .navbar-links {
    width: 100%;
  
    list-style-type: none;
  
    overflow: hidden;
    position: absolute;
    background-color: var(--navbar-bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
  
    border-radius: 5px;
    /* height: 200px; */
  }
  
  #navbar.opened .navbar-links {
    padding: 1em;
    max-height: none;
  }
  
  #contact {
      grid-area: contact;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(45deg, #b67388, #753a88);
    overflow: hidden;
    /*padding-bottom: 200px;*/
  }
  
  .section-header {
    text-align: center;
    margin: 0 auto;
    padding: 40px 0;
    font: 300 60px 'Oswald', sans-serif;
    letter-spacing: 6px;
    color: #fff;
  }
  
  .contact-wrapper {
    margin: 0 auto;
    padding-top: 20px;
    position: relative;
    max-width: 800px;
  }
  
  /* Begin Left Contact Page */
  .form-horizontal {
    float: left;
    max-width: 400px;
    font-family: 'Lato';
    font-weight: 400;
  }
  
  .form-control, textarea {
    max-width: 400px;
    background-color: rgb(224, 221, 221);
    color: rgb(0, 0, 0);
    letter-spacing: 1px;
    margin-left: 10px;
    
  }
  
  .send-button {
    margin-top: 15px;
    height: 34px;
    width: 400px;
    overflow: hidden;
    transition: all .2s ease-in-out;
    margin-left:10px;
  }
  
  .button {
    width: 400px;
    height: 34px;
    transition: all .2s ease-in-out;
  }
  
  .send-text {
    display: block;
    margin-top: 10px;
    font: 700 12px 'Lato', sans-serif;
    letter-spacing: 2px;
  }
  
  .button:hover {
    transform: translate3d(0px, -29px, 0px);
  }
  
  /* Begin Right Contact Page */
  .direct-contact-container {
    max-width: 400px;
    float: right;
    margin-top: 5px;
  }
  
  /* Location, Phone, Email Section */
  .contact-list {
    list-style-type: none;
    margin-left: -30px;
    padding-right: 20px;
  }
  
  .list-item {
    line-height: 4;
    color: rgb(212, 205, 205);
   
  }
  
  .contact-text {
    font: 300 16px 'Lato', sans-serif;
    letter-spacing: 1.9px;
    color: rgb(255, 253, 253);
    font-weight: 800;
  }
  
  .place {
    margin-left: 34px;
    font-size: 16px;
  }
  
  .phone {
    margin-left: 22px;
  }
  
  .gmail {
    margin-left: 22px;
    font-size: 16px;
    
  }
  
  .contact-text a {
    color: rgb(250, 250, 250);
    text-decoration: none;
    transition-duration: 0.2s;
  }
  
  .contact-text a:hover {
    color: #fff;
    text-decoration: none;
  }
  
  
  /* Social Media Icons */
  .social-media-list {
    position: relative;
    font-size: 2rem;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  
  .social-media-list li a {
    color: #fff;
  }
  
  .social-media-list li {
    position: relative; 
    display: inline-block;
    height: 60px;
    width: 60px;
    margin: 10px 3px;
    line-height: 60px;
    border-radius: 50%;
    color: #fff;
    background-color: rgb(27,27,27);
    cursor: pointer; 
    transition: all .2s ease-in-out;
  }
  
  .social-media-list li:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 0 1px #fff;
    transition: all .2s ease-in-out;
  }
  
  .social-media-list li:hover {
    background-color: #fff; 
  }
  
  .social-media-list li:hover:after {
    opacity: 1;  
    transform: scale(1.12);
    transition-timing-function: cubic-bezier(0.37,0.74,0.15,1.65);
  }
  
  .social-media-list li:hover .fa-youtube {
    color: rgb(218, 32, 32);
  }

  .social-media-list li:hover .fa-facebook {
    color: rgb(51, 32, 218);
  }
  
  .copyright {
    font: 200 14px 'Oswald', sans-serif;
    color: rgb(246, 231, 231);
    letter-spacing: 1px;
    text-align: center;
  }
  
  hr {
    border-color: rgba(255,255,255,.8); ;
  }
  
  /* Begin Media Queries*/
  @media screen and (max-width: 760px) {
    .direct-contact-container, .form-horizontal {
      float: none;
      margin: 10px auto;
    }  
    .direct-contact-container {
      margin-top: 60px;
      max-width: 300px;
    }    
    .social-media-list li {
      height: 60px;
      width: 60px;
      line-height: 60px;
    }
    .social-media-list li:after {
      width: 60px;
      height: 60px;
      line-height: 60px;
    }
  }
  
  @media screen and (max-width: 569px) {
  
    .direct-contact-container, .form-wrapper {
      float: none;
      margin: 0 auto;
    }  
    .form-control, textarea {
      max-width: 340px;
      margin: 0 auto;
    }
    
    .name, .email, textarea {
      width: 280px;
    } 
    
    .direct-contact-container {
      margin-top: 60px;
      max-width: 280px;
    }  
    .social-media-list {
      left: 0;
    }
    .social-media-list li {
      height: 55px;
      width: 55px;
      line-height: 55px;
      font-size: 2rem;
    }
    .social-media-list li:after {
      width: 55px;
      height: 55px;
      line-height: 55px;
    }
    
  }
  
  @media screen and (max-width: 410px) {
    .send-button {
      width: 99%;
    }
  }

  /****wrapper queries****/

  @media screen and (min-width: 500px) {
    .wrapper {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: 150px auto; 
      grid-template-areas:
        "nav"
        "contact";
    }
  
    #navbar {
      display: grid;
      grid-area: nav;
      padding: 0;
      margin: 0;
  width: 100%;
     height: 100%;
      
    }
  
    
  
    .navbar-container {
     height: 100%;
      width: 100%;
      
    }
  
    .navbar-menu {
      transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
      opacity: 0;
      visibility: hidden;
    position: absolute;
    
      left: 0;
      right: 0;
    }
  
    .navbar-toggle {
      display: none;
    }
  
    #navbar .navbar-menu,
    #navbar.opened .navbar-menu {
      visibility: visible;
      opacity: 1;
      
      width: 100%;
      
    }
  
    #navbar .navbar-links,
    #navbar.opened .navbar-links {
      margin:0;
      flex-direction: row;
      padding: 0;
      box-shadow: none;
  
      list-style-type: none;
      height: 150px;
      
  
      
    }
  
    #navbar .navbar-link:last-child {
      margin-right: 0;
    }
    .navbar-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      height: auto;
      width: 150px;
      margin: 0;
      padding: 0;
    }
    #logo {
      border-radius: 10%;
      max-width: 250px;
      height: auto;
    }
  
    #mob-logo {
      display: none;
    }

    #contact-form {
        grid-area: contact;
    }
  }

    @media screen and (min-width: 900px) {
        .wrapper {
          display: grid;
          grid-template-columns: 1fr;
          grid-template-rows:150px auto; 
          grid-template-areas:
            "nav"
            "contact";
        }
      
        #navbar {
          display: grid;
          grid-area: nav;
          padding: 0;
          margin: 0;
      width: 100%;
         height: 100%;
          
        }
      
        
      
        .navbar-container {
         
         
          
        }
      
        .navbar-menu {
          transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
          opacity: 0;
          visibility: hidden;
        position: absolute;
        
          left: 0;
          right: 0;
        }
      
        .navbar-toggle {
          display: none;
        }
      
        #navbar .navbar-menu,
        #navbar.opened .navbar-menu {
          visibility: visible;
          opacity: 1;
          
          width: 100%;
          
        }
      
        #navbar .navbar-links,
        #navbar.opened .navbar-links {
          margin:0;
          flex-direction: row;
          padding: 0;
          box-shadow: none;
      
          list-style-type: none;
          height: 150px;
          
        }
      
        #navbar .navbar-link:last-child {
          margin-right: 0;
        }

        .navbar-logo {
          display: flex;
          align-items: center;
          justify-content: center;
          height: auto;
          width: 150px;
          margin: 0;
          padding: 0;
        }
        #logo {
          border-radius: 10%;
          max-width: 250px;
          height: auto;
        }
      
        #mob-logo {
          display: none;

        }

        #contact-form {
            grid-area: contact;
        }
    }