.aboutme {
  height: auto;
  text-align: center;
  min-height: 100vh;
  padding-top: 30px;
  background-color: #1E5F73;
  border-radius: 30px;
  margin: 20px;
  margin-top: 0;
  /* border: solid 2px #d6be72; */
}

.wert h1 {
  margin: 0;
  padding-bottom: 10px;
  /* border: solid 2px #d6be72; */
}

.wert h2 {
  margin: 0;
  padding-bottom: 10px;
  /* border: solid 2px #d6be72; */
}

.about-content {
  display: flex;
  min-width: 100%;
  height: auto;
  padding: 30px;
  padding-right: 30px;
  justify-content: center;
  /* border: solid 2px #d6be72; */
}

.about-img {
  width: auto;
  padding-top: 25px;
  padding-left: 30px;
  padding-right: 30px;
  /* border: solid 2px #d6be72; */
}

.about-img img {
  height: 400px;
  margin: 0;
  padding: 0;
  border-radius: 20px;
  filter: brightness(0.8);
}

/* .about-img-cert img {
  width: auto;
  height: 200px;
  padding: 20px;
  border-radius: 20px;
} */

.about-text {
  width: 100%;
  margin: 0;
  text-align: left;
  color: #EADFC8;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  line-height: 2em;
  /* border: solid 2px #d6be72; */
}

.at {
  font-size: 18px;
  padding-left: 30px;
  padding-right: 30px;
  justify-content: baseline;
  margin-bottom: 20px;
  margin-top: 0;
  /* border: solid 2px #d6be72; */
}

.at a {
  color: #d6be72;
}

.at a:hover {
  color: #EADFC8;
}

.certificates-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.certificates {
    display: flex;
    gap: 20px; /* отступ между сертификатами */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 20px;
}

.cert-item img {
    width: 250px; /* ширина сертификата */
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s;
}

.cert-item img:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 0 10px black;
}

/* Кнопки прокрутки */
.scroll-btn {
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

/* Лайтбокс */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}


@media (max-width: 1200px) {
  .at {
    padding-left: 20px;
    padding-right: 50px;
  }

}

@media (max-width: 1000px) {
  .about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .about-img {
    margin-top: 30px;
  }

  .about-text {
    width: auto;
  }
}

@media (max-width: 800px) {
  .about-img, .about-text {
    width: 100%;
    max-width: 100%;
  }

  .wert {
    padding: 10px;
  }

  .at {
    font-size: 16px;
    padding: 0px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 500px) {
  .about-content {
    padding: 10px;
    padding-bottom: 20px;
  }

  .about-img img {
    height: 300px;
  }
}