@import url("https://fonts.googleapis.com/css2?family=Questrial&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Questrial&family=Questrial:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  box-sizing: border-box;
}

body,
html {
  overflow-x: hidden;
}

.btn-primary {
  width: 100%;
  height: 45px;
  border-radius: 24px;
  border: 1px solid;
  padding: 12px 120px;
  gap: 10px;
  background: rgb(1, 87, 121);
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 24.51px;
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  background: #18769b;
}

.bg-custom-primary {
  background: #015779;
}

.bg-custom-tertiary {
  background: rgba(216, 150, 139, 0.6);
}

.bg-custom-info {
  background: rgba(215, 149, 138, 0.4);
}

.bg-custom-success {
  background: rgba(215, 149, 138, 0.25);
}

.third {
  background-color: rgb(148, 195, 218);
}

.primary {
  color: #015779;
}

p,
h1 {
  font-family: "Questrial", sans-serif;
}

.col-lg-6 h1 {
  font-family: "Questrial", sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 70px;
}

.img3 {
  width: 100%;
  height: 100%;
  padding-top: 20px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 10px;
}

.img-container {
  max-width: 633px;
  background: rgba(217, 217, 217, 0.2);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.lead {
  font-family: "Questrial", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 26px;
  width: 575px;
}

.light-text {
  font-weight: 100;
  font-family: "Open", sans-serif;
}

.icons-blog {
  display: flex;
  /* padding-top: 18px; */
  display: flex;
  justify-content: center;
  width: 184px;
  margin-left: 40px;
  height: 60px;
  gap: 20px;
  align-items: center;
}

.image {
  width: 200px;
  height: 200px;
  position: absolute;
  top: -160px;
  left: -20px;
  background: rgba(217, 217, 217, 0.2);
  border-radius: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
}

.btn-container {
  display: flex;
  gap: 25px;
  margin-top: 50px;
  justify-content: center;
}

.btn1 {
  background-color: rgb(215, 149, 138);
  color: #fff;
  width: 520px;
  height: auto;
  border-radius: 50px;
  border: 0;
  font-family: "Questrial", sans-serif;
  font-weight: 400;
  font-size: 33px;
  line-height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn2 {
  background: rgba(1, 87, 121, 0.5);
  color: #fff;
  width: 520px;
  height: auto;
  border-radius: 50px;
  border: 0;
  font-family: "Questrial", sans-serif;
  font-weight: 400;
  font-size: 33px;
  line-height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.btn1,
.btn2 {
  height: 60px !important;
}

.btn {
  padding: 10px 20px;
  color: white;
  cursor: pointer;
  user-select: none;
}

.btn1:hover {
  color: #fff;
  background: rgb(211, 122, 107);
}

.btn2:hover {
  color: #fff;
  background: rgba(1, 63, 87, 0.5);
}
/* .team .btn-container .btn1:active,
.btn1:visited{
  color: purple;
  background-color: black;
} */

.content {
  display: none;
  /* Hide content by default */
  padding: 10px;
}

.cards-container {
  display: grid;
  margin-top: 100px;
  margin-bottom: -50px;
}

.card {
  width: 354px;
  height: auto;
  border: 0;
  margin: 100px 0;
}

.team {
  margin-top: 42px;
}

.team-title {
  font-family: "Questrial", sans-serif;
  font-size: 48px;
  line-height: 65px;
  font-weight: 400;
  border-left: 10px solid rgb(1, 87, 121);
  color: rgb(1, 87, 121);
  padding-left: 20px;
}

.primary {
  border-radius: 50px;
  background-color: #fff;
  padding: 90px;
  align-items: center;
}

.title h2 {
  border-left: 5px solid #015779;
  padding: 20px;
  border-radius: 2px;
  font-family: "Questrial", sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 65px;
}

.card-title {
  font-family: "Questrial Flex", sans-serif;
  font-weight: 700;
  font-size: 28.8px;
  line-height: 43.2px;
  text-align: center;
}

.card-subtitle {
  font-family: "Questrial", sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 43.2px;
  text-align: center;
}

.card-text {
  font-family: "Questrial", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  text-align: center;
}

.card-dettails {
  width: 394px;
  height: 420px;
  padding: 20px;
  border-radius: 50px;
  font-family: "Questrial", sans-serif;
}

.info-doc {
  padding: 20px;
  border-radius: 50px;
  background-color: #fff;
  width: 100%;
  height: 100%;
  font-size: 16px;
  font-family: "Questrial", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
}

.col-xl-4 {
  margin: 20px 0;
}

.col-md-6 {
  margin: 150px 0;
}

.card1 .border-color-secondary {
  background-color: rgb(215, 149, 138);
}

.card2 .border-color-secondary {
  background-color: rgba(215, 149, 138, 0.6);
}

.card3 .border-color-secondary {
  background-color: rgba(250, 187, 176, 0.4);
}

.card4 .border-color-secondary {
  background-color: rgba(250, 187, 176, 0.25);
}

.card5 .border-color-secondary {
  background-color: rgb(1, 87, 121);
}

.card6 .border-color-secondary {
  background-color: rgba(1, 87, 121, 0.75);
}

.card7 .border-color-secondary {
  background-color: rgb(148, 195, 218);
}

.contact h2 {
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 29px;
  line-height: 46px;
  width: 360px;
  height: 46px;
  padding-left: 22px;
}
.contact {
  background-color: #94c3da;
  color: #fff;
  height: auto;
  height: 82px;
  display: flex;
}

.contact .container {
  align-content: center;
}

.kontakt-form {
  justify-content: space-between;
  margin-bottom: 20px;
  display: flex;
  padding: 37px;
}

.email-form {
  border: 1px solid rgba(189, 189, 189, 1);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1) !important;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid rgb(189, 189, 189);
  padding: 30px !important;
}

.text-light {
  font-family: "Questrial", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}

.address {
  font-family: "Questrial", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
}

.info-form small {
  color: rgb(159, 159, 159);
}

.small {
  font-weight: bold;
  color: rgb(1, 19, 52);
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  line-height: 26px;
}

.orari div {
  font-family: "Questrial", sans-serif;
  font-weight: 400;
  font-size: 18px;
}
.team-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer {
  background-color: #94c3da;
  color: #fff;
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-items: flex-start;
}

footer img {
  max-width: initial !important;
}

footer .navbar-brand {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

footer .navbar-brand img {
  margin-right: 10px;
}

footer .nav {
  width: fit-content;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
}

footer .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 1rem;
}

.upper-section {
  border-bottom: 1px solid #fff;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

footer .nav-link {
  color: white;
  font-family: "Questrial", sans-serif;
  font-weight: 500;
  font-size: 14.4px;
  line-height: 21.6px;
}

footer .nav-link:hover {
  color: white;
}

.social {
  margin-bottom: 10px;
}

.img3-sm {
  display: none;
}
.more h1 {
  color: #444546;
}

@media (max-width: 575.98px) {
  footer .container {
    flex-direction: column;
  }

  .social {
    margin-left: -15px !important;
  }

  footer .container .align-items-center {
    justify-content: center;
    flex-direction: column;
  }

  .map iframe {
    width: 291px !important;
  }

  .btn-container {
    gap: 5px;
  }

  .data {
    gap: 35px;
  }

  .col-lg-6 h1 {
    font-size: 31px;
  }

  .lead {
    font-size: 16px;
    line-height: 22px;
  }

  .more {
    text-align: center;
  }

  .kontakt-form {
    flex-direction: column-reverse;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .card {
    margin: 100px 0;
  }

  .btn1 {
    width: 175px;
    height: 42px;
    font-size: 15px;
  }

  .btn2 {
    width: 175px;
    height: 42px;
    font-size: 15px;
  }

  .card {
    width: 250px;
    height: auto;
    border: 0;
    margin: 50px;
  }

  .card-title {
    font-size: 20px;
    line-height: 17px;
  }

  .card-subtitle {
    font-size: 14px;
    line-height: 21px;
  }

  .card-text {
    font-size: 15px;
    line-height: 16px;
  }

  .image {
    width: 150px;
    height: 150px;
    top: -113px;
    left: -36px;
  }

  .image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
  }
}

@media (max-width: 767px) {
  .lead {
    width: 100%;
  }
  .card-dettails {
    width: 100%;
    height: 100%;
    padding: 20px;
    border-radius: 50px;
    font-family: "Questrial", sans-serif;
  }
  .lead {
    width: initial;
  }
  .social {
    display: flex;
  }

  .img3-sm {
    display: block;
  }

  .img3 {
    display: none;
  }

  .upper-footer-section {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .kontakt-form {
    flex-direction: column-reverse;
  }

  .contact h2 {
    font-size: 18px;
  }

  .cards-container {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .btn1 {
    width: 175px;
    height: 42px;
    font-size: 15px;
  }

  .btn2 {
    width: 175px;
    height: 42px;
    font-size: 15px;
  }

  .card {
    width: 250px;
    height: auto;
    border: 0;
    margin: 50px;
    margin-bottom: 100px !important;
  }

  .card-title {
    font-size: 20px;
    line-height: 17px;
  }

  .card-subtitle {
    font-size: 14px;
    line-height: 21px;
  }

  .card-text {
    font-size: 15px;
    line-height: 16px;
  }

  .image {
    width: 150px;
    height: 150px;
    top: -113px;
    left: -36px;
  }

  .image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
  }

  .icons-blog {
    margin-left: 10px;
    justify-content: start;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .lead {
    width: 100%;
  }
  .upper-footer-section {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .kontakt-form {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .info-form {
    display: flex;
    flex-direction: column;
    margin: auto;
  }

  .email-form {
    width: fit-content;
    margin: auto;
    margin-top: 20px;
  }

  .data {
    display: flex;
    justify-content: space-around;
    margin: 0;
  }

  .data-wrapper {
    width: 400px;
  }

  .contact h2 {
    font-size: 18px;
  }

  .cards-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .card {
    width: 296px;
    height: auto;
    border: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .image {
    width: 150px;
    height: 150px;
    top: -113px;
    left: -36px;
  }

  .image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
  }

  .btn1 {
    font-size: 20px;
    width: 400px;
    height: auto;
  }

  .btn2 {
    font-size: 20px;
    width: 400px;
    height: auto;
  }
}

@media (min-width: 1201px) {
  .cards-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 400px) {
  .kontakt-form {
    padding: 10px;
  }

  .info-form {
    margin-inline: auto;
  }
}
