/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

/* Header Styling */
header {
    background-color: #2d572c; /* Darker, more plant-like green */
    color: white;
    text-align: center;
    padding: 1em 0;
    position: relative;
}

header .logo {
    position: absolute;
    top: 10px;
    left: 20px;
}

header .logo-reko {
    position: absolute;
    top: 10px;
    right: 20px;
}

header .logo-reko img {
    max-height: 140px; /* Adjust the height as needed */
    width: auto; /* Maintain aspect ratio */
}

header .logo img {
    max-height: 140px; /* Adjust the height as needed */
    width: auto; /* Maintain aspect ratio */
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    margin: 10px;
}

header h2 {
    font-size: 1.5em; /* Adjust the size as needed */
    color: white;  /* Use the same color as the header text */
    margin: 10px 0; /* Adjust the spacing as needed */
}

/* Navigation Styling */
nav ul {
    list-style: none;
    padding: 0;
    margin: 10px;
}

nav ul li {
    display: inline-block;
    position: relative;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s, background-color 0.3s; /* Transition for smooth hover effect */
}

nav ul li a:hover {
    color: #2d572c; /* Change text color on hover */
    background-color: white; /* Change background color on hover */
    padding: 5px 10px; /* Add padding for better visual effect */
    border-radius: 5px; /* Add border radius for smoother look */
}

/* Main Content Styling */
main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section {
    margin: 20px 0;
    width: 80%;
}

/* Worksheets Section Styling */
#worksheets {
    margin: 40px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ccc;
    text-align: center;
}

#worksheets h2 {
    color: #2d572c;
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
}

#worksheets p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.worksheet-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.worksheet {
    width: 30%;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.worksheet img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 10px;
}

.worksheet h3 {
    font-size: 1.5em;
    color: #2d572c;
    margin-bottom: 10px;
}

.worksheet p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 10px;
    flex-grow: 1;
}

.download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2d572c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s;
    align-self: center; /* Center align the button */
    margin-top: 20px; /* Ensure there's space above the button */
}

.download-button:hover {
    background-color: #1e3e1e;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .worksheet {
        width: 90%;
    }

    .worksheet-row {
        flex-direction: column;
        align-items: center;
    }
}



/* How To Use Section Styling */
#how-to-use {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#how-to-use h2 {
    font-size: 2.5em;
    color: #2d572c;
    margin-bottom: 20px;
}

#how-to-use p, #how-to-use ol {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
    width: 80%;
    margin: 0 auto 20px auto;
}

#how-to-use ol {
    list-style-position: inside;
}

#how-to-use ol li {
    margin-bottom: 10px;
}

/* Social Section Styling */
#social {
    background-color: #2d572c;
    padding: 20px 0;
    text-align: center;
    color: white;
    width: 100%;
}

#social h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: white;
}

#social div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#social a {
    margin: 0 15px;
}

#social img {
    width: 50px;
    height: auto;
    transition: transform 0.3s;
}

#social img:hover {
    transform: scale(1.1);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    section {
        width: 90%;
    }

    #how-to-use p, #how-to-use ol {
        width: 100%;
    }

    #social a {
        margin: 10px;
    }
}
