/* contentpopup */
.lazy-load {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.lazy-load.loaded {
  opacity: 1;
  transform: translateY(0);
}

.contentpopup {
  position: fixed;
  right: 80px;
  bottom: -20px;
  width: 500px;
  max-width: 80%;
  height: 100%;
  max-height: 700px;
  z-index: 4000;
  display: none;
  overflow-y: auto;
  /* box-shadow: -4px 4px 8px 0 rgba(0, 0, 0, .15); */
}

.contentpopup__container {
  position: absolute;
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
}

.contentpopup__content {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 2rem;
  background: rgb(var(--c-neutral-lightest));
  /* width: 100%;
  position: relative;
  overflow-y: auto; */
}

.contentpopup__content>div:last-child {
  margin-bottom: 0;
}

.contentpopup__close {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
  line-height: 40px;
  width: 40px;
  text-align: center;
}

.contentpopup__close::after {
  content: '\f00d';
  font-family: 'FaRegular';
  font-size: 20px;
}

.contentpopup .grid__main {
  display: block;
}

.contentpopup h1 {
  font-size: var(--f-size-l-2);
}

.contentpopup h2 {
  font-size: var(--f-size-l-1);
  top: auto;
}

.contentpopup p {
  font-size: var(--f-size-s-1);
}