@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ballet:opsz@16..72&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bagel+Fat+One&display=swap');

@keyframes buzz {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px) rotate(-2deg); }
  75% { transform: translateX(2px) rotate(2deg); }
}

button:hover {
  animation: buzz 0.2s linear 2;
}


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

::selection {
    background-color: #ffeb3b;
    color: black;
}

body {
    font-family: 'Ballet', sans-serif;
    background: linear-gradient(to bottom, #FDFFC8, #FBFF88);
    color: #333;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: #000;
    margin-top: 20px;
}

.sub {
    font-size: 1.4rem;
    font-family: 'Bagel Fat One', cursive;
    color: #4b4b4b;
    margin-bottom: 20px;
}

.mainImg {
    align-content: center;
    margin: 20px auto;
    display: block;
    width: 80%;
    max-width: 350px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Button styles */
.button-container {
    position: relative;
    display: inline-block;
}

button {
    background: linear-gradient(145deg, #FFD93B, #FEBF3B);
    font-family: 'Bagel Fat One', cursive;
    color: black;
    border: none;
    padding: 12px 50px;
    border-radius: 25px;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

button:hover {
    background-color: #fcb61f;
    transform: scale(1.05);
}

/* About button "?" */
.aboutBtn {
    display: inline-block;
    margin-left: 15px;
    font-family: 'Bagel Fat One', cursive;
    font-size: 32px;
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.aboutBtn:hover {
    background-color: #ffef9f;
}


.footer {
    font-family: 'Bagel Fat One', cursive;
    font-size: 1.1rem;
    color: #000;
    padding: 15px 0;
}


.home-link {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.home-link:hover {
    transform: rotate(10deg) scale(1.05);
}
/* Additional styles for the about page */
.description {
    font-family: 'Bagel Fat One', sans-serif;
    text-align: center;
    font-size: 1.2rem;
    color: #333;
    margin: 20px auto;
    max-width: 600px;
}