@import url("form-page.css");

body {
  min-height: 100vh;
  margin: 0;
  width: 100vw;
  max-width: 100%;
  position: relative;
  box-sizing: border-box;
  /*overflow-x: hidden;*/
}

header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
}

p:last-child {
  margin-bottom: 0;
}
.row {
  box-sizing: border-box;
}

.archive header {
  display: none;
}

.lang-links {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  padding: 30px;
  display: flex;
  gap: 1rem;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  margin: 0;

  .lang-links__link {
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
  }
}

main {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: block;

  .row {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }
}

.hero-section {
  padding-top: 17.361vw;

  .title-row h1 {
    text-align: center;
    text-transform: uppercase;

    font-size: 6.944vw;
    font-weight: 900;
    margin: 0;

    background: linear-gradient(
        90deg,
        #fff6a5,
        #ffcc00,
        #ff7b00,
        #ff3300,
        #b30000,
        #ff7b00,
        #ffcc00
    );

    background-size: 300% 100%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 5px #ffcc00,
    0 0 15px #ff6600,
    0 0 30px #ff3300;

    animation: fireMove 3s linear infinite;
  }

  @keyframes fireMove {
    from {
      background-position: 0% 50%;
    }
    to {
      background-position: 100% 50%;
    }
  }
}

.authors-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
}

.left-author-col {
  max-width: 30%;
}

.center-author-col {
  max-width: 40%;
}

.right-author-col {
  max-width: 30%;
}

.left-author-col,
.center-author-col,
.right-author-col {
  width: 100%;

  img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

.left-author-col,
.right-author-col {

  .left-author-wrap,
  .right-author-wrap {
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    position: relative;
    text-align: center;
    padding: 2.569vw;
  }

  .author-photo {
    width: 100%;
    max-width: 70%;
    aspect-ratio: 1 / 1.3;
    object-fit: cover; /* prevents distortion */
    border-radius: 50%;
  }

  .photo-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    border-radius: unset;
  }
}

.bottles-section {
  padding: 100px 0;

  .bottles-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-end;
    gap: 20px;

    .bottle-image {
      width: 100%;
      height: auto;
    }

    .bottle-button {
      color: #fff;
      text-decoration: none;
      position: relative;
      width: 100%;
      max-width: fit-content;

      .bottle-button__title {
        position: absolute;
        left: 50%;
        bottom: 20%;
        transform: translateX(-50%);
        font-size: 2.778vw;
        text-align: center;
        font-weight: 600;
        transition: all 0.5s ease-in-out;
      }

      @media screen and (max-width: 1024px) {
        max-width: calc(50% - 20px);
        .bottle-button__title {
          font-size: 6.25vw;
        }
      }
    }

    .bottle-button:hover .bottle-button__title {
      background: linear-gradient(
          90deg,
          #fff6a5,
          #ffcc00,
          #ff7b00,
          #ff3300,
          #b30000,
          #ff7b00,
          #ffcc00
      );

      background-size: 300% 100%;

      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;

      text-shadow: 0 0 5px #ffcc00,
      0 0 15px #ff6600,
      0 0 30px #ff3300;
    }
  }
}

.leaves-section {
  .leaves-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;

    .leaf-button {
      flex: 1;
      position: relative;
      color: #fff;

      .leaf-button__title {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 3.333vw;
        text-align: center;
        font-weight: 600;
        transition: all 0.5s ease-in-out;
      }

      .leaf-image {
        width: 100%;
        max-width: 100%;
        object-fit: contain;
        height: auto;
      }
    }

    .leaf-button:hover .leaf-button__title {
      background: linear-gradient(
          90deg,
          #fff6a5,
          #ffcc00,
          #ff7b00,
          #ff3300,
          #b30000,
          #ff7b00,
          #ffcc00
      );

      background-size: 300% 100%;

      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;

      text-shadow: 0 0 5px #ffcc00,
      0 0 15px #ff6600,
      0 0 30px #ff3300;
    }
  }
}

.bottom-page-section {
  padding-bottom: 150px;

  .bottom-page-section__text {
    text-align: center;
    color: #fff;
    font-size: 2.778vw;
    letter-spacing: 2.5px;
  }
}

.single main {
  padding-bottom: 50px;
}

.single .authors-row {
  margin-bottom: 50px;
}

.story-content,
.author-content {
  padding: 60px;
  /*color: #fff;*/
  font-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  font-family: "Shadows Into Light", cursive;
}


.dragon-fly {
  position: fixed;
  bottom: 0;
  left: -200px;
  width: 400px;
  z-index: 9999;
  pointer-events: none;
  animation: flyAcross 8s linear;
}

.dragon-fly img {
  width: 100%;
  height: auto;
}

@keyframes flyAcross {
  0% {
    left: -200px;
  }
  100% {
    left: 100vw;
  }
}

img.alignleft {
  float: left;
  margin: 20px;
}
.story-content p {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}