*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}

:root {
    --green:#606C38;
    --dark-green:#283618;
    --white: #FEFAE0;
    --light-orange: #DDA15E;
    --dark-orange:#BC6C25;

    --gradient-dark: linear-gradient(90deg, rgba(96,108,56,1) 0%, rgba(40,54,24,1) 80%);
}

html {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;

    
}

@font-face {
    font-family: Tightrope;
    src: url(Tightrope-Regular.ttf);
}


/* ----- CTA ----- */
.cta {
  width: fit-content;
  height: fit-content;
  position: fixed;
  z-index: 9999;
  right: 3%;
  bottom:5%;

  background-color: red;
  color:white ;
  font-size: 2.2rem;
  padding: 1rem 3rem;
  border-radius: 2rem;
  border: none;
  animation: cta-hop 10s ease-in-out infinite;
  
}


@keyframes cta-hop {
  0% {
    transform: translateY(0%);
  }

  5% {
    transform: translateY(30%);
  }
   
  8% {
    transform: translateY(0%);
  }

  15% {
    transform: translateY(10%);
  }

  20% {
    transform: translateY(0%);
  }
}

/* ----- to top button ----- */


.scrollToTopBtn {
  background-image: url(https://static.thenounproject.com/png/4595406-200.png);
  background-color: rgb(165, 156, 156);
  border-radius: 40em;
  background-position: center;
  background-size: cover;
  border: none;
  cursor: pointer;
  height: 2rem;
  width: 2rem;
  padding: 2rem;
  /* place it at the bottom right corner */
  position: fixed;
  left: 3%;
  bottom: 5%;
  /* keep it at the top of everything else */
  z-index: 100;
  /* hide with opacity */
  opacity: 0;
  /* also add a translate effect */
  transform: translateY(100px);
  /* and a transition */
  transition: all 0.5s ease;
}

.showBtn {
  opacity: 1;
  transform: translateY(0);
}







/* ---------- NAV-CSS ----------  */

.pc-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    margin-bottom: -5rem;
  }
  
  .logo {
    color: var(--red);
    font-size: 1.7rem;
  }
  .logo-1 {
    color: var(--red);
    font-size: 3rem;
    font-weight: 900;
  }
  
  .menu-items {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .menu-items p {
    margin: 0 2rem;
    font-size: 1rem;
    font-weight: 400;
  }
  
  .nav {
    width: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
  }
  
  .nav > .nav-header {
    flex: 0.95;
    padding-left: 1rem;
  }
  
  
  .nav > .nav-list {
    display: flex;
    gap: 2rem;
    margin-right: 2rem;
    margin-top: 2rem;
  }
  .nav > .nav-list > li {
    list-style-type: none;
    
    margin: 0 1rem;
  }
  .nav > .nav-list > li a {
    text-decoration: none;
    color: black;
    cursor: pointer;
    font-size: 1.4rem;
    padding: 10pX 20px;
    
  }
  .nav > #nav-check {
      display: none;
  }

  /* hover animation */

.nav-list a:hover {
  
    transition: color 0.3s ease-in-out;
    
  }
  
  .hover-animation {
    display: inline-block;
    position: relative;
    
  }
  
  .hover-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: black;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }
  
  .hover-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  /* ------------ HIGHLIGHT ANIMATION ------------ */

  .highlight {
    position: relative;
    z-index: 1;
  }
  
  .highlight::before {
    position: absolute;
    content: '';
    z-index:-1;
    top: -2px;
    left: -5px;
    right: -3px;
    bottom: -2px;
    background-color: #7eec99;
    transform-origin: 0;
    transition: transform .8s ease;
    transform: scaleX(0);
  }
  
  .in-view .highlight::before {
    transform: scaleX(1);
  }

  
  
  .highlight-light {
    position: relative;
    z-index: 1;
  }
  
  .highlight-light::before {
    position: absolute;
    content: '';
    z-index:-1;
    top: -2px;
    left: -5px;
    right: -3px;
    bottom: -2px;
    background-color: #090a09;
    transform-origin: 0;
    transition: transform .8s ease;
    transform: scaleX(0);
  }
  
  .in-view .highlight-light::before {
    transform: scaleX(1);
  }
  

  /* other animations */

   .hidden {
    opacity: 0;
    transform: translateX(-20%);
    filter: blur(10px);
    -webkit-transform: translateX(-20%); 
    -webkit-filter: blur(10px);
    -webkit-transition: all 700ms ease-in-out;
    transition: all 700ms ease-in-out;
   }
  
   .show {
    opacity: 1;
    transform: translateX(0%);
    filter: blur(0px);
    -webkit-transform: translateX(0%); 
    -webkit-filter: blur(0px);
    
   }

   @keyframes pulse {
    from, to {
      scale: 1;
    }
    
    50% {
      scale: 1.02;
    }
  }

  

/* ---------  HERO ----------- */

.title {
    text-align: center;
    font-family: Tightrope;
    font-size: 7rem;
    color: white;
    text-shadow: 0 0 5px black;
    z-index: 1;
    transform: translateZ(-5px) scale(1.5);
    animation: none;
}


.wrapper {
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 10px;
    margin: 0;
    position: relative;
}

header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150%;
    transform-style: preserve-3d;
    z-index: -1;
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transform: translateZ(-10px) scale(2);
}

.foreground-left {    
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;

    transform: translateZ(-5px) scale(1) translateX(-55%) translateY(25%);
}
.foreground-right {    
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;

    transform: translateZ(-2px) scale(1) translateX(30%) translateY(20%);
}

img {
    max-width: 100%;
    
}

.hover:hover {
  animation: pulse 800ms ease-in-out;
}



/* ---------  FIRST SECTION  ----------- */

.first-section {
    font-size: 1.8rem;
    background: rgb(96,108,56);
    background: linear-gradient(90deg, rgba(96,108,56,1) 0%, rgba(40,54,24,1) 80%);
    padding: 3rem;
    display: flex;
    flex-direction: column;

    color: var(--light-orange);
    padding-bottom: 2rem;

    
}

 h1 {
    font-size: 3.4rem;
    margin: 2rem auto;
    width: fit-content;
}

.first-section H1 {
  color: var(--light-orange);
}


.first-section p {
    color: var(--white);


}

.p-wrapper {
    display: flex;
    justify-content: space-around;
    gap: 3rem;
    max-width: 1200px;
    margin:2rem auto;
}

.p-wrapper-column {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin:2rem auto;
    gap: 1rem;
}

.p-container {
    display: flex;
    width: 50%;
    
}

.container-img {
    align-items: center;
    justify-content: center;
    object-fit: cover;
}

.text-shadow-dark {
  text-shadow: 3px 3px 2px rgba(140, 12, 12, .5);
}
.text-shadow-light {
  text-shadow: 3px 3px 2px rgb(180, 171, 171);
}
.text-shadow-uni {
  text-shadow: 3px 3px 2px rgba(94, 58, 58, 0.4);
}

/* ---------  SECOND SECTION  ----------- */

.second-section {
    font-size: 1.8rem;
    background-color: var(--white);
    color: var(--dark-green);
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;

}

.second-section h1 {
  width: fit-content;
  margin: 2rem auto;
}


/* ---------  Third SECTION  ----------- */

.third-section {
    font-size: 1.8rem;
    background: rgb(188,108,37);
    background: linear-gradient(90deg, rgba(188,108,37,1) 0%, rgba(221,161,94,1) 76%, rgba(221,161,94,1) 76%);
    background-color: white;
    color: var(--dark-green);
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;

}


ol > li {
    margin: 2rem auto;
}

button {
    width: fit-content;
    padding: 1rem 3rem ;
    border: none;
    border-radius: 10px;
    background-color: var(--dark-green);
    color: var(--white);
    font-size: 2rem;
    letter-spacing: 3px;
    cursor: pointer;
}

.third-section a {
    text-decoration: none;
    margin: 0 auto;
    cursor: pointer;
}

.third-section p {
  margin: auto 1rem;
}

/* ---------  fourth SECTION  ----------- */

.fourth-section {
    font-size: 1.8rem;
    background: var(--dark-green);
    color: var(--light-orange);
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
}


.gif {
    width: 400px;
    height: 300px;
    margin: 0 auto;
    background-image: url(https://i.kym-cdn.com/photos/images/newsfeed/001/697/667/95f.gif);
}

.gif-wrapper {
    align-items: center;
    font-size: 2.4rem;
    
}

.p-background {
    background-color: rgba(1, 1, 1, .5);
    padding: 2rem;
    border-radius: 10px;
    
    box-shadow: 2px 4px 84px 0px rgba(160, 94, 18, 0.75);
    -webkit-box-shadow: 2px 4px 84px 0px rgba(160, 94, 18, 0.75);
    -moz-box-shadow: 2px 4px 84px 0px rgba(160, 94, 18, 0.75);
}

/* ---------  fifth SECTION  ----------- */

.fifth-section {
    font-size: 1.8rem;
    background-color: var(--white);
    color: var(--dark-orange);
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
}

.bonus-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bonus-col h2 {
    text-align: left;
    
}
.bonus-col p {
    background-color: rgba(186, 145, 145, 0.5);
    padding: 2rem;
    border-radius: 10px;

    box-shadow: 2px 4px 84px 0px rgba(68, 62, 58, 0.75);
    -webkit-box-shadow: 2px 4px 84px 0px rgba(68, 62, 58, 0.75) ;
    -moz-box-shadow: 2px 4px 84px 0px rgba(68, 62, 58, 0.75);
}

.cash-points {
    color: red;
}
.cash-points  a {
    text-decoration: none;
    color: red;
}

.qoute {
  text-transform: uppercase;
  color: red;
  font-weight: bolder;
  text-align: center;
}
/* ---------  BLOG SECTION  ----------- */

.blog {
    font-size: 1.8rem;
    background-color: var(--light-orange);
    color: var(--dark-green);
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
}


/* blog cards  */

.blog-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap ;
    font-size: 1rem;
}


.blog-cards img {
  border-radius: 20px 20px 0 0 ;
}

.bold {
font-weight: 900;

}

  .blogItem {
    width: 300px;
    color: white;
    margin: 3rem auto;
    background: rgba(94, 59, 59, 0.5);
    box-shadow: 0 8px 32px 0 rgba(46, 14, 14, 0.37);
    backdrop-filter: blur( 5.5px );
    -webkit-backdrop-filter: blur( 5.5px );
    border-radius: 20px;
    border: 1px solid rgba(8, 8, 8, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .blogItem h2 {
    margin: .5rem 2.2rem;
    color: white;
    font-weight: bold;
    text-align: left;
  }
  
  .blogItem p {
    width: 80%;
    text-align: left;
    margin: 0 auto;
    padding: 15px;
    color: rgb(238, 205, 205);
  }
  
  .blogItem h5 {
    color: white;
    text-transform: uppercase;
    background-color: orange;
    border-radius: 12px;
    padding: 5px;
    display: inline-block;
    align-self: flex-start;
    margin: 1rem;
  }
  
  .blogItem:hover {
    scale: 1.02;
    transition: all 100ms ease-in;
  }
  .footer {
    display: flex;
    margin: 1rem ;
  }

  .blogItem:hover {
    scale: 1.02;
    transition: all 100ms ease-in;
  }
  .footer {
    display: flex;
    margin: 1rem ;
  }
  
  .footer img {
    width: 3rem;
    height: 3rem;
    border-radius: 10rem;
    object-fit: cover;
  }
  
  .footer h4  {
    padding-left: 10px;
    padding-top: 5px;
    text-align: start;
    font-weight: 200;
  } 
  
  a {
    text-decoration: none;
    color: wheat;
  }
  
  /* ---------- BLOG_PAGE-1 */

  .background--1 {
    width: 100%;
    height: 100%;
    background-image: url(https://lh3.googleusercontent.com/pw/ADCreHcb8fsIbxeloA25E6ECGd-e40iPLcmrlmg6bZmpsAcUN-zpGRJ9PXXxYTT5bapGOHvq5kZly-8KaAnlGSasMlUhAqrsZ5XsUpdvcH1qI4E0dZcjomN5=w2400);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    padding: 3rem;
    
  }
 
  .glass {
    max-width: 1250px;
    width: clamp(90%, 20rem, 80%);
    margin: 0 auto;
    padding: 3rem;
    font-family: 'Poppins', sans-serif;
    background: rgba( 255, 255, 255, 0.2 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 10px );
    -webkit-backdrop-filter: blur( 10px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    border-radius: 3rem;
  }

  .glass header {
    color: var(--dark-green);
    font-size: clamp(1rem, 20rem, 4rem);
    z-index: 2;
    font-weight: 900;
   text-align: center;
   margin-bottom: 2rem;
  }
  .glass p {
    color: #2c2e2c;
    font-size: clamp(1rem, 2rem, 2rem);
    z-index: 2;
    padding:  1.5rem 3rem;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
  }

  .bold {
    font-weight: bold;
  }

  .middle {
      
    text-align: center; 
  }

  .name {
    font-size: 3rem !important;
    color: var(--dark-green) !important;
    font-weight: 800 !important;
    margin-top: 2rem;
  }
  
  /* ---------- 	MEDIA QUERIEs ----------  */
  
  @media only screen and (max-width: 905px) {
  
    .blogItem p {
      padding: 0;
    }

    .p-wrapper-column {
      padding: 1rem;
    }
    .p-wrapper {
      padding: 1rem;
    }
  }
  @media only screen and (max-width: 480px) {
    .nav {
      padding: 1rem;
    }
    .nav > .nav-btn {
      display: inline-block;
      position: absolute;
      right: 0;
      top: 0;
      padding-top: 0.2rem;
    }
    .nav > .nav-btn > label {
      display: inline-block;
      width: 50px;
      height: 50px;
      padding: 13px;
      z-index: 999;
    }
  
    .nav > .nav-btn > label > span {
      display: block;
      position: absolute;
      width: 25px;
      height: 3px;
      background-color: black;
      border-radius: 50px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      transition: transform .4s, width .4s;
      z-index: 999;
    }

    .nav > .nav-list > li a {
        text-decoration: none;
        color: white;
        cursor: pointer;
      }
  
    .nav > .nav-btn > label > .line-1{
      transform: translate(-50%, -8px);
    }
    
    .nav > .nav-btn > label > .line-3{
      transform: translate(-50%, 5px);
    }
  
    /* animating on opened menu lines */
  
    .nav > .open-menu > label > .line-1 {
      transform: translate(-50%, -2.5px) rotate(-45deg);
    }
    .nav > .open-menu > label .line-2 {
      width: 0;
    }
    .nav > .open-menu > label .line-3 {
      transform: translate(-50%, -2.5px) rotate(45deg);
    }

    .nav > .open-menu > label > span{
        background-color: white;
    }

    .nav > .open-menu > .nav-list {
        top: 0%;
    }
  
    .nav > .nav-list {
      position: absolute;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      width: 100%;
      height: 0;
      transition: all 0.3s ease-in;
      top: 0;
      left: 0%;
      overflow: hidden;
      z-index: 10;
      opacity: .7;
    }
    .nav > .nav-list > li {
        width: 100%;
        margin-top: 1rem;
        background-color: transparent;
        text-align: center;
    }
    .nav > #nav-check:checked ~ .nav-list {
      height: 400px;
      background-color: rgb(14, 6, 6);
      position: absolute;
      z-index: 1;
      top: 0;
      padding-top: 100px;
    }

    header {
      height: 110%;
    }
    .title {
      font-size:4rem;
    }

    .gif {
      width: 200px;
      height: 150px;
      background-position: center;
    }

    .blogItem {
      width: 300px;
    }

    .cta {
      bottom: 3%;
    }

    .showBtn {
      bottom: 4%;
    }

    .nav > .nav-list {
      margin-top: 0;
    }

    .nav > .nav-list > li {
      border-bottom: none;
      text-transform: uppercase;
    }
    .highlight::before {
      right: -20px;
    }
    .highlight-light::before {
      right: -20px;
    }
  
  }

  @media (prefers-reduced-motion) {
    html {
      animation: none;
    }
  }
  

  @media  only screen and (max-width: 900px) {
    html {
      font-size: 80%;
    }

    .gif-wrapper p {
      text-align: center;
      font-size: 60%;
    }
  }
  @media only screen and (max-width: 638px) {
    html {
      font-size: 70%;
    }

    .gif-wrapper p {
      text-align: center;
      font-size: 60%;
    }

    .p-wrapper {
      flex-direction: column;
    }

    .p-container {
      width: 90%;
      margin: 0 auto;
    }

    .third-section p {
      padding: 0 2rem;
    }

    h1{
      margin: 1rem auto;
      text-align: center;
    }

    h2 {
      margin-left: 1rem;
    }

    .p-background,
    .bonus-col p {
      margin: 0 1rem;
    }

    .background--1 {
      padding: 1rem 0;
    }

    .glass {
      width: 95%;
    }

    .glass p {
      padding: 1rem 0 ;
    }

    .glass header {
      font-size: 3rem;
    }
  }


