* {
  box-sizing: border-box;
  margin: 0;
}

body {
  background-color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.body {
  border: 2px solid white;
  height: 100vh;
  width: 100%;
}
.body h2 {
  text-transform: uppercase;
}

.hero-section {
  height: 100%;
  width: 100%;
  padding: 1rem 2rem 0rem 1rem;
  animation: drop-down 0.9s;
  overflow-y: hidden;
}
.hero-section .intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.hero-section .intro img {
  align-items: center;
  height: 40px;
  border-radius: 50%;
  border: 2px solid black;
  transition: transform 0.5s ease-in-out;
}

.hero-section .intro div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
a {
  text-decoration: none;
  color: black;
}
#extra {
  align-items: center;
  display: flex;
  height: 100%;
  padding: 0.5rem;
  border-radius: 35px;
  border: 2px solid black;
  background-color: rgba(101, 101, 101, 0.111);
}

#extra:hover {
  transition: background-color 1s ease;
  background-color: transparent;
}

.bind-links {
  display: flex;
  justify-content: space-around;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 30px;
  border: 2px solid black;
  background-color: rgba(101, 101, 101, 0.111);
  color: black;
}
.bind-links a {
  margin: 0px 2px;
  padding: 2px;
}
.hero-section .heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  animation: slide-top 0.5s;
}
.hero-section .heading a {
  animation: git-slide 0.7s;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 25px;
  border: 2px solid black;
  background-color: black;
  color: white;
}
@keyframes git-slide {
  0% {
    transform: translate(0%, 200%);
  }
  50% {
    transform: translate(0%, 500%);
  }
  100% {
    transform: translate(0%, 0%);
  }
}
.hero-section .heading a:hover {
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 25px;
  border: 2px solid black;
  background-color: white;
  color: black;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(to bottom right, rgb(255, 220, 0) 50%, white 50%);
}

@keyframes drop-down {
  from {
    transform: translate(0%, -100%);
  }
  to {
    transform: translate(0%, 0%);
  }
}
@keyframes slide-top {
  from {
    transform: translate(0%, 200%);
  }
  to {
    transform: translate(0%, 0%);
  }
}
.sub-heading {
  background-color: black;
  color: white;
  padding: 1%;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  transition: all ease 0.2s;
  margin: 2px 0px;
}
.sub-heading:hover {
  background-color: white;
  color: black;
  border: 2px solid black;
}

.skills {
  background-image: url("/assets/img/_6af6471b-fc7c-49f9-9fde-12c3c7dfe237.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 2rem;
}
.skills .skills-inner {
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 32px 0 rgb(0, 0, 0, 0.37);
  padding: 1rem 0rem;
}
.skills .skills-inner fieldset {
  border-radius: 50%;
  border: none;
}
.skills .skills-inner fieldset legend {
  border-radius: 50%;
  text-align: center;
  color: rgb(10, 10, 10);
}
.skills .skills-inner img {
  height: 6rem;
  width: 6rem;
  aspect-ratio: 3/2;
  object-fit: contain;
  border-radius: 50%;
  padding: 0.5rem;
  border: 2px solid rgba(16, 15, 15, 0.981);
  background-color: transparent;
  transition: all ease 0.2s;
}
.skills .skills-inner fieldset:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 230, 0, 0.981) rgba(14, 8, 8, 0.9450980392);
}

.con-like {
  --red: rgb(255, 50, 50);
  position: relative;
  width: 40px;
  height: 40px;
}
.like-button {
  display: flex;
  background-color: rgba(101, 101, 101, 0.111);
  border-radius: 50px;
  padding: 10px;
  color: rgb(255, 50, 50);
  border: 2px solid black;
}

.con-like .like {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 20;
  cursor: pointer;
}

.con-like .checkmark {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.con-like .outline,
.con-like .filled {
  fill: var(--red);
  position: absolute;
}

.con-like .filled {
  animation: kfr-filled 0.5s;
  display: none;
}

.con-like .celebrate {
  position: absolute;
  animation: kfr-celebrate 0.5s;
  animation-fill-mode: forwards;
  display: none;
}

.con-like .poly {
  stroke: var(--red);
  fill: var(--red);
}

.con-like .like:checked ~ .checkmark .filled {
  display: block;
}

.con-like .like:checked ~ .checkmark .celebrate {
  display: block;
}

@keyframes kfr-filled {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.mailme {
  border: 2px solid #002e73;
  display: flex;
  justify-content: center;
  width: 100%;
}
.footer-header {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 0.5rem;
  z-index: 1;
  color: #002e73;
}
h4 {
  cursor: pointer;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}
.social-icon__link:hover {
  transform: translateY(-10px);
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
}

@media only screen and (max-width: 768px) {
  .hero-section .intro {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
  }
}
/* Force all carousel items to same height */
.carousel-container .owl-carousel .owl-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;   /* fixed height for all carousel items */
}

/* Make all images fit inside the item box */
.carousel-container .owl-carousel .owl-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;   /* ensures no stretching */
  transition: transform 0.4s ease, border-color 0.4s ease;
  border: 2px solid white;
  border-radius: 10px;
}

/* Scale only the center image slightly */
.carousel-container .owl-carousel .owl-item.active.center img {
  transform: scale(1.06);
  z-index: 2;
}

/* Make sure scaled image stays inside the container */
.carousel-container {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  background-color: black;
  padding: 1rem 0;
}
/* Default carousel item style */
.owl-carousel .owl-item {
  position: relative;
  z-index: 1;   /* base level */
  transform: scale(1); /* reset */
  transition: transform 0.4s ease, z-index 0.4s ease;
}

.owl-carousel .owl-item.active.center {
  z-index: 3; /* higher layer */
}

.owl-carousel .owl-item.active.center img {
  transform: scale(1.06);
}

.owl-carousel .owl-item.active:not(.center) {
  z-index: 2;
  transform: scale(1);
} */
