html {
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
}

body {
  background: #4e4b4b;
  height: 100%;
}

h1 {
  color: #363535;
  font-family: "Roboto", sans-serif;
  font-size: 90px;
  font-weight: 900;
  text-align: center;
}

h2 {
  font-family: "Montserrat", sans-serif;
  color: #333030;
  font-size: 38px;
  font-weight: 500;
}

h3 {
  font-size: 40px;
  font-weight: 900;
  color: #363535;
  font-family: "Roboto", sans-serif;
}

h4 {
  font-size: 30px;
  font-weight: 600;
  color: #363535;
  font-family: "Roboto", sans-serif;
}

p,
li {
  font-family: "Roboto", sans-serif;
  font-style: italic;
  color: #333030;
  font-size: 25px;
  font-weight: 300;
}

.wrapper {
  max-width: 1000px;
  width: 100%;
  background: #f0ebeb;
  margin: 0 auto;
  padding: 50px 100px;
}

.header-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

.header-arrow {
  border: 1px solid #998e8e;
  border-radius: 50px;
  padding: 15px 20px;
  text-decoration: none;
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  color: #333030;
  font-size: 14px;
  font-weight: 300;
}

.header-foto {
  display: flex;
  margin-bottom: 50px;
}

.header-foto img {
  max-width: 100%;
  border-radius: 50%;
}

.header-mail {
  color: #998e8e;
  font-size: 30px;
  margin: 30px 0 0 0;
}

.junior {
  display: flex;
  flex-direction: column;
}

.junior-title {
  display: flex;
  padding: 15px 0;
  justify-content: center;
  align-items: center;
  border-top: 6px solid #b6aeae;
  border-bottom: 3px solid #b6aeae;
}

.junior-text {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  gap: 20px;
}

.technologies {
  font-style: normal;
}

.junior-text {
  margin-top: 30px;
  gap: 18px;
}

.junior-text ul,
.work-text ul,
.volunteer-text ul,
.certificates-text ul {
  margin-left: 50px;
}

.work-text ul li {
  margin-bottom: 5px;
}

.work-text ul li:last-child {
  margin-bottom: 0;
}

.work-text ul p {
  margin-bottom: 10px;
}

.work,
.volunteer,
.certificates,
.hobby {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
}

.work-title,
.volunteer-title,
.certificates-title,
.hobby-title {
  display: flex;
  padding: 15px 0;
  align-items: center;
  border-top: 6px solid #b6aeae;
  border-bottom: 3px solid #b6aeae;
}

.work-text,
.volunteer-text,
.certificates-text,
.hobby-text {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  gap: 20px;
}

.work-text li a {
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  color: #333030;
  font-size: 25px;
  font-weight: 300;
}

.certificates-text p,
.hobby-text p {
  font-style: normal;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 100px;
}

.footer-wrapper p {
  font-size: 20px;
  font-weight: 300;
}

.footer-wrapper a {
  border: 1px solid #333030;
  border-radius: 50px;
  padding: 15px 20px;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  color: #333030;
  font-size: 14px;
  font-weight: 300;
}

/* Adaptiv */

@media (max-width: 769px) {
  h1 {
    font-size: 50px;
    font-weight: 900;
  }

  h2 {
    font-size: 25px;
  }

  h3 {
    font-size: 30px;
  }

  h4 {
    font-size: 20px;
  }

  p,
  li {
    font-size: 18px;
  }

  .wrapper {
    max-width: 340px;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
  }

  .header-foto {
    margin-bottom: 20px;
  }

  .header-mail {
    font-size: 20px;
    margin: 15px 0 0 0;
  }

  .header-arrow {
    padding: 5px 10px;
    font-size: 10px;
  }

  .work,
  .volunteer,
  .certificates,
  .hobby {
    margin-top: 30px;
  }

  .work-text,
  .volunteer-text,
  .certificates-text,
  .hobby-text {
    margin-top: 30px;
    gap: 18px;
  }

  .junior-text ul,
  .work-text ul,
  .volunteer-text ul {
    margin-left: 20px;
  }

  .junior-text ul li,
  .work-text ul li,
  .volunteer-text ul li {
    margin-left: 0 !important;
  }

  .work-text li a {
    font-size: 18px;
  }

  .footer-wrapper {
    margin-top: 70px;
  }

  .footer-wrapper p {
    font-size: 16px;
    text-align: center;
  }

  .footer-wrapper a {
    display: none;
  }
}