* {
  margin: 0;
  padding: 0;
}



body {
  font-size: 18px;
  font-family: 'Baskerville', serif;
  font-weight: 300;
  font-style: normal;
  color: rgb(75, 75, 75);
  opacity: 0.9;
  background-color: white;
}

/* Header */

header {
  top: 0;
  position: fixed;
  z-index: 100;
  width: 100%;
  border-bottom: solid 1px #c6c1c1;
  background-color: rgb(249, 249, 249);
  margin: 0;
}

header .content {
  display: flex;
  align-items: center;
  padding: 12px;
  flex-wrap: wrap;
  flex-direction: row;
}

header .logo {
  flex: 1;
  height: 30%;
  margin: 10px 20px;
}

header .logo img {
  height: 35px;
  object-fit: contain;

}


header nav ul {
  display: flex;
  padding-right: 30px;
}

nav li {
  padding-left: 3.5rem;
}

nav a {
  vertical-align: bottom;
  line-height: 1.6;
  font-size: 1rem;
  color: #4a4a4a;
}

nav a:hover {
  color: #dc1f1f;
}

nav .button {
  padding: .1875rem .5rem;
  background-color: #9dc20b;
  line-height: 1.6;
  color: white;
}

a{
  color: #dc1f1fda;

}

a:hover{
  color: #dc1f1f;
}

header .icon {
  width: 20%;
  padding-left: .75rem;
}



.banner {
  width: auto;
  justify-content: center;
  margin-left: 50px;
  display: flex;
  justify-content: center;
  display: block;
  align-items: left;
  z-index: 1;
}




.about {

  font-size: 20px;
  margin: 10px 10px 10px 0px;
  padding: 10px 10px 10px 10px;
  width: 20%;
  line-height: 1.2;
  text-align: justify;
  display: flex;
  justify-content: center;
  align-items: center;

}

.grid {
  margin: 100px 10px 10px 10px;
  border: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  justify-content: space-evenly;
}

.img-wrapper {
  margin: 10px;
  max-width: 47vw;
  transition: 0.3s;
  overflow: hidden;
  position: relative;
}


.img-wrapper img {
  max-width: 47vw;
  object-fit: contain;
  transition: 0.3s;
  max-height: 500px;
  z-index: 0;
}

.img-wrapper-large {
  max-width: 65%;
  overflow: hidden;
  margin: 10px 10px;

  max-height: 500px;
  align-self: flex-start;
  color: white;
  position: relative;

}

.img-wrapper-large img {
  transition: 0.3s;
  z-index: 1;
  max-width: 100%;
}


.img-wrapper:hover img {

  filter: brightness(80%);
  transform: scale(1.1);
}

.img-wrapper-large:hover img {

  filter: brightness(80%);
  transform: scale(1.1);
}


.img-wrapper p {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  opacity: 0;
  transition: 0.3s;
  color: rgb(250, 250, 250);
  font-size: 25px;
}

.img-wrapper-large p {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  opacity: 0;
  transition: 0.3s;
  color: rgb(250, 250, 250);
  font-size: 25px;
}


.img-wrapper:hover p {
  opacity: 70;

}

.img-wrapper-large:hover p {
  opacity: 70;

}





.footer {
  padding: 10px 10px 10px 10px;
  margin-top: 30px;
  width: 100%;
  display: flex;
  flex-basis: content;
  background-color: rgb(249, 249, 249);
  line-height: 1.2;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  border-top: solid 1px #c6c1c1;
  overflow: hidden;

}

.contact,
.products {
  margin: 10px 10px 20px 5px;
  padding: 10px 20px;
  color: rgb(118, 118, 118);
  font-size: 16px;
  line-height: 1.2;
  width: 20%;
}


h3 {

  line-height: 3;
  font-size: 22px;
  color: rgb(255, 55, 55);
  text-transform: capitalize;
}

h4 {
  font-weight: 400;
  line-height: 2;
  font-size: 18px;

}

.map {
  height: 380px; 
  flex-basis: 45%;
  margin: 10px 10px 10px 10px;
  padding: 20px 10px;
}

gmp-map {
  height: 100%;
}


@media only screen and (max-width: 1000px) {
  header .content {
    flex-direction: column;
  }


  .grid{
    margin-top: 130px;
  }

  .img-wrapper {
    max-width: 100%;

  }


  .img-wrapper img {
    max-width: 100%;

  }

  .img-wrapper-large {
    max-width: 100%;


  }

  .img-wrapper-large img {
    transition: 0.3s;
    z-index: 1;
    max-width: 100%;
  }


  .about {
    width: 90%;
  }

  .logo {
    justify-self: center;
  }

  .logo img {
    height: 30px;
  }

  .footer {
    justify-content: center;
  }

  .map {
    flex-basis: 90%;
    justify-self: center;
  }
}