body,
html {
  height: 100%;
  background: #121212;
}

/* body {
    animation: fadeInAnimation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
} */

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

a {
  text-decoration: none;
}

h2 {
  white-space: nowrap;
}

.myNavbarDropdown {
  border-radius: 12px;
}

.mainBody {
  display: flex;
  padding: 2.5%;
}

.spideyMumu {
  color: #25aef4;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.introText {
  width: 70%;
}

.card-container {
  display: flex;
}

.card {
  border-radius: 12px;
  flex: 1;
}

.mySmallCard {
  margin-top: 10%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mySmallCard img {
  /* height: 200px; Set a fixed height */
  object-fit: cover; /* This will ensure the image covers the area without distortion */
}

.myBigCard {
  /* margin-top: 10%;
    margin-left: 10%;
    width: 70%; */
  margin-bottom: 5%;
}

body {
  animation: fadeInAnimation ease 1.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.myButtons {
  border-radius: 30px;
}

.myHeader,
#home {
  margin-top: 4rem;
  padding-top: 4rem;
  padding-bottom: 2%;
}

.myPic {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
}

.myJobPicContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  overflow: hidden;
}

.myJobPic {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .myJobPic {
    max-height: 200px; /* Limit height on mobile */
  }

  .myJobPicContainer {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 0px;
    height: auto; /* Let height be determined by content on mobile */
    overflow: hidden;
  }
}

#gudfood-logo {
  background-color: white;
  padding: 10px;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-btn {
  background-color: #333;
  color: white;
  border: 1px solid #4682b4;
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background-color: #4682b4;
}

.filter-btn.active {
  background-color: #25aef4;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 12px;
  color: white;
}

.tag.software {
  background-color: #007bff;
}
.tag.data {
  background-color: #28a745;
}
.tag.ui {
  background-color: #dc3545;
}
.tag.mobile {
  background-color: #6610f2;
}

/* Optional animation for filtered items */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.project-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-link {
  color: #d8d8d8;
  text-decoration: none;
  font-size: x-large;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #4682b4;
}
