.shared {
  box-shadow: 2px 2px 10px 5px #b8b8b8;
  border-radius: 10px;
}

#thumbnails {
  text-align: center;
  display: flex;
  
}

#thumbnails img {
  width: 100%;
  height: 104px;
  cursor: pointer;
  transition: all 0.5s ease;
}

@media only screen and (max-width: 480px) {
  #thumbnails img {
    width: 50px;
    height: 50px;
  }
}

#thumbnails img:hover {
  transform: scale(1.05);
}

#main {
  object-fit: cover;
  display: block;
}
/* same projects */


@media only screen and (max-width: 480px) {
  #main {
    width: 100%;
  }
}

/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600&display=swap");



/*=============== BASE ===============*/
a {
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
/*=============== CARD ===============*/
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}
.card__container {
  padding-block: 5rem;
}
.card__content {
  margin-inline: 1.75rem;
  overflow: hidden;
}
.card__article {
  width: 300px; /* Remove after adding swiper js */
  overflow: hidden;
}
.card__image {
  position: relative;
  margin-bottom: -.75rem;
  border: 1px solid #c7c0c0;
}
.card__data {
  padding: 1.5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 10;
}
.card__img {
  margin: 0 auto;
  position: relative;
}
.card__shadow {
  width: 200px;
  height: 200px;
  background-color: var(--first-color-alt);
  position: absolute;
  top: 3.75rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  filter: blur(45px);
}
.card__name {
  font-size: var(--h2-font-size);
  color: var(--second-color);
  margin-bottom: .75rem;
}
.card__description {
  font-weight: 500;
  margin-bottom: 1.75rem;
}
.card__button {
  display: none;
  background-color: var(--first-color);
  padding: .75rem 1.5rem;
  border-radius: .25rem;
  color: var(--dark-color);
  font-weight: 600;
}
/* Swiper class */
.swiper-button-prev:after,
.swiper-button-next:after {
  content: "";
}
.swiper-button-prev,
.swiper-button-next {
  width: initial;
  height: initial;
  font-size: 3rem;
  display: none;
}
.swiper-button-prev {
  left: 0;
}
.swiper-button-next {
  right: 0;
}

.swiper-pagination-bullet {
  background-color: rgb(73, 72, 72);
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background-color: rgba(245, 145, 21, 1);
}
.text-wrapper {
  font-weight: 500;
  color: #202020;
  font-size: 20px;
  position: relative;
  width: fit-content;
  letter-spacing: 0;
  line-height: normal;
  direction: rtl;
}
.intro-sameProject {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30%;
  padding-right: 10px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.641);
  transition: height 1s;
  text-align: right;
}
.intro-sameProject p {
  visibility: visible;
  opacity: 0;
  color: black;
  border: 1px solid rgba(245, 145, 21, 1);
  align-items: center;
  border-radius: 3px;
  margin: auto;
  width: 35%;
  padding: 5px;
  transition: visibility 0.5s, opacity 0.5s, margin-top 0.5s,
    background-color 0.5s;
}
.intro-sameProject:hover{
    height: 100%;
}
.intro-sameProject h3 {
  color: rgb(73, 72, 72);
  font-size: 18px;
  padding: 2px;
}
.intro-sameProject:hover {
  height: 100%;
}
.box:hover {
  cursor: pointer;
}
.intro-sameProject:hover p {
  visibility: visible;
  opacity: 1;

  background-color: #f5901551;
}
.intro-sameProject:hover h3 {
  visibility: hidden;
}
/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .card__data {
    padding: 1rem;
  }
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .card__content {
    margin-inline: 3rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: block;
  }
}

/* For large devices */
@media screen and (min-width: 1120px) {
  .card__container {
    max-width: 1120px;
  }

  .swiper-button-prev {
    left: -1rem;
  }
  .swiper-button-next {
    right: -1rem;
  }
}
