@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Handlee&family=Outfit:wght@100..900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Syne:wght@400..800&display=swap');

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

:root {
  --header-bg: rgb(46, 87, 202);
  --text-color: #f5f5f5;
  --body-bg: #111e4b;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--body-bg);
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  padding: .75rem;
  width: 100%;
  min-height: 75px;
  background: var(--header-bg);
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.header-link {
  text-decoration: none;
  color: #d7e1ff;
  font-family: "Exo 2", sans-serif;
  font-size: 1.15rem;
  font-weight: bold;
}

.header-link:hover {
  text-decoration: underline;
}

.about-me {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 90vh;
  padding: 1.2rem;
}

.intro {
  text-align: center;
}

.intro-txt {
  font-family: "Exo 2", sans-serif;
  font-size: 1.5rem;
  color: var(--text-color);
}

.name {
  font-family: "Handlee", sans-serif;
  font-size: 5rem;
  font-weight: 700;
  animation: animName 3s ease infinite;
}

.explore {
  margin-top: 2rem;
  font-family: "Handlee", sans-serif;
  font-size: 1.22rem;
  color: var(--text-color);
}

.small-descp {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 1.25rem;
}

.about-decp {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: justify;
  color: var(--text-color);
  font-family: "Exo 2";
  max-width: 500px;
  background: #283e8f;
  border-radius: 12px;
  border: 3px solid black;
  box-shadow: 0 5px 5px #283e8f;
}

.about-decp p {
  font-size: 1.12rem;
}

.sec-title {
  margin-top: 2.55rem;
  font-family: "Prompt", sans-serif;
  color: #8fa2e9;
  font-weight: 700;
  font-size: 3rem;
  text-align: center;
}

.projects-carousel-group {
  padding: 1.5rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.projects-shower {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 20px;
}

.project-card {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 1.2rem;
  border-radius: 10px;
  background: #8fa2e9;
  box-shadow: 5px 7px 10px rgba(0, 0, 0, 0.3);
}

.project-img {
  border-start-end-radius: 10px;
  border-start-start-radius: 10px;
  max-width: 100%;
  aspect-ratio: 16 / 8;
}

.project-name {
  text-align: center;
  font-family: "Exo 2";
  font-size: 2rem;
  padding: .45rem;
}

.project-test-link {
  font-family: "Prompt", sans-serif;
  margin-top: .85rem;
  text-align: center;
  text-decoration: none;
  background: #283e8f;
  font-size: 1.5rem;
  color: #8fa2e9;
  padding: .85rem;
  width: 45%;
  min-width: fit-content;
  border-radius: 6px;
  transition: 220ms ease;
}

.project-test-link:hover {
  transform: translateY(-2px);
}

.project-test-link:active {
  transform: scale(0.9);
}

.social {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.social ul {
  margin-top: 3rem;
  margin-bottom: 3rem;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social ul li a{
  color: var(--text-color);
  font-family: "Exo 2", sans-serif;
  font-size: 1.45rem;
}

.footer-end {
  background: #000;
  color: var(--text-color);
  font-family: "Exo 2", sans-serif;
  font-size: 1.25rem;
  text-align: center;
  padding: 2rem;
}

.language {
  text-decoration: underline;
}

@media (max-width: 840px) {
  .projects-shower {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .projects-shower {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 511px) {
  .projects-shower {
    grid-template-columns: 1fr;
  }
}

@keyframes animName {
  0% {color: var(--text-color);}
  50% {color: hsl(172, 100%, 61%);}
  100% {color: var(--text-color);}
}