@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
}

.wrapper{
  width: 100%;
  height: auto;
  position: absolute;
  background-color: #f4f4f4ff;
}

            /* arrow to top*/

.arrow-top {
  position: fixed;
  right: 10px;
  bottom: 45px;
  visibility: hidden;
  opacity: 0;
  z-index: 1000000;
  transition: 0.5s;
  }

.arrow-top a{
  color: #0044aa;
  text-decoration: none;
}

.arrow-top i{
  font-size: 20px;

}

.arrow-top.active{
  visibility: visible;
  opacity: 1;
}
              /* Header */

header{
  width: 100%;
  height: auto;
}


              /* TOP INFO */

.top-info{
  width: 100%;
  height: 50px;
  background-image: url(images/blue-tile.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-info a{
  font-size: 1.2rem;
  text-decoration: none;
  margin-left: 50px;
  color: darkorange;
  }

.top-info a:hover{
  color: white;
}

          /* Navigatin */

.meni{
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav{
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-left: 100px;
}

.logo img{
  width: 350px;
  height: auto;
  margin-left: 10%;
}

ul{
  display: flex;
  list-style: none;
  position: relative;
}

ul li{
  font-size: 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
  margin-right: 15px;
  font-weight: 600;
  letter-spacing: 0.1rem;
  display: block;
}

ul li a{
  text-decoration: none;
  color: darkblue;
}
ul.dropdown{
  display: none;
  width: 100%;
  position: absolute;
  left: -20px;
  z-index: 100;
  background-color: #f4f4f4ff;
  padding-top: 20px;
}

ul.dropdown li {
padding: 10px;
text-align: center;
border-bottom: 1px solid darkorange;
margin-right: 0px;
text-transform:  capitalize;
}

ul li:hover  ul.dropdown{
  display: block;
}

ul li a:hover{
  color: darkorange;
}

ul li.quote a{
  font-size: 1.1rem;
  font-weight: 800;
  color: darkorange;
  letter-spacing: 0;
}

ul li.quote a:hover{
  color: darkblue;
}

.social-icon a{
  color: darkblue;
}

.social-icon a:hover{
  color: darkorange;
}

.social-icon i{
  font-size: 1.5rem;
  margin-left: 10px;
}

.hamburger{
  display: none;
}

.hamburger span{
  width: 25px;
  height: 2px;
  margin-top: 5px;
  background-color: darkblue;
}

              /* Main */

.main-contact{
  width: 100%;
  height: 500px;
  background-image: url(images/bathroom-tiles1-hamilton.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  background-size: cover;
  text-align: center;
}

.main-contact h1{
  padding-top: 70px;
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  color: white;
  line-height: 2rem;
}

.contact-holder{
  width: 90%;
  height: auto;
  background-color: white;
  margin: 70px auto;
  display: flex;
  padding-top: 50px;
  justify-content: space-around;

}

.contact-info{
  width: 45%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6rem;
}

.contact-info a{
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  color: darkorange;
  margin-bottom: 0.8rem;
}

.contact-info a:hover{
  color: darkblue;

}

.contact-info p{
  text-decoration: none;
  font-size: 1rem;
  color: darkblue;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

     /* Contact Form */

.contact-text{
  width: 55%;
  height: auto;
}

form{
  width: 100%;
  height: 90%;
  position: relative;
  margin: 1.5rem auto;  ;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;

}

form h2{
  font-size: 1.2rem;
  color: darkblue;
  margin-bottom: 1.5rem;
}

form input{
  width: 500px;
  height: 50px;
  border: none;
  border: 0.5px solid darkorange;
  margin: 20px;
  padding: 1rem;
  outline: none;

}

form textarea{
  width: 500px;
  border: none;
  border: 0.5px solid darkorange;
  margin: 20px;
  padding: 1rem;
  outline: none;
}
 .send{
  width: 180px;
  background: darkorange;
  text-transform: uppercase;
  font-size: 1.1rem;
  color: white;
  cursor: pointer;

}


@media all and (max-width: 1435px){

  .hamburger {
    font-size: 2rem;
    color: darkblue;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 2rem;
    cursor: pointer;
  }

  .hamburger.active span{
    margin-top: 0;
  }

  .hamburger.active .span1{
    display: none;
  }

  .hamburger.active .span2{
    transform: rotate(50deg) translateX(1.2px);
    transition: 0.5s ease-out;

  }

  .hamburger.active .span3{
    transform: rotate(-50deg) translateX(1.2px);
    transition: 0.5s ease-out;
  }


  nav{
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    top: 170px;
    margin-left: 0;
    width: 100%;
    height: calc(100vh - 170px);
    background-color: white;
    z-index: 200;
  }

  ul{
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  ul li{
      font-size: 1.3rem;
      padding-bottom: 1rem;
  }
  ul li.quote a{
    font-size: 1.3rem;
  }
  ul.dropdown{
    margin-top: 5px;
  }



  nav.active{
    visibility: visible;
  }
}



@media all and (max-width: 1100px){
  .logo img{
    width: 300px;
    height: auto;
    margin-left: 20%;
  }

  .contact-holder{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .contact-info{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
  }

  .contact-text{
    width: 100%;
    height: auto;
    margin-top: 2rem;
  }

}
@media all and (max-width: 500px){
  .top-info a{
    font-size: 0.8rem;
    margin-left: 15px;
    }

    .logo img{
      width: 200px;
      height: auto;
      margin-left: 5%;
    }

    .hamburger {
      margin-top: -10px;
    }

    .hamburger span{
      width: 20px;
      height: 2px;
      margin-top: 5px;
      background-color: darkblue;
    }

    .main-contact{
      width: 100%;
      height: 300px;

    }

    .main-contact h1{
      margin-left: 2%;
      margin-right: 2%;
      font-size: 1.2rem;

    }
    form input{
      width: 280px;
      height: 50px;
      border: none;
      border: 0.5px solid darkorange;
      margin: 20px;
      padding: 1rem;
      outline: none;

    }

    form textarea{
      width: 280px;
      border: none;
      border: 0.5px solid darkorange;
      margin: 20px;
      padding: 1rem;
      outline: none;
    }
     .send{
      width: 100px;
      background: darkorange;
      text-transform: uppercase;
      font-size: 1rem;
      color: white;
      cursor: pointer;

    }

}
