@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap");

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

html {
  font-size: 125%;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  font-family: "Roboto", sans-serif;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* name area */
.name-slide {
  background-color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.headshot-container,
.links {
  max-width: 1200px;
  width: 100%;
}

.headshot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 8px;
}

.headshot {
  width: 35%;
  max-width: 380px;
  height: auto;
  border-radius: 6px;
}

.name {
  font-size: 2.25rem;
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
}

.info-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0px 15px 20px 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b0b0b0;
  font-size: 0.95rem;
  font-weight: 300;
  text-decoration: none;
}

a.info-item:hover {
  color: #fff;
}

.info-icon {
  width: 23px;
  height: 23px;
  filter: invert(0.7);
  flex-shrink: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.work-icon {
  background-image: url("https://unicons.iconscout.com/release/v1.0.0/svg/briefcase.svg");
}

.education-icon {
  background-image: url("https://unicons.iconscout.com/release/v1.0.0/svg/graduation-hat.svg");
}

.location-icon {
  background-image: url("https://unicons.iconscout.com/release/v1.0.0/svg/map-marker.svg");
}

.links {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 0 20px 20px;
}

.linkedin,
.github,
.email {
  width: 36px;
  height: 36px;
  filter: invert(1);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.linkedin:hover,
.github:hover,
.email:hover {
  filter: invert(0.75);
}

.linkedin {
  background-image: url("https://unicons.iconscout.com/release/v1.0.0/svg/linkedin.svg");
}

.github {
  background-image: url("https://unicons.iconscout.com/release/v1.0.0/svg/github.svg");
}

.email {
  background-image: url("https://unicons.iconscout.com/release/v1.0.0/svg/envelope.svg");
}

/* info area */
.info-slide {
  background-color: #e1e1e1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.experience-section {
  min-width: 220px;
}

.section-title {
  color: #1a1a1a;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.experience-item {
  padding-left: 15px;
  border-left: 3px solid #999;
}

.company-name {
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.roles {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.roles li {
  color: #444;
  font-size: 0.9rem;
  font-weight: 300;
}

.info-columns {
  display: flex;
  gap: 80px;
  justify-content: center;
}

.education-section {
  min-width: 220px;
}

.education-item {
  padding-left: 15px;
  border-left: 3px solid #999;
}

.school-name {
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.years {
  display: block;
  color: #666;
  font-size: 0.8rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.degrees {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.degrees li {
  color: #444;
  font-size: 0.9rem;
  font-weight: 300;
}

.skills-section {
  min-width: 220px;
}

.skills-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 15px;
  border-left: 3px solid #999;
}

.skills-list li {
  color: #444;
  font-size: 0.9rem;
  font-weight: 300;
}

/* mobile styling */
@media (max-width: 768px) {
  .headshot {
    width: 60%;
    max-width: 250px;
  }

  .name {
    font-size: 1.75rem;
  }

  .headshot-container {
    padding: 20px 15px;
  }

  .info-items {
    padding: 0px 12px 15px 12px;
  }

  .info-item {
    font-size: 0.9rem;
  }

  .links {
    padding: 0px 15px 20px 15px;
  }

  .info-columns {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .headshot {
    width: 70%;
    max-width: 200px;
  }

  .name {
    font-size: 1.5rem;
  }

  .info-item {
    font-size: 0.85rem;
  }

  .info-icon {
    width: 20px;
    height: 20px;
  }
}
