html,
body {
  padding: 0;
  margin: 0;
}

body {
  background: var(--bg-color);
  font-family: "new-atten", sans-serif;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
  color: #000;
}

body.dark-mode {
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

@media only screen and (min-width: 820px) {
  .wrapper {
    padding: 0 20px;
  }
}

.content {
  position: relative;
  min-height: calc(100vh - 213px);
  box-sizing: border-box;
  padding-bottom: 40px;
  background: var(--bg-color-light);
}

.content:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  background: linear-gradient(180deg, var(--bg-header), transparent);
  pointer-events: none;
}

.underlined-link {
  position: relative;
  display: inline-block;
  border: none;
  border-bottom: 2px solid var(--accent-color);
  font-weight: bold;
  padding: 5px 0;
  transition: all 200ms;
  color: var(--accent-color);
  background: transparent;
  cursor: pointer;
  font-family: "new-atten", sans-serif;
  font-size: 16px;
  font-style: normal;
}

.underlined-link:hover {
  color: #ec175c;
  border-color: #ec175c;
}

.fullsize-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

img.lazyload,
img.lazyloaded,
img.lazyloading {
  opacity: 0;
  transition: opacity 400ms;
}

img.lazyloaded {
  opacity: 1;
}

.shine {
  position: relative;
  overflow: hidden;
}

.shine:after {
  position: absolute;
  display: block;
  height: 100%;
  width: 0px;
  left: 0;
  top: 0;
  content: "";
  box-shadow: 0 0 15px 15px rgba(255, 255, 255, 0.3);
  animation: shine 7s infinite;
  animation-timing-function: ease-in-out;
  pointer-events: none;
}

.shine--delay:after {
  animation-delay: 3s;
}

@keyframes shine {
  0% {
    transform: translateX(-20px);
  }
  20% {
    transform: translateX(300px);
  }

  100% {
    transform: translateX(300px);
  }
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.avatar--small {
  width: 30px;
  height: 30px;
}

.avatar img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}
