/* --- Color Variables based on the image --- */
:root {
  /* Sampled from the image: The main background color */
  --main-orange: #ff711b;
  /* The text color, which is a slightly desaturated version of the main color */
  --text-overlay-color: #ff711b;
}

@font-face {
  font-family: Trailers;
  src: url(../Fonts/TT\ Trailers\ Bold.woff);
}

@font-face {
  font-family: TTCommons-Medium;
  src: url(../Fonts/TTCommons-Medium.woff);
}

@font-face {
  font-family: TTCommons-Black;
  src: url(../Fonts/TT-Trailers-Trial-Black-BF66b4e58462094.woff);
}

body {
  background-color: var(--main-orange);
  margin: 0;
}

h1 {
  font-family: Trailers;
  /* font-family: TTCommons-Black !important; */
  font-size: 115px;
  font-weight: normal;
  color: #f7f4e8;
  text-transform: uppercase;
  line-height: 120px;
  text-align: center;
  margin: 0;
}

h4 {
  font-family: TTCommons-Medium;
  font-size: 24px;
  font-weight: 500;
  padding: 0 0 56px;
  color: #f7f4e8;
  letter-spacing: 0.4px;
  margin: 0;
  text-align: center;
  /* line-height: 120px;
    text-align: center;
    margin: 0; */
}

h6 {
  font-size: 20px;
  font-weight: 500;
  font-family: TTCommons-Medium;
  color: #f7f4e8;
  letter-spacing: 0.4px;
}

.CopyRight h6 {
  font-size: 18px;
  font-weight: 500;
  font-family: TTCommons-Medium;
  color: #f7f4e8;
  letter-spacing: 0.4px;
}

.AmazoneButton {
  font-family: TTCommons-Medium;
  font-size: 30px;
  text-decoration: none;
  color: #f7f4e8;
  background-color: #2e3b92;
  padding: 16px 98px;
  border-radius: 50px;
  padding-top: 18px;
  letter-spacing: 0.4px;
  cursor: pointer;
  perspective: 1000px;
  /* Essential for 3D transforms */
  transform: translateY(4px);
  transition: transform 0.3s ease-in-out;
  /* Smooth animation */
  display: inline-block;
}

.AmazoneButton:hover {
  transform: translateY(-4px);
}

.stackman-section {
  /* 1. Container Setup */
  width: 100%;
  height: 100svh;
  /* Takes up full screen height */

  position: relative;

  /* 2. Flexbox for Tiling */

  background-image: url(../Images/stackman\ seamless.png);
  background-repeat: repeat-y;
  /* background-size: 78% 148%; */
  background-position: center;
  background-size: 80%;
}

/* .stackman-section::-webkit-scrollbar {
    display: none;   /* Safari + Chrome */

.MainContainer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 100vh;
}

.stackman-section .MainDiv .formSection {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 19px;
}

.stackman-section .MainDiv .formSection .inputFiled .email-input {
  background: transparent !important;
  border: 1.13px solid #fff;
  border-radius: 50px;
  padding: 5px 15px;
  padding-top: 8px;
  width: 100%;
}

.break {
  display: none;
}

.email-input::placeholder {
  font-family: TTCommons-Medium;
  font-size: 18px;

  color: #f7f4e8;
}

.email-input:focus {
  outline: none;
}

.CopyRight {
  position: absolute;
  right: 50px;
  bottom: 0;
  color: var(--copyright-color);
  font-size: 0.8em;
  /* opacity: 0.7; */
  font-family: sans-serif;
}

@media screen and (max-width: 1700px) {
  .stackman-section {
    background-size: auto;
    background-position: center -85px;
  }
}

@media (max-width: 1440px) {
  .stackman-section {
    background-position: center -64px;
    /* background-size: 78% 165%; */
    /*Mark:-  */
  }

  h4 {
    padding: 0 0 100px;
  }
}

@media screen and (max-width: 1440px) and (max-height: 1185px) {
  .stackman-section {
    background-size: auto;
    background-position: center -85px;
  }

  h4 {
    padding: 45px 0 18px;
    font-size: 32px;
  }

  .AmazoneButton {
    padding: 20px 90px;
  }

  .stackman-section .MainDiv .formSection {
    display: block;
  }

  .AmazoneButton {
    padding-top: 26px;
  }

  .stackman-section .MainDiv .formSection .inputFiled .email-input {
    padding: 8px 26px;
    max-width: 26%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .paraDescrpitoin h6 {
    text-align: center;
    margin: 113px 0 28px;
    font-size: 24px;
  }

  .CopyRight {
    right: 83px;
  }
}

@media screen and (max-width: 1440px) and (max-height: 996px) {
  h4 {
    padding: 16px 0 60px;
    font-size: 28px !important;
  }

  .AmazoneButton {
    padding: 15px 46x;
    padding-top: 24px;
  }

  .stackman-section .MainDiv .formSection {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
  }

  .paraDescrpitoin h6 {
    margin: 0;
  }

  .stackman-section .MainDiv .formSection .inputFiled .email-input {
    padding: 11px 25px;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  h1 {
    line-height: 56px;
    font-size: 56px !important;
    letter-spacing: 1px;
    color: #fff !important;
  }

  h1 br {
    display: none;
  }

  h1 .break {
    display: block;
  }

  h4 {
    padding-top: 20px;
    line-height: 21px;
    max-width: 65%;
    font-size: 18px !important;
    margin: 0 auto;
    padding-bottom: 20px;
  }

  .AmazoneButton {
    padding: 9px 31px;
    padding-top: 11px;
    font-size: 17px !important;
  }

  .stackman-section .MainDiv .formSection {
    display: block;
  }

  .formSection .paraDescrpitoin h6 {
    max-width: 60%;
    text-align: center;
    margin: 0 auto;
    font-size: 14px;
    padding: 40px 0 14px;
  }

  .inputFiled {
    text-align: center;
  }

  .CopyRight {
    right: 50%;
    bottom: 9px;
    transform: translateX(50%);
  }

  .stackman-section {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    background-size: cover;
    /* background-image: url(../Images/Stackman\ Page\ -\ Mobile.png); */
    background-image: url("../Images/image\ 1.png");
    height: 100vh;
    /*  */
    background-image: url("../Images/stackman seamless mobile.png");
    background-size: 80%;
  }
  .mobile_bg_fade {
    position: absolute;
    width: 100%;
    height: 500px;
    top: 0;
    left: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 113, 27, 1) 20%,
      rgba(255, 113, 27, 0) 140%
    );
    z-index: 9;
  }

  .MainContainer {
    height: auto;
    margin-top: 90px;
    z-index: 10;
    position: relative;
  }

  .stackman-section .MainDiv .formSection .inputFiled .email-input {
    padding: 9px 22px;
    text-align: center;
  }

  .stackman-section .MainDiv .formSection .inputFiled .email-input {
    width: auto;
  }

  .email-input::placeholder {
    font-size: 15px !important;
  }

  .CopyRight h6 {
    font-size: 12px !important;
  }

  body {
    overflow: hidden !important;
  }
}

@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-overflow-scrolling: touch) {
    @media (max-width: 480px) {
      .stackman-section {
        overflow: hidden !important;
      }
    }
  }
}

.email-input:focus::-webkit-input-placeholder,
.email-input:focus::-moz-placeholder,
.email-input:focus::-ms-input-placeholder,
.email-input:focus::placeholder {
  color: blue;
}
