/* ABOUT CLASSES */
.about {
  background-color: var(--secondary-color);
  color: var(--main-color);
  padding: 10em;
  padding-bottom: 5em;
}

.about-left {
  width: 30%;
}

.about-right {
  width: 60%;
}

.profile-title {
  border-bottom: 2px solid var(--main-color);
  padding: 10px 0;
  margin-bottom: 2em;

  font-size: 18px;
  text-transform: uppercase;
  font-weight: bold;
}

.profile-info {
  margin-right: 40px;
}

.profile-text p {
  line-height: 25px;
  margin-bottom: 25px;
}

.personal-data ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.personal-data li {
  margin-top: 10px;
}

.divider-about {
  width: 50px;
  margin: 10px;
  border-top: 2px solid var(--main-color);
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about section {
  margin-bottom: 40px;
}

.my-skills,
.education {
  margin-right: 0;
  margin-left: 0;
  color: var(--main-color);
}

.icon-box {
  display: flex;
  align-items: center;
  padding: 20px;
  height: 100%;
  color: var(--main-color);
  /* transition: ease-in-out 0.3s; */
}

.icon-box img {
  height: 30px;
  width: auto;
  padding-right: 15px;
}

.education-box {
  padding: 20px;
  height: 100%;
  color: var(--main-color);
}

.education-box p {
  line-height: 1.6;
}

/* ------------------------------ */
/* -------- MEDIA SCREEN -------- */
/* ------------------------------ */

@media screen and (max-width: 1500px) {
  .about {
    padding: 1em;
  }

  .about-right {
    width: 100%;
  }

  .about section {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {

  .about {
    padding: 20px;
  }

  .about-left {
    margin-bottom: 20px;
  }

  .about section {
    margin-bottom: 0px;
  }

  .profile-info {
    margin-right: 0;
  }

  .flex-end {
    justify-content: start;
  }

  .profile-text {
    flex-direction: column;
  }

  .personal-data {
    margin-bottom: 20px;
  }

  .profile-pic img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  section.my-skills {
    margin-bottom: 20px;
  }
}