:root {
  /* Primary Colors */
  --primary: #252525;
  --secondary: #e74c3c;
  --background: #1e1e1e;
  --text: #f5f5f5;
  --link: #20ff32;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--background);
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.center-page {
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.welcome-container {
  background-color: var(--primary);
  height: 85%;
  border-radius: 20px;
  display: flex;

  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 649px) {
  .welcome-container {
    width: 90%;
    flex-direction: column-reverse;
  }
}

@media (min-width: 650px) {
  .welcome-container {
    width: 70%;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
  }
}

.intro-text-conainer {
  padding: 2%;
}

.title {
  font-size: 8vmin;
  font-weight: 500;
  font-family: "Jersey 15", serif;
  font-style: normal;
  color: var(--text);
  margin: 0;
}

.signature {
  font-family: "Lemon", serif;
  font-weight: 300;
  font-size: 3vmin;
  color: var(--text);
}

.profile-container {
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.profile-container img {
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the container */
  border-top-right-radius: 20px;
}

@media (max-width: 649px) {
  .profile-container {
    width: 100%;
    border-top-left-radius: 20px;
  }

  .intro-text-conainer {
    flex: 1;
  }

  .profile-container img {
    object-position: 50% 20%;
  }
}

@media (min-width: 650px) {
  .profile-container {
    width: 40%;
    height: 100%;
    border-bottom-right-radius: 20px;
  }

  .intro-text-conainer {
    width: 55%;
    align-self: flex-end;
  }
}

.body-text {
  color: var(--text);
  text-align: justify;
  font-size: 2vmin;
  line-height: 2.5vmin;
  font-family: "Audiowide", serif;
  font-style: normal;
  font-weight: 100;
}

@media (max-width: 649px) {
  .body-text {
    font-size: 2.8vmin;
    line-height: 3vmin;
  }
}
.social-media {
  display: flex;
  gap: 20px;
  width: 100%;
  margin: auto;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  overflow-y: hidden;
}

.social-media a {
  text-decoration: none; /* Removes the underline */
  transition: color 0.3s ease; /* Smooth hover effect */
}

.fa {
  padding: 10px;
  color: var(--text);
}

.fa:hover {
  opacity: 0.7;
}

.about-me-container {
  padding: 2%;
  background-color: var(--primary);
  border-radius: 20px;
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.4), 0 8px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  scrollbar-width: none;
}

@media (max-width: 649px) {
  .about-me-container {
    width: 90%;
    max-height: 90%;
  }
}

@media (min-width: 650px) {
  .about-me-container {
    width: 70%;
    height: 85%;
    justify-content: space-between;
  }
}

.heading {
  font-family: "Jersey 15", serif;
  font-weight: 500;
  font-size: 5.5vmin;
  color: var(--text);
  margin: 0;
}

.sub-heading {
  font-family: "Jersey 15", serif;
  font-weight: 300;
  font-size: 4vmin;
  color: var(--text);
  margin: 0;
}

.about-me-container a {
  font-family: "Audiowide", serif;
  font-size: 2vmin;
  line-height: 2.2vmin;
  color: var(--link);
  margin: 0;
  text-align: justify;
  text-decoration: none;
  transition: color 0.3s ease;
}

@media (max-width: 649px) {
  .about-me-container a {
    font-size: 2.8vmin;
    line-height: 3vmin;
  }
}

.about-me-container p a:hover {
  opacity: 0.7;
}

.skills-container {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  margin-top: 3%;
  margin-bottom: 3%;
}

.skill {
  background-color: var(--primary);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.4), 0 8px 12px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  padding: 1.5%;
  margin: 1.5%;
}

@media (max-width: 649px) {
  .skill {
    width: 70%;
  }
}

@media (min-width: 650px) {
  .skill {
    width: 35%;
  }
}

.skill p {
  width: 60%;
  flex-grow: 1;
}
.skill ul {
  width: 30%;
}

.skill li {
  font-family: "Audiowide", serif;
  font-weight: 400;
  font-size: 2vmin;
  line-height: 3vmin;
  color: var(--text);
}

.skill-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.skill-row ul {
  width: 30%;
}

.projects-container {
  width: 100vw;
  margin-bottom: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 50px;
}

.project-heading {
  width: 100%;
  text-align: center;
  margin-bottom: 2vh;
}

.project {
  background-color: var(--primary);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.4), 0 8px 12px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 0;
  margin: 2%;
  display: flex;
  flex-direction: column;
}

.project h3 {
  font-family: "Jersey 15", serif;
  font-weight: 300;
  font-size: 3vmin;
  color: var(--text);
  margin: 0;
}

.info-container {
  padding: 10px;
}

.project-row {
  display: flex;
  flex: 1;
  flex-direction: row;
  width: 100%;
}

.code-row {
  margin-top: 8px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.project a {
  white-space: nowrap;
  color: var(--link);
  font-size: 2vmin;
}

.info-container ul {
  margin: 0;
}
.info-container li {
  font-family: "Audiowide", serif;
  font-weight: 500;
  font-size: 2vmin;
  color: var(--text);
  margin: 2px;
  text-align: justify;
}

.image-container {
  flex: 1;
  align-items: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  border-top-right-radius: 10px;
}

.text-container {
  margin: 10px;
}


@media (max-width: 1199px) {
  .projects-container {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
  }

  .project {
    height: 80vh;
    min-width: 80vw;
    margin: 8%;
  }
}

@media (min-width: 1200px) {
  .projects-container {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .project {
    height: 85vh;
    width: 60vh;
    max-width: 60vw;
    position: absolute;
    transform-origin: center;
    transition: transform 0.5s, left 0.5s, top 0.5s, z-index 0s;
  }
}

