/*
--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Line heights
Default: 1
Small: 1.05
Medium: 1.2
Paragraph default: 1.6
Large: 1.8

- Letter spacing
-0.5px
0.75px

--- 02 COLORS

- Primary:
 #f2a900

- Light Tints:
#fef6e6
#fceecc
#fbe5b3
#fadd99

#f7cb66

- Darker Tints:

#c28700
#da9800

- Shades: 
#cf711f
#45260a

- Accents:
- Greys

#888
#767676 (lightest grey allowed on #fff)
#6f6f6f (lightest grey allowed on #fdf2e9)
#555 #444
#333

--- 05 SHADOWS

0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

--- 06 BORDER-RADIUS

Default: 9px
Medium: 11px

--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

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

*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Rubik", sans-serif;
  color: #444;
  padding: 0 /* 1rem */;
}

:target {
  scroll-margin-top: 12.8rem;
}

/* -------- NAV2 ----------- */

.header {
  width: 100%;
  height: 8rem;
  padding: 0.6rem;
  border-top: 0.5rem solid #fff;
  background-color: #f2a900;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header2 {
  width: 100%;
  height: 8rem;
  padding: 0.6rem;
  border-top: 0.5rem solid #f2a900;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

/* ----------------- START 2ND HEADER HR STYLE  ------------------- */

.logo2 {
  height: 5.2rem;
}

nav ul {
  height: 100%;
}

.header ul,
.header2 ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.header ul li,
.header2 ul li {
  font-size: 1.6rem;
  padding-right: 1.8rem;

  /*  padding: 2.4rem; */
  list-style: none;
  text-decoration: none;
}

/* -------- Header primary ----------- */

.main-nav-link2 {
  text-decoration: none;
}

.main-nav-link2:link,
.main-nav-link2:visited {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link2:hover,
.main-nav-link2:active {
  color: #fceecc;
}

.main-nav-link2.nav-cta2:link,
.main-nav-link2.nav-cta2:visited {
  padding: 1.2rem;
  border-radius: 0.5rem;
  color: #fff;
  background-color: #da9800;
}

.main-nav-link2.nav-cta2:hover,
.main-nav-link2.nav-cta2:active {
  background-color: #c28700;
  color: #fceecc;
}

#hamburger-icon2 {
  margin: auto 3rem auto 0;
  display: none;
  cursor: pointer;
}

#hamburger-icon2 div {
  width: 35px;
  height: 3px;
  background-color: #fff;
  margin: 6px 0;
  transition: 0.4s;
}

/* ------- News Blinking ---------  */

.blink {
  animation: blink 2.3s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    color: #916500;
  }
}


/* ---------- Header Secondary ----------- */

.main-nav-link {
  text-decoration: none;
}

.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
  color: #f2a900;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #c28700;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem;
  border-radius: 0.5rem;
  color: #fff;
  background-color: #f2a900;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #c28700;
  color: #fceecc;
}

#hamburger-icon {
  margin: auto 3rem auto 0;
  display: none;
  cursor: pointer;
}

#hamburger-icon div {
  width: 35px;
  height: 3px;
  background-color: #f2a900;
  margin: 6px 0;
  transition: 0.4s;
}

.open .bar1 {
  -webkit-transform: rotate(-45deg) translate(-6px, 6px);
  transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  -webkit-transform: rotate(45deg) translate(-6px, -8px);
  transform: rotate(45deg) translate(-6px, -8px);
}

.open .mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: rgba(255, 255, 255, 0.9);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 7.5rem;
  left: 0;
  height: calc(100vh - 50px);
  width: 100%;
}

.mobile-menu li {
  margin-bottom: 10px;
  padding-bottom: 2rem;
}

/* ----- start main header dropdwon menu ------- */

.open .mobile-menu2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: hsla(42, 100%, 47%, 0.8);
}

.mobile-menu2 {
  display: none;
  position: absolute;
  top: 7.5rem;
  left: 0;
  height: calc(100vh - 50px);
  width: 100%;
  z-index: 999;
}

.mobile-menu2 li {
  margin-bottom: 10px;
  padding-bottom: 2rem;
}

/* ------ end main header fropddown menu --------*/

.hide {
  opacity: 0;
  left: -100%;
}
.show {
  opacity: 1;
  left: 0;
}

h1 {
  display: inline-block;
  animation-name: moveInLeft;
  animation-duration: 2s;
}

.price {
  font-size: 24px;
  font-weight: bold;
}

.hero {
  display: flex;
  flex-direction: column;
  place-items: center;
  padding-top: 8rem;
  position: relative;
  min-height: 80vh;
  background-image: linear-gradient(
      0deg,
      rgba(242, 169, 0, 0.5),
      rgba(242, 169, 0, 0.5)
    ),
    url(../images/moscow-city.jpg);
  background-size: cover;
  background-position: center;
  /* clip-path: polygon(100% 0, 100% 85%, 50% 100%, 0 85%, 0 0); */
  overflow: hidden;
}

.value1 h2 {
  font-weight: bold;
}

.hero-txt {
  text-align: center;
  margin: 1.5rem auto;
  font-size: 1.6rem;
}
.hero-txt2 {
  margin-top: 1rem;
  font-size: 1.9rem;
}

.hero-btn {
  padding: 1.6rem;
  background-color: #f2a900;
  border-radius: 1.8rem;
  display: inline-block;
}

.hero-btn:hover {
  padding: 1.5rem;
  color: #fceecc;
}

.hero-btn-container a,
a:visited {
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
}

.svg-1 {
  position: absolute;
  bottom: 0;
}

.svg-2 {
  bottom: 0;
  position: absolute;
}

.hero h1 {
  font-size: 5rem;
}

.lang {
  margin: 2rem auto 1.6rem auto;
}

.fi {
  font-size: 3rem;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  opacity: 0.5;
  transition: all 0.4s;
}

.fi:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

/* -------- Start Live button -------- */

:root {
  --warna-background: #4dc247;

  --warna-bg-chat: #f0f5fb;

  --warna-icon: #fff;

  --warna-text: #505050;

  --warna-text-alt: #989b9f;

  --lebar-chatbox: 320px;
}

.sticky-button {
  display: flex;

  align-items: center;

  justify-content: center;

  position: fixed;

  right: 30px;

  bottom: 90px;

  width: 60px;

  height: 60px;

  border: 2px solid #0091ea;

  background-color: #fefefe;

  border-radius: 50%;

  box-shadow: 1px 1px 5px 5px #0091ea;
  z-index: 21;
}

.sticky-button a,
.sticky-button label {
  display: flex;
  align-items: center;
  width: 55px;
  height: 55px;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.sticky-button a svg,
.sticky-button label svg {
  margin: auto;
  fill: #0091ea;
  cursor: pointer;
}

.sticky-button label svg.svg-2 {
  display: none;
}

.sticky-chat {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 60%;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  z-index: 21;
  opacity: 0;
  visibility: hidden;
  line-height: normal;
}

.sticky-chat .chat-content {
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.sticky-chat .chat-header {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background-color: #f2a900;
  overflow: hidden;
}

.sticky-chat .chat-header:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70px;
  height: 65px;
  background: rgba(0, 0, 4, 0);
  border-radius: 70px 0 5px 0;
}

.sticky-chat .chat-header svg {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  fill: var(--warna-icon);
}

.sticky-chat .chat-header .title {
  padding-left: 15px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Roboto", sans-serif;
  color: var(--warna-icon);
}

.sticky-chat .chat-header .title span {
  font-size: 11px;
  font-weight: 400;
  display: block;
  line-height: 1.58em;
  margin: 0;
}

.sticky-chat .chat-text {
  display: flex;
  flex-wrap: wrap;
  margin: 25px 20px;
  font-size: 12px;
  color: var(--warna-text);
}

.sticky-chat .chat-text span {
  display: inline-block;
  margin-right: auto;
  padding: 10px 10px 10px 20px;
  background-color: var(--warna-bg-chat);
  border-radius: 3px 15px 15px;
}

.sticky-chat .chat-text span:after {
  content: "Just now";
  display: inline-block;
  position: relative;
  bottom: -5px;
  left: -4px;
  margin-left: 2px;
  font-size: 9px;
  color: var(--warna-text-alt);
}

.sticky-chat .chat-text span.typing {
  margin: 15px 0 0 auto;
  padding: 10px 20px 10px 10px;
  border-radius: 15px 3px 15px 15px;
}

.sticky-chat .chat-text span.typing:after,
.chat-menu {
  display: none;
}

.sticky-chat .chat-text span.typing svg {
  height: 14px;
  fill: var(--warna-text-alt);
}

.sticky-chat .chat-button /* remove and edit .chat-button to syle the button */ {
  display: flex;
  align-items: center;
  margin-top: 15px;
  padding: 12px 20px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
  font-size: 12px;
  color: var(--warna-text);
}

.sticky-chat .chat-button svg {
  width: 20px;
  height: 20px;
  fill: var(--warna-text-alt);
  margin-left: auto;
  transform: rotate(40deg);
  -webkit-transform: rotate(40deg);
}

.chat-menu:checked + .sticky-button label {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

.chat-menu:checked + .sticky-button label svg.svg-1 {
  display: none;
}

.chat-menu:checked + .sticky-button label svg.svg-2 {
  display: table-cell;
}

.chat-menu:checked + .sticky-button + .sticky-chat {
  bottom: 77px;

  right: 81px;

  opacity: 1;

  visibility: visible;
}

.schat {
  outline: none;
  position: absolute;
  bottom: 5px;
  left: 0;
  border: none;
  color: #0091ea;
  font-weight: bold;
}

.blink_me {
  animation: blinker 1.3s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

/* ------- End Live button ------- */

/* -------------------- About Us Section ----------------------------*/

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6rem 6rem 13rem 6rem; /* poi con i media quereies riportarlo a 6 rem per tutti i lati */
  line-height: 1.6;
}

.about-box {
  display: flex;
  padding: 0 4.8rem;
  flex-direction: column;
}

.about-title {
  font-size: 3rem;
  margin-bottom: 1.2;
}

.about-txt {
  font-size: 1.8rem;
}

.about-btn {
  display: inline-block;
  padding: 1.6rem;
  background-color: #f2a900;
  border-radius: 1.8rem;
  margin-top: 1.2rem;
}

.about-btn:hover {
  padding: 1.5rem;
}

.btn-box {
  height: 8rem;
}

.btn-box a,
a:visited {
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
}

.btn-box a:hover {
  color: #fceecc;
}

.about-photo {
  margin: auto;
}

.about-photo img {
  width: 100%;
  max-height: 100%;
}

/* ---------- News sectiom --------- */

.news-photo {
  max-width: 100%;
 transform: translateX(-100%); /* Start the image off-screen */
  transition: transform 1s; /* Add a smooth transition effect */
}

.news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6rem 6rem 13rem 6rem; /* poi con i media quereies riportarlo a 6 rem per tutti i lati */
  line-height: 1.6;
}

.news-description {
  display: flex;
  /* padding: 0 4.8rem; */
  flex-direction: column;

  justify-content: center; /* forse non necessario ? */
 /*  align-items: center;  */
  padding: 1.6rem;
}

.news-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  text-align: center;
  animation: blink 3s infinite;
}

.news-txt {
  font-size: 2rem;
}

.about-btn {
  display: inline-block;
  padding: 1.6rem;
  background-color: #f2a900;
  border-radius: 1.8rem;
  margin-top: 1.2rem;
}

.about-btn:hover {
  padding: 1.5rem;
}

.news-btn-box {
  display: block;
  height: 18rem;
  /* text-align: center; */
}

.news-btn-box a,
a:visited {
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
}

.news-btn-box a:hover {
  color: #fceecc;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: scale(2);
  }
  51% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------- How to buy sectiom --------- */

.benefit {
  background-color: #fceecc;
  display: flex;
  flex-direction: column;
}

.benefit-title h2 {
  text-align: center;
  font-size: 3rem;
  margin-top: 3.2rem;
}

.benefit-title h3 {
  text-align: center;
  font-size: 2.4rem;
  font-style: italic;
  color: #f2a900;
  opacity: 85%;
  margin-top: 0.6rem;
}

.benefit-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5rem 5rem 9.6rem 5rem;
  font-size: 1.8rem;
}

.box {
  /* display: flex; */
  position: relative;
  padding: 3.2rem;
  margin: 3.2rem;
  border: 1px solid #f2a900;
  border-radius: 5px;
  box-shadow: 5px 8px 8px /* l'ultimo dei 3 valorI rende l'ombra blurry (8px) */
    hsla(42, 100%, 47%, 0.38);
  transition: all 0.4s;
}

.box:hover {
  transform: translateY(4px);
  box-shadow: 4px 6px 8px rgba(242, 169, 0, 0.58);
}

.box-number {
  font-size: 6.2rem;
  position: absolute;
  top: -3rem;
  left: 0.8rem;
  font-style: italic;
  color: #f2a900;
  text-shadow: 2px 2px 8px #f2a900;
}

.box-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.box-txt {
  font-size: 1.9rem;
  text-align: center;
}

.txt-2 {
  font-size: 1.6rem;
  color: #585858;
}

ion-icon {
  font-size: 3.6rem;
  text-align: center;
}

/* ---------- Map section ---------- */

#map {
  height: 650px;
  width: 80%; /* The width is the width of the web page */
  margin: 8rem auto 12.8rem auto;
}

.map-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-title h2 {
  text-align: center;
  font-size: 3rem;
  margin-top: 3.2rem;
}

.map-title h3 {
  text-align: center;
  font-size: 2.4rem;
  font-style: italic;
  color: #f2a900;
  opacity: 80%;
  margin-top: 0.6rem;
}

/* ---------- Why Us section ---------- */

.why-us {
  display: flex;
  flex-direction: column;
  background-color: #efeeee;
}

.why-us-title h2 {
  text-align: center;
  font-size: 3rem;
  margin-top: 3.2rem;
}

.why-us-title h3 {
  text-align: center;
  font-size: 2.4rem;
  font-style: italic;
  color: #f2a900;
  opacity: 85%;
  margin-top: 0.6rem;
}

.why-us-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 6rem;
  margin: 6rem 8rem 12.8rem 8rem;
}

.why-us-boxes h2 {
  text-transform: uppercase;
  font-style: italic;
}

.prova2 h2 {
  display: inline-block;
  text-transform: uppercase;
  color: #f2a900;
  font-style: italic;
  line-height: 3rem;
  letter-spacing: 3px;
}

.why-us a {
    color: black;
    text-decoration: none;
}


/* -------------------- Reviews Section ----------------------------*/

.reviews {
  display: flex;
  flex-direction: column;
  background-color: #efeeee;
  justify-content: center;
  align-items: center;
}

.reviews h3 {
  text-align: center;
  font-size: 2.4rem;
  font-style: italic;
  color: #f2a900;
  opacity: 85%;
  padding-bottom: 10rem;
}

/*  nuov prova 3 */

.carousel-container {
  position: relative;
  width: 65%; /* guarda bene questo soprattutto poi con i queries */
  max-width: 60rem;
  overflow: hidden; /* Hide overflow to show only one slide at a time */
  height: 30rem;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  height: 100%; /* Set a fixed height for each slide */
  font-size: 1.8rem;
}

.slide p {
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 2.2rem;
  font-style: italic;
}

.review > img {
  width: 5rem;
  max-height: 100%;
  object-fit: cover;
  display: flex;
  margin: auto;
  padding-bottom: 2rem;

  animation-name: flip_animation;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@keyframes flip_animation {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

.review {
  height: 30rem;
  padding: 3rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fadd99;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  cursor: pointer;
  border: none;
  background-color: #f2a900;
  border-radius: 50%;

  box-shadow: 3px 3px 8px /* l'ultimo dei 3 valorI rende l'ombra blurry (8px) */
    hsla(42, 100%, 47%, 0.38);

  transition: all 0.4s;
}

.prev-btn:hover,
.next-btn:hover {
  background-color: #da9800;
  transition: all 0.4s;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}
.prev-btn ion-icon, 
.next-btn ion-icon
{
  font-size: 3.6rem;
  text-align: center;
  color: #fff;
}
.prev-btn ion-icon:hover ,
.next-btn ion-icon:hover {
  font-size: 3.4rem;
  color: #fceecc;
  transition: all 0.4s;
}

.reviews h4 {
  text-align: center;
  font-style: italic;
  font-size: 2rem;
  color: #f2a900;
  opacity: 85%;
  margin-top: 6rem;
  padding-bottom: 5rem;
}

.radar {
  height: 4rem;
}

.leave-review-btn {
 height: 8rem;
  margin: 6rem auto 12.8rem auto;
}

.hero-btn {
  font-style: inherit;
  color: #fff;
  padding: 1.6rem;
  background-color: #f2a900;
  border-radius: 1.8rem;
  display: inline-block;
  cursor: pointer;
  font-size: 1.8rem;
  transition: all 0.4s;
}

input,
button,
submit {
  border: none;
  font-style: inherit;
}

.hero-btn:hover {
  padding: 1.5rem;
  color: #fceecc;
}

.hero-btn a,
a:visited {
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
}



/* -------------------- Contacts Section ----------------------------*/



.contacts {
  width: 100%;
  margin-bottom: 20rem;
}

.contact-zh{
    margin-bottom: 20rem;
}

.contacts-container {
  display: flex;
  margin: 11rem auto;
  position: relative;
  width: 50%;
}

.contacts-container img {
  height: 40rem;
  width: auto;
  background-size: cover;
}

.contacts-txt {
  position: absolute;
  top: 1.2rem;
  left: 13rem;
  color: #fff;
  font-size: 3rem;
  text-transform: uppercase;
  font-family: inherit;
}

.contacts-txt2 {
  color: #fceecc;
}

/* ----- form ----- */

.contacts-form {
  position: absolute;
  background-color: #fceecc;
  bottom: -9.8rem;
  left: 20rem;
  box-shadow: 4px 6px 5px rgba(115, 115, 115, 0.102);
  padding: 1.8rem;
  font-size: 1.8rem;
  color: #333;
}


.contactform-zh {
  bottom: -12rem;
}


.contacts-form h2 {
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.form-title {
  color: #f7cb66; 
}

.form-title2 {
  color: #f2a900;
}

input[type="text"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type="submit"] {
  background-color: #f2a900;
  color: white;
  padding: 1.3rem;
  border: none;
  border-radius: 1.8rem;
  cursor: pointer;
  font-size: 1.8rem;
}

input[type="submit"]:hover {
  color: #fceecc;
  padding: 1.2rem;
}

input:focus,
textarea:focus {
  outline: none !important;
  border-color: #f2a900;
  box-shadow: 0 0 8px #f2a900;
}

.contacts-btn {
  height: 50px;
  /* FORM new adding */
   display: flex;
  flex-direction: row;
}

/* ----- FORM submit button modification START */

#submit-btn {
  display: none;
}

/* ----- FORM submit button modification END */

.footer {
  margin: 0;
  display: flex;
  flex-direction: column;
  bottom: 0;
  position: relative;
  align-items: center;
  height: 45vh;
  background-color: #f2a900;
}

.socials-box {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 18rem;
}

.socials-title {
  font-size: 1.6rem;
  color: #fef6e6;
  text-align: center;
}

.socials {
  margin: 3.2rem auto 8rem auto;
  margin-top: 2rem;
}

.socials .fa-brands {
  padding: 0 2rem;
  font-size: 3rem;
  color: #fef6e6;
  cursor: pointer;
  transition: all 0.4s;
}

.socials .fa-brands:hover {
  color: #fbe5b3;
  transform: translateY(-2px);
}

.svg-3 {
  position: absolute;
  top: -1rem;
}

footer {
  font-style: italic;
  color: #fff;
  font-size: 1.4rem;
  position: absolute;
  bottom: 0;
  margin: auto;
}

.why-box {
  padding: 5rem;
  text-align: center;
  border: 0.5rem solid;
  border-image: linear-gradient(45deg, yellow, orange) 1;
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 200%;
  background-position: 0 0, 0 100%;
  background-origin: padding-box, border-box;
  clip-path: inset(0px round 0.5rem);
  animation: huerotate 5s infinite linear;
  filter: hue-rotate(360deg);
  font-size: 1.4rem;
  line-height: 2.2rem; /* non so */
}

.why-box h2 {
  display: inline-block;
  line-height: 3rem;
  color: #f2a900;
  letter-spacing: 3px;
}

@keyframes huerotate {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

.container3 {
  border: 0.6rem solid transparent;
  border-radius: 5px;
  padding: 5rem;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-align: center;
  line-height: 2.2rem;
  background-image: linear-gradient(#efeeee, #efeeee),
    linear-gradient(180deg, #f2a900, gold 50%, #fadd99);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 200%;
  background-position: 0 0, 0 100%;
  background-origin: padding-box, border-box;
  animation: highlight 0.7s infinite alternate;
  /* flex: 1; /* Add this to distribute equal width */
  /* height: 100%; */
  width: 100%;
  display: flex;
  flex-direction: column;
}

@keyframes highlight {
  100% {
    background-position: 0 0, 0 0;
  }
}

/* -------- Queries --------- */

@media only screen and (max-width: 1080px) {
  .contacts-pic,
  .contacts-txt {
    display: none;
  }

  .contacts-form {
    display: flex;
    position: relative;
    left: auto;
    bottom: auto;
  }

  .contacts-container {
    justify-content: space-around;
    margin: 15 rem auto 15rem auto;
  }
}

@media only screen and (max-width: 980px) {
  .about {
    display: flex;
    line-height: 1.6;
  }

  .about-title {
    text-align: center;
    margin-bottom: 2rem;
  }

  .btn-box {
    margin: 2rem auto;
  }

  .about-photo {
    display: none;
  }

  .box {
    display: block;
    text-align: center;

    margin: 0 0 3.2rem 0;
  }

  .why-us-boxes {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
  }
}

@media only screen and (max-width: 980px) {
  .benefit-boxes {
    display: flex;
    flex-direction: column;
  }
}

@media only screen and (max-width: 800px) {
  .header ul,
  .header2 ul {
    display: none;
  }
  #hamburger-icon2,
  #hamburger-icon {
    display: block;
  }
  
  /* inizio cambiamenti news */

  .about {
    padding: 6rem 3rem;
  }
  .news {
    display: flex;
    flex-direction: column;
    padding: 6rem 3rem;
  }
  .news-photo {
    max-width: 70%;
  }
  .news-title {
    display: flex;
    margin: 0 8rem 5rem auto;
  }
  .news-title h2 {
    align-items: end;
  }
  .news-btn-box {
    display: flex;
    align-items: center;
    height: 12rem;
    margin: auto;
  }
}

/* fine cambiamenti news */
  

@media only screen and (max-width: 680px) {
  .about-box {
    padding: 0;
    width: 85%;
    margin: auto;
  }

  .benefit-boxes {
    width: 70%;
    margin: auto;
    padding: 5rem 0 9.6rem 0;
  }
  .box {
    width: 100%;
    margin: 0 auto 3.2rem auto;
  }

  #map {
    height: 550px;
    width: 85%;
  }
  .why-us-boxes {
    width: 70%;
    margin: 6rem auto 12.8rem auto;
  }
.carousel-container {
  width: 70%;
  height: 40rem;
  }
  .review {
  height: 40rem;
  }
 .contacts-container {
  width: 70%;
  }
}

@media only screen and (max-width: 500px) {
  .hero {
    padding-top: 1rem;
  }

  .fi.fis {
    width: 1.8em;
  }

  .hero-txt {
    margin: 1.5rem;
  }

  .socials-title {
    margin: 1.5rem;
  }

  .socials-box {
    top: 9rem;
  }
}
