html {
  font-size: 20px;
}
.overflow {
  overflow: hidden;
}
/* NAVIGATION */

.background {
  height: 100vh;
}
.navbar-nav.text-center > a {
  color: white;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.si {
  text-transform: lowercase;
}
.navbar.navbar-expand-xl {
  padding: 0 7rem;
  position: fixed;
  width: 100%;
  background-color: #020c15;
  z-index: 2;
}
.container-fluid {
  background-color: #020c15;
}
.logo {
  height: 5rem;
  width: 5rem;
  margin-left: 2rem;
}
.hamburger {
  cursor: pointer;
}
.hamburger input {
  display: none;
}
.hamburger svg {
  /* The size of the SVG defines the overall size */
  height: 2rem;
  /* Define the transition for transforming the SVG */
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line {
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  /* Define the transition for transforming the Stroke */
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line-top-bottom {
  stroke-dasharray: 12 63;
}
.hamburger input:checked + svg {
  transform: rotate(-45deg);
}
.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}
@media (max-width: 619px) {
  .navbar.navbar-expand-xl {
    padding: 0 1rem;
  }
}
@media (max-width: 650px) {
  .logo {
    height: 3rem;
    width: 3rem;
  }
}
@media (max-width: 359px) {
  .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 318px) {
  .navbar.navbar-expand-xl {
    gap: 1rem;
  }
}
/* NAVIGATION */

/* HERO SECTION */

.hero {
  height: 100vh;
  background-image: url(images/testbg1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.texthero {
  color: white;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: italic;
  font-size: 4vh;
  text-align: center;
  backdrop-filter: blur(5px) saturate(100%);
  border-radius: 2rem;
  margin-bottom: 2rem;
  width: 40rem;
  padding: 0.5rem;
}
.herobox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.buttonservices {
  background: #fff;
  border: none;
  padding: 10px 20px;
  display: inline-block;
  font-size: 15px;
  width: 120px;
  font-weight: 500;
  color: #020c15;
  text-transform: uppercase;
  cursor: pointer;
  transform: skew(-21deg);
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  letter-spacing: 2px;
}

.spanservices {
  display: inline-block;
  transform: skew(21deg);
}

.buttonservices::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  left: 0;
  background: #020c15;
  opacity: 0;
  z-index: -1;
  transition: all 0.5s;
}

.buttonservices:hover {
  color: #fff;
}

.buttonservices:hover::before {
  left: 0;
  right: 0;
  opacity: 1;
}
@media (max-width: 950px) {
  .texthero {
    width: 25rem;
    font-size: 3vh;
  }
}
@media (max-width: 540px) {
  .texthero {
    width: 17rem;
    font-size: 1.1rem;
  }
}
/* HERO SECTION */

/* BELOW HERO SECTION*/

.belowhero {
  background-color: #fff;
}

.belowherobox {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #342d27;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 1s ease-in;
  padding: 2rem;
  margin: 8rem;
  gap: 5rem;
}

.in-view {
  opacity: 1;
}

.belowherotextbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  color: white;
  gap: 1rem;
}

.belowherotextbox > h1 {
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  letter-spacing: 1px;
}

.belowherotextbox > p {
  text-align: start;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  width: 100%;
}

.belowheropicture {
  width: 15rem;
  border-radius: 1rem;
}

.animated-button {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  border: none;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: white;
  box-shadow: 0 0 0 2px white;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .spananimatedbutton:last-child {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #202122;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .spananimatedbutton:first-child {
  position: relative;
  z-index: 1;
}

.animated-button:hover {
  box-shadow: 0 0 0 5px #2195f360;
  color: #ffffff;
}

.animated-button:active {
  transform: scale(0.95);
}

.animated-button:hover .spananimatedbutton:last-child {
  width: 100%;
  height: 150px;
  opacity: 1;
}

@media (max-width: 1117px) {
  .belowherotextbox {
    font-size: 0.9rem;
  }
  .belowherotextbox > h1 {
    font-size: 1.5rem;
  }
  .animated-button {
    font-size: 0.6rem;
  }
}
@media (max-width: 1006px) {
  .belowherotextbox {
    font-size: 0.8rem;
  }
  .belowherotextbox > h1 {
    font-size: 1.3rem;
  }
  .belowherobox {
    gap: 2rem;
  }
}
@media (max-width: 899px) {
  .belowherobox {
    flex-direction: column;
  }
  .belowheropicture {
    height: 10rem;
    width: 8rem;
  }
  .belowherotextbox {
    align-items: center;
  }
  .belowherotextbox > p {
    text-align: center;
  }
}
@media (max-width: 610px) {
  .belowherobox {
    gap: 1rem;
    margin: 5rem 2rem;
  }
}
@media (max-width: 541px) {
  .belowherotextbox {
    gap: 0;
  }
  .belowherotextbox > h1 {
    text-align: center;
  }
}
@media (max-width: 514px) {
  .belowheropicture {
    height: 7rem;
    width: 6rem;
  }
}
@media (max-width: 421px) {
  .belowherobox {
    gap: 0;
  }
  .belowherotextbox > h1,
  .belowherotextbox > p {
    margin-bottom: 1rem;
  }
}
@media (max-width: 421px) {
  .belowherotextbox > h1 {
    font-size: 0.8rem;
  }
  .belowherotextbox > p {
    font-size: 0.7rem;
  }
  .belowherobox {
    gap: 2rem;
  }
}
@media (max-width: 360px) {
  .belowheropicture {
    height: 5rem;
    width: 5rem;
  }
}
@media (max-width: 340px) {
  .belowherobox {
    gap: 0.5rem;
  }
}

/* BELOW HERO SECTION*/

/* SERVICES SECTION */

.services {
  background-color: #fff;
  position: relative;
}
.services video {
  object-fit: cover;
  width: 100%;
}

.services > h6,
.services > h3 {
  font-family: "Rowdies", sans-serif;
  position: absolute;
  color: #fff;
  color: white;
  margin-bottom: 0;
}
.serviciioferite {
  left: 50%;
  transform: translateX(-50%);
  top: 10%;
  opacity: 0;
  transition: opacity ease-in 1s;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 2px;
}
.in-view-1 {
  opacity: 1;
}
.experimentati {
  left: -100%;
  transform: translateX(-50%);
  top: 25%;
  transition: all 2s ease-in;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 2px;
  text-align: center;
}
.to-right {
  left: 50%;
}
.textservicii {
  top: 40%;
  color: #fff;
  left: 120%;
  position: absolute;
  transform: translate(-50%);
  text-align: center;
  transition: all 2s ease-in;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin-bottom: 0;
}
.to-left {
  left: 50%;
}
.servicesbox {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  grid-template-rows: auto;
  gap: 2rem;
  margin: 7rem 3rem;
}
.servicesboxone {
  display: flex;
  background-color: #031829;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  border-radius: 0.4rem;
  opacity: 0;
  gap: 2rem;
}
.servicesboxone:nth-child(1) {
  transition: opacity 1.5s ease-in;
}
.servicesboxone:nth-child(2) {
  transition: opacity 1.5s ease-in;
}
.servicesboxone:nth-child(3) {
  transition: opacity 1.5s ease-in;
}
.servicesboxone:nth-child(4) {
  transition: opacity 1.5s ease-in;
}
.servicesboxone:nth-child(5) {
  transition: opacity 1.5s ease-in;
}
.servicesboxone:nth-child(6) {
  transition: opacity 1.5s ease-in;
}

.in-view-2 {
  opacity: 1;
}
.servicesboxone > h4 {
  color: white;
  font-family: "Amatic SC", sans-serif;
  font-size: 1.3rem;
}
.servicesonetext {
  color: white;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

@media (max-width: 1460px) {
  .servicesonetext {
    font-size: 0.7rem;
  }
  .experimentati {
    font-size: 1.2rem;
  }
  .textservicii {
    font-size: 0.8rem;
  }
}
@media (max-width: 1220px) {
  .servicesbox {
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
  }

  .experimentati {
    top: 18%;
  }
  .textservicii {
    top: 27%;
  }
}

@media (max-width: 915px) {
  .serviciioferite {
    top: 5%;
  }
  .experimentati {
    top: 14%;
  }
  .textservicii {
    top: 25%;
  }
}
@media (max-width: 785px) {
  .serviciioferite {
    top: 5%;
  }
  .experimentati {
    top: 15%;
  }
  .textservicii {
    top: 25%;
    width: 70%;
  }
}
@media (max-width: 703px) {
  .serviciioferite {
    top: 5%;
  }
  .experimentati {
    top: 10%;
  }
  .textservicii {
    top: 18%;
  }
}
@media (max-width: 700px) {
  .servicesbox {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto;
  }
  .experimentati {
    width: 85%;
    font-size: 1rem;
  }
  .serviciioferite {
    font-size: 0.8rem;
  }
  .textservicii {
    font-size: 0.8rem;
    width: 85%;
  }
}
@media (max-width: 610px) {
  .serviciioferite {
    top: 3%;
  }
  .experimentati {
    top: 8%;
  }
  .textservicii {
    top: 15%;
  }
}
@media (max-width: 583px) {
  .experimentati {
    width: 85%;
    font-size: 0.8rem;
  }
  .serviciioferite {
    font-size: 0.7rem;
  }
  .textservicii {
    font-size: 0.6rem;
    width: 85%;
  }
  .servicesbox {
    margin: 4rem 2rem;
  }
  .servicesboxone {
    padding: 1rem;
  }
  .servicesboxone > i {
    padding-top: 0.7rem;
  }
}
@media (max-width: 520px) {
  .serviciioferite {
    top: 1%;
  }
  .experimentati {
    top: 5%;
  }
  .textservicii {
    top: 11%;
  }
}

/* SERVICES SECTION */

/* 3D SECTION */
.section3d {
  margin-bottom: 5rem;
  background-color: #fff;
  margin-top: 0;
}
.lottieplayer {
  position: relative;
  left: -100%;
  transform: translate(-50%);
  transition: all 1s ease-in;
  width: 15rem;
  height: 15rem;
}
.to-right-1 {
  left: 50%;
}
.section3dbox {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10rem;
  background-color: #b4b2b248;
  width: 80%;
  position: relative;
  left: 200%;
  transform: translateX(-50%);
  padding: 2rem 0;
  border-radius: 1rem;
  transition: all 1s ease-in;
}
.to-left-1 {
  left: 50%;
}
.section3dbox > img {
  width: 17rem;
  height: 17rem;
  box-shadow: #202122 10px 10px 30px;
  border-radius: 0.5rem;
}
.vertical {
  border-right: 2px solid #041f35;
  height: 17rem;
}
.textbox3d {
  color: #031829;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}
.textbox3d h2 {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 1px;
}
.textbox3d p {
  width: 15rem;
  text-align: start;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.btn {
  width: 140px;
  height: 50px;
  background: linear-gradient(180deg, #031829 0%, #292e34 99.99%, #ecf1f6 100%);
  color: #fff;
  border-radius: 50px;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.btn span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: top 0.5s;
  color: white;
  letter-spacing: 2px;
}

.btn-text-one {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.btn-text-two {
  position: absolute;
  width: 100%;
  top: 150%;
  left: 0;
  transform: translateY(-50%);
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.btn:hover .btn-text-one {
  top: -100%;
}

.btn:hover .btn-text-two {
  top: 50%;
}

@media (max-width: 1380px) {
  .section3dbox {
    gap: 5rem;
  }
}
@media (max-width: 1120px) {
  .section3dbox {
    gap: 3rem;
  }
  .textbox3d h2 {
    font-size: 1.2rem;
  }
  .textbox3d p {
    font-size: 0.8rem;
  }
}
@media (max-width: 1000px) {
  .section3dbox {
    flex-direction: column;
  }
  .vertical {
    height: 0;
    width: 17rem;
    border-top: 2px solid #041f35;
  }
  .textbox3d {
    align-items: center;
  }
  .textbox3d p {
    text-align: center;
  }
  .lottieplayer {
    transform: translate(-43%);
  }
}
@media (max-width: 600px) {
  .lottieplayer {
    width: 10rem;
    height: 10rem;
  }
}
@media (max-width: 495px) {
  .section3dbox > img {
    width: 13rem;
    height: 13rem;
  }
  .vertical {
    width: 13rem;
  }
}
@media (max-width: 395px) {
  .textbox3d p {
    width: 11rem;
  }
  .section3dbox > img {
    width: 10rem;
    height: 10rem;
  }
  .vertical {
    width: 10rem;
  }
}
/* 3D SECTION */

/* TESTIMONIALS SECTION */

.testimonials {
  background-color: #b4b2b248;
  opacity: 0;
  transition: opacity 1s ease-in;
  padding: 5rem 3rem;
}
.testimonials > h2 {
  text-align: center;
  color: #031829;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 1px;
  margin-bottom: 5rem;
}
.carousel-control-next-icon,
.carousel-control-prev-icon {
  color: #031829;
}
.in-view-3 {
  opacity: 1;
}

.testimonialclient {
  color: #031829;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1rem;
}
.numeclient {
  color: #031829;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0;
}

.carousel-inner {
  max-width: 600px;
  margin: 0 auto;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #031829;
  margin: 0.5rem;
}

.carousel-item {
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .testimonialclient {
    font-size: 0.8rem;
  }
}

/* TESTIMONIALS SECTION */

/* CONTACT SECTION */
.contact {
  background-color: #020c15;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.logocontact {
  height: 7rem;
  width: 7rem;
}
.contactbox {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: auto auto auto;
  align-items: start;
  justify-content: center;
  padding: 3rem 2rem 4rem 4rem;
}
.contactbox h6:hover {
  color: #d79521;
  text-decoration: underline;
  transition: all 0.5s ease-in;
  cursor: pointer;
}
.boxlinks,
.boxcontact {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  line-height: 2.1rem;
}
.boxcontact {
  padding-left: 9.5rem;
}
.boxlinks {
  padding-left: 6rem;
}
.boxlinks a,
.boxcontact a {
  text-decoration: none;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.boxlinks h6,
.boxcontact h6 {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 2px;
}
.boxlinks a:hover,
.boxcontact a:hover:not(.ws) {
  color: #d79521;
  text-decoration: underline;
  transition: all 0.5s ease-in;
}
#map {
  min-height: 10.5rem;
  width: 25rem;
  margin-bottom: 4rem;
}
.copyright {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  letter-spacing: 2px;
}
.copyright p:first-child {
  padding-bottom: 2rem;
}
.logopersonal {
  height: 5rem;
  width: 7rem;
}
.sociale {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 4rem;
  gap: 1rem;
}
.fbinsta {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 1258px) {
  .boxcontact {
    padding-left: 5.5rem;
  }
  .boxlinks {
    padding-left: 2rem;
  }
}
@media (max-width: 1200px) {
  .contactbox {
    padding: 3rem 2rem 4rem 4rem;
  }
}
@media (max-width: 970px) {
  .boxcontact {
    padding-left: 3.5rem;
  }
  .boxlinks {
    padding-left: 0;
  }
}
@media (max-width: 880px) {
  .boxlinks a,
  .boxcontact a {
    font-size: 0.7rem;
  }
}
@media (max-width: 750px) {
  .contactbox {
    padding: 3rem 0.7rem 4rem 1rem;
  }
}

@media (max-width: 660px) {
  .logocontact {
    height: 4.5rem;
    width: 4.5rem;
    margin-right: 2rem;
  }
  .boxcontact {
    padding-left: 1.5rem;
  }
}
@media (max-width: 600px) {
  .contactbox {
    grid-template-rows: auto auto auto;
    grid-template-columns: auto;
    align-items: center;
    gap: 2rem;
  }
  .sociale {
    margin-right: 0;
  }
  .boxlinks,
  .boxcontact {
    align-items: center;
  }
  .boxcontact {
    padding-left: 0;
  }
  .logocontact {
    margin-right: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: 7rem;
    width: 7rem;
  }
  #map {
    width: 100%;
  }
}
@media (max-width: 470px) {
  .copyright {
    font-size: 0.7rem;
  }
}
@media (max-width: 410px) {
  .logopersonal {
    height: 4rem;
    width: 5rem;
  }
}
@media (max-width: 358px) {
  .navbar.navbar-expand-xl {
    padding: 0;
  }
}
@media (max-width: 350px) {
  .logopersonal {
    height: 4rem;
    width: 5rem;
  }
  .copyright {
    font-size: 0.5rem;
  }
}
/* CONTACT SECTION */
