* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
  text-decoration: none;
}

body {
  font-family: sans-serif;
  background-color: #023E8A;
  color: white;
  text-decoration: none;
}

nav {
  background: #03045E;
  padding: 5px 30px;
}

ul {
  list-style-type: none;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.logo a:hover {
  text-decoration: none;
}

.menu li {
  font-size: 18px;
  padding: 15px 5px;
  white-space: nowrap;
}

.menu li a {
  color: white;
  text-decoration: none;
}

.menu li a:hover {
  color: #8AA5D1;
}

.menu li.logo {
  display: flex;
  align-items: center;
}

.menu li.logo a {
  display: flex;
  align-items: center;
}

.menu li.logo a img {
  margin-right: 0;
}

.button.secondary {
  border-bottom: 1px #444 solid;
}

.button a {
  color: #3264AD;
  padding: 7.5px 15px;
  background: item button;
  border: 1px #3264AD solid;
  border-radius: 50em;
}

.button.secondary a {
  color: #3264AD;
  background: transparent;
}

.button a:hover {
  text-decoration: none;
  background: #3264AD;
  transition: all .25s;
  color: white;
}

.button:not(.secondary) a:hover {
  background: #3264AD;
  border-color: #3264AD;
}

.button.secondary a:hover {
  color: #ddd;
}

.hero-btn {
  border-radius: 30px;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.hero-btn:hover {
  border: 1px solid #3264AD;
  background: #3264AD;
  transition: 1s;
}

.header {
  min-height: 100vh;
  width: 100%;
  background-image: url(img/banner.png);
  background-position: center;
  background-size: cover;
  position: relative;
}
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-width: 100%;
  height: auto;
}

.toggle {
  order: 1;
}

.item.button {
  order: 2;
}

.item {
  width: 100%;
  text-align: center;
  order: 3;
  display: none;
}

.item.active {
  display: block;
}
.toggle {
  cursor: pointer;
}

.bars {
  background: #999;
  display: inline-block;
  height: 2px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 18px;
}

.bars:before,
.bars:after {
  background: #999;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.bars:before {
  top: 5px;
}

.bars:after {
  top: -5px;
}

.home-title,
.home-description {
  text-align: center;
  font-family: "Open Sans", Helvetica, Arial, Verdana, sans-serif;
}

.home-description strong {
  color: #0096C7;
  font-weight: 700;
}

.home-title {
  font-size: 40px;
  font-weight: bold;
  line-height: 50px;
  color: #8AA5D1;
  margin-top: 4%;
  margin-bottom: 5%;
}

.home-description {
  font-size: 21px;
  font-weight: 400;
  line-height: 28px;
  color: #bcb8b8;
  margin-left: 4%;
  margin-right: 4%;
}
footer {
  background-color: #03045E;
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
}

.footer-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-info p {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 10px;

}

.footer-info a p {
  color: #005eab;
  font-size: 16px;
  margin-bottom: 10px;
}
.footer-info :hover {
  color: #00c2ff;
}
.linea {
  width: 80%;
  height: 2px;
  background-color: #fff;
  margin: 10px auto;
}


.linea-foot {
  width: 80%;
  height: 2px;
  background-color: #fff;
  margin: 10px auto;
}

.linea-foot-2 {
  width: 60%;
  height: 2px;
  background-color: #fff;
  margin: 10px auto;
}

/* Tablet menu */
@media all and (min-width: 468px) {
  .menu {
    justify-content: center;
  }

  .logo {
    flex: 1;
  }

  .item.button {
    width: auto;
    order: 1;
    display: block;
  }

  .toggle {
    order: 2;
  }

  .button.secondary {
    border: 0;
  }


  .button a {
    padding: 7.5px 15px;
    background: #3264AD;
    border: 1px #3264AD solid;
    border-radius: 50em;
    color: white;
  }

  .button.secondary a {
    background: transparent;
    color: #3264AD;
  }

  .button a:hover {
    text-decoration: none;
    transition: all .25s;
    background: #3264AD;
    border-color: #3264AD;
  }

  .button.secondary a:hover {
    color: #ddd;
  }

  .social_img {
    height: 300px;
    width: auto;
    margin: 1% 1% 1% 1%;
  }
}

/* Desktop menu */
@media all and (min-width: 768px) {
  .item {
    display: block;
    width: auto;
  }

  .toggle {
    display: none;
  }

  .logo {
    order: 0;
  }

  .item {
    order: 1;
  }

  .button {
    order: 2;
  }

  .menu li {
    padding: 15px 10px;
  }

  .menu li.button {
    padding-right: 0;
  }

  #Home {
    text-align: center;
    padding: 20px;
  }


  .home-title {
    margin-top: 3%;
    margin-bottom: 2%;
  }

  .home-description {
    margin-left: 13%;
    margin-right: 13%;
  }


  .social_img {
    height: 400px;
    width: auto;
    margin: 1% 1% 1% 1%;
  }

}

.row_2{
  margin-top: 4%;
  display: flex;
  justify-content:space-between;
  gap: 1%;
}
.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.contact-container p {
  font-size: 21px;
  font-weight: 400;
  line-height: 28px;
  color: #fff;
  margin-left: 4%;
  margin-right: 4%;
  margin-top: 1%;
  margin-bottom: 3%;
}

.contact-container ul {
  font-size: 36px;
  margin-left: 4%;
  margin-right: 4%;
  margin-top: 3%;
}

.contact-container ul strong {
  font-size: 36px;
}

.mappa_poszione {
  margin-top: 2%;
  margin-left: 4%;
  margin-right: 4%;
  margin-bottom: 2%;
  width: 92%;
  height: 500px;

}

.contact-us {
  width: 80%;
  margin: auto;

}

.contact-col {
  flex-basis: 48%;
  margin-bottom: 10%;
}

.contact-col div {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.contact-col div .fa {
  font-size: 38px;
  color: #c6deff;
  margin: 10px;
  margin-right: 30px;
}

.contact-col div p {
  padding: 0;
}

.contact-col div h5 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #0096C7;
  font-weight: bold;
}

.contact-col input,
.contact-col textarea {
  color: #fff;
  background-color: transparent;
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  font-size: 62px;
  margin-bottom: 10px;
}

.text-box p {
  margin: 10px 0 40px;
  font-size: 14px;
  color: #fff;
}

#Home .home-title {
  color: #0096C7;
  font-weight: 1000;
}
.partner-title{
  color: #0096c7;
  font-weight: 1000;
  font-size: 40px;
  line-height: 50px;
  margin-top: 2%;
  margin-bottom: 1%;
  text-align: center;
}
#Home .home-description {
  color: #fff;
}

.button-container {
  display: flex;
  text-align: center;
  justify-content: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10%;
}

.custom-button_facebook {
  background: linear-gradient(45deg, #1877f2, #1877f2, #1877f2, #1877f2, #1877f2, #1877f2);
  color: white;
  border: none;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
  margin-right: 35px;
}

.custom-button_instagram {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  color: white;
  border: none;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
  margin-right: 35px;
}

.custom-button_email {
  background: linear-gradient(45deg, #4285F4, #34A853, #FBBC05, #FF5722);
  color: white;
  border: none;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
  margin-right: 35px;
}

.custom-button_number {
  background: linear-gradient(45deg, #007aff, #00c2ff);
  color: white;
  border: none;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
  margin: 0;

}

.custom-button-whatsapp {
  background: linear-gradient(45deg, #25d366, #128C7E);
  color: white;
  border: none;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
  margin-right: 35px;
  text-align: center;
  line-height: 75px;
  text-decoration: none;
}

.custom-button_facebook:hover {
  background: linear-gradient(45deg, #0a61ab, #0a61ab, #0a61ab, #0a61ab, #0a61ab, #0a61ab);
  transform: scale(1.05);
}

.custom-button_instagram:hover {
  background: linear-gradient(45deg, #f77737, #f56b2a, #f94f1e, #ff3a18, #ff2e13, #ff1e0e);
  transform: scale(1.05);
}

.custom-button_email:hover {
  background: linear-gradient(45deg, #FF5722, #FBBC05, #34A853, #4285F4);
  transform: scale(1.05);
}

.custom-button_number:hover {
  background: linear-gradient(45deg, #005eff, #00b9ff);
  transform: scale(1.05);
}

.custom-button-whatsapp:hover {
  background: linear-gradient(45deg, #128C7E, #25d366);
  transform: scale(1.05);

}


.sub-header {
  height: 80vh;
  width: 100%;
  background-image: url(img/banner.png);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.servizi {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

.servizi-col_2 {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.servizi-col {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.servizi-col_2 img {
  width: 248px;
  height: 350.8px;

}
.servizi-col img {
  width: 100%;
  display: block;
}


.servizi p {
  text-align: center;
  color: #fff;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 2%;
}

.layer_2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.layer_2:hover {
  background: #3263ad8e;
}

.layer_2 h3 {
  width: 100%;
  font-weight: 500;
  font-weight: bold;
  color: transparent;
  font-size: 26px;
  bottom: 0;
  margin-bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  text-shadow: #222;
  position: absolute;
  transition: 0.5s;
}

.layer_2:hover h3 {
  bottom: 49%;
  opacity: 1;
  color: white;
}

.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.layer:hover {
  background: #3263ad8e;
}

.layer h3 {
  width: 100%;
  font-weight: 500;
  font-weight: bold;
  color: #fff;
  font-size: 26px;
  bottom: 0;
  margin-bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  text-shadow: #222;
  position: absolute;
  transition: 0.5s;
}

.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}

.client-body {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.client-wrap {
  width: 90%;
  height: auto;
  text-align: center;
}

.client-wrap h1 {
  font-size: 32px;
  color: #555;
}

.client-wrap hr{
  width: 15%;
  height: 5px;
  border: none;
  background: #26ccca;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
}
.client-in {
  width: 90%;
  margin-left: 5%;
  margin-RIGHT: 5%;
  height: auto;
  text-align: center;
  display: flex;
}


.client-in ul li {
  list-style: none;
  display: inline-block;
  width: auto;
  height: 200px; 
  margin: 1%;
  justify-content: center;
  text-align: center; 

  margin-bottom: 4%;
}

.client-in ul li img {
  margin-top: 2%;
  width: 200px;
  height: auto;
}

.client-in p {
  margin-top: 4%;
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  width: 100%;
}





@media (max-width: 700px) {

  .text-box h1 {
    font-size: 25px;
    margin-top: 2%;
  }

  .menu li {
    font-size: 16px;
    padding: 15px 5px;
    white-space: nowrap;
  }

  .social_img {
    height: 300px;
    width: auto;
    margin: 1% 1% 1% 1%;
  }

  .mappa_poszione {
    height: 200px;
    margin-bottom: 10%;
  }

  .row_2{
    flex-direction: column;
  }
  .row {
    flex-direction: column;
  }

  .custom-button_instagram,
  .custom-button_email,
  .custom-button_linkedin,
  .custom-button_facebook {
    width: 50px;
    height: 50px;
    margin-right: 25px;
  }

  .custom-button_number {
    width: 50px;
    height: 50px;
  }

  .button-container {
    margin-top: 5%;
  }

  .servizi h1 {
    margin-bottom: 5%;
  }
  .servizi-col_2 img {
    width: 248px;
    height: 350.8px;
  }
  
}

@media only screen and (max-width: 1310px) {
  .servizi-col_2 img {
      width: calc(248px - (248px * 0.1));
      height: calc(350.8px - (350.8px * 0.1));
  }
}

@media only screen and (max-width: 1180px) {
  .servizi-col_2 img {
      width: calc(223.2px - (223.2px * 0.1));
      height: calc(315.72px - (315.72px * 0.1));
  }
}

@media only screen and (max-width: 1090px) {
  .servizi-col_2 img {
      width: calc(189.72px - (189.72px * 0.1));
      height: calc(268.362px - (268.362px * 0.1));
  }
}

@media only screen and (max-width: 915px) {
  .servizi-col_2 img {
      width: calc(161.262px - (161.262px * 0.1));
      height: calc(228.1077px - (228.1077px * 0.1));
  }
}