/* Font import */
@font-face {
  font-family: 'Bodo Amat';
  src: url('../fonts/BodoAmat.woff2') format('woff2'),
       url('../fonts/BodoAmat.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  font-feature-settings: "liga" 1; /* enables standard ligatures if supported */
  unicode-range: U+000-5FF; /* basic Latin range for faster loading */
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
      margin: 0;
      font-family: 'Bodo Amat', Arial, sans-serif;
      color: #333;
      line-height: 1.6;
      overflow-x: hidden;
      text-align: center;
    }


/*
*
*
FREEBIES
*
*
*/
   .freebies {
      background-color: #0c2540;
      height: 100vh;
      justify-content: center;
      padding-bottom: 40px;
   } 

   .freebies-inner {
      display: flex;

      flex-direction: column;

      align-items: center;
      justify-content: center;
      gap: 10px;
      /*width: 90%;
      max-width: 1200px;*/
    }

    .freebies-logo {
      width: 20%;
      /*max-width: 360px;*/
      animation: float 10s ease-in-out infinite;
    }


    .freebies-text {
      /*width: 60%;*/
      /*text-align: left;*/
      max-width: 70%;

      position: relative;

      background-color: #fffdeb;
      padding: 60px;
    }

    .freebies-text h1 {
      font-size: 2.4rem;
      color: #f0678c;
      margin-bottom: 16px;
      line-height: 1.2;
    }

    .freebies-text p {
      font-size: 1.2rem;
      margin-bottom: 30px;
      color: #172a44;
    }

    .freebies-text p:nth-of-type(2) {
        color: #405b7c;
        font-size: 0.8rem;
    }
    
    



/* Section 1 - Hero */
    section {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      text-align: center;
      /*padding: 60px 20px;*/
      width: 100%;
    }

    /* Section 1 - Hero */
    .hero {
      background-color: #0c2540;
      color: #fff;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      width: 100%;
    }

    .hero-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 60px;
      width: 90%;
      max-width: 1200px;
    }

    .logo {
      width: 40%;
      /*max-width: 360px;*/
      animation: float 6s ease-in-out infinite;
    }





    @keyframes float {
  0% {
    transform: translatey(0px);
  }
  50% {
    transform: translatey(-20px);
  }
  100% {
    transform: translatey(0px);
  }
}






    /* Natural floating motion 

    *
    /

    @keyframes float {
      0%   { transform: translate(0px, 0px) rotate(0deg); }
      20%  { transform: translate(3px, -6px) rotate(-0.5deg); }
      40%  { transform: translate(-4px, 4px) rotate(0.4deg); }
      60%  { transform: translate(5px, -3px) rotate(-0.6deg); }
      80%  { transform: translate(-2px, 6px) rotate(0.5deg); }
      100% { transform: translate(0px, 0px) rotate(0deg); }
    }

    */

    .hero-text {
      width: 60%;
      /*text-align: left;*/
      max-width: 550px;
    }

    .hero-text h1 {
      font-size: 2.4rem;
      color: #f0678c;
      margin-bottom: 25px;
      line-height: 1.2;
    }

    .hero-text p {
      font-size: 22px;
      margin-bottom: 40px;
      color: #fff;
    }






/*
    .btn {
      background-color: #b5e48c;
      color: #000;
      padding: 12px 28px;
      border-radius: 24px;
      text-decoration: none;
      font-weight: bold;
      display: inline-block;
      transition: transform 0.2s ease, background-color 0.3s ease;
    }

    .btn:hover {
      background-color: #a0d67b;
      transform: scale(1.03);
    }

*/




.btn {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  display: inline-block;
  font: inherit;
  height: auto;
  line-height: 1;
  margin: 0;
  padding: 0;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;

  
}

.btn-inner {
  align-items: center;
  background: rgb(160, 214, 123);
  border: 2px solid transparent;
  border-radius: 99em;
  color: #000;
  display: flex;
  font-weight: 600;
  position: relative; /* WebKit Bug 173872 */
  transition: 0.2s ease;
  width: 100%;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 11pt;
  text-transform: uppercase;
  letter-spacing: 0.4pt;
  line-height: 15pt;
  padding: 30px 40px;
}


.btn:focus {
  outline: none;
}

.btn::-moz-focus-inner {
  border: 0;
}

.btn:focus .btn-inner {
  border-color: #fff;
  box-shadow: 0 0 0 2px #456BD9;
}

.btn:hover .btn-inner {
  filter: brightness(1.1);
}

.btn:active .btn-inner {
  filter: brightness(0.9);
}


.btn-inner:hover {
      background-color: #a0d67b;
      transform: scale(1.03);
    }




/*.freebies-text .btn-inner {
  background-color: #3182c5;
  color: #fff;
  }

.freebies-text .btn-inner:hover {
  background-color: #114f99;
  transform: scale(1.03);
}

*/






    /* Section 2 - About */
    .about {
      background-color: #e6f6f9;
      height: 100vh;
      justify-content: center;
    }

    .about h2 {
      color: #3b706d;
      font-size: 2rem;
      margin-bottom: 10px;
    }

    .about p {
      max-width: 700px;
      margin: 10px auto;
      font-size: 1.2rem;
      color: #23423f;
    }

    /* Section 3 - Books */
    .books {
      background-color: #ffc643;
      height: 100vh;
      justify-content: center;
    }

    .book-content {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 60px;
      flex-wrap: wrap;
      width: 90%;
      max-width: 1200px;
    }

    .book-img {
      width: 40%;
      max-width: 280px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transform: rotate(-5deg);
      border: 8px solid white;
    }

    .book-text {
      width: 50%;
      /*text-align: left;*/
      max-width: 500px;
    }

    .books h2 {
      color: #e25284;
      font-size: 1.8rem;
      margin-bottom: 12px;
    }

    .books p {
      color: #fff;
      font-size: 1.2rem;
      line-height: 1.5;
    }

    /* Footer */
    footer {
      background-color: #f5e9f7;
      text-align: center;
      padding: 20px;
      font-size: 0.95rem;
      color: #6b4b67;
    }

    /* Responsive Design */
    @media (max-width: 900px) {
      .hero-inner {
        flex-direction: column;
        gap: 30px;
      }

      .logo {
        width: 60%;
        max-width: 250px;
      }

      .hero-text {
        width: 100%;
        text-align: center;
      }

      .hero-text h1 {
        font-size: 1.8rem;
      }

      .hero-text p {
        font-size: 20px;
      }

      .about, .books {
        height: auto;
        padding: 80px 20px;
      }

      .book-content {
        flex-direction: column;
        text-align: center;
      }

      .book-img {
        width: 70%;
        max-width: 280px;
      }

      .book-text {
        width: 100%;
        text-align: center;
      }
    }









    .gift-wrapper {
        transform: rotate(5deg);
    }

    .freebies-gift {
      position: absolute;
      bottom: -25px;
      right: -110px;
      width: 160px;
      height: auto;
      animation: float 10s ease-in-out infinite;
    }




/* STARS BACKGROUND */


    .hero, .freebies {
      background-image: radial-gradient(#ffffff8f 1px, transparent 4px), radial-gradient(#ffffff40 1px, transparent 3px);
      background-size: 280px 280px;
      background-position: 50px -90px, 190px 330px;
    }

    
    
    
    /*
    
    RESPONSIVE DESIGN
    
    */
    
@media (max-width: 960px) {
    .freebies-logo {
        width: 25%;
    }
    .btn-inner {
        padding: 25px 35px;
    }
    .freebies-gift {
        width: 150px;
    }
}

@media (max-width: 960px) {
    .freebies-text h1 {
        font-size: 2.2rem;
    }
    
    .freebies-text p {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    .freebies-text p:nth-of-type(2) {
        font-size: .7rem;
    }
    .freebies-gift {
        width: 140px;
        bottom: -35px;
    }
}

@media (max-width: 768px) {
    .freebies-gift {
    width: 130px;
    }
}

@media (max-width: 600px) {
  .freebies-logo {
    width: 50%;
  }
  .freebies-text {
    padding: 20px;
    max-width: 80%;
    width: 80%;
  }
  .freebies-text h1 {
    font-size: 1.7rem;
  }
  .btn-inner {
    padding: 20px 30px;
  }
  .freebies-gift {
    width: 90px;
    right: -50px;
    bottom: -10px;
  }
}



