:root {
  --main-color: #ffb400;
  --body-bg: #111;
  --txt-color: #fff;
  --toggle-color: #252525;
  --nav-bg-color: #2b2a2a;
  --cursor-color: 255, 199, 64;
  --title-bg: hsl(0deg 0% 82% / 7%);
  --reverse-color: #fff;
}
body {
  overflow-y: auto;
  height: auto;
  overflow-x: hidden;
}

.portfolio__list--item {
  visibility: hidden;
  transform: translateX(-100px);
  animation: sideEffect 0.3s ease-in forwards;
  margin-bottom: 12px;
}
.row {
  margin: 0;
  padding: 0;
}

@keyframes sideEffect {
  100% {
    visibility: visible;
    transform: translateX(0);
  }
}
.portfolio__list--body {
  margin-bottom: 60px;
}
.portfolio__list--btn {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.portfolio__container {
  min-height: 400px;
}
.portfolio__list--btn__item {
  font-size: 1.6rem;
  padding: 8px 16px;
  background-color: var(--nav-bg-color);
  color: #fff;
  text-shadow: 1px 1px 1px #333;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  transition: 0.3s ease-in-out;
  margin-bottom: 24px;
}
.portfolio__list--btn__item.active,
.portfolio__list--btn__item:hover {
  background-color: var(--main-color);
}

.portfolio-card {
  position: relative;
  height: 250px;
  transition: all 0.2s ease;
  text-transform: uppercase;
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.portfolio-card_title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.8s ease;
}
.portfolio-card_title span {
  font-size: 2.8rem;
  font-weight: 600;
  color: transparent;
  width: 90%;
  text-align: center;
  display: inline-block;
  transform: translateY(20%);
  transition: 0.3s linear;
}
.portfolio-card:hover .portfolio-card_title {
  background-color: rgba(0, 0, 0, 0.6);
}
.portfolio-card:hover .portfolio-card_title span {
  transform: translateY(0);
  color: #fff;
}

.modal_profile {
  position: fixed;
  inset: 20px;
  z-index: 1000;
  background-color: #252525;
  padding: 12px;
  color: var(--txt-color);
  border-radius: 12px;
}
@media screen and (max-width: 1024px) {
  .modal_profile {
    position: absolute;
    bottom: unset;
  }
}
.modal_profile h2 {
  font-size: 32px;
  color: var(--main-color);
  border-bottom: 4px solid rgb(161, 149, 149);
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 12px;
  margin-left: 24px;
}
.modal_profile h2::after {
  display: inline-block;
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 30%;
  height: 4px;
  background-color: var(--main-color);
}
.modal_profile img {
  width: 100%;
  object-fit: cover;
}
.modal_profile-slider {
  position: relative;
}
.profile_container {
  border: 2px solid rgb(54, 47, 47);
}
.profile_container-image_sub {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 12px;
  height: 150px;
}

.profile_container-image_sub img {
  width: 33.33%;
  height: 150px;
  object-fit: cover;
  opacity: 0.25;
  cursor: pointer;
  position: absolute;
  transition: 0.5s linear;
}
@media screen and (max-width: 500px) {
  .profile_container-image_sub img {
    height: 100px;
  }
}
/* cssc childrent */

.profile_container-image_sub img:hover {
  opacity: 1;
}
.profile_container {
  position: relative;
  height: 250px;
  overflow: hidden;
}
.profile_container img {
  width: 100%;
  position: absolute;
  height: 300px;
  transition: all 0.5s ease-in;
}
.profile_controller-btn {
  background-color: transparent;
  outline: none;
  color: white;
  font-size: 40px;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  cursor: pointer;
  text-shadow: 1px 2px 1px gray;
  z-index: 100;
}
.profile_controller-btn_left {
  left: 30px;
}
.profile_controller-btn_right {
  right: 30px;
}
.profile_controller-btn :hover {
  color: rgb(197, 186, 186);
}
.modal_profile-right_container,
.modal_profile-right h3 {
  font-family: sans-serif;
  padding: 0 24px;
}
.modal_profile-slider_name {
  text-transform: capitalize;
}
.modal_profile-right_container {
  margin-top: 40px;
  font-size: 16px;
  font-weight: 500;
  color: var(--txt-color);
}
.modal_profile-right_container span {
  text-transform: capitalize;
  font-size: 20px;
  font-weight: 300;
}
.linkdemo {
  color: var(--main-color);
}
.btn_close-modal {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 20px;
  color: var(--main-color);
  background-color: #252525;
  border: 0.5px solid rgb(228, 228, 228);
}
.btn_close-modal:hover {
  background-color: #575656;
}
.notshow {
  display: none;
}
