:root {
  /*  Colors   */
  --white-color: #fff;
  --black-color: #1c1c1c;
  --primary-color: #f6f6f6;
  --secondary-color: #eee;
  --gray-color: gray;
  --soft-gray-color: rgba(128, 128, 128, 0.623);
  --light-pink-color: #faf4f5;
  --medium-gray-color: #ccc;

  /* Font size */
  --font-size-xs: 0.8rem;
  --font-size-s: 0.9rem;
  --font-size-n: 1rem;
  --font-size-m: 1.12rem;
  --font-size-l: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 2.3rem;
  --font-size-giant: 13rem;

  /* Font weight*/
  --font-weight-small: 100;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Border radius*/

  --border-radius-s: 8px;
  --border-radius-m: 30px;
  --border-radius-circle: 50%;

  /* Site Max Width */

  --site-max-width: 1300px;
}

.about-me {
  background-color: var(--primary-color);
  margin: 0;
  min-height: 120vh;
}

.about-me .container {
  margin: 0 auto;
  width: 80%;
  padding-top: 60px;
}

.section-title {
  margin-bottom: 25px;
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-medium);
}

.about-grid {
  padding-top: 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 25px;
}

.about-card .middle {
  background-color: var(--white-color);
  padding: 20px;
  width: 100%;
  border-radius: 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-card .middle .logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.about-card .middle img {
  margin-top: 25px;
  width: 100%;
  height: 240px;
  border-radius: 5px;
}

.about-card .middle h3 {
  margin: 5px 0 10px;
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-semibold);
  text-align: left;
}

.about-card .middle p {
  line-height: 1.3;
  padding: 10px 0;
}
.about-card .right {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-card .right img {
  width: 40%;
  height: 50%;
  border-radius: 5px;
}

.about-card .right p {
  margin: 40px 70px 0 20px;
  max-width: 400px;
  position: relative;
}

.about-card .right .description p {
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
  padding-left: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-card .right .btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--black-color, black);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.about-card .right .description p.expanded {
  max-height: 500px;
}

.about-card .left p {
  max-width: 90%;
  margin: 0px 0 30px;
  font-size: var(--font-size-n);
  font-weight: var(--font-weight-normal);
  line-height: 1.7;
}

.about-card .left img {
  width: 60%;
  height: 50%;
  margin-left: 25%;
  border-radius: 5px;
  mix-blend-mode: screen;
}

.about-card .middle:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.07);
}

/************************************************/

.gallery-warp {
  margin: 70px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.Gallery {
  width: 100%;

  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-behavior: smooth;
}

.Gallery::-webkit-scrollbar {
  display: none;
}

.Gallery div {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
  padding: 20px;
  flex-shrink: 0;
}

.Gallery figure {
  margin: 0 10px;
  text-align: center;
}

.Gallery figcaption {
  padding-top: 20px;
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-normal);
  color: var(--black-color);
  cursor: default;
}

.Gallery div img {
  width: 100%;
  height: 90%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  filter: grayscale(100%);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.Gallery div img:hover {
  filter: grayscale(0);
  transform: scale(1.01);
  cursor: pointer;
}

#backBtn,
#nextBtn {
  filter: grayscale(1);
  width: 50px;
  margin: 30px;
  cursor: pointer;
  user-select: none;
}

@media (max-width: 1200px) {
  .about-me {
    min-height: auto;
    padding-bottom: 40px;
  }

  .about-me .container {
    width: 92%;
    padding-top: 40px;
  }

  .section-title {
    font-size: var(--font-size-l);
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }

  .about-card {
    padding: 15px;
  }
}

.mobile-only {
  display: none;
}

.mySlides1 {
  display: none;
}
.mySlides1 img {
  border-radius: 5px;
}

.slideshow-container {
  max-width: 87%;
  position: relative;
  margin: auto;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: var(--white-color);
  font-weight: bold;
  font-size: var(--font-size-m);
  user-select: none;
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-50%);
}

.next {
  right: 0;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

@media (max-width: 600px) {
  .Gallery,
  .gallery-warp {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .about-card .left img {
    display: none;
  }

  .about-card .right img {
    width: 100%;
  }
  .about-me .container {
    width: 92%;
    padding-top: 0;
  }
}

@media (max-width: 1200px) and (min-width: 601px) {
  .about-me .middle {
    width: 40%;
    margin: 0 auto;
    display: block;
  }

  .about-card .left img {
    transform: scaleX(-1) rotate(90deg);
    width: 40%;
    padding: 0;
  }

  .about-card .left p {
    max-width: 70%;
    margin: 0 auto;
    text-align: center;
  }
}
