:root {
    --main-color-1:#f0d398;
    --main-color-2:#1c1b17;
    --sec-color-1:#f7f7f7;
    --sec-color-2:#271801;
    --bgd-col-sec:#f7e3bc;

}

* {
    margin: 0;
    padding: 0;
    
   }

body {
    font-family: Ubuntu, sans serif ;
    background-color:var(--main-color-2);
}

ul {
    list-style-type:none;
}

.header {

    display: grid;
    height: 80px;  
    width: 100%;
    background-color:var(--main-color-1);
    top:0;
    position: -webkit-sticky;
    position: sticky;
    z-index: 100;
    overflow: hidden;
    border-bottom: 1px solid #000;
}

.topnav {
    background-color:var(--main-color-2);
    color: var(--main-color-1);
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    display: none;
}

.navbar {
    background-color:var(--main-color-1);
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
    
 
}

.logo {
    width: 70%;
 }

.logo img{
    width: 100%;
}

.menu {
    display:none;
    z-index: 10;
}

.menu ul {
    max-width: 800px;
    width: 100%;
    height: 100%;
    margin: 0px auto;
    padding: 0px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    z-index: 9;
}

.menu li {
    list-style-type: none;
}

.menu a{
    text-decoration: none;
    color: var(--main-color-2);
}

.menu a:hover{
    color: blue;
}

.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    background: black;
    z-index: -1;
}

#hamburger-input{
    display: none;
}

#hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: inline;
    border: none;
    padding: 0px;
    margin: 0px;
    background: linear-gradient(
      to bottom, 
      var(--main-color-2), var(--main-color-2) 20%, 
      var(--main-color-1) 20%, var(--main-color-1) 40%, 
      var(--main-color-2) 40%, var(--main-color-2) 60%, 
      var(--main-color-1) 60%, var(--main-color-1) 80%, 
      var(--main-color-2) 80%, var(--main-color-2) 100%
    );
}

#hamburger-menu #sidebar-menu {
    visibility: hidden;
    position: fixed;
    top: 0;
    right: -250px;
    width: 200px;
    height: 100%;
    background-color: var(--main-color-2);
    transition: 0.3s;
    padding: 0px 10px;
    box-sizing: border-box;
}

#hamburger-menu ul {
    padding-left: 0px;
  }
  
  #hamburger-menu li {
    list-style-type: none;
    line-height: 3rem;
  }
  
  #hamburger-menu a {
    color: var(--main-color-1);
    font-size: 1.3rem;
    text-decoration: none;
  }
  
  #hamburger-menu a:hover {
    text-decoration: underline;
  }
  
  #hamburger-input:checked + #hamburger-menu #sidebar-menu {
      visibility: visible;
      right: 0;
  }
  #hamburger-input:checked ~ .overlay{
     visibility: visible;
    opacity: 0.4;
  }

  
  .parallax {
    display: grid;
    /* The image used */
    background-image: url("/images/hero-s.jpg");
  
    /* Set a specific height */
    height: 90vh; 
  
    /* Create the parallax scrolling effect */
    background-attachment: fixed; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }


.dh1 {
display: flex;
justify-content: center;
align-items: flex-end;
padding-bottom: 15%;
}

.button {
  display: flex;
  justify-content: center;
  max-height: 100px;
  
}

.dh3 {
    display: flex;
    justify-content: center;
    align-items: flex-start;

    
}

.parallax h1 {
    position: absolute;
    font-size: 16px;
    margin: auto;
    color: var(--main-color-1);
    text-shadow: 1px 1px var(--main-color-2);
}

.parallax h3 {
    font-size: 12px;
    color: var(--main-color-1);
    text-shadow: 1px 1px var(--main-color-2);

}
  
  


  .parallax .btn {
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color:var(--main-color-2);
    color: var(--main-color-1);
    font-size: 20px;
    font-weight: 700;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    text-align: center;
    opacity: 0.8;
    filter: alpha(opacity=80);
  }
  
  .parallax .btn:hover {
    background-color:var(--main-color-1);
    color: #1c1b17;
  }

.serv-container{
    width: 90%;
    margin: 2em auto;
}

.serv-container h2{
    color: var(--main-color-1);
}

  .services {
      display:grid;
      background-color: var(--main-color-2);
      color: var(--main-color-1);
      grid-template-columns: repeat(1,1fr);
      grid-gap:10px;
      padding: 20px 0;
  }


.serv-item {
    background-color: var(--main-color-1);
    color: var(--main-color-2);
    border-radius: 12px;
    padding:20px;

  }

.services h3 {
    color: var(--main-color-2);
}

  .about-cont {
    background-color: var(--main-color-1);
    width: 90%;
    padding: 20px 5%;
  }

  .about {
      display: grid;
      grid-template-columns: repeat(1,1fr);
      grid-gap:10px;
  }


  .about-item {
      display: flex;
      flex-direction: column;
      width: 100%;
      align-content: space-around;
  }

  .about-item img {
      width:100%;
  }


  .about p {
    text-align: justify;
}

.about img {
  -webkit-box-shadow:  0px 0px 15px #000;;
  box-shadow: 0px 0px 15px #000;;
}

.portfolio {
    display: flex;
    flex-direction: column;
    background-color: var(--main-color-2);
    width: 90%;
    align-items: left;
    height:minmax(300px,auto);
    margin: 2em auto 5em auto;
  }

  .portfolio h2{
    color: var(--main-color-1);
    margin-bottom: 2em;
  }

  .port-title {
      align-self: flex-start;
      color: var(--main-color-1);
      font-size: 2em;
      height:100px;
      margin-left: 10%;
      margin-top: 5%;
  }
  .portfolio-cont {
/*      display:flex;
      justify-content: center;
*/
      display: grid;
      grid-template-columns:repeat(1,1fr);
      grid-gap: 2em;

      background-color: var(--main-color-2);
      grid-auto-rows: minmax(100px, auto);

  }

  .port-item {
     height:190px;
     background-size: contain;
     text-align: justify;
     border-radius: 12px;
     position: relative;
     line-height: 1.5em;
     width: 100%;
   

  }


  .port-item img{
      width: 100%;
      height: 100%;
      overflow: hidden;
  }


  .port-item ul {
      position: absolute;
      top: 50%;
      left: 10%;
      visibility: hidden;
      z-index: 10;
  }

  .port-item li {
      list-style-type: square;
  }

  .port-item:hover ul {
    visibility: visible;
  }


  .port-item h2 {
      text-align: center;
  }

  .overl {
      display:none;
      position: absolute;
      background-color: rgba(255,255,255,0.8);
      width: 100%;
      height: 50%;
      top: 40%;
  }

  .port-item:hover .overl{
      display: block;
  }

  .contact {
    display: flex;
    flex-direction: column;
    background-color:var(--main-color-2);
    color:var(--main-color-1);
    justify-content: center;
    width:80vw;
    margin:5em auto;
}

input[type=submit] {
  padding: 8px 16px 8px 16px;
  font-family: Ubuntu, sans-serif;
}

.contact h1::after {
    content: '';
    width: 115px;
    height: 3px;
    background:var(--main-color-1);
    margin-top: 10px;
    display: block;
}

.cont-fields {
    margin: 2em auto;
}

.cont-area li {
  margin-bottom: 1.5em;
}

.footer {
  position:fixed;
  bottom:0;
  z-index:2;
  display: flex;
  height: 3em;
  background-color:var(--main-color-1);
  justify-content: center;
  align-items: center;
  width: 100%;
  border-top: 1px solid #000;
  
  
}

.footer p{
   font-size:10pt;
}



  @media screen and (min-width:1000px){
	

    .logo {
        width: 50%;
    }

    .logo img{
        width: 100%;
    }

    .topnav {
        background-color: var(--main-color-2);
        color: var(--main-color-1);
        height: 40px;
        padding: 20px 1%;
        display: flex;
    }
    

    .navbar{
        justify-content: right;

    }

    .header {
        height: 142px;
    }


      #hamburger-menu {
        display: none;
      }

      .menu {
        display:flex;
        z-index: 10;
        width: 80%;
        margin-right: 2%;
        margin-left: 50%;
    }

    .bbar {
        position: relative;
        height: 1px;
        background-color: var(--main-color-2);
        opacity: 0.3;


    }

    .hero-image {
        position: relative;
        display: grid;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        background-color: var(--main-color-2);
        background: url(/images/hero-b.jpg);
        background-size: cover;
        height: 900px;
        
      }

      .dh1 {
        display: flex;
        align-items: flex-end;
        padding-bottom: 5%;
        
        }
        
        .dh3 {
            display: flex;
            align-items: flex-start;
            
        }
        
        .parallax h1 {
            position: absolute;
            font-size: 32px;
            margin: auto;
            color: var(--main-color-1);
            text-shadow: 1px 1px var(--main-color-2);
        }
        
        .parallax h3 {
            font-size: 18px;
            color: var(--main-color-1);
            text-shadow: 1px 1px var(--main-color-2);
        
        }
          
          
        
        
          .parallax .btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            background-color:var(--main-color-2);
            color: var(--main-color-1);
            font-size: 28px;
            font-weight: 700;
            padding: 12px 24px;
            border: none;
            cursor: pointer;
            border-radius: 12px;
            text-align: center;
            opacity: 0.8;
            filter: alpha(opacity=80);
          }
          
          .parallax .btn:hover {
            background-color:var(--main-color-1);
            color: #1c1b17;
          }

      .services {
      grid-template-columns: repeat(4,1fr);
      }

      .about {
        grid-template-columns: repeat(2,1fr);
        grid-gap: 2em;
        align-items: center;
        
    }

    .about-item {
        flex-direction: column;
        margin: 10% auto;
    }

    .portfolio-cont {
        grid-template-columns:repeat(4,1fr);
    }

    .contact {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-gap: 2em;
        align-items: center;
        background-color:var(--main-color-2);
        color:var(--main-color-1);
        justify-content: center;
        width:100%;
        margin:5em auto;
    }

    .contact h1::after {
        content: '';
        width: 115px;
        height: 3px;
        background:var(--main-color-1);
        margin-top: 10px;
        display: block;
    }

    .cont-fields {
        margin-top:2em;
        margin-right: 1em;
        align-content: flex-end;
    }


.footer p{
    font-size:12pt;
 }
 

  }



 #cookiePopup {
    background: white;
    width: 25%;
    position: fixed;
    left: 10px;
    bottom: 20px;
    box-shadow: 0px 0px 15px #cccccc;
    padding: 5px 10px;
  }
    #cookiePopup p{
    text-align: left;
    font-size: 15px;
    color: #4e4e4e;
  }
  #cookiePopup button{
    width: 100%;
    border: navajowhite;
    background: #097fb7;
    padding: 5px;
    border-radius: 10px;
    color: white;
  }

