:root {
  --maincolor: #841ef9;
  --maincolor-transparent: #841ef9a2;
  --highlight: #e8d3ff;
  --offcolor: #5a12ad;
  --white: #fff;
  --white-transparent: #ffffffd0;
}


/* YOUTUBE EMBED RESPONSIVE */

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.fotorama {
  margin: 0 0 32px;
}

#logo {
  width: 200px;
}

#horripilant-logo {
  width: 30vw;
  margin-top:32px;
}

#info {
  text-align: center;
  margin-bottom: 50px;

  display: flex;
  justify-content: center;
  align-items: center;
  > p {
    width: 30vw;
  }
}

.post-button-inner {
  display: flex;
}

.post-item-container {
  gap:16px;
  display:grid;
  max-width: 50vw;
}

.post-item-date {
  color: var(--offcolor);
}

.post-button {
  background-color: var(--white);
  color: var(--maincolor);
  display: block;
  text-decoration: none;
  padding: 16px;
  transition: ease-out 0.2s;
  border-radius: 8px;
  box-shadow: 0 5px 20px 5px #ffffff00;
}

.post-button:hover {
  color: var(--white);
  background-color: var(--offcolor);
  transition:ease-out 0.2s;
  scale: 1.03;
  box-shadow: 0 5px 20px 5px #ffffff44;
}

.post-button:hover .post-item-date {
  color: var(--white-transparent);
  transition: 0.2s;
}

.post-button:hover .post-tag {
    color: var(--highlight);
}

.post-image {
  max-height: 170px;
  object-fit: cover;
  border-radius: 4px;
  flex-grow: 1;
}

.post-item-title {
  margin: 0 0 0 0;
}

.post-item-desc {
  font-size: 1.1em;
}

.post-item-date {
  font-size: 0.9em;
}

.post-item-text {
  text-align: left;
  margin-left: 16px;
  display: grid;
  align-content: center;
}

.contact-btn {
  margin: 4px;
}

header {
  height: 100px;
  padding: 16px;
  margin-bottom: 36px;
}

footer {
  margin: 64px 0 64px 0;
}

.footer-container {
  display: flex;
  gap: 36px;
  justify-content: center;
}

.latest-posts {
    text-align: left;
}
.latest-posts ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}
.latest-posts li {
    margin: 0.5rem 0;
}
.latest-posts a {
    color: var(--white);
    text-decoration: underline;
    transition: color 0.2s ease;
    font-size: 1rem;
}
.latest-posts a:hover {
    color: var(--highlight);
}

.tags {
  display: flex;
  gap: 8px;
  margin: 1rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  padding: 0.5rem 1rem;
  border-radius: 500px;
  background: var(--offcolor);
  color: var(--white);
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.2s ease;
}

.tag:hover {
  background: var(--highlight);
  color: var(--offcolor);
  transition: 0.2s ease;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem 0 2rem 0;
}

.post-item-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.5rem 0;
}
.post-tag {
  font-size: 0.9rem;
  color: var(--maincolor-transparent);
}

.presskit-container {
  background-color: var(--highlight);
  color: var(--offcolor);
  text-align: center;
  justify-content: center;
  padding: 16px;
  border-radius: 8px;
  margin: 32px 0 32px 0;
}

.presskit-container h2 {
  margin-top:0;
}

.presskit-container button:hover {
  color: var(--white);
  background-color: var(--offcolor);
}

.presskit-container button:hover i {
  color: var(--white);
}


.banner-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(1);
  opacity: 0.15;
  margin-bottom: 16px;
}


body {
  padding: 0 10vw 0 10vw;
  background-color: var(--maincolor);
  perspective: 1500px;
  cursor: url("/assets/Pointer.png"), auto;

  text-align: center;
  font-family: "Inter", sans-serif;
  color: var(--white);
}

article {
  align-self: center;
  max-width: 40vw;
  text-align: left;
}

blockquote {
  background-color: var(--highlight);
  color: var(--offcolor);
  padding: 8px 16px;
  margin: 16px 0;
  border-radius: 8px;
}

h1 {
  margin: 0 0 32px 0;
  font-family: 'Satoshi', sans-serif;
}

h2 {
  font-family: 'Satoshi', sans-serif;
}

h3 {
  font-family: 'Satoshi', sans-serif;
}

p {
  font-size: 1.2em;
  line-height: 1.5;
}

a {
  color: var(--white);
  text-decoration: underline;
}
a:hover {
  color: var(--highlight);
}

.footer-text {
  font-weight: 300;
}

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

.header-links {
  gap: 8px;
  padding: 8px 16px 8px 16px;
}

ul {
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.5;
}


.rss-container {
  position: relative;
  display: inline-block;
}

.icon-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

.popup {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--offcolor);
  padding: 16px;
  border-radius: 8px;
  z-index: 1000;
  color: var(--white);
  width: 280px;
  margin-bottom: 10px;
}

.popup h3 {
  margin-top: 0;
  margin-bottom: 0;
}

.popup input {
  background-color: var(--highlight);
  color: var(--offcolor);
}

.popup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--offcolor);
}

.popup-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.copy-container {
  display: flex;
  gap: 8px;
}

.copy-container input {
  padding: 8px;
  border: 0px;
  border-radius: 4px;
  flex-grow: 1;
  font-size: 14px;
}

.copy-button {
  background: var(--highlight);
  color: var(--offcolor);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

#rssButton {
  transform: scale(1);
}

#rssButton :hover i {
  color: var(--white);
}

#copyButton {
  background-color: var(--highlight);
  color: var(--offcolor);
  transform: scale(1);
  padding: 13px 16px;
  font-weight: 700;
  border-radius: 4px;
  border: none;
  box-shadow: 0 5px 20px 5px #ffffff00;
}

#copyButton i {
  color: var(--offcolor);
}

.game-card {
  max-width: 350px;
  height: 350px;

  background-color: var(--offcolor);
  border-radius: 10px;

  box-shadow: 0 1px 5px #00000099;

  position: relative;

  flex-grow: 1;

  align-content: center;

  transition-duration: 300ms;
  transition-property: transform, box-shadow;
  transition-timing-function: ease-in-out;
  transform: rotate3d(0);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.horripilant-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: grayscale(1);
  opacity: 0;
  transition: 0.3s ease;
}

.game-card:hover .horripilant-card-img {
  opacity: 0.3;
  transition: 0.3s ease;
}

.game-logo {
  position: relative;
  z-index: 2;
  max-width: 80%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.game-card:hover {
  transition: 0.3s ease;
  transform: scale(1.05);
  box-shadow: 0 5px 20px 5px #ffffff44;
}


button {
  background-color: var(--offcolor);
  color: var(--white);
  transform: scale(1);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  box-shadow: 0 5px 20px 5px #ffffff00;
  transition: ease-in-out 0.2s;
}

button:hover {
  background-color: var(--highlight);
  color: var(--offcolor);
  transform: scale(1.1);
  border: none;
  box-shadow: 0 5px 20px 5px #ffffff44;
  cursor: pointer;
}

button:hover i {
  color: var(--offcolor);
}

i {
  color: var(--white);
  transform: scale(1);
  transition: 0.2s ease-in-out;
}

i:hover {
  transform: scale(1.1);
}

.card {
  font-weight: bold;
  padding: 1em;
  text-align: right;
  color: #181a1a;

  width: 300px;
  height: 350px;
  box-shadow: 0 1px 5px #00000099;

  border-radius: 10px;
  background-size: cover;

  position: relative;

  transition-duration: 300ms;
  transition-property: transform, box-shadow;
  transition-timing-function: ease-out;
  transform: rotate3d(0);
}

.card:hover {
  transition-duration: 150ms;
  box-shadow: 0 5px 20px 5px #00000044;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}

.pagination-link {
  background-color: var(--offcolor);
  color: var(--white);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 5px 20px 5px #ffffff00;
  transition: ease-in-out 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-link:hover {
  background-color: var(--highlight);
  color: var(--offcolor);
  transform: scale(1.1);
  box-shadow: 0 5px 20px 5px #ffffff44;
}

.pagination-link:hover i {
  color: var(--offcolor);
}

.pagination-info {
  font-size: 1.1em;
  color: var(--white-transparent);
}

.steam-frame {
  width:100%;
  height:190px;
}

@media only screen and (max-width: 1500px) {
  #logo {
    width: 150px;
  }

  #horripilant-logo {
  width: 60vw;
  }

  .post-item-container {
  max-width: 90vw;
  }

  .post-button-inner {
  display: block;
  }
  
  .post-item-title {
  margin: 16px 0 0 0;
  }

  .post-button {
    padding-bottom: 24px;
  }


  #info {
    > p {
      width: 50vw;
    }
  }

  article {
  max-width: 70vw;
  }

  footer {
    margin-top: 32px;
  }
}

@media only screen and (max-width: 900px) {
  #logo {
    width: 200px;
  }

  #horripilant-logo {
    width: 80vw;
  }

  #info {
    > p {
      width: 80vw;
    }
  }

    article {
  max-width: 90vw;
  }

  .footer-container{
    display: block;
  }


  .latest-posts {
    text-align: center;
  }

  .latest-posts ul {
    text-align: center;
  }

  .latest-posts h3 {
    margin-top: 36px;
  }

  .post-item-text {
  margin-left: 0px;
  }

  .popup {
    transform: translateX(-67.08%);
  }

  footer {
    margin-top: 32px;
  }

  .pagination {
    flex-direction: column;
  }
}
