/*global rules*/
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.container {
  margin: auto;
  padding-right: 15px;
  padding-left: 15px;
}

ul {
  list-style: none;
}

body {
  font-family: "Barlow", serif;
  text-transform: capitalize;
}

button {
  border: 0;
  outline: none;
}

/* start grid system */
@media (min-width: 576px) { /*small devices*/
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) { /*medium devices*/
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) { /*desktop devices*/
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) { /*large devices*/
  .container {
    max-width: 1140px;
  }
}
.landing {
  background-image: url(../images/desktop/image-header.jpg);
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100svh;
}

footer ul, .gallery, .testimonials .container, .about-us, header .container nav ul, header .container {
  display: flex;
  align-items: center;
}

header {
  padding-top: 20px;
}
header .container {
  justify-content: space-between;
}
header .container nav ul li {
  margin-left: 30px;
  color: hsl(0, 0%, 100%);
  cursor: pointer;
}
header .container nav ul li.contact {
  background-color: hsl(0, 0%, 100%);
  color: hsl(212, 27%, 19%);
  width: 90px;
  display: grid;
  place-content: center;
  padding: 7px 20px;
  border-radius: 17px;
  -webkit-border-radius: 17px;
  -moz-border-radius: 17px;
  -ms-border-radius: 17px;
  -o-border-radius: 17px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}
header .container nav ul li.contact:hover {
  background-color: hsl(198, 62%, 26%);
  color: hsl(0, 0%, 100%);
}
header .container nav .menue {
  display: none;
}

main {
  position: relative;
}
main h1 {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 130px;
  color: hsl(0, 0%, 100%);
  letter-spacing: 4px;
  font-size: 2.5rem;
  font-family: "Fraunces", serif;
  text-transform: uppercase;
}
main > img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

@media (max-width: 767px) {
  main > img {
    margin-top: 140px;
  }
  main .container nav {
    position: relative;
  }
  main .container nav .menue {
    display: block;
    cursor: pointer;
  }
  main .container nav ul {
    margin-top: 50px;
    position: absolute;
    background-color: hsl(0, 0%, 100%);
    flex-direction: column;
    right: 5px;
    width: 350px;
  }
  main .container nav ul.none {
    display: none;
  }
  main .container nav ul::before {
    content: "";
    position: absolute;
    top: -10px;
    right: -20px;
    border: 20px solid transparent;
    border-top-color: hsl(0, 0%, 100%);
    transform: rotate(318deg);
    -webkit-transform: rotate(318deg);
    -moz-transform: rotate(318deg);
    -ms-transform: rotate(318deg);
    -o-transform: rotate(318deg);
  }
  main .container nav ul li {
    color: hsl(210, 4%, 67%);
    font-weight: bold;
    margin-left: 0;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 19px;
  }
  main .container nav ul li.contact {
    background-color: hsl(51, 100%, 49%);
    width: 100px;
    padding: 10px 20px;
    margin-bottom: 30px;
  }
}
/*class */
/*start about us */
.about-us {
  flex-wrap: wrap;
}
.about-us .box:nth-child(1) span::before {
  background-color: hsl(51, 100%, 49%);
}
.about-us .box:nth-child(4) span::before {
  background-color: hsl(7, 99%, 70%);
}
.about-us .box:nth-child(1), .about-us .box:nth-child(4) {
  display: grid;
  place-content: center;
}
.about-us .box:nth-child(1) h2, .about-us .box:nth-child(4) h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: hsl(212, 27%, 19%);
}
.about-us .box:nth-child(1) h2 div, .about-us .box:nth-child(4) h2 div {
  text-align: left;
}
.about-us .box:nth-child(1) p, .about-us .box:nth-child(4) p {
  width: 400px;
  color: hsl(213, 9%, 39%);
  line-height: 1.6;
  margin-bottom: 30px;
}
.about-us .box:nth-child(1) span, .about-us .box:nth-child(4) span {
  color: hsl(212, 27%, 19%);
  font-weight: 900;
  text-transform: uppercase;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  cursor: pointer;
}
.about-us .box:nth-child(1) span:hover::before, .about-us .box:nth-child(4) span:hover::before {
  opacity: 1;
}
.about-us .box:nth-child(1) span::before, .about-us .box:nth-child(4) span::before {
  content: "";
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  position: absolute;
  bottom: 0;
  left: -5px;
  width: calc(100% + 10px);
  opacity: 0.4;
  height: 5px;
  border-radius: 7px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  -o-border-radius: 7px;
}
.about-us .box {
  width: 50%;
}
.about-us .box h2, .about-us .box span {
  font-family: "Fraunces", serif;
}
.about-us .box img {
  width: 100%;
}
.about-us .box.imagebox {
  position: relative;
}
.about-us .box.imagebox:nth-child(5) h2, .about-us .box.imagebox:nth-child(5) p {
  color: hsl(167, 40%, 24%);
}
.about-us .box.imagebox:nth-child(6) h2, .about-us .box.imagebox:nth-child(6) p {
  color: hsl(198, 62%, 26%);
}
.about-us .box.imagebox .content {
  position: absolute;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%);
  bottom: 40px;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  text-align: center;
}
.about-us .box.imagebox .content h2 {
  margin-bottom: 20px;
}
.about-us .box.imagebox .content p {
  font-size: 15px;
  line-height: 1.7;
  width: 300px;
}

@media (max-width: 767px) {
  .about-us {
    flex-direction: column;
  }
  .about-us .box {
    margin-top: -3px;
    width: 100%;
  }
  .about-us .box:nth-child(1) {
    order: 1;
  }
  .about-us .box:nth-child(2) {
    order: 0;
  }
  .about-us .box:nth-child(3) {
    order: 2;
  }
  .about-us .box:nth-child(4) {
    order: 3;
  }
  .about-us .box:nth-child(5) {
    order: 4;
  }
  .about-us .box:nth-child(6) {
    order: 5;
  }
  .about-us .box:not(.about-us .box.imagebox) h2 {
    text-align: center;
    font-size: 2em;
    margin-top: 50px;
  }
  .about-us .box:not(.about-us .box.imagebox) h2 div {
    text-align: center;
  }
  .about-us .box:not(.about-us .box.imagebox) p {
    text-align: center;
    margin: auto;
    font-size: 15px;
    width: 300px;
    margin-bottom: 20px;
  }
  .about-us .box:not(.about-us .box.imagebox) span {
    margin: auto;
    margin-bottom: 50px;
  }
}
@media (min-width: 768px) and (max-width: 990px) {
  .box:not(.box.imagebox) h2 {
    font-size: 2em;
  }
  .box:not(.box.imagebox) p {
    font-size: 15px;
  }
}
/*end about us */
/*start testimonials*/
.testimonials {
  padding-top: 120px;
  padding-bottom: 120px;
  background-color: hsl(0, 0%, 100%);
}
.testimonials h3 {
  text-align: center;
  text-transform: uppercase;
  color: hsl(210, 4%, 67%);
  font-family: "Fraunces", serif;
  letter-spacing: 3px;
}
.testimonials .container {
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonials .container .user-box {
  text-align: center;
  margin-top: 50px;
}
.testimonials .container .user-box img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  margin-bottom: 20px;
}
.testimonials .container .user-box p {
  color: hsl(213, 9%, 39%);
  font-weight: 600;
  font-size: 15px;
  width: 300px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.testimonials .container .user-box .info h2 {
  color: hsl(212, 27%, 19%);
  font-size: 18px;
  font-family: "Fraunces", serif;
  margin-bottom: 10px;
}
.testimonials .container .user-box .info span {
  color: hsl(232, 10%, 55%);
  font-size: 13px;
}

/*end testimonials*/
/*start gallery*/
.gallery img {
  width: 25%;
}

@media (max-width: 767px) {
  .gallery {
    flex-wrap: wrap;
  }
  .gallery img {
    width: 50%;
  }
}
/*end gallery*/
/*start icones*/
footer {
  text-align: center;
  background-color: hsl(168, 34%, 41%);
  padding: 50px 0;
}
footer h3 {
  font-size: 1.5em;
  color: hsl(167, 40%, 24%);
  margin-bottom: 20px;
}
footer ul {
  justify-content: center;
  gap: 20px;
  color: hsl(167, 40%, 24%);
}
footer .icones img {
  margin-top: 50px;
  margin-right: 20px;
}

/*end icones*/
.none {
  display: none;
}/*# sourceMappingURL=main.css.map */