/* Start Style Main */

.info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-white);
  gap: 5rem;
  min-height: 100dvh;
}

/*  Section Text  Left  info */
.text-info {
  flex-basis: 50%;
}
.text-info__title {
  width: 83%;
  margin-bottom: 1.5rem;
}
.text-info__highlight {
  color: var(--primery-color);
}
.text-info__desc {
  color: var(--gray-color);
  margin-bottom: 2rem;
}

.image-info {
  flex-basis: 50%;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}

/* Section Right Image Info */

/* image-info__caption */
.image-info__caption {
  border: 1px solid var(--color-white);
  padding: 0.4rem;
  max-width: 481px;
  width: 100%;
  text-align: center;
  align-items: center;
  margin: auto;
}

/* Learning  */

.learning {
  color: var(--color-white);
  text-align: center;
  border: 1px solid var(--color-white);
  width: 46%;
  font-size: 1.2rem;
  margin: 0 auto;
  position: relative;
  padding: 1rem;
}

.learning__frame-left {
  position: absolute;
  left: 10px;
  top: -12px;
}

.learning__frame-right {
  position: absolute;
  right: 10px;
  bottom: -12px;
}
/* Responsive Info Section  & Learning*/

@media screen and (max-width: 575px) {
  .info {
    flex-direction: column;
    justify-content: space-evenly;
  }
  .text-info {
    flex-basis: 0;
  }
  .text-info__title {
    margin-top: 7rem;
  }
  .image-info {
    width: 100%;
    flex-basis: 50%;
    justify-content: flex-start;
  }
  .image-info__caption {
    margin: 0;
  }
  .learning {
    width: 100%;
    line-height: 2rem;
    margin-top: 5rem;
  }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .info {
    flex-direction: column;
    justify-content: space-evenly;
  }
  .text-info {
    flex-basis: 50%;
  }
  .text-info__title {
    margin-top: 7rem;
  }
  .text-info__desc {
    line-height: 2rem;
  }
  .image-info {
    width: 100%;
    flex-basis: 50%;
    justify-content: flex-start;
  }
  .image-info__caption {
    max-width: 607px;
    width: 100%;
    margin: 0 auto;
  }
  .learning {
    width: 100%;
    line-height: 2rem;
    margin-top: 10rem;
  }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
  .shape {
    display: none;
  }
  .info {
    flex-direction: column;
  }
  .text-info {
    margin-top: 8rem;
  }
  .learning {
    width: 80%;
    margin-top: 7rem;
  }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
  .text-info__title {
    font-size: 1.5rem;
  }
  .text-info__desc {
    line-height: 2rem;
  }
  .shape {
    left: 1rem;
  }
}

/*  ---------------Section  Projects--------------- */

.project {
  margin-top: 3rem;
  color: var(--color-white);
}

.text-box__title {
  font-size: 2rem;
  font-weight: 500;
  position: relative;
}
.text-box__title::after {
  --line-width: 350px;
}
.text-box__sharp {
  color: var(--primery-color);
}

/* ------------------Style Cart Project------------------ */

.card {
  display: flex;
  gap: 1rem;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.card-project {
  border: 1px solid var(--color-white);
  padding: 0;
  width: calc(32% - 0.5rem);
}
.card-project__img {
  padding: 0;
  width: 100%;
  aspect-ratio: 16/9;
}
.card-project__languages {
  display: flex;
  gap: 1rem;
  border: 1px solid var(--color-white);
  padding: 0.5rem 1rem;
  margin-top: -4px;
  flex-wrap: wrap;
}
.language__name {
  color: var(--gray-color);
}

.card-project__content {
  padding: 0.5rem 1rem;
}
.card-project__title {
  margin-bottom: 1rem;
}
.card-project__desc {
  color: var(--gray-color);
  margin-bottom: 1rem;
}
.project-link {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===========Start Responsive Projects=========== */
@media screen and (max-width: 575px) {
  .text-box__title::after {
    --line-width: 100px;
  }
  .card {
    flex-wrap: wrap;
  }
  .card-project {
    width: 100%;
  }
  .project-link__btn {
    font-size: 1rem;
    padding: 0.5rem 0.4rem;
  }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .card-project {
    width: calc(50% - 0.5rem);
  }
  .project-link__btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.5rem;
  }
  .card-project__languages {
    font-size: 0.8rem;
  }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
  .card-project {
    width: calc(50% - 0.5rem);
  }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
  .project-link__btn {
    padding: 0.5rem 0.5rem;
  }
  .card-project__languages {
    font-size: 0.9rem;
  }
}
/* Start Style Skill */

.skills {
  margin-top: 3rem;
}

.text-box__title--skills::after {
  --line-width: 250px;
}

/* Start Stylie Skill box */

.skills__list-wrapper {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.skills__column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: calc(33% - 0.5rem);
}

.skills__box {
  color: var(--color-white);
  border: 1px solid var(--color-white);
}
.skills__text {
  border-bottom: 1px solid var(--color-white);
  padding: 0.5rem 1rem;
  color: var(--color-white);
}
.skills__content {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 1rem;
  color: var(--gray-color);
  flex-wrap: wrap;
}

/* ============Start Responsive Skill============ */

@media screen and (max-width: 575px) {
  .skills__column {
    width: 100%;
  }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .skills__column {
    width: calc(50% - 0.5rem);
  }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
  .skills__column {
    width: calc(32% - 0.5rem);
  }
}
/* ==========Start Style About Me========== */

.about {
  margin-top: 3rem;
}
.about__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
}
.about__text {
  flex-basis: 50%;
  color: var(--gray-color);
}
.about__desc {
  margin-bottom: 2rem;
  width: 100%;
  line-height: 1.9rem;
}
.about__desc--title {
  width: 60%;
}

.about__actions {
  margin-top: 5rem;
  display: inline-block;
  color: var(--color-white);
}
.about__image {
  flex-basis: 50%;
  margin-top: -5rem;
}
.about__img {
  display: block;
  margin-left: auto;
}
.text-box__title--about::after {
  --line-width: 300px;
}

/* ============Start Responsive About============ */

@media screen and (max-width: 992px) {
  .about__container {
    flex-direction: column;
  }
  .about__text {
    flex-basis: 0;
  }
  .about__desc--title {
    width: 100%;
  }
  .about__image {
    flex-basis: 0;
    margin-top: -2rem;
  }
  .text-box__title--about::after {
    --line-width: 200px;
  }
  .about__desc {
    margin-bottom: 0;
    margin-top: 3rem;
  }
}

@media screen and (min-width: 993px) and (max-width: 1200px) {
  .about__container {
    margin-top: 3rem;
  }
}

/* =============Start Style Contact============= */

.contact {
  margin-top: 5rem;
}
.content__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 5rem;
  align-items: center;
  color: var(--gray-color);
  margin-top: 3rem;
}
.contact__text {
  flex-basis: 50%;
}
.contact__desc {
  margin-bottom: 2rem;
  width: 100%;
  line-height: 1.9rem;
}
.contact__social-media {
  flex-basis: 22%;
  text-align: right;
  display: inline-block;
  border: 1px solid var(--color-white);
  padding: 0.5rem 0.7rem;
}
.contact__title {
  text-align: left;
  color: var(--color-white);
  margin-bottom: 1rem;
}
.contact__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.text-box__title--contact::after {
  --line-width: 150px;
}

/* Responsive Contact  */

@media screen and (max-width: 992px) {
  .content__wrapper {
    flex-direction: column;
  }
  .contact__text {
    flex-basis: 0;
  }
  .contact__social-media {
    flex-basis: 0;
    width: 100%;
    text-align: center;
    margin-top: 3rem;
    padding: 1rem;
  }
  .text-box__title--contact::after {
    --line-width: 100px;
  }
}

/* ==========Start Style Footer========== */

.footer {
  color: var(--color-white);
  margin-top: 5rem;
}

.footer__logo {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.7rem;
  font-weight: 500;
}

.footer__copy-right {
  margin-block: 2rem;
  text-align: center;
}
