* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Jost", sans-serif;
  transition-duration: 300ms;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #141414;
  color: white;
}
header {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
header h1 {
  font-family: "Oswald", sans-serif;
  font-size: 3.5em;
  user-select: none;
}
header div {
  display: flex;
  gap: 20px;
  font-weight: 700;
}
header div h1:first-child {
  color: #0077ff;
}
header ul {
  align-items: center;
  display: flex;
  gap: 20px;
}
header ul li {
  list-style: none;
  font-size: 1em;
  user-select: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
header ul li:after {
  content: "";
  position: absolute;
  width: 100px;
  height: 1px;
  right: 100%;
  background: #0077ff;
  bottom: 0;
  transition-duration: 300ms;
}

header ul li:hover::after {
  transform: translateX(100%);
}
header a {
  text-decoration: none;
  color: white;
}
section {
  min-height: 100vh;
  padding: 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
section:nth-child(2n) {
  background-color: white;
  color: #141414;
}
.section-header {
  width: fit-content;
  margin: 0 auto;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
  position: relative;
  padding: 4px 10px;
  max-width: 85ch;
  font-size: 2em;
}
.section-header::before,
.section-header::after {
  position: absolute;
  content: "";
  width: 100vw;
  height: 4px;
  background: #0077ff;
}
.section-header::before {
  right: 0;
  top: 0;
}
.section-header::after {
  left: 0;
  bottom: 0;
}
.section-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  width: 100%;
  height: 100%;
  max-width: 75ch;
  margin: 0 auto;
}
.section-content {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.2em;
  text-align: left;
}
.section-content p {
  margin: 10px 0;
}
.experience-header h2 {
  font-weight: 500;
}
.experience-header {
  display: flex;
  flex-direction: column;
}
.experience-subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6f7780;
}
.resume-item > p {
  padding: 2px 0;
  color: aliceblue;
}
.project-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 30px;
}
.project-item {
  box-shadow: 0 0 4px 2px lightgray;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.project-item:hover {
  box-shadow: 0 0 8px 3px darkgray;
}
.project-grid h3 {
  text-align: center;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
}

.project-grid img {
  width: 100%;
  object-fit: cover;
}
.project-description {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  color: #dde3eb; /* #202327 for white */
  font-size: 1.2em;
}
.project-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.link-item {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  color: #0077ff;
  text-decoration: none;
}
.link-item:hover {
  text-decoration: underline;
  transform: scale(1.1);
}
.link-item p {
  font-size: 0.9em;
}
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 30px;
  background-color: #0077ff;
}
footer a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  cursor: pointer;
}
footer a:hover {
  transform: rotate(-45deg);
  opacity: 0.5;
}
form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #2d2d2d;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

form div {
  margin-bottom: 20px;
}

form label {
  display: block;
  font-size: 1.1rem;
  color: white;
  font-weight: 500;
  margin-bottom: 8px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  font-size: 1em;
  background-color: #141414;
  border: 1px solid #444;
  border-radius: 4px;
  color: white;
  transition: border-color 300ms ease;
}

form input:focus,
form textarea:focus {
  border-color: #0077ff;
  outline: none;
}

form textarea {
  resize: vertical;
  min-height: 150px;
}

form button {
  width: 100%;
  padding: 12px;
  font-size: 1.2em;
  background-color: #0077ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 300ms ease;
}

form button:hover {
  background-color: #005f99;
}

form button:active {
  background-color: #003f66;
}
.contact-info {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-info a {
  color: #0077ff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
  transform: scale(1.1);
}

#comingSoonMessage {
  display: none;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  padding: 20px;
  border-radius: 5px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  z-index: 1000;
}

.skills-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  justify-content: center;
  text-align: left;
  font-size: 1.2em;
  background-color: #141414;
  color: white;
}

.skills-table th,
.skills-table td {
  padding: 12px 15px;
  border: 1px solid #bebcbc;
}

.skills-table th {
  background-color: #0077ff;
  font-weight: 700;
  text-transform: uppercase;
}

.skills-table tr:hover {
  background-color: #333;
}

.skills-table td {
  color: #cbd5e1;
}

.skills-table td:last-child {
  color: white;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(20, 20, 20, 0.95);
  padding: 10px 20px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: none;
}

.navbar ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
}

.navbar ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: #0077ff;
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2.5em;
  }
  header ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .navbar {
    position: unset;
  }
  .navbar ul {
    display: none;
  }

  .section-header {
    font-size: 1.5em;
    text-align: center;
  }

  .section-content {
    font-size: 0.9em;
  }

  .skills-table th,
  .skills-table td {
    font-size: 0.9em;
    padding: 8px;
  }
  .project-description {
    font-size: 0.9em;
  }
}
