* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-family: "PT Serif", serif;
  --black: #1f1925;
  --dark-purple: #292140;
  --purple: #534669;
  --white: #d0cdd3;
  --gray: #8d8d8d;
  --light-purple: #635772;
  --link-color: #3b2263;
  --link-color-hover: #5d3a80;
}

body {
  background-image: url("blog-img/rose_lace.jpg");
  background-color: var(--purple);
  margin: 7%;
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--black);
}

.sidebg {
  background-image: url("blog-img/k13-bg-lace.gif");
  background-repeat: repeat-y;
  background-position: top right;
  width: 200px;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

.side {
  background-color: var(--white);
  width: 176px;
  height: 100%;
  padding: 1rem 0.5rem 1rem 1rem;
  text-align: justify;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.avatar {
  width: 100%;
  opacity: 0.9;
}

.desc {
  padding: 0.5rem;
}

.sideheaders {
  font-family: var(--font-family);
  font-weight: normal;
  font-size: 28px;
}

.side ul {
  padding-left: 2.5rem;
}

.side li {
  font-size: 16px;
}

.container {
  display: flex;
  flex-direction: column;
  margin-left: 200px;
}

.headerwrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.title {
  font-family: var(--font-family);
  font-weight: normal;
  color: var(--white);
  font-size: 46px;
  align-self: end;
  margin-left: -1rem;
}

.boxgap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.box {
  display: flex;
  flex-direction: row;
  background-color: var(--white);
  border: 3px solid var(--gray);
}

.left {
  border-right: 3px solid var(--gray);
  padding: 0.7rem;
  text-align: center;
}

.icon {
  border: 2px solid var(--gray);
}

.right {
  padding: 1rem;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:visited {
  color: var(--link-color);
}

a:hover {
  color: var(--link-color-hover);
  font-weight: bold;
}

a:active {
  color: var(--link-color-hover);
  font-style: italic;
  font-weight: normal;
}

*::-webkit-scrollbar {
  width: 5px;
}
*::-webkit-scrollbar-thumb {
  background-color: var(--purple);
  border: 1.5px dashed var(--light-purple);
}
*::-webkit-scrollbar-track {
  background: var(--white);
}
#credit {
  font-size: 12px;
  position: fixed;
  bottom: 0;
  right: 0;
}

@media (max-width: 760px) {
  body {
    margin: 0;
    padding: 1rem;
  }
  .sidebg {
    background-image: none;
    position: relative;
    top: 0;
    margin-bottom: 1rem;
    width: 100%;
    height: auto;
  }
  .side {
    height: auto;
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
  .desc {
    font-size: 16px;
  }
  .side ul {
    padding: 0;
  }
  .side li {
    display: inline;
    margin-left: 4px;
  }
  .avatar {
    width: 50%;
    margin: 0 auto;
  }
  .container {
    margin: 0;
  }
  .headerimg {
    width: 180px;
  }
  .title {
    font-size: 36px;
    margin: 0;
  }
}
.pt-serif-regular {
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.pt-serif-bold {
  font-family: "PT Serif", serif;
  font-weight: 700;
  font-style: normal;
}

.pt-serif-regular-italic {
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.pt-serif-bold-italic {
  font-family: "PT Serif", serif;
  font-weight: 700;
  font-style: italic;
}
