@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

body {
  -webkit-font-smoothing: antialiased;

}

h1,
h2,
h3,
h4 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: bold;
  line-height: 100%;
  color: white;
}

::selection {
  color: #ec4141;
}

h1 {
  font-size: 80px;
  letter-spacing: -4px;
}

h2 {
  font-size: 56px;
  letter-spacing: -2.8px;
}

h3 {
  font-size: 48px;
  letter-spacing: -1.6px;
}

h5 {
  font-family: "Inter", sans-serif;
  font-weight: medium;
  font-size: 32px;
  color: white;
}

p {
  font-size: 24px;
  font-family: "Inter", sans-serif;
  font-weight: medium;
  color: white;
}

.containerCustom {
  width: 1600px;
  margin: 0 auto;
  z-index: 999;
  position: relative;
}

section:not(#hero) {
  overflow: hidden;
  padding: 50px 0;
}
#hero {
  height: 100dvh;
  width: 100%;
  background-color: #111;
  position: relative;
  overflow: hidden;
}

#hero>img {
  height: 100%;
  width: auto;
  position: absolute;
  top: 0;
  right: -5%;
  pointer-events: none;
}

#logo {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
}

.socialContainer a {
  color: white;

}

.socialContainer a:nth-of-type(1):hover i {
  color: #1877F2;
}

.socialContainer a:nth-of-type(2):hover i {
  color: #C13584;
}

.socialContainer a:nth-of-type(3):hover i {
  color: #FF0000;
}

.socialContainer a:nth-of-type(4):hover i {
  color: #E60023;
}

.socialContainer a:nth-of-type(5):hover i {
  color: #ec4141;
}

.socialContainer a i {
  font-size: 50px;
  transition: all .5s ease-in-out;
}

#hero .socialContainer a {
  color: white;
}

#naples h2,
#naples h3,
#naples p,
#gallery h2,
#gallery h3,
#gallery p,
#end h2,
#end h3,
#end p {
  color: #111;
}

.linea {
  width: 100%;
  background-color: #111111;
  display: inline-block;
}

.linea-grande {
  height: 5px;
}

.linea-piccola {
  height: 3px;
  margin-bottom: 20px;
}

#naples .intestazione,
#gallery .intestazione {
  margin-bottom: 20px;
}

.nocapo {
  white-space: nowrap;
}

#naples .row {
  margin-bottom: 100px;
  position: relative;
}

#naples .row::after {
  content: "";
  width: 100%;
  height: 250px;
  position: absolute;
  left: 0;
  bottom: -35px;
  z-index: -1;
  border-bottom: #ec4141 3px solid;
  border-right: #ec4141 3px solid;
}

#naples iframe {
  width: 70vw;
  height: 450px;
  border-radius: 20px 0 0 20px;
}

#courses {
  background-color: #111;
}

#courses img {
  height: 100%;
  width: auto;
  position: absolute;
  top: 0;
  right: -10%;
  opacity: 0.6;
  transform: scaleX(-1);

}

#courses .linea,
#info .linea {
  background-color: white;
}

#courses .containerCustom {
  position: relative;
  z-index: 9999;
}

#courses.row {
  margin-top: 20px;
  position: relative;
}

#courses .row>div {
  border-bottom: 3px solid #ffffff;
}

#courses .row .wrapper-info {
  width: 33.3334%;
}

#gallery .swiper {
  display: inline-block;
  height: 700px;
  width: 100%;
  border-radius: 20px;
  border: 3px #111 solid;

}

.swiper .swiper-wrapper .swiper-slide {
  position: relative;
}

.swiper .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: auto;



}

.swiper-button-next,
.swiper-button-prev {
  color: #ec4141;
}

.swiper-pagination-bullet {
  background: #ec4141;
}

.swiper-pagination-bullet-active {
  background: #ec4141;
}

#info {
  background-color: #111;
}

#info p {
  text-align: justify;
}

#info .row img {
  height: 600px;
  width: auto;
}

#info .row p {
  font-size: 20px;
  font-weight: 200;
}

#wrapper-foto img {
  width: 100%;
  height: auto;
  border: 3px #111111 solid;
  border-radius: 20px;
  box-shadow: #111111 0px 0px 0px 2px inset, rgba(255, 255, 255, 0.00) 10px -10px 0px -3px, #EC4141 5px -5px, rgba(255, 255, 255, 0.00) 20px -20px 0px -3px;
}

#end .row a {
  color: #111;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: medium;
  font-size: 24px;
  transition: all .5s ease-in-out;
}

#end .row a:hover {
  color: #ec4141;
}

#end .row i {
  margin-right: 10px;
}

#end .socialContainer {
  padding: 0 50px;
}

#end .socialContainer a {
  color: #111;
}

@media (min-width:1400px) and (max-width: 1620px) {
  .containerCustom {
    width: 1320px;
  }

  #gallery .swiper {
    height: 500px;
  }

  #info .row img {
    height: 436px;
    width: auto;
  }

  #hero>img {
    top: 0;
    right: -20%;
  }
}

@media (min-width:1200px) and (max-width: 1399px) {
  .containerCustom {
    width: 1140px;
  }

  h1 {
    font-size: 72px;
    letter-spacing: -3.6px;
  }

  h2 {
    font-size: 48px;
    letter-spacing: -1.6px;
  }

  h3 {
    font-size: 40px;
    letter-spacing: -1.2px;
  }

  h5 {
    font-size: 30px;
  }

  p {
    font-size: 20px;
  }

  #gallery .swiper {
    height: 520px;
  }

  #info .row img {
    height: 400px;
    width: auto;
  }

  .socialContainer a i {
    font-size: 40px;
  }

  #hero>img {
    top: 0;
    right: -30%;
  }

  #end .row a {
    font-size: 20px;
  }


}

@media (min-width:1200px) and (max-width: 1399px) {
  .containerCustom {
    width: 1140px;
  }

  h1 {
    font-size: 72px;
    letter-spacing: -3.6px;
  }

  h2 {
    font-size: 48px;
    letter-spacing: -1.6px;
  }

  h3 {
    font-size: 40px;
    letter-spacing: -1.2px;
  }

  h5 {
    font-size: 30px;
  }

  p {
    font-size: 20px;
  }

  #gallery .swiper {
    height: 520px;
  }

  #info .row img {
    height: 400px;
    width: auto;
  }

  .socialContainer a i {
    font-size: 40px;
  }

  #hero>img {
    top: 0;
    right: -30%;
  }

  #end .row a {
    font-size: 20px;
  }

}

@media (min-width:992px) and (max-width: 1199px) {
  .containerCustom {
    width: 960px;
  }

  h1 {
    font-size: 72px;
    letter-spacing: -3.6px;
  }

  h2 {
    font-size: 48px;
    letter-spacing: -1.6px;
  }

  h3 {
    font-size: 40px;
    letter-spacing: -1.2px;
  }

  h5 {
    font-size: 30px;
  }

  p {
    font-size: 18px;
  }

  #naples iframe {
    height: 385px;
  }

  #gallery .swiper {
    height: 450px;
  }

  #info .row img {
    height: 330px;
    width: auto;
  }

  .socialContainer a i {
    font-size: 40px;
  }

  #hero>img {
    top: 0;
    right: -35%;
  }

  #end .row a {
    font-size: 18px;
  }
}

@media (min-width:768px) and (max-width: 991px) {
  .containerCustom {
    width: 720px;
  }

  h1 {
    font-size: 72px;
    letter-spacing: -3.6px;
  }

  h2 {
    font-size: 48px;
    letter-spacing: -1.6px;
  }

  h3 {
    font-size: 40px;
    letter-spacing: -1.2px;
  }

  h5 {
    font-size: 30px;
  }

  p {
    font-size: 18px;
  }

  #naples iframe {
    height: 385px;
  }

  #gallery .swiper {
    height: 340px;
  }

  #info .row {
    flex-direction: column;
  }

  #info .row>div {
    width: 100%;
  }

  #info .row img {
    height: 400px;
    width: auto;
  }

  .socialContainer a i {
    font-size: 40px;
  }

  #hero>img {
    top: 0;
    right: -75%;
    opacity: 0.6;
  }

  #end .row {
    flex-direction: column;
  }

  #end .row>div {
    width: 100%;
    margin-bottom: 20px;
  }

  #end .row a {
    font-size: 18px;
  }
}
@media (min-width: 575px) and (max-width: 767px){
    .containerCustom {
    width: 540px;
  }

  h1 {
    font-size: 72px;
    letter-spacing: -3.6px;
  }

  h2 {
    font-size: 48px;
    letter-spacing: -1.6px;
  }

  h3 {
    font-size: 40px;
    letter-spacing: -1.2px;
  }

  h5 {
    font-size: 30px;
  }

  p {
    font-size: 18px;
  }
#naples .row > div:nth-of-type(2) {
  margin-left: calc((100vw - 100%) / -2);
}

  #naples iframe {
    width: 98vw;
    height: 300px;
    border-radius: 0px;
}

  #gallery .swiper {
    height: 60vh;
  }

  #info .row {
    flex-direction: column;
  }

  #info .row>div {
    width: 100%;
  }

  #info .row img {
    height: 300px;
    width: auto;
  }

  .socialContainer a i {
    font-size: 40px;
  }
      #courses .row {
        display: flex;
        justify-content: center;
    }
#courses .row div {
        flex-direction: column;
        text-align: center;
        width: 70%;
    }
  #hero>img {
    top: 0;
    right: -75%;
    opacity: 0.6;
  }

  #end .row {
    flex-direction: column;
  }

  #end .row>div {
    width: 100%;
    margin-bottom: 20px;
  }

  #end .row a {
    font-size: 18px;
  }
}
@media (max-width: 575px) {
  .containerCustom {
    width: 100%;
    padding: 20px;
  }

  h1 {
    font-size: 56px;
  }
  h2{
    font-size: 40px;
  }
  h3{
    font-size: 32px;
  }
h5{
  font-size: 24px;
}
.socialContainer a i {
    font-size: 25px;
  }
  p{
    font-size: 16px;
  }
  #hero .containerCustom{
    align-items: end!important;
  }
  #hero #titoli{
    text-align: center;
  }
  #logo {
    width: 100px;
    height: 100px;
}
  #hero>img {
    top: 0;
    right: 50%;
    transform: translateX(50%);
    opacity: 0.6;
  }
  #hero .socialContainer{
    margin-bottom: 20px;
  }
  #naples .row > div:nth-of-type(2){
    margin-left: calc((107vw - 100%) / -2);
  }

  #naples iframe {
    width: 100vw;
    height: 300px;
    border-radius: 0px;
}
    #courses .row {
        display: flex;
        justify-content: center;
    }
#courses .row div {
        flex-direction: column;
        text-align: center;
        width: 70%;
    }
    #courses img {
    right: -140%;
}
    #info .row {
        flex-direction: column;
    }
        #info .row > div {
       width: 100%;
    }
    #info .row img {
    height: 200px;
    width: auto;
}
#gallery .swiper {
    height: 60vh;
}
#end .row {
        flex-direction: column;
    }
    #end .row a{
      font-size: 18px;
    }
  #end .socialContainer {
    margin-bottom: 20px;
}
}