a {
  text-decoration: none;
  color: black;
}

a:active,
a:hover {
  outline: 0;
  cursor: pointer;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html {
  box-sizing: border-box;
  line-height: 1.15; /* Correct the line height in all browsers. */
  -webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS. */
}

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

body {
  font-feature-settings: "kern" 1;
  font-kerning: normal;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  vertical-align: text-top;
  display: block;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

h1 {
  font-family: mundial, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 3em;
  text-transform: uppercase;
}
@media only screen and (max-width: 1800px) {
  h1 {
    font-size: 2.8em;
  }
}
@media only screen and (max-width: 1500px) {
  h1 {
    font-size: 2.5em;
  }
}
@media only screen and (max-width: 600px) {
  h1 {
    font-size: 1.6em;
  }
}

h2 {
  font-size: 1.8em;
}
@media only screen and (max-width: 1800px) {
  h2 {
    font-size: 1.6em;
  }
}
@media only screen and (max-width: 1500px) {
  h2 {
    font-size: 1.5em;
  }
}
@media only screen and (max-width: 600px) {
  h2 {
    font-size: 1.4em;
  }
}

.invisibile {
  display: none;
}

body, html {
  height: 100%;
}

html {
  font-family: "mundial", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
}

body {
  background-color: #eee;
  color: #000;
}

main {
  width: 100%;
  max-width: 2000px;
  right: 0;
  left: 0;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  width: 100%;
  max-width: 2000px;
  right: 0;
  left: 0;
  margin-right: auto;
  margin-left: auto;
  height: 70px;
  position: fixed;
  z-index: 100;
  display: flex;
  align-items: center;
  line-height: 0;
}
@media only screen and (max-width: 1200px) {
  header {
    padding: 0 20px;
    background: #fff;
  }
}
@media only screen and (max-width: 600px) {
  header {
    height: 50px;
    padding: 0 10px;
  }
}
header a {
  width: 20%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: mundial, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1em;
  color: #000;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}
@media only screen and (max-width: 1200px) {
  header a {
    width: auto;
  }
}
header a:not(:first-child) {
  border-left: 1px solid #000;
}
@media only screen and (max-width: 1200px) {
  header a:not(:first-child) {
    display: none;
  }
}
header a img {
  filter: none;
  transition: all 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}
@media only screen and (max-width: 1500px) {
  header a img {
    width: 200px;
  }
}
@media only screen and (max-width: 600px) {
  header a img {
    width: 170px;
  }
}
header a:hover, header a.selected {
  color: #fff;
  background: #163c87;
}
header a:hover img, header a.selected img {
  filter: brightness(0) invert(1);
}

.menu {
  display: none;
  width: 54px;
  height: 53px;
  margin-left: auto;
  transition-duration: 0.5s;
}
@media only screen and (max-width: 600px) {
  .menu {
    width: 46px;
  }
}
@media only screen and (max-width: 1200px) {
  .menu {
    display: flex;
    align-items: center;
  }
}

.menu .icon {
  transition-duration: 0.5s;
  position: absolute;
  width: 48px;
  height: 5px;
  background: #163c87;
}
@media only screen and (max-width: 600px) {
  .menu .icon {
    width: 40px;
  }
}

.menu .icon:before {
  transition-duration: 0.5s;
  position: absolute;
  width: 48px;
  height: 5px;
  background: #163c87;
  content: "";
  top: -13px;
}
@media only screen and (max-width: 600px) {
  .menu .icon:before {
    width: 40px;
    top: -11px;
  }
}

.menu .icon:after {
  transition-duration: 0.5s;
  position: absolute;
  width: 48px;
  height: 5px;
  background: #163c87;
  content: "";
  top: 13px;
}
@media only screen and (max-width: 600px) {
  .menu .icon:after {
    width: 40px;
    top: 11px;
  }
}

.menu.open .icon {
  transition-duration: 0.5s;
  transform: rotateZ(-225deg);
}

.menu.open .icon:before {
  transform: rotateZ(-45deg) scaleX(0.75) translate(-14px, -8px);
}

.menu.open .icon:after {
  transform: rotateZ(45deg) scaleX(0.75) translate(-14px, 8px);
}

.menu:hover {
  cursor: pointer;
}

#mobile-panel {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, #fff 50%, transparent 50%);
  transform: translateY(-100%);
  transition: all 0.8s cubic-bezier(0.05, 0.01, 0.165, 0.99);
}
#mobile-panel ul#panel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 70px 30px 0 30px;
  background: #fff;
  transform: translateY(-100%);
  transition: all 1s cubic-bezier(0.05, 0.01, 0.165, 0.99);
  transition-delay: 0.5;
}
@media only screen and (max-width: 600px) {
  #mobile-panel ul#panel {
    padding: 50px 20px 0 20px;
  }
}
#mobile-panel ul#panel li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  margin-top: 5px;
  transform: scale(1.15) translateY(-30px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99), opacity 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  transition-delay: 1s;
}
#mobile-panel ul#panel li:nth-child(1) {
  transition-delay: 0.49s;
}
#mobile-panel ul#panel li:nth-child(2) {
  transition-delay: 0.42s;
}
#mobile-panel ul#panel li:nth-child(3) {
  transition-delay: 0.35s;
}
#mobile-panel ul#panel li:nth-child(4) {
  transition-delay: 0.28s;
}
#mobile-panel ul#panel li:nth-child(5) {
  transition-delay: 0.21s;
}
#mobile-panel ul#panel li:nth-child(6) {
  transition-delay: 0.14s;
}
#mobile-panel ul#panel li a {
  width: 100%;
  display: block;
  position: relative;
  padding: 0 10px;
  font-family: mundial, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.5em;
  text-transform: uppercase;
  line-height: 2.35;
  color: #163c87;
}
@media only screen and (max-width: 600px) {
  #mobile-panel ul#panel li a {
    font-size: 1.3em;
  }
}
#mobile-panel ul#panel li a.selected {
  color: #fff;
  background: #163c87;
}
#mobile-panel ul#panel li:last-child {
  border: none;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
}
#mobile-panel ul#panel li:last-child a {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.4);
}
#mobile-panel ul#panel li:last-child a img {
  max-width: 100%;
}
#mobile-panel.open {
  transform: translateY(0%);
}
#mobile-panel.open #panel {
  transform: translateY(0%);
}
#mobile-panel.open #panel li {
  transform: scale(1) translateY(0px);
  opacity: 1;
}
#mobile-panel.open #panel li:nth-child(1) {
  transition-delay: 0.27s;
}
#mobile-panel.open #panel li:nth-child(2) {
  transition-delay: 0.34s;
}
#mobile-panel.open #panel li:nth-child(3) {
  transition-delay: 0.41s;
}
#mobile-panel.open #panel li:nth-child(4) {
  transition-delay: 0.48s;
}
#mobile-panel.open #panel li:nth-child(5) {
  transition-delay: 0.55s;
}
#mobile-panel.open #panel li:nth-child(6) {
  transition-delay: 0.62s;
}

#slider {
  width: 100%;
  max-width: 2000px;
  height: 100svh;
  max-height: 1100px;
}

.slideshow {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.slideshow .slideshow-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.slideshow .slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.slideshow .slide {
  display: none;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.slideshow .slide.is-active {
  display: block;
}
.slideshow .slide.is-loaded {
  opacity: 1;
}
.slideshow .slide .image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  z-index: 1;
  background-size: cover;
  image-rendering: optimizeQuality;
}
.slideshow .slide .image-container::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slideshow .slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 18%;
}
.slideshow .slide .caption {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}
.slideshow .slide .caption h1.title {
  font-size: 8em;
  line-height: 1em;
  padding: 0 10px 15px 10px;
  color: #163c87;
  text-transform: uppercase;
  opacity: 0.7;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media only screen and (max-width: 1800px) {
  .slideshow .slide .caption h1.title {
    font-size: 6em;
    padding: 0 10px 10px 10px;
  }
}
@media only screen and (max-width: 1500px) {
  .slideshow .slide .caption h1.title {
    font-size: 5em;
    margin: 0 0 30px 10px;
  }
}
@media only screen and (max-width: 1200px) {
  .slideshow .slide .caption h1.title {
    width: 100%;
    opacity: 0.8;
    font-size: 4em;
    margin: 0 0 150px 0px;
  }
}
@media only screen and (max-width: 600px) {
  .slideshow .slide .caption h1.title {
    font-size: 3em;
    margin: 0 0 120px 0;
  }
}
.slideshow .lines {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
@media only screen and (max-width: 1200px) {
  .slideshow .lines {
    display: none;
  }
}
.slideshow .lines ul {
  width: 100%;
  height: 100%;
  display: flex;
}
.slideshow .lines ul li {
  width: 20%;
  height: 100%;
  border-left: 1px solid #000;
}
.slideshow .arrows {
  position: absolute;
  bottom: 40px;
  right: 0;
  width: 12%;
  z-index: 3;
  display: flex;
  justify-content: space-around;
}
@media only screen and (max-width: 1800px) {
  .slideshow .arrows {
    width: 16%;
    bottom: 30px;
  }
}
@media only screen and (max-width: 1500px) {
  .slideshow .arrows {
    bottom: 50px;
  }
}
@media only screen and (max-width: 1200px) {
  .slideshow .arrows {
    width: 20%;
  }
}
@media only screen and (max-width: 600px) {
  .slideshow .arrows {
    width: 40%;
  }
}
.slideshow .arrows .arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slideshow .arrows .arrow:hover .svg {
  fill: #000;
}
.slideshow .arrows .svg {
  width: 14px;
  height: 26px;
  fill: #163c87;
  transition: all 0.2s ease-in;
}

@keyframes background-fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.off-panel {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  right: 0;
}
@media only screen and (max-width: 1200px) {
  .off-panel {
    max-width: 100%;
  }
}
.off-panel ul {
  width: 100%;
  height: 100%;
  display: flex;
}
.off-panel ul li {
  width: 20%;
  height: 0%;
  background-color: #fff;
  animation: forwards;
  animation-name: run-one;
  animation-duration: 1.5s;
}
.off-panel ul li:nth-child(2) {
  animation-duration: 1.6s;
}
.off-panel ul li:nth-child(3) {
  animation-duration: 1.7s;
  animation-name: run-two;
}
.off-panel ul li:nth-child(4) {
  animation-duration: 1.8s;
  animation-name: run-three;
}
.off-panel ul li:nth-child(5) {
  animation-duration: 1.9s;
  animation-name: run-three;
}
.off-panel.first {
  background-color: #fff;
  animation: forwards;
  animation-name: run;
  animation-duration: 1.5s;
  width: 0%;
  left: 0;
}

@-webkit-keyframes run {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scaleY(1.5);
    width: 100%;
  }
}
@-webkit-keyframes run-one {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scaleY(1.5);
    height: 100%;
  }
}
@-webkit-keyframes run-two {
  0% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scaleY(1.5);
    height: 100%;
  }
}
@-webkit-keyframes run-three {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scaleY(1.5);
    height: 100%;
  }
}
#presentation {
  width: 100%;
  display: flex;
  gap: 30px;
  padding: 100px 150px;
  background: #fff;
}
@media only screen and (max-width: 1800px) {
  #presentation {
    padding: 80px;
  }
}
@media only screen and (max-width: 1500px) {
  #presentation {
    padding: 30px;
  }
}
@media only screen and (max-width: 1200px) {
  #presentation {
    flex-direction: column;
  }
}
@media only screen and (max-width: 600px) {
  #presentation {
    gap: 0;
    padding: 20px 10px;
  }
}
#presentation .left-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
@media only screen and (max-width: 1200px) {
  #presentation .left-box h2 {
    margin-bottom: 30px;
  }
}
@media only screen and (max-width: 600px) {
  #presentation .left-box h2 {
    margin-bottom: 20px;
  }
}
#presentation .right-box {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
#presentation .right-box img {
  width: 100%;
  max-width: 700px;
}
@media only screen and (max-width: 900px) {
  #presentation .right-box img {
    max-width: 70%;
  }
}
@media only screen and (max-width: 600px) {
  #presentation .right-box img {
    max-width: 90%;
  }
}

#libra {
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 50px 0;
  background: #163c87;
  gap: 50px;
}
@media only screen and (max-width: 1200px) {
  #libra {
    flex-direction: column;
  }
}
@media only screen and (max-width: 600px) {
  #libra {
    gap: 30px;
    padding: 30px 0;
  }
}
#libra .image-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 0 30px;
}
@media only screen and (max-width: 900px) {
  #libra .image-box {
    padding: 0 20px;
  }
}
@media only screen and (max-width: 600px) {
  #libra .image-box {
    gap: 30px;
    padding: 0;
  }
}
#libra .image-box img.logo {
  max-width: 45%;
}
#libra .image-box img.cover {
  max-width: 100%;
  border: 14px solid #fff;
}
@media only screen and (max-width: 900px) {
  #libra .image-box img.cover {
    border: 10px solid #fff;
  }
}
@media only screen and (max-width: 600px) {
  #libra .image-box img.cover {
    border: 8px solid #fff;
  }
}
#libra .text-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  color: #fff;
}
@media only screen and (max-width: 900px) {
  #libra .text-box {
    gap: 20px;
  }
}
#libra .text-box h2 {
  padding: 0 150px;
}
@media only screen and (max-width: 1500px) {
  #libra .text-box h2 {
    padding: 0 80px;
  }
}
@media only screen and (max-width: 900px) {
  #libra .text-box h2 {
    padding: 0 20px;
  }
}

#carpenteria-contatti {
  width: 100%;
  display: flex;
  padding: 50px 0;
  background: #fff;
}
@media only screen and (max-width: 1200px) {
  #carpenteria-contatti {
    flex-direction: column-reverse;
    padding: 0;
  }
}
#carpenteria-contatti .txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding: 0 50px;
}
@media only screen and (max-width: 1200px) {
  #carpenteria-contatti .txt {
    padding: 30px;
  }
}
@media only screen and (max-width: 600px) {
  #carpenteria-contatti .txt {
    padding: 20px;
  }
}
#carpenteria-contatti .txt h1 {
  color: #163c87;
}
#carpenteria-contatti .txt ul li {
  font-size: 1.8em;
  color: #163c87;
}
@media only screen and (max-width: 1800px) {
  #carpenteria-contatti .txt ul li {
    font-size: 1.6em;
  }
}
@media only screen and (max-width: 1500px) {
  #carpenteria-contatti .txt ul li {
    font-size: 1.5em;
  }
}
@media only screen and (max-width: 600px) {
  #carpenteria-contatti .txt ul li {
    font-size: 1.4em;
  }
}
#carpenteria-contatti .txt ul li:not(:first-child) {
  margin-top: 10px;
}
#carpenteria-contatti .txt .contatti {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  border-top: 2px solid #163c87;
  padding-top: 50px;
  gap: 20px;
}
@media only screen and (max-width: 900px) {
  #carpenteria-contatti .txt .contatti {
    margin-top: 10px;
  }
}
@media only screen and (max-width: 600px) {
  #carpenteria-contatti .txt .contatti {
    padding-top: 30px;
  }
}
#carpenteria-contatti .txt .contatti h2 {
  text-align: center;
}
#carpenteria-contatti .txt .contatti img {
  width: 400px;
  margin-bottom: 30px;
}
@media only screen and (max-width: 1200px) {
  #carpenteria-contatti .txt .contatti img {
    width: 350px;
  }
}
@media only screen and (max-width: 900px) {
  #carpenteria-contatti .txt .contatti img {
    width: 300px;
    margin-bottom: 10px;
  }
}
@media only screen and (max-width: 600px) {
  #carpenteria-contatti .txt .contatti img {
    width: 250px;
  }
}
#carpenteria-contatti .txt .contatti .icons {
  width: 100%;
  margin-top: 30px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
@media only screen and (max-width: 900px) {
  #carpenteria-contatti .txt .contatti .icons {
    margin-top: 10px;
  }
}
#carpenteria-contatti .txt .contatti .icons a {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid #163c87;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}
@media only screen and (max-width: 1500px) {
  #carpenteria-contatti .txt .contatti .icons a {
    width: 130px;
    height: 130px;
  }
}
@media only screen and (max-width: 900px) {
  #carpenteria-contatti .txt .contatti .icons a {
    width: 110px;
    height: 110px;
  }
}
@media only screen and (max-width: 600px) {
  #carpenteria-contatti .txt .contatti .icons a {
    width: 80px;
    height: 80px;
  }
}
#carpenteria-contatti .txt .contatti .icons a:hover {
  background: #163c87;
}
#carpenteria-contatti .txt .contatti .icons a:hover img {
  filter: brightness(0) invert(1);
}
#carpenteria-contatti .txt .contatti .icons a img {
  width: 70px;
  margin: 0;
}
@media only screen and (max-width: 1500px) {
  #carpenteria-contatti .txt .contatti .icons a img {
    width: 60px;
  }
}
@media only screen and (max-width: 900px) {
  #carpenteria-contatti .txt .contatti .icons a img {
    width: 50px;
  }
}
#carpenteria-contatti .image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 50px;
}
@media only screen and (max-width: 1500px) {
  #carpenteria-contatti .image {
    padding: 0;
  }
}
#carpenteria-contatti .image img {
  max-width: 100%;
  border: 14px solid #163c87;
}
@media only screen and (max-width: 1500px) {
  #carpenteria-contatti .image img {
    border-right: none;
  }
}
@media only screen and (max-width: 1200px) {
  #carpenteria-contatti .image img {
    border: none;
  }
}

footer {
  width: 100%;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  margin-top: 30px;
}
footer > div {
  width: 100%;
  max-width: 2000px;
  display: flex;
}
footer > div a {
  flex: 1;
  text-align: center;
  padding: 20px 0;
  transition: all 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}
footer > div a:hover {
  background: #fff;
}

#azienda {
  width: 100%;
  display: flex;
  margin-top: 70px;
}
@media only screen and (max-width: 1500px) {
  #azienda {
    flex-direction: column-reverse;
  }
}
#azienda .txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding: 0 50px;
}
@media only screen and (max-width: 1500px) {
  #azienda .txt {
    padding: 50px 10%;
  }
}
@media only screen and (max-width: 900px) {
  #azienda .txt {
    padding: 30px;
  }
}
@media only screen and (max-width: 600px) {
  #azienda .txt {
    padding: 20px;
    gap: 20px;
  }
}
#azienda .txt h1 {
  color: #163c87;
}
#azienda .txt img {
  width: 100%;
  max-width: 650px;
  align-self: center;
  margin-top: 20px;
}
#azienda .image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media only screen and (max-width: 1500px) {
  #azienda .image {
    padding: 0 0 50px 0;
    background: #163c87;
  }
}
#azienda .image img {
  max-width: 100%;
}
@media only screen and (max-width: 1500px) {
  #azienda .image img {
    border-right: 5px solid #fff;
    border-bottom: 5px solid #fff;
    border-left: 5px solid #fff;
  }
}

.super-title {
  width: 100%;
  padding: 50px 0;
  text-align: center;
  background: #163c87;
  color: #fff;
  margin: 30px 0;
}
@media only screen and (max-width: 900px) {
  .super-title {
    padding: 30px 0;
  }
}
@media only screen and (max-width: 600px) {
  .super-title {
    padding: 20px 0;
    margin: 20px 0;
  }
}

#target {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 50px 0;
}
@media only screen and (max-width: 1800px) {
  #target {
    padding-top: 30px;
  }
}
@media only screen and (max-width: 1200px) {
  #target {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
}
#target .box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
}
@media only screen and (max-width: 1200px) {
  #target .box {
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    gap: 20px;
  }
  #target .box img {
    width: 130px;
  }
}
#target .box h1 {
  color: #163c87;
  text-transform: capitalize;
}

.service-lines {
  width: 100%;
  height: 200px;
  background: #fff;
}
@media only screen and (max-width: 1500px) {
  .service-lines {
    height: 150px;
  }
}
@media only screen and (max-width: 900px) {
  .service-lines {
    display: none;
  }
}
.service-lines ul {
  width: 100%;
  height: 100%;
  display: flex;
}
.service-lines ul li {
  width: 20%;
  height: 100%;
}
.service-lines ul li:not(:first-child) {
  border-left: 1px solid #000;
}
@media only screen and (max-width: 1200px) {
  .service-lines ul li:not(:first-child) {
    border: none;
  }
}

.service-one {
  width: 100%;
  display: flex;
}
@media only screen and (max-width: 1200px) {
  .service-one {
    flex-direction: column;
  }
}
@media only screen and (max-width: 900px) {
  .service-one {
    margin-top: 50px;
  }
}
.service-one .image {
  flex: 1 40%;
}
.service-one .image img {
  max-width: 100%;
}
.service-one .txt {
  flex: 1 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #163c87;
  color: #fff;
  gap: 30px;
}
@media only screen and (max-width: 1200px) {
  .service-one .txt {
    padding: 30px 0;
  }
}
@media only screen and (max-width: 600px) {
  .service-one .txt {
    gap: 20px;
  }
}
.service-one .txt h1 {
  margin-bottom: 20px;
}
@media only screen and (max-width: 600px) {
  .service-one .txt h1 {
    margin: 0;
  }
}
.service-one .txt h2 {
  max-width: 70%;
}
@media only screen and (max-width: 1800px) {
  .service-one .txt h2 {
    max-width: 90%;
  }
}
@media only screen and (max-width: 900px) {
  .service-one .txt h2 {
    max-width: 100%;
    padding: 0 30px;
  }
}
@media only screen and (max-width: 600px) {
  .service-one .txt h2 {
    padding: 0 20px;
  }
}
.service-one .txt img {
  width: 300px;
}

.libra-mini {
  width: 100%;
  display: flex;
}
@media only screen and (max-width: 600px) {
  .libra-mini {
    flex-wrap: wrap;
  }
}
.libra-mini > div {
  width: 20%;
  text-align: center;
  padding: 1px;
}
@media only screen and (max-width: 900px) {
  .libra-mini > div {
    width: 25%;
  }
  .libra-mini > div:nth-child(3) {
    display: none;
  }
}
@media only screen and (max-width: 600px) {
  .libra-mini > div {
    width: 50%;
  }
}
.libra-mini img {
  max-width: 100%;
}

.carpenter {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.carpenter img {
  max-width: 100%;
}
.carpenter .duo {
  width: 100%;
  display: flex;
  padding: 100px 0;
}
@media only screen and (max-width: 1200px) {
  .carpenter .duo {
    padding: 0px 0;
    flex-direction: column-reverse;
  }
}
@media only screen and (max-width: 600px) {
  .carpenter .duo {
    align-items: center;
  }
}
.carpenter .duo .left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
  border-right: 1px solid #163c87;
  gap: 30px;
}
@media only screen and (max-width: 1200px) {
  .carpenter .duo .left {
    padding: 30px;
  }
}
@media only screen and (max-width: 600px) {
  .carpenter .duo .left {
    gap: 20px;
  }
}
.carpenter .duo .right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
}
@media only screen and (max-width: 1800px) {
  .carpenter .duo .right {
    font-size: 1.6em;
  }
}
@media only screen and (max-width: 1500px) {
  .carpenter .duo .right {
    font-size: 1.5em;
  }
}
@media only screen and (max-width: 1200px) {
  .carpenter .duo .right {
    background: #fff;
    padding: 30px;
  }
}
@media only screen and (max-width: 600px) {
  .carpenter .duo .right {
    font-size: 1.4em;
    padding: 30px;
    max-width: 80%;
  }
}
.carpenter .duo .right li:not(:last-child) {
  margin-bottom: 20px;
}

#contact {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px;
  margin-top: 120px;
  background: #163c87;
  color: #fff;
  gap: 30px;
}
@media only screen and (max-width: 900px) {
  #contact {
    margin-top: 70px;
  }
}
@media only screen and (max-width: 600px) {
  #contact {
    margin-top: 50px;
    gap: 20px;
  }
}

.last-contact {
  display: flex;
}
.last-contact .left {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  padding-top: 50px;
  gap: 20px;
}
@media only screen and (max-width: 900px) {
  .last-contact .left {
    margin-top: 10px;
  }
}
@media only screen and (max-width: 600px) {
  .last-contact .left {
    padding-top: 30px;
  }
}
.last-contact .left h2 {
  text-align: center;
}
.last-contact .left img {
  width: 400px;
  margin-bottom: 30px;
}
@media only screen and (max-width: 1200px) {
  .last-contact .left img {
    width: 350px;
  }
}
@media only screen and (max-width: 900px) {
  .last-contact .left img {
    width: 300px;
    margin-bottom: 10px;
  }
}
@media only screen and (max-width: 600px) {
  .last-contact .left img {
    width: 250px;
  }
}
.last-contact .left .icons {
  width: 100%;
  margin-top: 30px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
@media only screen and (max-width: 900px) {
  .last-contact .left .icons {
    margin-top: 10px;
  }
}
.last-contact .left .icons a {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid #163c87;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}
@media only screen and (max-width: 1500px) {
  .last-contact .left .icons a {
    width: 130px;
    height: 130px;
  }
}
@media only screen and (max-width: 900px) {
  .last-contact .left .icons a {
    width: 110px;
    height: 110px;
  }
}
@media only screen and (max-width: 600px) {
  .last-contact .left .icons a {
    width: 80px;
    height: 80px;
  }
}
.last-contact .left .icons a:hover {
  background: #163c87;
}
.last-contact .left .icons a:hover img {
  filter: brightness(0) invert(1);
}
.last-contact .left .icons a img {
  width: 70px;
  margin: 0;
}
@media only screen and (max-width: 1500px) {
  .last-contact .left .icons a img {
    width: 60px;
  }
}
@media only screen and (max-width: 900px) {
  .last-contact .left .icons a img {
    width: 50px;
  }
}

.gallery-container {
  width: 100%;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
}
@media only screen and (max-width: 900px) {
  .gallery-container {
    margin-top: 60px;
    padding: 0;
    flex-direction: column;
    justify-content: center;
  }
}

.gallery-left, .gallery-right {
  width: calc(50% - 4px);
  display: flex;
  flex-direction: column;
  line-height: 0;
}
@media only screen and (max-width: 900px) {
  .gallery-left, .gallery-right {
    width: 100%;
  }
}
.gallery-left picture:not(:last-child), .gallery-right picture:not(:last-child) {
  margin-bottom: 8px;
}
.gallery-left img, .gallery-right img {
  max-width: 100%;
}

@media only screen and (max-width: 900px) {
  .gallery-left {
    margin-bottom: 8px;
  }
}

#privacy {
  display: flex;
  flex-direction: column;
  margin: 100px 50px;
}
#privacy h2 {
  margin-bottom: 20px;
  margin-top: 30px;
}
