/* page.css */

/* Body and global styles */

html,
body {
    height: 100%;
    min-height: 100vh;
    background-color: #ffffff;
    font-family: 'Comic Sans MS', 'Comic Sans', cursive;
}

.carme-regular {
    font-family: "Carme", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Navbar custom styles */
.navbar-custom {
    background-color: #def5e5;
    /* #def5e5; */
    border-bottom: 2px solid #eef7f0;
}

/* button styles */

button {
    font-size: 1.2rem;
    padding: 10px 20px;
    border-radius: 20px;
    /* Soft edges to look more playful */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    /* Slight shadow for depth */
}

button:active {
    transform: translateY(2px);
    /* Button press effect */
}

.btn-info {
    background-color: #ffc800;
    /* Light playful yellow #fdd835 #28536b;;*/
    border-color: #e1cb05;
    width: 200px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 10px;
    font-size: large;
    transition: transform 0.3s ease;
    /* Smooth transition for hover effect */

}

.btn-success {
    background-color: #4d8b31;
    /* Light green for action buttons */
    border-color: #075e1d;
    width: 100px;
    height: 60px;
    border-radius: 20px;
    box-shadow: 10px;
    transition: transform 0.3s ease;
    /* Smooth transition for hover effect */


}

.btn-try-this {
    background-color: #06cf31;
    /* Bright orange for reset */
    border-color: #05993e;
    width: 100px;
    height: 60px;
    border-radius: 20px;
    box-shadow: 10px;
    transition: transform 0.3s ease;
    /* Smooth transition for hover effect */


}

.btn-secondary {
    background-color: #1e212b;
    /* Bright orange for reset */
    border-color: #000000;
    width: 100px;
    height: 60px;
    border-radius: 20px;
    transition: transform 0.3s ease;
    /* Smooth transition for hover effect */



}

.btn-info:hover {
    background-color: #f3951c;
    border-color: #e3821b;
    transform: scale(1.02);
    /* Slight zoom-in effect on hover */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    /* More shadow on hover */


}

.btn-success:hover {
    background-color: #135201;
    transform: scale(1.02);
    /* Slight zoom-in effect on hover */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    /* More shadow on hover */

}

.btn-try-this:hover {
    background-color: #26e6ff;
    transform: scale(1.02);
    /* Slight zoom-in effect on hover */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    /* More shadow on hover */

}

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    /* Space between containers */
}

.sheet-container {
    background-color: #fefefc;
    /* Light background color */
    border: 1px solid #e9e9e7;
    /* Light border */
    border-radius: 30px;
    /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    padding: 22px;
    /* Add space inside the container */
    transition: transform 0.3s ease;
    /* Smooth transition for hover effect */
}

.sheet-container:hover {
    transform: scale(1.02);
    /* Slight zoom-in effect on hover */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    /* More shadow on hover */
}

.word-list {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    list-style: none;
}

.dictation-container,
.chalkboard-container {
    flex: 1;
    max-width: 49%;
    min-height: calc(100vh - 40px);
    /* Adjust based on the footer's height */

}

.chalkboard-container {
    background-color: #2b2b2b;
    border: 5px solid #666;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    height: auto;
    /* Remove fixed height */
    min-height: 200px;
    /* Set the minimum height you want */
    box-sizing: border-box;
    /* Ensure padding doesn't affect width */

}

.chalkboard {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.2em;
    flex: 1;
    /* Ensures the chalkboard takes up the remaining space */
    height: auto;

}

.chalkboard:before {
    content: "My Spellings";
    display: block;
    font-size: 2em;
    margin-bottom: 20px;
}

.flex-container {
    display: flex;
    align-items: center;
    /* Aligns text vertically with the image */
    padding: 20px 0;
    /* Adds padding to top and bottom */
    justify-content: flex-start;
    /* Ensures they are positioned closely */

}

.potato-img {
    width: 200px;
    height: 240px;
    margin-right: 20px;
    /* Space between image and text */
}

.text-aligned {
    margin: 0;
    font: carme-regular;
    /* Remove extra margin from text */
}

.footer {
    background-color: #def5e5;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    left: 0;
    /* Make sure it sticks to the left */
}


/* Stack buttons on smaller screens */
@media (max-width: 768px) {
    .container button {
        display: block;
        width: 100%;
        /* Full width buttons for mobile */
        margin-bottom: 10px;
    }

    .container img {
        width: 200px;
        height: auto;
        /* Make image responsive */
    }
}

.card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    /* child-friendly font */
    color: #333;
}

.card-title-white {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    /* child-friendly font */
    color: #fdf9f9;
    line-height: 38px;
}

.list-group-item {
    background-color: #fff;
    font-family: 'Arial', sans-serif;
}

@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
    }
}





/* Footer styling */
.footer {
    background-color: #def5e5;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.footer span {
    font-size: 0.8rem;
    /* Reduce font size for footer text */
}

/* Fix for small screen layouts */
@media (max-width: 768px) {
    .footer {
        position: fixed;
        width: 100%;
        bottom: 0;
    }
}

/* Main content section (scale up for larger viewports) */
@media (min-width: 769px) {
    h1 {
        font-size: 3rem;
    }

    h4 {
        font-size: 1.5rem;
    }

    .container {
        padding: 20px 50px;
    }
}