.main-content {
  width: 100%;
  height: 650px;
  text-align: center;
  color: var(--color-3);
  background-image: url(../img/img.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 130px;
}

.main-content-p {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 100px;
  text-shadow: 0 0 5px var(--color-6), 2px 2px 10px var(--color-6);
}

.section {
  width: 100%;
  height: fit-content;
  background-color: var(--color-3);
  border-top: 5px solid var(--color-2);
  display: flex;
  justify-content: space-between;
  padding: 50px 100px;
}

.section-1 {
  color: var(--color-3);
  background-color: var(--color-1);
}

.section-1-reg-no {
  font-size: 3.5rem;
  font-weight: 400;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: center;
  flex-basis: 30%;
}

.section-1-reg-no-1 {
  margin-bottom: 4rem;
}

.section-1-reg-no-2 {
  margin-top: 4rem;
}

.section-1-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-basis: 70%;
  margin-left: 80px;
}

.section-1-text-1 {
  margin-bottom: 2.5rem;
}

.section-1-text-2 {
  margin-top: 2.5rem;
}

.section-2 {
  color: var(--color-6);
  background-color: var(--color-3);
  text-align: justify;
}

.gallery {
  background: radial-gradient(var(--color-2) 0%, var(--color-1) 50%);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /*
    height: fit-content;
    */
  padding: 50px 50px;
}

.gallery-img {
  width: calc(30% - 15px);
  margin: 15px;
  /*
    border: 4px solid var(--color-2);
    */
  border-radius: 30px;
  box-shadow: 0 0 10px var(--color-6), 0 0 20px var(--color-6);
}

/* Resize main image */

@media only screen and (max-width: 1120px) {
  .main-content {
    height: 500px;
  }

  .main-content-p {
    margin-bottom: 80px;
  }

  /* .section-1-reg-no {
        flex-basis: 35%;
    }

    .section-1-text {
        flex-basis: 65%;
    } */
}

/* TABLET VERSION */

@media only screen and (max-width: 900px) {
  .main-content-p {
    font-size: 3.5rem;
    margin-bottom: 80px;
  }

  .section {
    justify-content: center;
    padding: 20px 20px;
    flex-wrap: wrap;
  }

  .section-1-reg-no {
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    flex-basis: 100%;
    column-gap: 50px;
    padding-bottom: 5px;
  }

  .section-1-reg-no-1 {
    margin-bottom: 0;
  }

  .section-1-reg-no-2 {
    margin-top: 0;
  }

  .section-1-text {
    flex-basis: 100%;
    margin-left: 0;
    margin-top: 10px;
  }

  .section-1-text-1 {
    margin-bottom: 1.5rem;
  }

  .section-1-text-2 {
    margin-top: 1.5rem;
  }

  .gallery {
    padding: 20px 20px;
  }

  .gallery-img {
    width: calc(45% - 15px);
  }
}

@media only screen and (max-width: 820px) {
  .main-content {
    height: 400px;
  }
}

/* MOBILE VERSION */

@media only screen and (max-width: 600px) {
  .main-content {
    height: 300px;
  }

  .main-content-p {
    font-size: 3rem;
    margin-bottom: 10px;
  }

  .section {
    justify-content: center;
    padding: 20px 20px;
    flex-wrap: wrap;
  }

  .section-1-reg-no {
    font-size: 2rem;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    flex-basis: 100%;
    column-gap: 50px;
    padding-bottom: 5px;
  }

  .section-1-reg-no-1 {
    margin-bottom: 0;
  }

  .section-1-reg-no-2 {
    margin-top: 0;
  }

  .section-1-text {
    font-size: 2rem;
    flex-basis: 100%;
    margin-left: 0;
    margin-top: 10px;
  }

  .section-1-text-1 {
    margin-bottom: 1.5rem;
  }

  .section-1-text-2 {
    margin-top: 1.5rem;
  }

  .section-2 div p {
    font-size: 2rem;
  }

  .gallery {
    padding: 20px 0px;
  }

  .gallery-img {
    margin: 10px 20px;
    width: calc(100% - 15px);
  }
}

@media only screen and (max-width: 480px) {
  .main-content {
    margin-top: 80px;
  }
}
