body {
  font-family: Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 100px auto;
  max-width: 900px;
}

#body {
  margin: auto 20px;
}

img {
  height: 175px;
  width: 150px;
  border-radius: 16px;
  border: 3px solid hsl(0, 0%, 0%);
  border-radius: 8px;
  background: #fff;
}

.avatar {
  width: 150px;
}

.avatar img {
  transform: scaleX(-1);
}

#avatar1,
.img-1 {
  transform: rotate(-9deg);
  position: relative;
}

#avatar2,
.img-2 {
  bottom: 180px;
  position: relative;
  transform: rotate(9deg);
}
#avatar-holder {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*TEXT*/

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

#medium-posts {
  list-style: disc;
}

#body ul {
  margin: 20px 0 30px 0;
}

#buttons ul {
  display: flex;
  gap: 10px;
  justify-content: center;
}

#buttons ul li button {
  cursor: pointer;
  transition: all 0.1s;
  color: black;
  border: 2px black solid;
  background: white;
}

button {
  border: none;
  padding: 12px;
  border-radius: 16px;
  display: flex;
  font-size: 22px;
}

.button-style {
  border-radius: 16px;
  font-size: 20px;
  width: auto;
  color: #90a7df;
}

h1 {
  font-size: 48px;
  font-weight: 300;
}

h2 {
  font-size: 26px;
  font-weight: 400;
}

li,
p {
  font-size: 26px;
  line-height: 1.4;
  margin-bottom: 10px;
  font-weight: 200;
}

p,
.medium-link {
  font-size: 20px;
}

a {
  text-decoration: none;
  color: #90a7df;
}

span {
  background-color: black;
  color: #fff;
  font-size: 24px;
  padding: 4px 16px;
  border-radius: 32px;
}

#location {
  background-color: white;
  color: black;
  padding: 0px;
  font-size: 26px;
}

.hidden {
  display: none;
}
.shown {
  display: flex;
}
#adendum {
  margin-top: 40px;
  width: 100%;
}

/*SAMPLE WORK*/

#menu {
  display: flex;
  gap: 24px;
  width: 100%;
}

#menu li {
  cursor: pointer;
}

#menu li:hover {
  font-weight: 700;
}

#product {
  color: black;
  font-weight: 800;
  cursor: pointer;
}

.case {
  display: flex;
  margin: 75px 0;
}

.case-img {
  padding: 20px;
  margin: 20px auto;
  height: 175px;
  margin-right: 30px;
}

.case-text {
  margin: auto 40px;
}

.box2 {
  background-color: #90a7df;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

#default-message,
#medium-intro,
#medium-posts,
#download-cv {
  margin: auto 40px;
}

#medium-intro {
  margin: 20px;
}

#work-with-me {
  margin: auto 20px;
}

#wwm-modal {
  background: white;
  border: 3px solid black;
  border-radius: 16px;
  min-height: 200px;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#close-wwm {
  position: absolute;
  right: 0px;
  top: 0px;
  padding: 8px;
  margin: 8px;
  cursor: pointer;
}

.blur {
  filter: blur(5px);
}

@media only screen and (max-width: 720px) {
  .case {
    flex-direction: column;
  }
  .case-img {
    margin: auto;
  }
}

@media only screen and (max-width: 420px) {
  li,
  p {
    font-size: 16px;
    line-height: 1.5;
    padding-bottom: 4px;
  }

  span {
    font-size: 16px;
    padding: 2px 8px;
    line-height: 1.8px;
  }

  #location {
    font-size: 18px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 18px;
    font-weight: 400;
  }

  button {
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 16px;
    cursor: pointer;
    cursor: pointer;
    font-family: 400;
  }

  #buttons ul {
    gap: 4px;
  }

  .button-style {
    padding: 12px 0px;
    border-radius: 16px;
    font-size: 16px;
  }

  .case {
    flex-direction: column;
    margin: 40px 0;
  }

  .case img {
    height: 175px;
    width: 175px;
  }

  .case-img {
    margin-right: auto;
  }

  .case-text p {
    font-size: 16px;
  }

  hr {
    color: black;
    width: 90%;
    opacity: 50%;
    margin-bottom: 40px;
  }

  #menu {
    margin: 0px 20px;
  }

  #menu li {
    cursor: pointer;
  }

  #adendum {
    margin-top: 0px;
  }

  #medium-intro {
    font-size: 16px;
  }

  .medium-link {
    font-size: 14px;
  }
}

/** Animation */

.move-left {
  left: 75px;
}

.move-right {
  right: 75px;
}

#buttons ul li button:hover {
  font-weight: 700;
}

.clicked {
  background-color: #90a7df;
  border: none;
  color: white;
}

.box {
  height: 100%;
  width: 100%;
  z-index: -100;
  right: 10px;
  position: fixed; /* Fixed positioning relative to the viewport */
  right: 0; /* Align to the right side of the viewport */
  top: 50%; /* Position it in the middle vertically */
  transform: translateY(-50%); /* Center it vertically */
  width: 200px; /* Width of the div */
  height: 300px; /* Height of the div */
}

.case-img {
  /* HTML: <div class="loader"></div> */
  aspect-ratio: 1;
  background: #90a7df;
  border-radius: 50%;
  animation: l1 15s infinite linear;
}
@keyframes l1 {
  12.5% {
    border-radius: 37% 63% 70% 30% / 30% 62% 38% 70%;
  }
  25% {
    border-radius: 50% 50% 70% 30% / 52% 62% 38% 48%;
  }
  37.5% {
    border-radius: 33% 67% 18% 82% / 52% 75% 25% 48%;
  }
  50% {
    border-radius: 73% 27% 18% 82% / 52% 32% 68% 48%;
  }
  62.5% {
    border-radius: 73% 27% 74% 26% / 64% 32% 68% 36%;
  }
  75% {
    border-radius: 84% 16% 15% 85% / 55% 79% 21% 45%;
  }
  87.5% {
    border-radius: 12% 88% 69% 31% / 10% 66% 34% 90%;
  }
}
