*,
*::before,
*::after {
  box-sizing: border-box;
}

/* HELPERS */
:root {
  --bg-color: oklch(36.383% 0.10576 250.989);
  --txt-color: oklch(100% 0.00011 271.152);
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 1rem;
  color: oklch(32.109% 0.00004 271.152);
}

main {
  padding-inline: 5rem;
}

.container {
  padding: 1rem;
  max-width: 82.5rem;
  justify-content: center;
  align-items: center;




  h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
}

/* INTRO */
.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}


/* HEADER */
header {
  background-color: #f4f4f4;
  padding: 1rem;
  text-align: center;

  img {
    width: 7.5rem;
    height: 7.5rem;
    object-fit: cover;
    border-radius: 50%;
  }
}


nav ul {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;


  li a {
    text-decoration: none;
    color: var(--bg-color);
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
  }
}

nav ul li a:hover {
  color: var(--txt-color);
  background-color: var(--bg-color);
}

/* BUTTEN */
.mybutten a {
  display: inline-block;
  background-color: var(--bg-color);
  color: var(--txt-color);
  transition: background-color 0.3s ease, transform 0.3s ease;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
}

.mybutten a:hover {
  background-color: oklch(35.312% 0.09236 249.665);
  transform: scale(1.05);
}

/* CARDS */
.cards {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
  padding: 0;

  li {
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 .2rem oklch(0 0 0 / .2), 0 0 2rem oklch(0 0 0 / .1);
    text-align: center;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }

  a {
    text-decoration: none;
    color: var(--txt-color);
    background-color: var(--bg-color);
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    padding: .5rem;
    border-radius: 8px;
    display: inline-block;
    width: 100%;
  }

  img {
    border-radius: 5px;
    max-width: 100%;
  }
  
}

.cards li a:hover {
  color: var(--txt-color);
  background-color: var(--bg-color);
}

/* exercises */
.exercises {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

/* Instagram */
.insta {
  text-align: center;
  margin-top: 2rem;

  img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 75%;
  }

}

/* FOOTER */
footer {
  background-color: oklch(96.715% 0.00011 271.152);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* MOBILE-FIRST */
@media (min-width: 48em) {
  nav ul {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .cards li {
    flex: 1 1 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }
}

@media (min-width: 88em) {
  nav ul {
    flex-direction: row;
    justify-content: center;
  }

  section ul {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  section ul li {
    flex: 1 1 30%;
  }
}

/* PROFILE */
.education,
.experience,
.skills {
  background-color: oklch(96.715% 0.00011 271.152);
  box-shadow: 0 0 .2rem oklch(0 0 0 / .2), 0 0 2rem oklch(0 0 0 / .1);
  border-radius: 15px;

  h1 {
    margin-inline: 4rem;
  }

  .content {
    margin-inline: 2rem;

    h3 {
      margin-block-end: 2px;
      
    }

    p {
      margin-block-start: 0;
      
    }

  }
}
