html, body {
    height: 100%; /* Ensure that the body covers the full height of the viewport */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    box-sizing: border-box;
    background: linear-gradient(135deg, #e9f4fe, #2c80d4); /* Gradient from light to dark blue */
    background-size: cover; /* Ensure the gradient covers the entire background */
    background-position: center; /* Center the gradient */
    background-attachment: fixed; /* Keep the background fixed while scrolling */
    background-size: 100% auto; /* Make sure the gradient covers the entire height of the content */
    user-select: none;
}

header {
    background: linear-gradient(135deg, #43cea2, #185a9d);
    color: white;
    text-align: center;
    padding: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    transition: opacity 1s;
}

header:hover {
    opacity: 0.5;
}

nav {
    background: linear-gradient(135deg, #232526, #414345);
    overflow: hidden;
}

nav a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

nav a:hover {
    background: linear-gradient(135deg, #8dfbff, #64a7ff);
    color: black;
    transform: scale(1.05);
}

main {
    padding: 20px;
    color: #fff;
    backdrop-filter: blur(10px);
    margin-bottom: 60px; /* Space for footer */
}

.cambridge-books-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    grid-template-areas:
        "book1 book2 book3"
        "book4 book5 book6"
        "book7 book8 book9"
        "book10 book11 book12"
        "book13 book14 book15"
        "book16 book17 book18"
        "book19 book19 book19";
}

.cambridge-book {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
    text-decoration: none; /* Remove underline from the link */
    color: #43cea2;
    font-weight: bold;
}

.cambridge-book:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: #33bd91;
}

.cambridge-book.large {
    grid-column: 1 / -1; /* Spans across all columns */
}

.test-selection-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.test {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.test:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.test h3 {
    margin: 0;
    font-size: 1.2em;
}

.test ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.test li {
    margin: 10px 0;
}

.test a {
    text-decoration: none;
    color: #43cea2;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.test a:hover {
    color: #33bd91;
}

/* Ensure the body covers the full height of the viewport */


.test-selection-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.test {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    text-decoration: none; /* Remove underline from the link */
    color: #43cea2;
    font-weight: bold;
}

.test:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: #33bd91;
}

.test h3 {
    margin: 0;
    font-size: 1.2em;
}

.test a {
    text-decoration: none;
    color: inherit; /* Inherit color from .test */
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.test a:hover {
    color: #33bd91;
}



/* Disclaimer in about page */
.disclaimer {
    background-color: #ffcccc; /* Light red background */
    border: 2px solid #ff0000; /* Red border */
    color: #ff0000; /* Red text color */
    padding: 15px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
}




.contact-css {
    background-color: #2db5ffaf; /* Light red background */
    border: 2px solid #000fb6; /* Red border */
    color: #0037ad; /* Red text color */
    padding: 15px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
}

.bugs-css {
    background-color: #2db5ffaf; /* Light red background */
    border: 2px solid #000fb6; /* Red border */
    color: #0037ad; /* Red text color */
    padding: 15px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
}






.about-css {
    background-color: #2db5ffaf; /* Light red background */
    border: 2px solid #000fb6; /* Red border */
    color: #0037ad; /* Red text color */
    padding: 15px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
}


/* Style for the download button */
.download-btn {
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #5653ff; /* Green background */
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: inline-block;
    text-align: center;
}

.download-btn:hover {
    color: #5653ff;
    background-color: #fff; /* Darker green on hover */
    transform: scale(1.05); /* Slight grow effect on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

.download-btn:active {
    transform: scale(1); /* Normal scale on click */
    box-shadow: none; /* Remove shadow on click */
}

/* Wrapper for aligning the download button */
.download-button-wrapper {
    display: flex;
    justify-content: flex-start; /* Align button to the left */
    margin-top: 20px;
}

/* Add some spacing below the button */
a {
    text-align: center;
}







/* Warning message style */
.warning {
    background-color: #ffcccc; /* Light red background */
    border: 2px solid #ff0000; /* Red border */
    color: #ff0000; /* Red text color */
    padding: 15px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
}




.book-card {
    width: 210px;
    background-color: rgba(255, 255, 255, 0.342); /* Transparent background */
    border-radius: 15px;
    height: 335px;
    padding: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    float: left; /* Align to the left */
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.2);
    margin-bottom: 1px;
}

.book-cover {
    width: 100%;
    height: 81%;
    border-radius: 12px;
    margin-bottom: 10px;
}


.card-download-button {
    margin-top: 10px;
}

.download-btn {
    background-color: #4a60ff; /* Button background color similar to the image */
    color: white;
    padding: 13px 33px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Adds shadow for depth */
    position: relative;
    top: -30px;
}

.download-btn:hover { 
    color: #5653ff; 
    background-color: #000000; /* Darker green on hover */ 
    transform: scale(1.05); /* Slight grow effect on hover */ 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Shadow effect */ 
} 
 
.download-btn:active { 
    transform: scale(1); /* Normal scale on click */ 
    box-shadow: none; /* Remove shadow on click */ 
} 





.html-recordings, .body-recordings {
    height: 100%; /* Ensure the body takes the full height of the viewport */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    overflow-y: auto; /* Enable vertical scrolling */
}

.main-recordings {
    min-height: 105vh; /* Ensure the main section takes up at least 150% of the viewport height */
}

/* SVG Background Animation with Brightened Colors */
svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Ensure it covers the full width */
    height: 100%; /* Ensure it covers the full height */
    box-sizing: border-box;
    display: block;
    background-color: #0e4166;
    /* Brightened linear gradient */
    background-image: linear-gradient(to bottom, rgba(130, 158, 249, 0.4), rgba(76, 190, 255, 0.7), rgba(115, 209, 72, 0.5)); 
    z-index: -1; /* Keep SVG behind other content */
    filter: blur(2px);
    overflow: hidden;
}
