/*-------------------------- HEADER --------------------------*/
#home {
  position: relative;
  width: 100%;
  padding-top: 8.8rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../img/msr4ps/background3.jpg) no-repeat center center;
  background-size: cover;
  z-index: -1;
  animation: blurAnimation 1.2s ease-in-out 1s forwards;
}

@keyframes blurAnimation {
  0% {
    filter: blur(0) brightness(1);
  }
  100% {
    filter: blur(3px) brightness(0.7);
  }
}

#home h1 {
  margin: 2%;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  margin: 10px 0 10px 0;
  color: rgb(273, 179, 119);
  font-family: 'Palanquin Dark', sans-serif;
  text-shadow: 0 28px 28px rgba(0, 0, 0, 0.9);
}

#home h2 {
  color: white;
  margin: 10px 0 10px 0;
  font-family: 'Palanquin Dark', sans-serif;
  font-size: 36px;
  font-weight: 580;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 1);
  text-align: center;
}

#home h3 {
  color: white;
  margin: 10px 0 10px 0;
  font-family: 'Palanquin Dark', sans-serif;
  font-size: 24px;
  font-weight: 100;
  text-shadow: 0 8px 8px rgba(0, 0, 0, 1);
}

#home img {
  margin: 2% 0 1% 0;
  width: 25%;
}

#home a {
    white-space: nowrap;
    transition: 0.3s;
    color: white;
    font-family: 'Palanquin Dark', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: rgb(273, 179, 119);
}

#home a:hover {
  text-shadow: 6px 3px 3px rgba(255, 255, 255, 0.6);
}

#home .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 30px 10px 30px;
  border-radius: 4px;
  transition: 0.5s;
  color: #fff;
  background: #3B8BCE;
  box-shadow: 0 8px 28px rgba(90, 155, 228, 0.45)
}

#home .btn-get-started:hover {
  background: #206bfb;
  box-shadow: 0 8px 28px rgba(32, 107, 251, 0.45);
}

#home .btn-watch-video {
  font-size: 16px;
  display: inline-block;
  transition: 0.5s;
  margin-left: 25px;
  color: #5f687b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#home .btn-watch-video i {
  color: #949cac;
  font-size: 32px;
  line-height: 0;
  margin-right: 8px;
}

#home .btn-watch-video:hover i {
  color: #3B8BCE;;
}

#home .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

#buttons-div {
    padding: 1% 25% 5% 25%;
    margin: 0% 0% 5% 0%;
    height: 10%;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-button {
    margin: 0% 2% 0% 2%;
    display: inline-block;
    padding: 6px 13px 8px 13px;
    border-radius: 4px;
    transition: 0.5s;
    color: #636363;
    background: #f9f9fa;
}

.header-button:hover {
    color: #fff;
    background: #3B8BCE;;
}

.header-button i{
    font-size: 24px;
}

@media (max-width: 991px) {
  #home {
    height: 100vh;
  }

  #home .animated {
    animation: none;
  }

  #home .home-img {
    text-align: center;
  }

  #home img {
    margin-top: 1%;
    width: 40%;
  }
}


@media (max-width: 768px) {
  #home {
    height: auto;
  }

  #home h1 {
    font-size: 36px;
    line-height: 36px;
  }

  #home h2 {
    font-size: 26px;
    line-height: 24px;
    margin-bottom: 30px;
    text-align: center;
  }

  #home h3 {
    font-size: 20px;
  }

  #home .home-img img {
    width: 70%;
  }
}

@media (max-width: 575px) {
  #home .home-img img {
    width: 80%;
  }
  #buttons-div {
      padding: 1% 25% 5% 13%;
  }
  #home img {
    width: 60%;
  }
}

@media (max-width: 445px) {
  #home .home-img img {
    width: 60%;
  }
}

/*-------------------------- ABOUT --------------------------*/

#about .container {
  max-width: 1500px;
}

#about h2 {
  color: rgb(273, 179, 119);
  font-family: 'Palanquin Dark', sans-serif;
  font-size: 40px;
}

#about h3 {
  color: rgb(273, 179, 119);
  font-family: 'Palanquin Dark', sans-serif;
  font-size: 30px;
  padding-bottom: 0.8%;
}

#about h4 {
  font-size: 22px;
}

#about p {
  margin-top: 2%;
  font-size: 18px;
  text-align: justify;
}

.about-container {
  margin-top: 4%;
  margin-bottom: 2%;
  padding-left: 3%;
  padding-right: 3%;
  border-left: 1px solid rgb(48, 86, 175);
}

#about a {
  color: rgb(48, 86, 175);
}

#about a:hover {
  color: rgb(273, 179, 119);
  transition: 0.6s;
}

@media (max-width: 1900px) {
  #about .container {
    width: 90%;
  }
}

@media (max-width: 1600px) {
  #about .container {
    width: 80%;
  }
}

@media (max-width: 991px) {
  #about .container {
   width: 80%;
  }
}

/*-------------------------- INFOS --------------------------*/

#infos .container {
  margin-top: 5%;
  max-width: 1500px;
  align-content: center;
  text-align: center;
}

#infos h2 {
  color: rgb(273, 179, 119);
  font-family: 'Palanquin Dark', sans-serif;
  font-size: 40px;
  margin-bottom: 4%;
}

#infos h3 {
  color: rgb(273, 179, 119);
  font-family: 'Palanquin Dark', sans-serif;
  font-size: 30px;
}

#infos h4 {
  font-size: 22px;
}

#infos p {
  margin-top: 2%;
  font-size: 18px;
  text-align: justify;
}

#important-dates,
#twitter {
  width: 50%;
  box-sizing: border-box;
  padding: 10px;
}

@media (max-width: 900px) {
  #infos .container {
    flex-direction: column;
  }

  #important-dates,
  #twitter {
    width: 100%;
  }
}

#date-list {
  display: flex;
  flex-direction: column;
  padding-left: 30%;
}

.date {
  padding: 0 0 26px 20px;
  margin-top: 0;
  position: relative;
  text-align: left;
  border-left: 2px solid rgb(3, 3, 3);
}
.date .next-date{
  border-left: 2px solid rgb(48, 86, 175);
}

#infos h3 {
  color: rgb(48, 86, 175);
  font-size: 26px;
}

#infos p {
  margin-top: 0;
  font-size: 18px;
}

#infos .next-date p {
  font-weight: 600;
}

.date::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: white;
  border: 3px solid rgb(48, 86, 175);
}

.next-date::before {
  background: rgb(48, 86, 175);
}

/*-------------------------- SUPPORTING PROJECTS --------------------------*/

#supporting_projects .container {
  max-width: 1500px;
  background-color: #f3f4f6;
}

#supporting_projects h2 {
  color: rgb(273, 179, 119);
  font-family: 'Palanquin Dark', sans-serif;
  font-size: 40px;
  padding: 1% 1%;
  margin-bottom: 3%;
}

#supporting_projects h3 {
  color: rgb(273, 179, 119);
  font-family: 'Palanquin Dark', sans-serif;
  font-size: 30px;
  padding-bottom: 0.8%;
}

#supporting_projects h4 {
  font-size: 22px;
  padding-bottom: 2%;
}

#supporting_projects p {
  font-size: 18px;
  text-align: justify;
}

.supporting-container {
  margin-top: 2%;
  margin-bottom: 2%;
  padding-left: 3%;
  padding-right: 3%;
}

#supporting_projects a {
  color: rgb(48, 86, 175);
}

#supporting_projects a:hover {
  color: rgb(273, 179, 119);
  transition: 0.6s;
}

#supporting_projects img {
  height: 260px;
}

#supporting_projects .social_container {
    display:flex;
    justify-content: center;
    align-items: center;
}

#supporting_projects .social_container a {
    margin: 1% 3%;
    border-radius: 50%;
    padding: 8px 16px;
    display: inline-block;
    color: rgb(48, 86, 175);
    background-color: white;
    border: none;
    text-align: center;
}

#supporting_projects .social_container i:hover {
  color: rgb(273, 179, 119);
  transition: 0.3s;
}

#supporting_projects .social_container i {
    font-size: 30px;
    color: rgb(48, 86, 175);
}

.img_container {
  display: flex;
  justify-content: center; /* Centra orizzontalmente i contenuti */
  align-items: center; /* Centra verticalmente i contenuti, se vuoi */
  flex-direction: column;
}

.supporting-info {
  width: 70%;
}

.supporting-img {
  width: 30%;
}

@media (max-width: 1000px) {
    #supporting_projects .container {
        flex-direction: column;
    }

    #supporting_projects img {
      height: 50%;
      width: 50%;
    }

    .img_container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

  .supporting-info {
    width: 100%;
  }

  .supporting-img {
    width: 100%;
  }
}




