:root {
  --lightbrown: rgba(246, 210, 163, 0.4);
  --dark-brown: rgb(185, 136, 70);
}

*,
*::before,
::after {
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 0.5rem 0;
}

/* Utilities */
.container {
  margin: 0 auto;
  max-width: 64rem;
  padding: 0 2rem;
}

.title {
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--dark-brown);

  font-weight: bold;
}

/* ---> Header */
.header-wrapper {
  padding-top: 3rem;
  padding-bottom: 8rem;
  background: var(--lightbrown);
  -webkit-clip-path: polygon(0 0, 100% 0%, 100% 75%, 0% 100%);

  clip-path: polygon(0 0, 100% 0, 100% 68%, 0 100%);
  text-align: center;
}

@media screen and (max-width: 900px) {
  .header-wrapper {
    clip-path: polygon(0 0, 100% 0, 100% 77%, 0 100%);
  }
}

header {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
}

/* Image */
.image-wrapper {
  padding: 1rem 0;
  position: relative;
}

.circle-svg {
  position: absolute;
  transform: translate(33%, -12%);
}

.profile-img {
  width: 100%;
  max-width: 250px;
}

.author-description {
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1.5;

  margin-bottom: 0;
  color: var(--dark-brown);
}

.author-name {
  font-size: 2rem;
  margin: 0.8rem 0;
}

.btn {
  border: none;
  padding: 1rem 3rem;
  color: #fff;

  background: rgb(49, 203, 182);
  text-transform: uppercase;
  margin-top: 0.6em;

  font-weight: bold;
}

/* ---> main */
main,
footer {
  letter-spacing: 0.2;
  line-height: 1.7;
}

.skillset,
.awards,
.career-traits,
.recent-works {
  padding-bottom: 1rem;
}

.line {
  border: 4px solid rgb(49, 203, 182);
  width: 25%;
  background: rgb(49, 203, 182);

  margin-top: 2rem;
}

// section: experience
.title {
  text-transform: uppercase;
  color: var(--dark-brown);
  font-weight: bold;
}

.duration {
  font-weight: 500;
}

.bold {
  font-weight: 700;
}

/* recent works */
.recent-works {
  color: rgb(49, 203, 182);
  font-weight: 600;
  letter-spacing: 0.5;
}

/* ----> footer */
footer {
  text-align: center;
}

.footer-wrapper {
  background: var(--lightbrown);
  clip-path: polygon(0 21%, 100% 0, 100% 100%, 0 100%);
  min-height: 50vh;

  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-title {
  letter-spacing: 1.2;
  font-size: 2rem;
  font-weight: bold;

  margin-bottom: 0;
  margin-top: 0;
}

.email {
  color: rgb(49, 203, 182);
  font-size: 1.2rem;
  font-weight: bold;

  margin-bottom: 0;
  letter-spacing: 1.5;
}

.contact {
  color: rgb(49, 203, 182);
  font-weight: bold;
  margin-top: 0;

  letter-spacing: 1.5;
}

.social {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

/* Desktop View */
@media screen and (min-width: 62.5rem) {
  .ml-2 {
    margin-left: 2rem;
  }

  .header {
    flex-direction: row;
    justify-content: center;
  }

  .image-wrapper {
    flex-basis: 40%;
  }

  .profile-img {
    max-width: 300px;
  }

  .author-content {
    flex-basis: 60%;
    text-align: left;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 1.5rem;
  }

  .author-name {
    font-size: 4rem;
  }

  .btn {
    width: 50%;
  }

  .flex {
    display: flex;
    justify-content: space-between;
  }

  .section-one {
    flex-basis: 70%;
    margin-left: 10rem;
    flex-grow: 2;
  }

  .section-two {
    flex-basis: 30%;
    order: -1;
  }

  .hidden {
    display: none;
  }

  .line {
    width: 10%;
  }

  .description {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  footer {
    margin-top: 3rem;
  }
}
