.about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: rgb(245, 244, 244);
  padding: 2%;
  margin-right: 3%;
  margin-left: 3%;
  border-radius: 10px;
}

.background__head {
  background-image: url('/public/pozadi2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 50vh;
  width: 100%;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 2em;
}

.about__title {
  font-size: var(--size-2xl);
  color: var(--clr-dark);
  margin: 0 auto;
}

.about__description {
  font-size: var(--size-sm);
  color: var(--clr-slate600);
  max-width: 60ch;
}

.about__images{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  align-items: center;
}

.about__images img{
  width: 100%;
  max-width: 28rem;
  border-radius: 10px;
}

@media (min-width: 475px) {
  .about {
    gap: 1.5rem;

  }

  .about__content {
    gap: 1.5rem;
  }

  .about__title {
    font-size: var(--size-2xl);
  }

  .about__description {
    font-size: var(--size-base);
  }

  .about__pfp {

    width: 26.25rem;
    height: 31.25rem;

  }
}

@media (min-width: 640px) {
  .about__pfp {
    margin: 0 auto;
  }

  .about {
    gap: 1.5rem;

  }

  .about__content {
    gap: 1.5rem;
  }

  .about__title {
    font-size: var(--size-3xl);
  }

  .about__description {
    font-size: var(--size-lg);
  }

  .about__pfp {
    width: 26.25rem;
    height: 31.25rem;

  }
}

@media (min-width: 768px) {
  .about {
    gap: 1.5rem;

  }

  .about__content {
    gap: 1.5rem;
  }

  .about__title {
    font-size: var(--size-4xl);
  }

  .about__description {
    font-size: var(--size-xl);
  }

  .about__pfp {
    width: 26.25rem;
    height: 31.25rem;

  }
}

/* lg */
@media (min-width: 1024px) {
  .about {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

  }

  .about__content {
    gap: 1.5rem;
  }

  .about__title {
    font-size: var(--size-5xl);
  }

  .about__description {
    font-size: var(--size-xl);
  }

  .about__pfp {
    width: 26.25rem;
    height: 31.25rem;

  }
}

/* xl */
@media (min-width: 1280px) {
  .about__content {
    gap: 2rem;
  }

  .about__title {
    font-size: var(--size-5xl);
  }

  .about__description {
    font-size: var(--size-xl);
  }

  .about__pfp {
    width: 26.25rem;
    height: 31.25rem;

  }
}

/* 2xl */
@media (min-width: 1536px) {
  .about__content {
    gap: 2.5rem;
  }

  .about__title {
    font-size: var(--size-6xl);
  }

  .about__description {
    font-size: var(--size-2xl);
  }

  .about__pfp {
    width: 28rem;
    height: 32rem;

  }
}