:root {
  --primary-color: #000000;
  --secondary-color: #ffffff;
  --tertiary-blue-color: #0b25c6;
  --tertiary-grey-color: #ccc8c0 ;
  --tertiary-light-grey-color: #f8f8f8;
  --tertiary-dark-grey-color: #777777;
  --primary-height: 61.5px;
  --primary-padding: 50px;
  }

* {
  box-sizing: border-box;
  font-family: lato;
  }   

html{
  font-size: 12px;
  }
    
.topnav {
  align-items: center;
  background-color: var(--secondary-color);
  border-bottom: 1px solid #ccc8c0;
  display: flex;
  font-size: 1rem;
  height: var(--primary-height);
  justify-content: space-between;
  left: 0;
  letter-spacing: 0.15rem;
  margin: 0%;
  padding: 0 var(--primary-padding);
  position: fixed;
  right: 0;
  text-transform: uppercase;
  z-index: 10;
  }

.topnav .active{
  color: var(--tertiary-blue-color);
  font-weight: bold;
  }

.logo-topnav{
  align-items: center;
  display: flex;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: calc(61.5px / 2);
  transform: translate(-50%, -50%);
  }

.menu-topnav {
  display: flex;
  justify-content: center;
  width: 100%;
  }

.topnav-right{
  align-items: center;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  }
  
.topnav-left{
  align-items: center;
  display: flex;
  width: 100%;
  }
    
.topnav-right a {
  color: var(--primary-color);
  padding: 14px 30px 14px 0px;
  position: relative;
  text-align: center;
  text-decoration: none;
  }
  
.topnav-left a {
  color: var(--primary-color);
  padding: 14px 30px 14px 0px;
  text-align: center;
  text-decoration: none;
  }
  
.topnav a:hover {
  text-decoration: underline;
  }

.searchicon-topnav {
  content: url(../resources/icons/magnifying-glass.svg);
  cursor: pointer;
  display: block;
  height: 40px;
  width: 16px;
  }
  
.hamburger-container {
  align-items: center;
  cursor: pointer;
  display: inline-block;
  height: 100%;
  user-select: none;
  }
        
.hamburger-container .hamburger-icon {
  background: transparent;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 25px;
  }
        
.hamburger-container .hamburger-icon:after,
.hamburger-container .hamburger-icon:before {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
  }
              
.hamburger-container .hamburger-icon:before {
  top: 5px;
  }
        
.hamburger-container .hamburger-icon:after {
  top: -5px;
  }
              
.hamburger-btn {
  display: none;
  }
           
.hamburger-btn:checked ~ .hamburger-container .hamburger-icon:before {
  transform: rotate(-45deg);
  }
        
.hamburger-btn:checked ~ .hamburger-container .hamburger-icon:after {
  transform: rotate(45deg);
  }
        
.hamburger-btn:checked ~ .hamburger-container:not(.steps) .hamburger-icon:before,
.hamburger-btn:checked ~ .hamburger-container:not(.steps) .hamburger-icon:after {
  top: 0;
  }
  
.menu-titel {
  align-items: center;
  display: flex;
  justify-content: center;
  }
  
.sub-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
  }
  
.sub-menu li a{
  font-size: 1rem;
  font-weight: 300;
  padding: 10px 20px;
  }

.drop-search{
  left: -100%;
  opacity: 0;
  position: absolute;
  top: 61.5px;
  transition: visibility 0.3s, opacity 0.3s ease-in-out;
  width: 100%;
  }

.search-from {
  margin: 0;
  padding: 0;
}

.search-icon {
  cursor: pointer;
  display: inline-block;
  padding: 34px 20px;
  position: absolute;
  right: 30px;
  user-select: none;
  }

.closeicon {
  content: url(../resources/icons/close.svg);
  display: block;
  height: 16px;
  width: 16px;
  }

.search-bar {
  align-items: center;
  background-color: var(--secondary-color);
  display: flex;
  height: 61.5px;
  outline : 1px solid #ccc8c0;
  position: relative;
  width: 100%;
  }

.searchTerm {
  align-items: center;
  background-color: transparent;
  border-right: none;
  border: none;
  color: var(--primary-color);
  height: 20px;
  letter-spacing: 0.1rem;
  outline: none;
  padding: 0 var(--primary-padding);
  width: 100%;
  }

.searchTerm:focus{
  color: black;
  }

.search-btn {
  display: none;
  position: absolute;
  right: 25px;
  top: 25px;
  width: 40px;
  }

.search-btn:checked ~ .drop-search {
  left: 0;
  opacity: 1;
  visibility: visible;
  }
     
@media screen and (max-width: 874px) {
  .topnav {
    display: block;
    padding: 10px 35px;
    }

  .hamburger-container {
    display: flex;
    }

  .menu-topnav {
    background-color: var(--secondary-color);
    display: block;
    font-size: 2rem;
    height: 100vh;
    left: 0;
    opacity: 0;
    position: absolute;
    transition: visibility 0.2s, opacity 0.2s ease-in-out;
    visibility: hidden;
    }

  .topnav-left {
    flex-direction: column;
    margin-top: 50px;
    }

  .topnav-left a,
  .topnav-right a{
    padding: 30px 30px 5px 30px;
    }

  .topnav-right {
    flex-direction: column;
    justify-content: center;
    margin-bottom:20px;
    }

  .searchicon-topnav {
    position: absolute;
    right: 36px;
    top: 12px;
    }

  .hamburger-btn:checked ~ .menu-topnav {
    opacity: 1;
    visibility: visible;
    }

  .search-icon{
    left: -15px;
    position: relative;
    }

  .searchTerm {
    padding: 30px;
    }
  
  .topnav .active {
    color: var(--primary-color);
    font-weight: 500;
  }
}

@media screen and (min-width: 875px) {
  
  .hamburger-container {
    display: none;
    }
  
  .products-hover:hover ~ .sub-menu {
    display: block;
  }

  .sub-menu:hover {
    display: block;
  }

  .sub-menu{
    background: var(--secondary-color);
    box-shadow: 0px 1px 3px 0px var(--tertiary-grey-color);
    display: none;
    left: 30px;
    margin: 0;
    padding: 5px 80px 20px 20px;
    position: absolute;
    text-align: justify;
    top: 61px;
    }

  .product-list {
    margin: 20px 0;
  }
  
  .sub-menu li a {
    padding: 0;
  }

  .menu-topnav {
    height: 100%;
    }

  .topnav-left a {
    align-items: center;
    display: flex;
    height: 100%;
    }
  }







    


