/* #6096B4, #93BFCF, #BDCDD6, #EEE9DA  */
:root{
  --main-color:	#282828;
  --sec-color: #dcd9d2;
  --aux-color:	hsl(202, 23%, 79%);
  --light-color:	#cccccc;
  --txt-color:#315680;
  --bckg-color:hsla(204, 30%, 18%, 0.85);

}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Raleway", sans-serif;
}
body {
  background-color: var(--light-color);
  color: var(--txt-color);
}
h1 {
  font-weight: 400;
  font-size: 3em;
  letter-spacing: 3px;
}
p {
  font-size: 1.5em;
  font-weight: 400;
}
em {
  font-size: 1.25em;
  text-align: center;
}
.container {
  width: 100%;
  z-index: -1;
  margin: auto;
  background: var(--light-color);
  display: flex;
  flex-direction: column;
}

/* nav menu */

nav {
  display: flex;
  background-color: var(--main-color);
  position: fixed;
  left: 0;
  right: 0;
  justify-content: space-around;
  align-items: center;
  min-height: 8.5vh;
  color: var(--txt-color);
  z-index: 13;
}

.banner {
  position: relative;
  /* display: none; */
  margin: auto;
  margin-top: 10px;
  z-index: 2;
  height: 110px;
  width: 700px;

  
}

.logo img {
  width: 73px;
}

.logo {
  width: 15%;
  align-items: center;
}

.menu {
  display: flex;
  justify-content: space-around;
  width: 50%;
}

.menu a {
  text-decoration: none;
  font-size: 1.5em;
  color: var(--light-color);
  font-weight: 450;
  letter-spacing: 3px;
}

.menu p {
  font-size: 1.5em;
  font-weight: 450;
  letter-spacing: 3px;
  cursor: pointer;
}

.menu li:hover a {
  color: var(--txt-color);
}
.menu li {
  list-style: none;
}
.burger-btn {
  display: none;
  cursor: pointer;
}
.burger-btn:hover {
  opacity: 90%;
}
.burger-btn div {
  width: 25px;
  height: 3px;
  border-radius: 2px;
  margin: 4px;
  background-color: var(--light-color);
  transition: all 0.5s ease-in-out;
}
.burger-btn.open .middle-line {
  transform: translateX(-25px);
  background-color: transparent;
}
.burger-btn.open .top-line {
  transform: rotate(45deg) translate(5px, 4.5px);
}
.burger-btn.open .bottom-line {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* footer */
.footer-inner {
  display: flex;
  box-shadow: 0px -.5px 5px var(--main-color);
  background: var(--light-color);
  color: var(--txt-color);
  height: 75px;
}
.footer-inner p {
  margin: auto;
  font-size: 1em;
  text-align: center;
  text-transform: uppercase;
  word-spacing: 5px;
  letter-spacing: 2px;
}

/* index */

.showcase {
  background: url(/img/kitchen3.jpeg) no-repeat center center/cover;
  width: 100%;
  height: 100vh;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--sec-color);
  font-size: 2em;
  font-weight: bold;
  text-shadow: 1px 2px 2px var(--txt-color);
}
.showcase p {
  width: 600px;
}
#estimate-btn {
  background: #315680;
  font-size: 0.5em;
  text-shadow: none;
  color: var(--light-color);
  padding: 20px;
  margin-top: 150px;
  cursor: pointer;
}
#estimate-btn:hover {
  background: var(--txt-color);
  color: var(--main-color);
  opacity: 0.5;
}
.esp {
  margin-top: 15px;
  font-size: 0.6em;
  color: var(--txt-color);
  text-shadow: 1px 1px 1px var(--sec-color);
}

/* the whole site */

.content-wrap {
  padding-top: 50px;
  width: 95%;

  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  flex-direction: column;
}
.content-wrap h1 {
  margin: 30px;
}
.content-wrap p {
  letter-spacing: 2px;
  width: 70%;
  margin-bottom: 25px;

  flex-direction: row;
}
.cont-logo {
  display: flex;
  justify-items: center;
}
.cont-logo img {
  width: 25%;
  margin: auto;
  margin-bottom: 50px;
}

/* contact site */
.contact-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  padding-left: 5%;
  padding-right: 5%;
  margin: 25px 0;
}

.contact {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  grid-column: span 1;
}

.form {
  display: flex;
  flex-direction: column;
  justify-items: center;
  width: 100%;
  margin-top: 50px;
  grid-column: span 1;
}

.form input {
  border-radius: 5px;
  height: 2em;
}

.form p {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-content: space-around;
  width: 100%;
}

.form label {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-items: center;
}

.form p button {
  margin-top: 15px;
  height: 50px;
  width: 125px;
  background: var(--main-color);
  color: var(--light-color);
  font-size: 0.85em;
  letter-spacing: 2px;
  box-shadow: none;
  border: none;
  cursor: pointer;
}

.form p button:hover {
  background: var(--txt-color);
  color: var(--main-color);
  opacity: 0.5;
}

.form label input {
  justify-self: center;
  width: 250px;
  border-style: 1px solid;
}

.form label textarea {
  width: 500px;
  border-radius: 5px;
}
.calculator{
  margin: auto;
}
.contact h3 {
  margin-top: 50px;
  font-size: 1.8em;
  font-weight: 200;
  letter-spacing: 2px;
  text-align: center;
}

.contact p {
  font-size: 1em;
  text-align: center;
  margin: 20px;
  width: auto;
}

.contact-wrap a {
  grid-column: span 2;
}

.social {
  display: flex;
  flex-direction: column;
  margin: auto;
  justify-items: center;
  grid-column: span 1;
}

.social h1 {
  width: 50%;
  margin: auto;
  text-align: center;
}

.social-btn {
  background: #4267b2;
  margin: auto;
  margin-top: 25px;
  margin-bottom: 25px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-items: center;
  border-radius: 50px;
  color: #ffffff;
  cursor: pointer;
}

.social-btn a {
  color: var(--light-color);
  margin: auto;
}

.social-btn:hover {
  background: var(--main-color);
  color: var(--light-color);
}
.contact a {
  margin: auto;
  margin-top: 15px;
  padding-bottom: 10px;
  height: 50px;
  width: 125px;
  background: var(--main-color);
  color: var(--light-color);
  font-size: 0.85em;
  letter-spacing: 2px;
  box-shadow: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  justify-content: center;
  align-content: center;
}
.contact a>p{
  margin: auto;
  margin-top: 15px;
}


.social-btn i {
  margin: auto;
  margin-left: 20px;
  font-size: 2em;
}

/* service */

.service-top-img {
  width: 80%;
}
.service-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: auto;
  margin-top: 100px;
}

.service-paragraph {
  margin: 100px 0 0 25%;
  font-size: 1.5em;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 250%;
}
.service-paragraph p {
  margin: auto;
}
.showcase-img {
  display: flex;
  flex-direction: column;
  margin: auto;

  opacity: 0.8;
}

.showcase-img img {
  width: 35%;
  margin: 25px auto;
}
.service-footer {
  display: flex;
  justify-content: space-around;
  margin: 50px auto;
}

.service-footer img {
  width: 80%;
}
.service-footer h1 {
  margin: auto;
  margin-left: 20%;
  text-align: center;
  font-size: 4em;
}

.service-showcase a {
  text-decoration: none;
  color: var(--txt-color);
}

/* gallery */

.gallery {
  box-sizing: content-box;
  display: flex;
  flex-wrap: wrap;
  background-color: var(--main-color);
  width: 80%;
  margin-top: 25px;
}

.gallery > * {
  flex: 1 1 33%;
}
.img-container {
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.img-container img {
  width: 150%;
}

.gallery > *:hover {
  opacity: 0.5;
}

#lightbox {
  position: fixed;
  z-index: 1000;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--bckg-color);
  display: none;
}

#lightbox img {
 max-width: 90%;
 max-height: 90%;
 object-fit: contain;
  
}
.arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--light-color);
  cursor: pointer;
  z-index: 999;
}
 .prev{
  left: 20px;
 }
 .next{
  right: 20px;
 }
 .close{
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  color: var(--light-color);
  cursor: pointer;
 }

#lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1420px) {
  #lightbox img {
    width: 90%;
    height: auto;
  }

  .img-container img {
    width: auto;
    height: 125%;
  }
}

@media (max-width: 1248px) {
  .menu {
    width: 700px;
  }
  .service-footer h1 {
    margin: auto;
  }
  .service-paragraph {
    margin: auto;
    margin-bottom: 100px;
    font-size: 1.25em;

    height: 75%;

    line-height: 200%;
  }
  .showcase-img img {
    width: 50%;
  }
  .service-footer img {
    width: 50%;
  }
}

@media (max-width: 834px) {
  .burger-btn {
    display: block;
  }
  .menu {
    display: flex;
    position: fixed;
    z-index: 1000;
    top: 8.4vh;
    right: 0;
    width: 100%;
    height: 91.6vh;
    flex-direction: column;
    align-items: center;
    background-color: var(--main-color);
    transform: translateX(100%);
    transition: 0.5s ease-in;
    padding: 100px 0 100px 0;
    opacity: 90%;
  }
  .active {
    transform: translateX(0%);
  }
  .img-container {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  
  .showcase p {
    width: 90%;
  }
  .content-wrap {
    padding-top: 25px;
  }
  .content-wrap p {
    margin: auto;
    margin-top: 25px;
    width: 80%;
    font-size: 1.15em;
    text-align: center;
  }
 
  .contact h3 {
    margin: auto;
    text-align: center;
  }
  .content-wrap h1 {
    text-align: center;
    font-size: 2.5em;
    padding-top: 25px;
    margin-bottom: 25px;
  }
  .contact-wrap a {
    width: 85%;

  }
  .cont-logo img {
    height: 200px;
    margin-top: 55px;
    width: auto;
  }
  .footer-inner {
    left: 0;
    right: 0;
  }
  .footer-inner p {
    font-size: 0.5em;
    margin: auto;
    width: 90%;
  }
  .contact-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 0%;
    text-align: justify;
  }



  .contact {
    margin: auto;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  .contact h3 {
    margin: auto;
  }

  .calculator {
    margin-bottom: 150ox;
  }

  .form {
    justify-items: center;
  }
  .form p {
    justify-content: center;
    margin: auto;
    margin-top: 20px;
  }
  .form label input {
    margin: auto;
    width: 200px;
  }

  .form label textarea {
    width: inherit;
  }
  .form button{
    margin: auto;
    margin-bottom: 50px;
  }
  .social h1{
    font-size: 1.5rem;
  }
  .service-showcase {
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-top: 10px;
  }
  .service-paragraph {
    margin: 25px auto;

    font-size: 1.25em;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 150%;
  }

  .service-paragraph p {
    margin-bottom: 30px;
  }

  .service-paragraph a {
    font-size: 0.75em;
    margin-top: 25px;
  }
  .showcase-img {
    flex-direction: row;
    height: 100%;
    gap: 25px;
  }
  .showcase-img img {
    height: 250px;
    width: auto;
  }
  .service-top-img {
    width: 100%;
  }
  .service-footer {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-around;
    margin: auto;
  }
  .service-footer img {
    width: 100%;
    margin-top: 35px;
  }
  .service-footer h1 {
    margin: auto;
  }
/* 
  .gallery > * {
    flex: 1 1 100%;
  } */

  .gallery {
    background: var(--light-color);
    gap: 25px;
    width: 90%;
  }
}
@media (max-width: 700px){
   .banner {
    /* top: 50px;*/
    display: none; 
    width: 600px;
    /* left: -50px;
    padding: 0%; */
  }
}
@media (max-width: 414px) {
  .showcase {
    font-size: 1.5em;
    font-weight: bolder;
  }

  .showcase-img {
    gap: 10px;
  }
  .showcase-img img {
    height: 150px;
  }
}
@media (max-width: 325px) {
  .showcase-img img {
    height: 125px;
  }
}
@media (max-height: 736px) {
  .logo img {
    width: 58px;
  }
}

@media (max-height: 568px) {
  .menu {
    top: 9vh;
  }
  .gallery > * {
    flex: 1 1 33%;
  }

  #lightbox img {
    width: 90%;
    height: auto;
  }

  .img-container{
    height: 50vh;
  }

  .img-container img {
    width: auto;
    height: 70%;
  }

  .gallery {
    background: var(--light-color);
    gap: 10px;
    width: 90%;
  }
}
