/* Animation SReveal */

.title-h1,
.title-h2,
.subtitle-scroll,
.title-bio,
.content-paragraf {
  visibility: hidden;
  overflow: hidden;
}

body {
  background: linear-gradient(
      -45deg,
      rgba(220, 218, 218, 0.391),
      rgba(106, 106, 106, 0.308),
      rgba(116, 116, 116, 0.291),
      rgba(201, 200, 200, 0.754)
    )
    no-repeat;
}
.about_header {
  width: 100%;
  height: 40vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(197, 197, 198, 0.767), #000000);
}

.about_header img {
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background: no-repeat center center / cover;
  position: absolute;
  overflow: hidden;
}

.text_h1 h1 {
  font-weight: bold;
  text-transform: uppercase;
  color: #000000;
  font-size: 4rem;
  animation: rotate 8s infinite;
  overflow: hidden;
}

@keyframes rotate {
  100% {
    transform: rotateY(360deg);
  }
}

.main {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.main > img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  overflow: hidden;
  opacity: 0.2;
  position: absolute;
  z-index: -1;
  background: no-repeat center center / cover;
}

h2 {
  margin-block: 4rem;
  color: #000000;
  text-transform: uppercase;
  text-align: center;
  font-size: 2.5rem;
}

.about p {
  font-weight: 300;
  margin-inline: 50px;
  line-height: 1.8rem;
  font-size: clamp(1rem, 4vw, 1.3rem);
  color: #000000;
  padding: 3rem 5rem 0;
  position: relative;
}

.bio {
  display: flex;
  margin: 1rem 0rem;
}
.subtitle_img {
  display: none;
}
.about_left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 60%;
  z-index: 1;
  margin-inline: 10px;
}
.about_left > img {
  width: 90%;
  height: 300px;
  object-fit: fill;
  background: no-repeat center center;
  box-shadow: -20px -20px 0px #000000;
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.8s;
  animation: apperLeft 1s;
  overflow: hidden;
}
.about_left img:hover {
  scale: 1.1;
  transform: translateX(10px);
  border: 1px solid #fff;

  z-index: 3;
  opacity: 1;
  box-shadow: 6px 6px 24px rgba(70, 70, 70, 0.606);
}
.about_left img:nth-last-child(1) {
  margin-top: 30px;
  transform: rotate(-5deg);
  z-index: 2;
  animation: apperLeft 2.5s;
}
.about_left img:nth-last-child(1):hover {
  transform: none;
}

.about_right {
  width: 100%;
  padding: 1rem 0px;
  overflow: hidden;
  z-index: 1;
}

h3.subtitle-scroll {
  color: #f0f0f0;
  font-size: 3rem;
  text-align: center;
  text-shadow: 1px 1px 2px #000;
}

.content {
  margin-right: 20px;
  padding-block: 3rem;
  color: rgb(255, 255, 255);
}

.content > h3 {
  text-align: start;
  margin: 0 1rem;
  letter-spacing: 1px;
  color: #000000;
  font-weight: 500;
  padding-bottom: 1rem;
  font-size: clamp(1rem, 4vw, 1.5rem);
  transition: 0.7s;
}
.content h3:nth-last-child(2) {
  margin-top: 50px;
}

.content > p {
  height: 100%;
  margin: 0 1rem;
  font-size: clamp(1rem, 4vw, 1.3rem);
  letter-spacing: 1px;
  line-height: 1.5rem;
  font-weight: 300;
  color: #000000;
  overflow: hidden;
  animation: apper 2.7s ease-in-out;
  transition: 0.7s;
}

.about_right strong {
  font-weight: bold;
  color: #000000;
}

@keyframes apperLeft {
  from {
    opacity: 0;
    translate: -50vw 0;
  }
  to {
    opacity: 1;
    transform: translateY(0 0);
  }
}

@keyframes apper {
  from {
    opacity: 0;
    translate: 90vw;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (min-width: 1441px) {
  .about_header {
    height: 40vh;
  }

  .text_h1 h1 {
    font-size: 4rem;
  }
  .main > h2 {
    font-size: 2rem;
    padding-top: 3%;
  }

  .content p {
    font-size: 1.4rem;
    line-height: 2rem;
  }

  .about_left img {
    width: 80%;
    height: 400px;
  }
}
@media (max-width: 1300px) {
  h2 {
    font-size: 2rem;
  }

  .about_left img {
    margin-left: 10px;
  }
}

@media (max-width: 1024px) {
  .subtitle-h3 {
    display: none;
  }
  .about_header {
    height: 30vh;
  }
  .text_h1 h1 {
    margin-top: 30%;
    font-size: 3rem;
  }

  .about > p {
    font-size: 1rem;
    padding: 1rem 2rem;
    margin: 20px 10px;
  }
  .about_left {
    display: none;
  }

  .bio {
    display: block;
  }

  .subtitle_img {
    display: grid;
    place-items: center;
    width: 100%;
    height: 70vh;
    position: relative;
  }
  .subtitle_img img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: fill;
    background: no-repeat center center;
  }
  .subtitle_img > h3 {
    font-size: 6rem;
    color: #fff;
    text-align: left;
    position: absolute;
  }

  .content h3 {
    font-size: 1.5rem;
  }
  .content > p {
    font-size: 1rem;
  }

  .about_right {
    z-index: 1;
  }
}

@media (max-width: 768px) {
  .about_header {
    height: 250px;
  }

  .text_h1 h1 {
    font-size: 3rem;
    width: auto;
    margin: 0;
    font-weight: 700;
  }
  .about p {
    font-size: 1rem;
  }

  .main {
    width: 100%;
  }

  .about_right {
    width: 100%;
  }
  .about_right h2 {
    margin-inline: 20px;
  }
  .about_right__text p {
    letter-spacing: 1px;
  }
}

@media (max-width: 600px) {
  .text_h1 h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.7rem;
  }
  .about {
    text-align: center;
    width: 100%;
    height: auto;
  }
  .main > h2 {
    font-size: 1.5rem;
    padding: 1px;
    width: 100%;
  }
  .about > p {
    font-size: 1rem;
    margin-inline: 0px;
    text-align: left;
    padding: 1rem;
    line-height: 1.5rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }
  .subtitle_img h3 {
    max-width: 100%;
    margin-right: 0;
    font-size: 3.8rem;
  }
  .content {
    margin-right: 0;
  }
  .content > h3 {
    font-size: 1.5rem;
    padding-block: 1rem;
  }

  .content {
    padding-bottom: 1.5rem;
  }
}
@media (max-width: 375px) {
  .about > h2 {
    font-size: 1rem;
    margin-block: 2rem;
    padding: 0;
  }
  .main > h2 {
    font-size: 1.3rem;
  }
  .subtitle_img h3 {
    font-size: 3.8rem;
  }
  .content > h3 {
    font-size: 1.4rem;
  }
  .content em {
    font-size: 1rem;
  }
  .content p {
    font-size: 1rem;
    letter-spacing: 0.5px;
  }
  .content h3 > .fa-helmet-safety {
    font-size: 20px;
  }
}

@media (max-width: 950px) and (orientation: landscape) {
  .about_header {
    height: 250px;
  }
  .about_header h1 {
    margin-top: 30%;
  }
  .about_left {
    display: none;
  }

  .bio {
    display: block;
  }
  .subtitle_img {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100vh;
    position: relative;
  }
  .subtitle_img img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: fill;
    background: no-repeat center center;
  }
  .subtitle_img > h3 {
    width: 75%;
    right: 25%;
    font-size: 6rem;
    color: #fff;
    text-align: left;
    position: absolute;
  }
}
@media (max-width: 670px) and (orientation: landscape) {
  .about_header h1 {
    margin-top: 0;
  }
}
