@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Montserrat:wght@100;200;400;700&family=Raleway:wght@700&family=Tangerine&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  /* font-family: 'Lora', serif;
font-family: 'Montserrat', sans-serif;
font-family: 'Raleway', sans-serif;
font-family: 'Tangerine', cursive; */
}

:root {
  --grey: #999;
  --swiper-theme-color: #fff;
}

html {
  font-size: 62.5%;
}

section {
  padding: 3rem 0;
}

header {
  height: 97vh;
}

.nav {
  /* background: transparent; */
  background-color: rgba(128, 128, 128, 0.327);
  padding: 1.5rem 0 0.5rem 0;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  z-index: 100;
}

.nav_cont {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.nav_cont ul {
  display: flex;
  align-items: center;
}

.hamberger {
  display: none;
}

.nav_cont ul li {
  list-style: none;
  margin-left: 1.5rem;
}

.nav_cont ul li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-family: "Raleway", sans-serif;
  font-size: 1.6rem;
}

/* ---------------------- swipper starts ------------------------ */

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------- swipper ends ------------------------ */

.disc_left {
  text-align: center;
  padding: 2rem;
}

.disc_left h1,
.work_cont h1 {
  font-family: "Tangerine", cursive;
  font-size: 8rem;
  color: var(--grey);
  line-height: 5rem;
}

.disc_left h2,
.work_cont h2 {
  font-size: 3.5rem;
  word-spacing: 0.7rem;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
}

.disc_left p {
  font-size: 1.7rem;
  color: #5e5c5c;
  margin: 2.5rem 0;
}

.btns {
  border: 4px solid #7d7a7a;
  display: inline-block;
}

.disc_left input {
  font-size: 1.7rem;
  padding: 1.2rem 3.5rem;
  background-color: #7d7a7a;
  color: white;
  border: 1px solid white;
  outline: none;
  font-weight: 500;
}

.disc_right {
  padding: 5rem;
}

/* ------------------------------------- */
.passion {
  height: 35rem;
  background: url("/images/background.jpg") no-repeat, rgba(34, 34, 34, 0.4);
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.passion h1 {
  color: rgba(255, 255, 255, 0.697);
  font-size: 8rem;
  font-weight: 500;
  font-family: "Tangerine", cursive;
}

.blank {
  height: 45rem;
  background: url("https://images.unsplash.com/photo-1679558879549-433b75ae99f0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1932&q=80");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

/* -------------------------------------- */

.work_cont {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3.5rem;
}

.photo_cont {
  display: inline-block;
  margin-bottom: 5rem;
}
.item {
  text-decoration: none;
  margin: 5rem 0;
}

.item h3 {
  margin: 2rem 0 1.8rem 0;
  font-size: 2.5rem;
  color: #292727;
  letter-spacing: 0.2rem;
  font-family: "Raleway", sans-serif;
}

.photo {
  max-width: 30rem;
  border-radius: 0.6rem;
  position: relative;
}

.photo a img {
  max-height: 40rem;
  border-radius: 0.3rem;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition: all 0.3s linear;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #99999993;
  opacity: 0;
}

.overlay:hover {
  opacity: 1;
}

.click a {
  font-family: "Raleway", sans-serif;
  font-size: 1.3rem;
  padding: 1.3rem 2rem;
  color: white;
  background-color: #5e5c5c;
  text-decoration: none;
  transition: all 0.2s linear;
}

.click a:hover {
  background-color: #787373;
}

/* ---------------------------------- */

.newblank {
  height: 45rem;
  background: url("https://images.unsplash.com/photo-1489171078254-c3365d6e359f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1931&q=80");
  background-position: center;
  background-size: cover;
  /* background-attachment: fixed; */
  margin-bottom: 0.3rem;
}

.whatsapp {
  height: 45rem;
  background: url("https://www.falegnameriamarchigiana.it/images/bg4_4_4_4.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.whatsapp h1 a {
  font-size: 3.6rem;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.5rem;
  font-weight: 700;
  color: #000;
  text-decoration: none;
}

.whatsapp h1 a:hover {
  color: rgb(60, 60, 226);
}

.whatsapp p {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 3.5rem;
}

.whatsapp a {
  text-decoration: none;
  color: #000;
}

.whatsapp a:hover {
  color: rgb(60, 60, 226);
}

.whatsapp p img {
  width: 3.3rem;
}

/* ------------------------- */

.footer {
  min-height: 45rem;
  background: url("https://www.falegnameriamarchigiana.it/images/footer-bg.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer_cont {
  color: #fff;
}

.one h3,
.two h3,
.three h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.one p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.line {
  height: 0.3rem;
  width: 4rem;
  background-color: #ddd;
  margin: 1.5rem 0;
}

.two a {
  color: #ddd;
  text-decoration: none;
  font-size: 1.4rem;
  font-family: "Montserrat", sans-serif;
}

.three p a,
.three p {
  text-decoration: none;
  margin-left: 1rem;
  font-size: 1.6rem;
  color: #fff;
}

.three p a:hover {
  color: #c5bebe;
}

.oneLink {
  font-size: 1.6rem;
  text-decoration: none;
  color: #fff;
  border: none;
  outline: none;
  background-color: #787373;
  padding: 1.3rem 1.8rem;
  transition: all 0.2s linear;
  border-radius: 0.3rem;
}

.oneLink:hover {
  background-color: #969090;
}

.one,
.two,
.three {
  padding: 2rem 3rem;
  margin: 1rem 0;
}

/* ------------------------------ second swipper ------------------- */

/* ------------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
  .next {
    display: none !important;
  }
}

/* ------- Media queries ------------- */

@media (max-width: 994px) {
  html {
    font-size: 55%;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 50%;
  }

  header {
    height: 50vh;
  }
  .nav_cont ul {
    display: none;
  }

  .hamberger {
    display: block;
  }

  .nav_cont {
    align-items: center;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 45%;
  }

  .logo img {
    width: 15rem;
  }

  .whatsapp {
    padding: 0 0.5rem;
  }

  .whatsapp h1 a {
    font-size: 3rem;

    letter-spacing: 0.3rem;
    font-weight: 600;
  }

  .whatsapp {
    height: 30rem;
  }

  .blank,
  .newblank {
    height: 35rem;
  }

  .disc_right {
    padding: 2rem;
  }

  .photo {
    max-width: 35rem;
  }

  .one h3,
  .two h3,
  .three h3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 415px) {
  .photo {
    width: 120rem;
  }

  .photo_cont {
    margin-bottom: 3rem;
  }
}
