@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Merriweather:wght@400;700&family=Lora:wght@400;700&display=swap");
body, html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1;
  font-weight: 400;
  background: var(--bg-color);
  margin: 0;
  padding: 0;
}

main {
  color: var(--text-color);
}

h1, h2, h3, h4, h5, h6, strong {
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

p {
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-color);
}

span {
  color: var(--text-color);
}

a {
  font-family: "Roboto", sans-serif;
  text-decoration: none;
  color: var(--text-color);
}
a:hover {
  color: var(--accent-color-2);
}

ul, ol {
  font-family: "Lora", serif;
  line-height: 1.6;
  color: var(--text-color);
  padding-left: 20px;
}

:root {
  --bg-color: #fefeff;
  --text-color: #121212;
  --text-color-base: #121212;
  --primary-color: #E7F0EC;
  --accent-color-1: #00573c;
  --accent-color-2: #6dfed3 ;
}

html.dark {
  --bg-color: #121212;
  --text-color: #ffffff;
  --primary-color: #3a3a3a;
  --accent-color-1: #bb86fc;
}

main {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.to-right {
  display: block;
  margin-left: auto;
}

.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item {
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  opacity: 0.8;
}

.portfolio-item.highlight {
  transform: scale(1.05);
  opacity: 1;
}

a {
  transition: 0.25s;
}
a:hover {
  transition: 0.25s;
}

/* Shine Effect */
.shine-effect {
  position: relative;
  overflow: hidden; /* Ensure shine stays within the element */
}

.shine-effect::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 70%);
  transition: transform 0.7s ease-in-out;
  transform: translateX(-100%);
}

.shine-effect:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 70%);
  transition: transform 0.7s ease-in-out;
  transform: translateX(-100%);
  transform: translateX(100%);
}

/* Ensure content is above the shine */
button.shine-effect > * {
  position: relative;
  z-index: 1; /* Keeps text/images above shine */
}

button {
  background: var(--accent-color-2);
  border: none;
  border-radius: 5px;
  padding: 12px;
  color: var(--text-color-base);
  font-weight: 700;
  transition: 0.25s;
  display: block;
  cursor: pointer;
}
button:hover {
  transition: 0.25s;
}

.page-link {
  display: block;
}
.page-link:active {
  transform: translateX(8px);
}

.container {
  font-family: Arial, sans-serif;
  background: var(--primary-color);
  padding: 24px;
  margin: 24px;
  border-radius: 5px;
}
.container .highlight {
  background: var(--accent-color-2);
  border-radius: 5px;
}

.skill-widget {
  max-width: 100%;
}

.skill {
  margin-bottom: 20px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 1rem;
}

.skill-bar {
  background-color: var(--bg-color);
  border-radius: 10px;
  overflow: hidden;
  height: 20px;
}

.skill-fill {
  background-color: var(--accent-color-2);
  height: 100%;
  width: 0;
  transition: width 0.2s ease-in-out;
}

.portfolio-widget {
  max-width: 100%;
  margin-bottom: 288px;
}
.portfolio-widget .tech-icons-group .tech-icons {
  margin: 24px 0;
  width: fit-content;
}
.portfolio-widget .portfolio-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}
.portfolio-widget .portfolio-item .portfolio-item-description {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.portfolio-widget .portfolio-item .portfolio-item-description p {
  margin: 0;
}
.portfolio-widget .portfolio-item .portfolio-project-button {
  display: block;
  width: fit-content;
  background: var(--accent-color-2);
  color: var(--text-color-base);
  font-weight: 700;
  border-radius: 5px;
  padding: 12px;
}
.portfolio-widget .portfolio-item .portfolio-item-image {
  grid-column: 2;
  grid-row: 1;
}
.portfolio-widget .portfolio-item .portfolio-item-image img {
  max-width: 100%;
}
.portfolio-widget .portfolio-item .techstack {
  margin-left: auto;
  text-align: right;
  justify-content: end;
}
.portfolio-widget .portfolio-item .techstack strong {
  display: block;
  margin: 6px;
}
.portfolio-widget .portfolio-item .techstack ul {
  display: grid;
  direction: rtl;
  grid-gap: 6px;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto;
  justify-content: end;
  list-style: none;
  padding: 0;
  max-width: fit-content;
  width: 100%;
}
.portfolio-widget .portfolio-item .techstack ul li {
  background: var(--accent-color-2);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.portfolio-widget .portfolio-item .techstack ul li img {
  width: 24px;
  height: 24px;
}
@media (max-width: 720px) {
  .portfolio-widget {
    font-size: 0.8rem;
  }
  .portfolio-widget .button-group {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-widget .techstack ul {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

#header {
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  width: 100%;
}
#header ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}
#header #theme-toggle-btn {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.5rem; /* Adjust size as needed */
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#header #theme-toggle-btn:focus {
  outline: none;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-top: 48px;
  padding: 12px 72px;
  background: var(--primary-color);
}
footer p {
  max-width: 720px;
  margin: auto;
  padding: 12px;
}

@media (max-width: 768px) {
  .filter-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .filter-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}
.filter-buttons button {
  box-shadow: 0 0 4px var(--text-color);
}
.filter-buttons .active {
  color: var(--text-color);
  text-shadow: 0 0 5px #000;
  background: rgb(0.7346938776, 107.2653061224, 75.6734693878);
}
.filter-buttons .active img {
  filter: invert(100%);
}
.filter-buttons .tooltip-text {
  visibility: hidden; /* Hide by default */
  position: absolute;
  bottom: 100%; /* Position above the image */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap; /* Prevent text wrapping */
}
.filter-buttons .filter-buttons button:hover .tooltip-text {
  visibility: visible; /* Show text on hover */
}
.filter-buttons .tech-filter-group {
  max-width: 100%;
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
}
.filter-buttons .tech-filter-group .button-group {
  display: flex;
  flex-direction: row;
  justify-content: end;
  gap: 12px;
}

/*# sourceMappingURL=style.css.map */
