/*
Theme Name: kadence_child
Template: kadence
Text Domain:  kadence

Version: 1.0
*/

/* импортируем стили родительской темы */
@import url("../kadence/");

/* Свои дополнительные стили */

#main {
  background: #0d1930;
}

#s1 {
  background-image: url("./assets/img/bg_first_sceen.webp");
  height: 100vh;
  max-height: 960px;
  padding-top: 20px;
}
.scene {
  background-size: cover;
  width: 100%;
  max-width: 100%;
  margin: 0 auto auto;
  position: relative;
}

.innerScene {
}
.block1 {
  display: grid;
}

.logoWrapper {
  margin: auto auto;
  display: flex;
  justify-content: center;
}

.logoWrapper img {
  width: 100%;
}

.socialButtonGroup {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: absolute;
  right: 32px;
  z-index: 90;
}

.marketButtonGroup {
  justify-content: center;
  display: flex;
  margin: 41px auto 0 auto;
  gap: 24px;
  z-index: 90;
}

.subtract {
  position: absolute;
  width: 100%;
  bottom: 0;
  max-height: 280px;
  z-index: 9;
}

.romans {
  position: absolute;
  max-width: 50%;
  bottom: 0;
  left: 0;
  max-height: 70%;
  z-index: 5;
}

.gallian {
  position: absolute;
  max-width: 50%;
  bottom: 0;
  right: 0;
  max-height: 70%;
  z-index: 5;
}

@media (max-width: 772px) {
  #s1 {
    height: 173.867vw;
    padding-top: 22px;
    background-image: url("./assets/img/first_bg_mobile.webp");
  }

  .logoWrapper {
    width: 80vw;
  }

  .socialButtonGroup {
    gap: 5.333vw;
    right: 7px;
  }
  .socialButtonGroup img {
    width: 6.4vw;
  }

  .marketButtonGroup {
    margin-top: 113.867vw;
  }

  .romans {
    max-width: 160%;
  }

  .gallian {
    display: none;
  }

  .romans {
    display: none;
  }
}

/* scene 2 */
#s2 {
  margin-top: 74px;
  background-image: url(./assets/img/table-bg.webp);
  background-size: cover;
  background-position: center;
  padding-top: 112px;
  max-width: 100%;
}

#bgTop {
  position: absolute;
  top: 0;
  left: 0;
  height: 175px;
  width: 100%;
}

#bgBottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}

.innder_s2 {
  background-image: url(./assets/img/map-bg-desk.png);
  background-size: 100% 100%;
  height: 674px;
  max-width: 975px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 43px;
}

#coins {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 9;
  height: 45%;
}
#candle {
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 9;
  height: 45%;
}

#winecandel {
  position: absolute;
  bottom: 0px;
  left: 0;
  z-index: 9;
  height: 145px;
}
#bgBottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 99;
}

.textPreSaleWrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 674px;
  margin: 0 auto 0 auto;
}

.preSaleTitle {
  font-family: "Asul";
  font-style: normal;
  font-weight: 700;
  font-size: 60px;
  line-height: 140%;
  /* identical to box height, or 84px */
  text-align: center;
  color: #0d1930;
}

.preSaleText {
  font-family: "Asul";
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  /* or 28px */
  text-align: center;
  color: #0d1930;
}

.timer {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  width: 674px;
  margin: 0 auto 57px auto;
}

.numberTimer {
  font-family: "Asul";
  font-style: normal;
  font-weight: 700;
  font-size: 80px;
  line-height: 140%;
  text-align: center;
  color: #0d1930;
}

.textTimer {
  font-family: "Asul";
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 140%;
  text-align: center;
  color: #0d1930;
}

@media (max-width: 772px) {
  #s2 {
    width: 100%;
    height: auto;
    margin-top: 17.333vw;

    padding-top: 13.6vw;
    padding-bottom: 16px;
  }

  .innder_s2 {
    height: 109.6vw;
    padding-top: 0;
  }

  #coins {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 9;
    height: 29vw;
  }
  #candle {
    position: absolute;
    top: 30px;
    left: -20px;
    z-index: 9;
    height: 30vw;
  }

  #winecandel {
    position: absolute;
    bottom: 0px;
    left: 0;
    z-index: 9;
    height: 20vw;
  }

  #bgTop {
    height: 51px;
    width: 100%;
  }

  #bgBottom {
    height: 35px;
    width: 100%;
  }

  .textPreSaleWrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2.133vw;
    width: 75.733vw;
    margin: 0 auto 0 auto;
  }

  .preSaleTitle {
    font-weight: 700;
    font-size: 8.533vw;
    line-height: 140%;
  }

  .preSaleText {
    font-size: 4.267vw;
    line-height: 140%;
    margin: 0 auto 0 auto;
  }

  .timer {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    width: 75.733vw;
    margin: 0 auto 0 auto;
  }

  .numberTimer {
    font-size: 8.533vw;
    line-height: 140%;
  }

  .textTimer {
    font-size: 4.267vw;
    line-height: 140%;
  }
}

/* email form */
#s3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 0 142px 0;

  max-width: 635px;
}

.formTitle {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 900;
  font-size: 40px;
  line-height: 130%;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(
    173.37deg,
    #ec9c00 -1.37%,
    #ffee58 57.34%,
    #ec9c00 112.71%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;

  text-shadow: 0px 9px 9px rgba(0, 0, 0, 0.4), 2px 0px 0px #ec9c00;
}

.formText {
  font-family: "Asul";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: #ffffff;
  margin: 20px auto 30px auto;
}

#tnp-1 {
  background-color: transparent;
  width: 450px;
  height: 60px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 5px;
  font-family: "Asul";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  text-align: left;
  color: #ffffff;
  opacity: 0.7;
}
#submit-feedback {
  width: 165px;
  height: 66px;
  font-family: "Asul";
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  text-transform: uppercase;
  background: url(./assets/img/btnsubscribe.webp);
  color: #000000;
}

.newsletterInfo form {
  display: none !important;
}

.newsletterInfo p {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 900;
  font-size: 24px;
  line-height: 130%;
  text-align: center;
  letter-spacing: 0.05em;
  background: linear-gradient(
    173.37deg,
    #ec9c00 -1.37%,
    #ffee58 57.34%,
    #ec9c00 112.71%
  );
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

@media (max-width: 772px) {
  #s3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16vw 15px 21.333vw 15px;

    max-width: 100%;
  }

  .formTitle {
    font-size: 6.4vw;
  }
  #add_feedback {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .formText {
    font-size: 4.267vw;
  }

  #s3 form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  #tnp-1 {
    width: 100%;
    height: 60px;
    font-size: 20px;
  }
  #submit-feedback {
    width: 164px;
    height: 60px;
    font-size: 20px;
    margin-top: 12px;
  }
}

/* slider */
#s4 {
   height: 757px;
  background-image: url(./assets/img/bg4.webp);
  background-size: cover;
  padding: 55px 0 106px 0;
  max-width: 100%;
  position: relative;
}

#block-for-slider {
  max-width: 1280px;
  position: relative;
  width: 100%;
  height: 596px;
  margin: 0 auto;
}

#viewport {
  width: 100%;
  /* display: table; */
 
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

#slidewrapper {
  display: flex;
  width: calc(100% * 4);
  margin: 0;
  padding: 0;
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
  -webkit-transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}

#slidewrapper ul,
#slidewrapper li {
  margin: 0;
  padding: 0;
}

#slidewrapper li {
  width: calc(100% / 4);
  list-style: none;
  display: inline;
  float: left;
}
#slidewrapper li p {
  font-family: "Asul";
  font-style: normal;
  font-weight: 700;
  font-size: 34px;
  line-height: 140%;

  text-align: center;

  color: #ffffff;
}

.slide-img {
  margin: auto;
  max-width: 100%;
}
#prev-btn,
#next-btn {
  position: absolute;
  width: 80px;
  height: 198px;

  top: calc(50% - 96px);
  padding: 87px 32px 87px 32px;
}

#prev-btn:hover,
#next-btn:hover,
#prev-slide,
#next-slide {
  cursor: pointer;
  background: rgba(0, 0, 0, 0.7);
}

#prev-btn {
  left: 0px;
}

#next-btn {
  right: 0px;
}

@media (max-width: 772px) {
  #s4 {
    height: 80vw;
    background-image: url(./assets/img/bg4.webp);
    background-size: cover;
    padding: 6.4vw 0 5.333vw 0;
  }

  #block-for-slider {
    width: 100%;
    height: 68.267vw;
    margin: 0 auto;
  }

  #viewport {
    width: 100%;
    display: table;
    /* position: relative; */
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
  }

  #slidewrapper {
    position: relative;
    width: calc(100% * 4);
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    -webkit-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
  }

  #slidewrapper ul,
  #slidewrapper li {
    margin: 0;
    padding: 0;
  }

  #slidewrapper li {
    width: calc(100% / 4);
    list-style: none;
    display: inline;
    float: left;
  }
  #slidewrapper li p {
    font-size: 5.333vw;
    margin-top: 0;
    margin-bottom: 3.2vw;
  }

  .slide-img {
    margin: auto;
    max-width: 100%;
    height: 50.133vw;
  }
  #prev-btn,
  #next-btn {
    display: none;
  }

  #prev-btn:hover,
  #next-btn:hover,
  #prev-slide,
  #next-slide {
    cursor: pointer;
  }

  #prev-btn {
    left: 0px;
  }

  #next-btn {
    right: 0px;
  }
}

/* blog */
#s5 {
  display: none;
  position: relative;
  padding: 120px 0 100px 0;
}

.blogTitle {
  margin-bottom: 40px;
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 900;
  font-size: 40px;
  line-height: 130%;
  /* identical to box height, or 52px */

  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  background: linear-gradient(
    173.37deg,
    #ec9c00 -1.37%,
    #ffee58 57.34%,
    #ec9c00 112.71%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;

  text-shadow: 0px 9px 9px rgba(0, 0, 0, 0.4), 2px 0px 0px #ec9c00;
}

.block_for_blog {
  position: relative;
  max-width: 1388px;
  /* max-width: 1020px; */
  margin-left: auto;
  margin-right: auto;
}

#blogViewport {
  width: 1388px;
  /* width: 1041px; */
  display: block;
  margin-left: auto;
  margin-right: auto;
  /* position: relative; */
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
@media (max-width: 1400px) {
  .block_for_blog {
    max-width: 1020px;
  }

  #blogViewport {
    width: 1041px;
    position: relative;
  }
}

@media (max-width: 1020px) {
  #blogViewport {
    width: 684px;
  }
}

.postsWrapper {
  display: flex;
  justify-content: flex-start;
  gap: 0;
}
#blogWrapper {
  position: relative;
  width: calc(100% * 4);
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
  -webkit-transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}

.singlePostWrapper {
  display: flex;
  width: 327px;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 8px;
  margin: 0 10px;
}

.singlePostText {
  font-family: "NATS";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  color: #ffffff;
}

.singlePostText .singlePostTitle {
  font-family: "Asul";
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 130%;
  color: #ffffff;
}

#prev-next-post {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 12px;
}

@media (max-width: 772px) {
  #s5 {
    padding: 21.333vw 0 24.533vw 0;
  }

  .blogTitle {
    margin-bottom: 5.333vw;
    font-size: 6.4vw;
  }

  .block_for_blog {
    position: relative;
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
  }

  #blogViewport {
    width: 337px;
  }

  .singlePostWrapper {
    width: 327px;
    gap: 8px;
  }

  .singlePostText {
    font-size: 20px;
  }
  .singlePostText p {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .singlePostText .singlePostTitle {
    margin-top: 12px;
    font-size: 20px;
  }

  #prev-next-post {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 12px;
  }
}

/* footer */
.footer {
  background-image: url(./assets/img/map-bg.webp);
  background-size: 200%;
  background-position: 50% 50%;
}

#footerInner {
  display: flex;
  flex-direction: column;
  flex-flow: column;
  justify-content: space-around;
  align-items: center;
  padding: 40px 0 22px 0;
}

.footerMarket {
  display: flex;
  margin: auto;
  gap: 24px;
}

.nav_wrapper ul {
  display: flex;
  margin: 40px auto 0 auto;
  gap: 41px;
}

.nav_wrapper li {
  list-style: none;
}

.nav_wrapper li a {
  display: flex;
  justify-content: baseline;
  align-items: center;
  gap: 9px;
  font-family: "NATS";
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 140%;
  color: #0d1930;
  text-decoration: none;
}

.socialFooter {
  margin-top: 24px;
  display: flex;
  justify-content: baseline;
  align-items: center;
  gap: 16px;
}
.socialFooter img {
  width: 24px;
  height: 24px;
}

.footerBottom {
  margin-top: 40px;
  font-family: "NATS";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: #0d1930;
}

.footerBottom a {
  color: #0d1930;
  text-decoration: none;
}

@media (max-width: 772px) {
  .footer {
    background-image: url(./assets/img/map-bg.webp);
    background-size: 200% 200%;
    background-position: 50% 50%;
  }

  #footerInner {
    padding: 40px 7px 29px 7px;
  }

  .footerMarket {
    display: flex;
    margin: auto;
    gap: 13px;
  }

  .nav_wrapper ul {
    display: flex;
    flex-wrap: wrap;

    margin: 40px auto 0 auto;
    gap: 16px;
  }
  .nav_wrapper li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav_wrapper li a {
    display: flex;
    justify-content: baseline;
    align-items: center;
    gap: 9px;
    font-family: "NATS";
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 140%;
    color: #0d1930;
    text-decoration: none;
  }

  .socialFooter {
    margin-top: 24px;
    display: flex;
    justify-content: baseline;
    align-items: center;
    gap: 16px;
  }
  .socialFooter img {
    width: 24px;
    height: 24px;
  }

  .footerBottom {
    margin-top: 40px;
    font-family: "NATS";
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #0d1930;
  }

  .footerBottom a {
    color: #0d1930;
    text-decoration: none;
  }
}
