:root {
  --header-color: rgb(194, 102, 194);
  --welcome-color: skyblue;
  --body-color: #f5f5f5;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background-color: var(--header-color);
  z-index: 1000;
}

#navbar ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: right;
  overflow: hidden;
  gap: 15px;
  margin-right: 2rem;
}

#navbar a {
  display: block;
  text-decoration: none;
  color: black;
  font-size: 1.5rem;
  font-family: Tahoma, sans-serif;
  padding: 0.5rem 1rem;
}

a {
  text-decoration: none;
}

#navbar a:hover {
  background-color: #eee;
  border-radius: 4px ;
}

#main {
  margin-top: auto;
  padding: 0rem;
  margin-left: 0;
  margin-right: 0;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

body {
  font-family: Tahoma, sans-serif;
  background-color: var(--body-color);
  margin: 0;
  padding: 0;
  width: 100vw;
  overflow-x: hidden;
}

#welcome-section {
  margin-top: 8vh;
  height: 100vh;
  width: 100vw;
  background-color: var(--welcome-color);
  position: relative;
  font-size: 2.5rem;
  text-align: center;
  font-family: Tahoma, sans-serif;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
}

.projects-collection {
  font-family: Tahoma, sans-serif;
  text-align: center;
  font-size: 2rem;
}

.project-tile {
  background-color: var(--welcome-color);
  text-align: center;
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-tile img {
  width: 100%;
  max-width: 350px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.project-tile:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.project-name {
  font-family: Tahoma, Sans-serif;
  font-size: 1.5rem;
  color: black;
  font-weight: bold;
  margin: 1rem 0;
}

.project-description {
  font-size: 1rem;
  color: #555;
}

.project-skills {
  margin-top: 1rem;
}

.project-skills button {
  background-color: var(--body-color);
  color: #555;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0.2rem;
  border-radius: 5px;
  cursor: pointer;
}

.more-projects {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.more-projects-link {
  display: inline-block; 
  padding: 18px 36px; 
  font-size: 1.5rem; 
  font-weight: bold; 
  color: white; 
  background: linear-gradient(45deg, #006bb7, skyblue);
  border-radius: 12px; 
  text-decoration: none; 
  box-shadow: 0 6px 12px rgba(37, 117, 252, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.more-projects-link:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#resume {
  text-align: center;
}

.resume-download {
  display: inline-block;
  margin: 1rem auto;
  padding: 1rem 2rem;
  background-color: var(--welcome-color);
  color: black;
  text-decoration: none;
  border-radius: 8px;
}

.resume-download:hover {
  background-color: #0084cb;
  transform: translateY(-10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#skills {
  text-align: center;
  margin: auto auto;
  padding: 1rem 2rem;
  padding-bottom: 2.5rem;
  background: linear-gradient(135deg, var(--welcome-color), #fce4ec);
  color: black;
  text-decoration: none;
}

.colored {
  font-size: 1.5rem;
}

.skills-header, .resume-header, .connect-header, .career-interests-header {
  font-size: 2rem;
}

.table-style {
  display: flex;
  justify-content: center;
  font-size: 1.3rem;
}

#career-interests {
  text-align: center;
  margin: auto auto;
  padding: 1rem 2rem;
  padding-bottom: 2.5rem;
  background: var(--body-color);
  color: black;
  text-decoration: none;
}

.career-interests-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
}

.career-interests-header {
  font-family: Tahoma, sans-serif;
  text-align: center;
  font-size: 2rem;
}

.interests-name {
  font-family: Tahoma, Sans-serif;
  font-size: 1.5rem;
  color: black;
  font-weight: bold;
  margin: 1rem 0;
}

.interests-tile {
  background-color: var(--welcome-color);
  text-align: center;
  border-radius: 10px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interests-photos {
  width: 100%;
  max-width: 450px;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.interests-tile:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#connect {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
}

#profile-link {
  display: grid;
  font-size: 3rem;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: center;
  gap: 45px;
  padding-top: 0;
  padding-bottom: 2rem;
  padding-left: 9rem;
}

.footer { 
  position: absolute;
  right: 0;
  left: 0;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background-color: var(--header-color);
  font-size: 1.3rem;
  text-align: center;
}

#github-link {
  color: #171515;
}

.fa-github:hover, .fa-linkedin-in:hover, .fa-youtube:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

#youtube-link {
  color: #E62117;
}

#linkedin-link {
  color: #0072B1;
}

.skill-button:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-form {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: linear-gradient(135deg, #006bb7, skyblue);;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 30%;
}

.contact-form h3 {
  font-family: 'Raleway', sans-serif;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: white;
  font-weight: bold;
}

.contact-form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: white;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Raleway', sans-serif;
}

.contact-form button {
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background-color: var(--header-color);
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  width: 100%;
}

@media only screen and (width=768px) {
  header {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .project-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-form {
    width: 60%;
  }
}

@media (max-width: 1200px) {
  .contact-form {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .career-interests-container {
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}


