@import "reset.css";
@import "fonts.css";
@import "menu.css";
@import "scrollbar.css";

body {
  background-color: #f6f6ef;
  height: 100%;
}

.body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  font: inherit;
}

html {
  height: 100%;
}

.wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  height: calc(100% - 16vh);
  padding: 2vh 0;
}

.about-div {
  display: flex;
  width: 60%;
  gap: clamp(12px, 5vh, 72px);
  flex-direction: column;
  height: 100%;
  justify-content: center;
  margin: 0px 52px;
}

.about-div p {
  width: 100%;
  font-family: "League Spartan";
  font-size: clamp(20px, 1.5vw, 50px);
  color: #655a30;
  flex-wrap: wrap;
  text-align: justify;
  align-items: left;
}

.img-div {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  margin: 0px 52px;
}

.img-socios {
  width: auto;
  height: 70vh;
}

@media only screen and (aspect-ratio: 3/2) {
  .wrapper {
    height: 80%;
  }
}

@media only screen and (min-width: 2700px) {
  .wrapper {
    justify-content: center;
  }

  .img-socios {
    max-height: 1300px;
  }
}

@media only screen and (min-width: 5000px) {
  .wrapper {
    height: calc(100% - 600px);
    justify-content: center;
  }

  .img-socios {
    max-height: 3000px;
  }

  .about-div {
    gap: clamp(12px, 5vh, 100px);
    margin: 0 200px;
  }

  .about-div p {
    font-size: clamp(20px, 1.5vw, 100px);
  }
}

@media only screen and (max-width: 1280px) {
  .img-socios {
    max-height: 500px;
  }
}

@media only screen and (max-aspect-ratio: 9/16) {
  .wrapper {
    flex-direction: column-reverse;
    height: fit-content;
    gap: 40px;
    margin: 40px 0 40px 0;
    align-items: center;
    padding-bottom: 80px;
  }

  .img-div {
    align-items: center;
  }

  .img-socios {
    width: 100%;
    height: auto;
  }

  .about-div {
    width: 80%;
  }
}

@media only screen and (min-height: 2000px) and (orientation: portrait) {
  .img-socios {
    height: clamp(300px, 70vh, 1200px);
  }

  .wrapper {
    gap: 150px;
  }

  .about-div p {
    font-size: clamp(20px, 4vw, 50px);
  }
}

@media only screen and (orientation: portrait) {
  body {
    flex-direction: column;
  }

  .wrapper {
    flex-direction: column-reverse;
    justify-content: center;
    height: fit-content;
  }

  .img-socios {
    height: 40vh;
    width: auto;
    max-height: 800px;
  }

  .img-div {
    display: block;
    margin: 0 auto;
    height: fit-content;
    padding: 2vh 0;
  }

  .about-div {
    width: 90%;
    gap: clamp(12px, 5vh, 72px);
    height: fit-content;
    justify-content: center;
    align-self: center;
  }

  .about-div p {
    font-size: clamp(20px, 3vh, 50px);
    align-items: center;
  }
}

@media only screen and (min-aspect-ratio: 16/9) {
  .wrapper {
    justify-content: center;
  }
}

@media screen and (orientation: landscape) and (max-width: 850px) and (max-height: 430px) {
  body {
    flex-direction: column;
  }

  .wrapper {
    flex-direction: column-reverse;
    justify-content: center;
    height: fit-content;
  }

  .img-socios {
    height: 100vh;
    width: auto;
    max-height: 800px;
  }

  .img-div {
    display: block;
    margin: 0 auto;
    height: fit-content;
    padding: 2vh 0;
  }

  .about-div {
    width: 90%;
    gap: clamp(12px, 5vh, 72px);
    height: fit-content;
    justify-content: center;
    align-self: center;
  }

  .about-div p {
    font-size: clamp(20px, 3vh, 50px);
    align-items: center;
  }
}
