/* Base styles */
body {
  font-family: Helvetica, Arial, sans-serif;
  color: #494949;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.profile-image-container {
  width: 14rem;
  height: 14rem;
  position: relative;
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.button {
  display: inline-flex;
  align-items: center;
  background-color: #494949;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.button:hover {
  background-color: #595959;
}

/* Section styles */
.section {
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.section-white {
  background-color: white;
}

.section-gray {
  background-color: #f5f5f7;
}

.section-title {
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
}

/* Media queries */
@media (min-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
}

.section-content {
  width: 700px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Link styles */
a {
  color: #494949;
  text-decoration: none;
}

a:hover {
  color: #595959;
  text-decoration: underline;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation styles */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 49px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.77rem;
}

.nav-link {
  color: #494949;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: #595959;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

/* Hero section styles */

.hero-section {
  background-color: #f5f5f7;
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  color: #494949;
  margin: 0;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  color: #494949;
  margin: 0;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  background-color: #494949;
  color: white;
  padding: 0.77rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-button:hover {
  background-color: #595959;
  color: white;
  text-decoration: none;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

/* Skills section styles */

.skills-section {
  position: relative;
  overflow: hidden;
}

.skills-container {
  max-width: 980px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.skills-headline {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.002em;
  text-align: center;
  color: #494949;
  margin: 0;
}

.skills-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.skills-category {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.category-title {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  color: #494949;
  text-align: center;
  position: relative;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  text-align: left;
}

.skill-card {
  background-color: #f5f5f7;
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
}

.skill-text {
  line-height: 1.4;
  margin: 0;
}

@media only screen and (min-width: 734px) {
  .skills-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

/* Experience section styles */

.experience-section {
  background-color: #f5f5f7;
  position: relative;
  overflow: hidden;
}

.experience-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.experience-container {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.experience-headline {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.002em;
  text-align: center;
  color: #494949;
  margin: 0;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.experience-item {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.experience-content {
  padding: 28px;
}

.experience-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #494949;
  margin: 0;
}

.experience-company {
  font-weight: 500;
  color: #494949;
}

.experience-location {
  color: #86868b;
  display: block;
}

.experience-description {
  line-height: 1.5;
  font-weight: 400;
  color: #494949;
  text-align: left;
}

.experience-link {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: #494949;
  text-decoration: none;
  align-self: center;
}

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

.experience-link svg {
  margin-left: 7px;
  transition: transform 0.2s ease;
}

.experience-link:hover svg {
  transform: translateX(3px);
}

@media only screen and (min-width: 734px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (min-width: 1068px) {

  .experience-item {
    min-height: 300px;
    display: flex;
    flex-direction: column;
  }

  .experience-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .experience-description {
    flex: 1;
  }
}

/* Qualifications section styles */

.qualifications-section {
  position: relative;
  overflow: hidden;
  background-color: white;
  border-bottom: 1px solid #e5e5e5;
}

.qualifications-container {
  max-width: 980px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.qualifications-headline {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.002em;
  text-align: center;
  color: #494949;
  margin: 0;
}

.qualifications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

.qualification-card {
  background-color: #f5f5f7;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: left;
}

.qualification-degree {
  font-size: 1.25rem;
  font-weight: 600;
  color: #494949;
  margin: 0 0 0.5rem 0;
}

.qualification-details {
  color: #86868b;
  margin: 0;
}

@media only screen and (min-width: 734px) {
  .qualifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer styles */

footer {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* border-top: 1px solid #e5e5e5; */
}

.copyright {
  margin: 0;
  font-size: 0.75rem;
  color: #494949;
}

/* Landing page styles */
.landing-wrapper {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.landing-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.landing-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  font-weight: 400;
}

.landing-greeting {
  font-size: 7rem;
  color: #86868b;
}

.landing-name {
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 0.5rem 0;
}

.landing-name-intro {
  color: #86868b;
  font-weight: 400;
}

.landing-firstname {
  font-weight: 600;
  cursor: pointer;
  color: #494949;
}

.landing-lastname {
  color: #494949;
  cursor: pointer;
}

.landing-nickname {
  font-size: 1.25rem;
  color: #86868b;
}

.highlight {
  font-weight: 600;
  color: #494949;
}

.landing-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.landing-image-container {
  max-width: 91vw;
  border-radius: 3rem;
  overflow: hidden;
}

.landing-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-info {
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.landing-statement {
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 0;
  color: #86868b;
}

.landing-link {
  display: inline-flex;
  align-items: center;
  color: #494949;
  text-decoration: none;
  position: relative;
}

.landing-link:hover {
  text-decoration: underline;
  color: #595959;
}

.landing-link-icon {
  margin-left: 7px;
  transition: transform 0.2s ease;
  position: relative;
  top: 0;
  display: inline-block;
  vertical-align: middle;
}

.landing-link:hover .landing-link-icon {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .landing-image-container {
    width: 217px;
  }

  .landing-header {
    text-align: center;
  }

  .landing-greeting {
    font-size: 4rem;
  }
}

@media (min-width: 768px) {
  .landing-wrapper {
    padding-top: 7rem;
  }

  .landing-name {
    font-size: 3rem;
  }

  .landing-content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4rem;
  }

  .landing-image-container {
    width: 490px;
    height: 490px;
  }

  .landing-actions {
    align-items: flex-start;
  }
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem;
  border-bottom: 1px solid #e5e5e5;
  align-self: center;
  max-width: 980px;
}

.footer-column {
  flex: 0 0 auto;
  min-width: max-content;
}

.footer-column h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-column h4,
.footer-column {
  color: #86868b;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
  font-size: 0.77rem;
}

.footer-bottom {
  align-self: center;
  padding: 1rem;
}