@import url("global.css");

header{
    width: 100%;
    position: fixed;
    top:0;
    left:0;
    right:0;
    background-color: var(--navcolor);
    display:flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
  }

  header #logo{
    padding: 0 .3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }


  #stick{
    position: sticky;
    top:20rem;
    background-color: #138b87;
    width:100%;
    height :2rem;
  }

  #navlogo{
    height:2.7rem;
    padding-left:.7rem;
  }

#logo p{
  color: rgb(255, 255, 255);
  letter-spacing: .1rem;
  padding: .4rem;
  font-size: .4rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

  header #navbuttons ul{
    list-style: none;
  }

  header #navbuttons ul li{
    position: relative;
    height: 100%;
    float: left;
  }

  header #navbuttons ul li a{
    font-size: 1em;
    padding: 1.5em;
    color: #fff;
    display: block;
    transition: .3s ease-out;
  }

  li p{
    font-size: 1em;
    padding: 1.5em;
    color: #fff;
    display: block;
    transition: .3s ease-out;
  }

  header #navbuttons ul li ul{
    position: absolute;
    background-color: var(--navcolor);
    left: 0;
    width: 15em;
    display: none;
  }

  header #navbuttons ul li ul li{
    width:100%;
  }

  #navon{
    display: none;
  }

  #hamburger{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 4em;
    padding: 1em;
    margin-right: 1em;
    cursor: pointer;
    display: none;
  }

  #hamburger span{
    background-color: #fff;
    height: .3em;
    width: 2em;
    border-radius: 1em;
  }


  #contact-check{
    display: none;
  }

  #contact-check:checked ~ .contactus{
    left: 0%;
  }


  .contactus{
    display: flex;
    justify-content: center;
    align-items: start;
    z-index: 10001;
    position: fixed;
    top:0rem;
    left:120%;
    width: 100vw;
    height: 100vh;
    transition: ease-in-out .5s;
    background-image: url(images/waves.svg);
    background-color: #fff;
    background-size:cover;
    background-repeat: no-repeat;
    
  }

  #contact-heading{
    color: rgba(31, 31, 31, 0.59);
    display: block;
    font-weight: 500;
    text-align: center;
    font-size: 1.3rem;
    margin: 1rem 2rem;
    width: 100%;
  }

  #contact-back{
    position: relative;
    right: 30vw;
    top :5vh;
    background-image: url("images/closesquare.png");
    height: 2rem;
    aspect-ratio: 1/1;
    background-size: cover;
  }

  .contactus form{
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 80vh;
    margin-top: 10vh;
    padding: 0px;
    box-shadow: 5px 5px 13px #00000050;
  }

  .contactus form input{
    margin:1rem;
    padding: .2rem;
    width: 80%;
    height: 2rem;
    border: none;
    box-shadow: 0px 0px 5px #00000060;
  }

  .contactus form textarea{
    padding:.2rem;
    margin:1rem;
    width: 80%;
    min-height: 2rem;
    border: none;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 0px 5px #00000060;
  }
  .contactus form input[type=submit]{
    background-color: var(--buttonstock);
    color: white;
    width:50%;
    border-radius: .3rem;
    align-self: flex-end;
    transition: .2s ease-in-out;
  }

  .contactus form input[type=submit]:hover{
    background-color: var(--buttonstockhover);
  }

  #contact-form-logo{
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #contact-form-logo img{
    scale: .9;
  }

  footer {
    background-color: var(--navcolor);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;

  }

  a p{
    text-decoration: none;
    color: #fff;
  }
  
  .info {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  
  .info .logo-company img{
    height:4rem;
    padding: 0 1rem;
  }
  
  .name-company {
    font-size: 1rem;
    margin-left: 10px;
  }
  
  .contact ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
  }
  
  .contact li {
    margin-right: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
  }
  
  .contact img {
    max-width: 20px;
    margin-right: 5px;
    filter: invert(1);
  }
  
  .contact p {
    margin: 0;
    font-size: 0.8rem;
    padding:0;
  }

  #address{
    display: none;
  }
  
  #company-name{
      display: none;
  }
  
    header #navbuttons ul li:hover > ul{
      display: initial;
    }
  
    header #navbuttons ul li a:hover{
      background-color: var(--navhover);
    }

    @media(width < 930px) {
    
        #hamburger{
          display: flex;
          margin: 0;
        }
    
        header #navbar{
          position: absolute;
          right:500%;
          top:0%;
          background-color: var(--navcolor);
          transition: all .6s;
        }
        header #navbuttons ul li{
          width: 100%;
        }
        header #navbuttons ul li a{
          justify-content: center;
        }
        header #navbuttons ul li ul{
          position: relative;
          left: 10%;
        }
    
        #navon:checked ~ #navbar{
          top:100%;
          right:0%;
        }

        #contact-back{
          right: 2vw;
          top :2vh;
        }
    
      footer{
        flex-direction: column;
      }

      #contactus{
        padding: 1rem;
      }
    
      .contact ul{
        flex-direction: column;
      }
    
      .logo-company{
        margin-bottom: 1rem;
      }
      #contact-heading{
        font-size: 1rem;
        margin: .5rem 0;
      }
      #contactform{
        scale: .8;
      }
      }