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

* {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background-color: #f7f7f9;
}

.container-generic {
  max-width: 75%;
  margin: 0 auto;
}

.hero {
  padding: 0 0 30px 0;
  background-color: #fff;
  border-radius: 0 0 0 4rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 82%;
  margin: 0 auto;
}

.menu-list {
  list-style: none;
  color: white;
}

.menu-item {
  display: inline-block;
  padding: 25px;
  font-size: 15px;
  font-weight: 500;
}

a {
  text-decoration: none;
  color: #344563;
}

.nav-logo {
  display: flex;
  font-weight: 700;
  font-size: 18px;
  color: #6070ff;
}

.mob-menu {
  padding: 25px;
  padding-right: 0;
}

.mob-menu-bar {
  width: 20px;
  height: 3px;
  background-color: #344563;
  margin-top: 4px;
}

.bio-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  width: 100%;
  margin: 0 auto;
  background-image: url("./../img/header-mobile.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.bio-content-wrapper {
  max-width: 82%;
  margin: 0 auto;
  padding-top: 24%;
  padding-bottom: 14%;
}

.bio-content .bio {
  padding-bottom: 1rem;
}

.bio-content-wrapper > a {
  display: block;
  color: #7f8cff;
  font-size: 1rem;
  padding-bottom: 8px;
}

.bio-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  padding-bottom: 1rem;
  color: #091e42;
}

.social-media {
  display: flex;
  gap: 20px;
  list-style-type: none;
  margin-bottom: 20px;
}

a:hover {
  color: black;
}

.article-item {
  display: flex;
  flex-direction: column;
  flex-basis: auto;
  justify-content: center;
  width: 82%;
  margin: 0 auto;
  margin-top: 8.75rem;
  background-color: white;
  border: 1px solid #bac0ce;
  border-radius: 0.7rem;
  padding: 0.9373rem;
}

.about-me-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  margin-top: 8.75rem;
  background-color: white;
  border-top-right-radius: 6rem;
  padding: 24% 8% 24% 8%;
}

.article-img {
  background-size: cover;
  width: 100%;
}

.article-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  color: #172b4d;
  padding: 0;
  margin: 0;
}

.about-me-title {
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  color: #172b4d;
  padding: 0;
  margin: 0;
}

.article-content h3 {
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #344563;
  margin: 20px 0 20px 0;
}

.article-content h3 > span {
  color: #7a869a;
}

.article-tags {
  display: flex;
  gap: 10px;
  align-items: center;
  list-style-type: none;
}

.article-tag {
  padding: 4px 12px;
  background-color: #ebebff;
  color: #6070ff;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.03em;
  border-radius: 8px;
  margin: 20px 0 20px 0;
}

.article-btn {
  padding: 12px;
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #396df2;
  color: #396df2;
  text-decoration-style: none;
  margin-top: 2%;
  margin-bottom: 2%;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  transition: all 1s;
}

.article-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  padding-top: 10px;
}

details {
  font-size: 1rem;
  width: 100%;
  position: relative;
  margin-top: 1.2rem;
}

.summary-title {
  user-select: none;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}

.summary-content {
  cursor: default;
  padding: 1rem;
  font-weight: 300;
  line-height: 1.5;
}

summary {
  list-style: none;
  padding: 1.5rem;
  border-bottom: 1px solid #dfe1e6;
}

.summary-chevron-up svg {
  opacity: 0.5;
  display: block;
}

.summary-chevron-up,
.summary-chevron-down {
  pointer-events: none;
  position: absolute;
  top: 0.75em;
  right: 1rem;
  background: #fff;
}

summary::-webkit-details-marker {
  display: none;
}

details > ul > li {
  list-style-type: none;
  display: flex;
  align-items: center;
  margin: 1rem;
  background-color: #f7f7f9;
  border-radius: 9px;
  padding: 0.5rem;
}

.content-category {
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 1rem;
  font-weight: 500;
  font-size: 15px;
}

.cards {
  display: grid;
}

.form-wrap-level-one {
  background-color: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-wrap-level-two {
  background-color: #6070ff;
  border-top-left-radius: 7rem;
  justify-content: center;
}

.form-container {
  padding: 20px;
  margin: 0 auto;
  color: #fff;
  margin-bottom: 50px;
  background-image: url("./../img/contactBg.png");
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  display: flex;
  flex-direction: column;
}

ul {
  list-style-type: none;
}

.form-container h2 {
  display: block;
  width: max-content;
  margin-top: 98px;
  padding-bottom: 0.5em;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
}

.form-container p {
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: #ebebff;
  padding-bottom: 1.5em;
}

.open-summary {
  border-bottom: none;
}

textarea,
input {
  width: 327px;
  margin-bottom: 1em;
  border-radius: 8px;
  color: #172b4d;
  padding: 16px;
  background-color: #fff;
  border: 1px solid #fff;
}

.form-container input {
  height: 48px;
}

.form-container textarea {
  color: #000;
  height: 170px;
}

.form-container button {
  background-color: #fff;
  color: #6070ff;
  text-align: center;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 12px;
}

.form-container ul {
  align-items: center;
}

.about-me-content .connect {
  display: block;
  margin-top: 12px;
  margin-bottom: 26px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #7f8cff;
}

.article-btn:hover {
  background-color: #396df2;
  color: #fff;
  box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
  transform: scale(110%);
}

.article-btn:active {
  background-color: #5280f5;
  color: #fff;
  box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
}

.article-item:hover {
  box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
}

.contact-me-btn:hover {
  box-shadow: 0 8px 16px rgba(128, 128, 128, 0.6);
}

@media all and (min-width: 375px) {
  .menu-list {
    display: none;
  }
}

@media all and (min-width: 768px) {
  .mob-menu {
    display: none;
    padding: 25px;
    padding-right: 0;
  }

  .menu-list {
    display: block;
  }

  .bio-content {
    background-image: url("./../img/header_bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 0 13% 0 13%;
  }

  .bio-content-wrapper {
    max-width: 82%;
    margin: 0 auto;
    padding-left: 9%;
    padding-right: 9%;
    padding-top: 15%;
    padding-bottom: 9%;
  }

  .article-item {
    display: flex;
    flex-direction: row;
    width: 82%;
    margin: 0 auto;
    margin-top: 8.75rem;
    background-color: white;
    border: 1px solid #bac0ce;
    border-radius: 0.7rem;
    padding: 3%;
    gap: 3%;
  }

  .article-img,
  .sub-item,
  .article-content {
    width: 100%;
    height: 100%;
  }

  .item-reverse {
    flex-direction: row-reverse;
  }

  .about-me-item {
    display: flex;
    flex-direction: row;
    gap: 2em;
    padding-top: 160px;
    padding-bottom: 160px;
    margin-top: 8.75rem;
  }

  .grid-container {
    display: inline-grid;
    grid-template-columns: auto auto auto;
  }

  .container {
    display: inline-grid;
    grid-template-rows: auto;
    width: 122px;
    height: 120px;
  }

  .content-category {
    margin-left: 0;
    margin-top: 0.5em;
  }

  .button {
    display: flex;
    justify-content: center;
  }

  .form-description {
    width: 569px;
  }

  .article-item button,
  .about-me-content button {
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
    border-radius: 8px;
  }

  .about-me-content,
  .skills-categorie {
    width: 100%;
  }

  textarea,
  input {
    width: 447px;
    border-radius: 2px;
    margin-top: 1em;
  }

  .form-container {
    background-image: url("./../img/contact_form_background.png");
    background-repeat: no-repeat;
    background-size: cover;
  }
}
