@import url("default.css");

.header {
  background-color: #016cbc;
}

/* ABOUT */
.about_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
  margin-bottom: 120px;
}

.about_content {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.about_image {
  width: 50%;
  margin-top: 10px;
  animation-name: image_appearance;
  animation-duration: 1s;
  animation-timing-function: ease;
}
@keyframes image_appearance {
  from {
    scale: 0;
  }
  to {
    scale: 1;
  }
}
.about_image img {
  width: 100%;
}

.about_text {
  width: 50%;
  padding: 0px 40px;
}

.about_text h3 {
  margin-bottom: 40px;
  text-align: left;
  font-size: 40px;
  font-weight: 500;
}

.about_text h3 .JB_name {
  color: #016cbc;
  font-weight: 800;
  font-size: 42px;
}

.small_20 {
  font-size: 20px;
}

.about_text p {
  text-align: justify;
  line-height: 30px;
  margin-bottom: 20px;
  color: #616161;
}

.about_text p .JB_name {
  color: #016cbc;
  font-weight: 600;
  font-size: 22px;
}

/* MEDIA */
@media (max-width: 1300px) {
  .about_content {
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .about_container {
    margin-bottom: 30px;
  }

  .section_header {
    margin-top: 40px;
    margin-bottom: 50px;
  }
  .about_content {
    flex-direction: column-reverse;
  }
  .about_image {
    width: 100%;
  }
  .about_text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about_text * {
    max-width: 700px;
  }
}

@media (max-width: 650px) {
  .about_text h3 {
    font-size: 24px;
  }
  .about_text h3 .JB_name {
    font-size: 28px;
  }
  .small_20 {
    font-size: 12px;
  }

  .about_text p {
    font-size: 14px;
  }
  .about_text p .JB_name {
    font-size: 18px;
  }
}

@media (max-width: 400px) {
  .about_container {
    margin-top: 30px;
  }

  .about_text {
    padding: 25px;
  }

  .about_text h3 {
    font-size: 20px;
    text-align: center;
  }
  .about_text h3 .JB_name {
    font-size: 22px;
  }
  .small_20 {
    font-size: 12px;
  }

  .about_text p {
    font-size: 12px;
  }
  .about_text p .JB_name {
    font-size: 16px;
  }
}
