* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
}

body {
     margin: 0;
      width: 100%;
       max-width: 100%;
      
    background-image: url("image/backk.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #111;

      overflow-x: hidden;
}


@font-face {
    font-family: "bubble";
    src: url("font/Fredoka.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "h1font";
    src: url("font/bubble.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* =========================
   STICKY HEADER
========================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 9999;

    height: 74px;

    background: #ECE852;
    border-bottom: 3px solid #5B7E3C;
}

.navbar-container {
    max-width: 1200px;
    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;

    height: 100%;

    text-decoration: none;
}

.logo img{
  width: 150px;
    height: auto;

    display: block;
}

/* =========================
   USER MENU
========================= */

.user-menu {
    position: relative;

    display: flex;
    align-items: center;
}


/* =========================
   USER ICON
========================= */

.user-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;
    border-radius: 50%;

    cursor: pointer;

    transition: transform 0.2s ease;
}



.user-menu:hover .user-icon{
    transform: scale(1.1);
     border: 2px solid #c4c5c7;
    border-radius: 50%;
}

.user-icon span {
    font-size: 23px;
}


/* =========================
   LOGIN DROPDOWN
========================= */

.login-dropdown {
    position: absolute;

    top: calc(100% + 15px);
    right: 0;

    width: 280px;
        letter-spacing: 2px;
    padding: 25px;

    background: white;

    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-10px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;

    z-index: 10000;
}


/* SHOW LOGIN FORM WHEN HOVERING */

.user-menu:hover .login-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================
   LOGIN FORM
========================= */

.login-dropdown h3 {
    margin: 0 0 20px;

    text-align: center;

    font-family: 'bubble', sans-serif;
    font-size: 24px;
}

.login-dropdown form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-dropdown input {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 15px;
    font-family:'bubble', sans-serif ;
    border: 2px solid #ddd;
    border-radius: 10px;
    letter-spacing: 2px;
    outline: none;

    font-size: 14px;
}

.login-dropdown input:focus {
    border-color: #ECE852;
}


/* =========================
   LOGIN BUTTON
========================= */

.login-dropdown button {
    padding: 12px;

    border: none;
    border-radius: 10px;

    background: #FFC145;
    color: white;

    letter-spacing: 2px;
    font-family: 'bubble', sans-serif;
    font-size: 26px;

    cursor: pointer;

    transition: transform 0.2s ease;
}

.login-dropdown button:hover {
    transform: scale(1.05);
}

 /* FLOATING BACKGROUNF EFFECT */

 .floating-elements {
    position: absolute;
    inset: 0;
    

    pointer-events: none;
    z-index: 1;
}

.float {
    position: absolute;

    width: 150px;
    height: auto;

    animation: floating 5s ease-in-out infinite;
}

.float-1 {
    top: 100px;
    left: 5%;
    animation-delay: 0s;
}

.float-2 {
    top: 250px;
    right: 9%;
    width: 180px;
    animation-delay: 1s;
}

.float-3 {
    bottom: 220px;
    left: 3%;
 transform: scaleX(-1);
    width: 80px;

    animation-delay: 2s;
}

.float-4 {
    bottom: 80px;
    right: 8%;

    width: 80px;

    animation-delay: 3s;
}

@keyframes floating {

    0% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-12px) rotate(3deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(12px) rotate(-3deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}


/* =========================
   BUTTON CONTAINER
========================= */

.button-parrot {
    position: relative;
    display: inline-block;
}

.button-parrot button:hover {
    transform: scale(1.1);
}

/* =========================
   ACTUAL BUTTON
========================= */

.button-parrot button {
    z-index: 2;
    flex: 0 0 45%;
    display: inline-block;

    padding: 20px 60px;

    background: #FB4141;
    color: white;

    border: 3px solid white;
    border-radius: 50px;

    font-family: 'bubble', sans-serif;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 1px;

    cursor: pointer;

    /* Remove browser default button styling */
    appearance: none;
    -webkit-appearance: none;

    outline: none;
    box-shadow: none;

    transition: transform 0.2s ease;
}


/* =========================
   PARROT / ANIMATED TEXT
========================= */

.button-parrot .parrot {
    position: absolute;

    width: 60px;

    text-align: center;

    color: transparent;

    animation: blink 0.8s infinite;

    pointer-events: none;
}


/* Text inside each parrot */

.button-parrot .parrot::before {
    content: "Click Me!";
}


/* =========================
   PARROT 1
========================= */

.button-parrot .parrot:nth-child(1) {
    top: -30px;
    left: -40px;

    font: 12px/1 'bubble', sans-serif;

    transform: rotate(-20deg);

    animation-duration: 0.5s;
}


/* =========================
   PARROT 2
========================= */

.button-parrot .parrot:nth-child(2) {
    right: -40px;
    top: -20px;

    font: 12px/1 'bubble', sans-serif;

    transform: rotate(15deg);

    animation-duration: 0.3s;
}


/* =========================
   PARROT 3
========================= */

.button-parrot .parrot:nth-child(3) {
    top: -60px;
    left: 15px;

    font: 16px/1 'bubble', sans-serif;

    transform: rotate(10deg);

    animation-duration: 1s;
}


/* =========================
   PARROT 4
========================= */

.button-parrot .parrot:nth-child(4) {
    top: -70px;
    left: 95px;

    font: 18px/1 'bubble', sans-serif;

    transform: rotate(2deg);

    animation-duration: 0.7s;
}


/* =========================
   PARROT 5
========================= */

.button-parrot .parrot:nth-child(5) {
    top: 80px;
    left: 105px;

    font: 14px/1 'bubble', sans-serif;

    transform: rotate(-20deg);

    animation-duration: 0.8s;
}


/* =========================
   PARROT 6
========================= */

.button-parrot .parrot:nth-child(6) {
    top: 80px;
    left: 5px;

    font: 12px/1 'bubble', sans-serif;

    transform: rotate(10deg);

    animation-duration: 1.2s;
}


/* =========================
   HOVER
========================= */

.button-parrot button:hover .parrot::before {
    content: "Do it!";
}


/* =========================
   BLINK
========================= */

@keyframes blink {

    25%,
    75% {
        color: transparent;
    }

    40%,
    60% {
        color: #e01414;
    }
}




/* BUTTON */



/* =========================
   HERO CONTENT
========================= */

.hero {
    position: relative;
    min-height: 590px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background-image: url("image/backk.png");
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1000px;
    text-align: center;
    padding: 80px 20px;
}


/* SMALL TITLE */

.subtitle {
    margin: 0 0 20px;
    font-family: 'bubble', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 5px;
    z-index: 2;
    pointer-events: none;
}


/* MAIN TITLE */

.hero h1 {
    margin: 0;
   letter-spacing: 4px;
    font-size: 65px;
  font-family: 'h1font';
    line-height: 1;
    color: #24B1B1;
     -webkit-text-stroke: .1px #2e2e2d;
    z-index: 2;
    pointer-events: none;
}


/* DESCRIPTION */

.description {
    max-width: 800px;
 font-family: 'bubble';
    margin: 18px auto;
    letter-spacing: 4px;
    font-size: 25px;
    line-height: 1.2;
  z-index: 2;
  pointer-events: none;
}


/* HERO BUTTON */

.hero-button {
    display: inline-flex;
    width: 250px;
    min-height: 50px;
    margin-top: 25px;

    font-family: 'bubble';
    letter-spacing: 2px;
    color: #FB4141;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 25px;

    transition: 0.2s ease;

    justify-content: center;
    align-items: center;
    
}

.hero-button span {
    display: inline-block;
   
    animation: wave 3s ease-in-out infinite;
}

.hero-button span:nth-child(1) {
    animation-delay: 0s;
}
.hero-button span:nth-child(2) {
    animation-delay: 0.2s;
}
.hero-button span:nth-child(3) {
    animation-delay: 0.4s;
}


@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-button:hover {
 animation-play-state: paused;
    transform: scale(1.3);
}



.start-line {
    width: 200px;
    height: 3px;
    border: none;
    border-radius: 10px;

    background: repeating-linear-gradient(
        to right,
        #111111 0 12px,
        transparent 12px 20px
    );

    margin: -5px auto 0;
}



/* =========================
   FEATURE CARDS
========================= */

.features {
    display: flex;

    justify-content: center;
pointer-events: none;
    gap: 24px;

    margin-top: 50px;
}

.feature-card {
    width: 300px;
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0px;
    text-align: center;
 font-family: 'bubble', serif;
    font-size: 25px;
}

.feature-card  img{
    width: 50px;
}


/* =========================
   OTHER CONTENT
========================= */

.content-section {
     width: 100%;
      padding: 40px 10px;
     }
     
/* Main container */
.second {
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    align-items: center;       /* Vertically centers image + text */
    justify-content: center;   /* Centers the whole layout */
    gap: 40px;
}


/* =========================
   RABBIT IMAGE - LEFT
========================= */

.rabbitgif {
    flex: 0 0 45%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.rabbit {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}


/* =========================
   TEXT + BUTTON - RIGHT
========================= */

.button-parrot {
    flex: 0 0 45%;
   font-family: 'bubble', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Button */
.button-parrot button {
    position: relative;
}


.button-parrot h2 {
    font-size: 40px;
color: #FB4141;
     letter-spacing: 2px;
}

.button-parrot p {
    font-size: 28px;
    letter-spacing: 2px;
    margin-top: 0;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .navbar {
        height: 65px;
    }

    .navbar-container {
        padding: 0 15px;
    }

    .logo {
        font-size: 16px;
    }

    .logo-box {
        width: 32px;
        height: 32px;
    }

    .nav-center {
        display: none;
    }

    .get-started {
        padding: 10px 14px;
        font-size: 14px;
    }


    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 70px 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .description {
        font-size: 16px;
    }


    .features {
        flex-direction: column;

        align-items: center;

        gap: 12px;
    }

    .feature-card {
        width: 100%;
        max-width: 350px;
    }

   .float-1 {
    top: 100px;
    left: 2%;
    width: 80px;
    animation-delay: 0s;
}

.float-2 {
    top: 190px;
    right: 2%;
    width: 80px;

    animation-delay: 1s;
}

.float-3 {
    bottom:-500px;
    left: 2%;
    width: 80px;
    animation-delay: 2s;
}

.float-4 {
    bottom: 130px;
    right: 15%;
    width: 80px;
    animation-delay: 3s;
}
  .second {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .rabbitgif,
    .button-parrot {
        flex: none;
        width: 100%;

    }

    .rabbit {
        max-width: 300px;

    }
     .rabbitgif {
   margin: 0 auto;

    }
    .content-section {
      padding: 20px 10px;
     }

 


}

@media (max-width: 1189px) {


    .float-1 {
    top: 100px;
    left: 2%;
    width: 80px;
    animation-delay: 0s;
}

.float-2 {
    top: 190px;
    right:0;
    width: 80px;

    animation-delay: 1s;
}

.float-3 {
    bottom: 280px;
    left: 2%;
    width: 80px;
    animation-delay: 2s;
}

.float-4 {
    bottom: 80px;
    right: 5%;
    width: 80px;
    animation-delay: 3s;
}
 }

/* =================================
   FOOTER
================================= */

.site-footer {
    width: 100%;
    background: #ECE852;
    color: #111111;

    font-family: 'bubble', Arial, sans-serif;

    overflow: hidden;
}


/* =================================
   MAIN FOOTER
================================= */

.footer-main {
    max-width: 1150px;

    margin: auto;

    min-height: 170px;

    padding: 25px 30px;

    box-sizing: border-box;

    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    align-items: center;

    gap: 150px;
}


/* =================================
   BRAND
================================= */

.footer-brand {
    text-align: left;
}


.footer-brand h2 {
    margin: 0 0 15px;

    font-size: 23px;
    pointer-events: none;
    line-height: 0.9;

    letter-spacing: 1px;
}


/* =================================
   SOCIAL LINKS
================================= */

.social-links {
    display: flex;
    gap: 10px;

    align-items: center;
}


.social-links a {
    width: 20px;
    height: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #222;

    color: white;

    text-decoration: none;

    font-size: 7px;

    transition: transform 0.2s ease;
}


.social-links a:hover {
    transform: scale(1.2);
}

.social-links img{
    width: 30px;

}


/* =================================
   CENTER LOGO
================================= */

.footer-logo {
    display: flex;

    justify-content: center;
    align-items: center;
   
}




.footer-circle img {
    width: 350px;
    height: auto;

    object-fit: contain;
}


/* =================================
   FOOTER LINKS
================================= */

.footer-links {
    letter-spacing: 2px;
    display: grid;
      font-family: 'Bubble', sans-serif;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  
}


.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 7px;
   
}


.footer-links a {
    color: #111;

    text-decoration: none;

    font-size: 15px;
     white-space: nowrap;
    transition: transform 0.2s ease;
}


.footer-links a:hover {
   transform: scale(1.1);
}


/* =================================
   FOOTER MESSAGE
================================= */

.footer-message {
    text-align: center;

    padding: 15px 20px 20px;
}


.footer-message p {
    margin: 0;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 1px;
}


.footer-message a{
    color: #111;
 
    text-decoration: none;
    transition: transform 0.2s ease;
    
}

.footer-message a:hover {
    color: #111;

    text-decoration: underline;
    opacity: 80%;
    text-decoration-color: #FB4141;

    text-decoration-thickness: 4px;

    text-underline-offset: 2px;
    transition: transform 0.2s ease;
}



/* =================================
   COPYRIGHT
================================= */

.copyright {
    width: 100%;

    padding: 10px 20px;

    box-sizing: border-box;

    text-align: center;

    font-family: Arial, sans-serif;

    font-size: 9px;

    color: #222;
}


/* =================================
   MOBILE
================================= */

@media (max-width: 768px) {

 
    .footer-main {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 25px;

        padding: 30px 20px;
    }


    .footer-brand {
        text-align: center;
    }


    .social-links {
        justify-content: center;
    }


    .footer-links {
        width: 100%;

        max-width: 250px;

        margin: auto;

        text-align: center;
    }


    .footer-links div {
        align-items: center;
    }


    .footer-message {
        padding-top: 10px;
    }

}