/* General styles for the entire page */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%; /* Ensure that the body takes full width */
    font-family: 'Roboto', sans-serif; /* Sets Roboto as the default font across the site */
    background-color: #136e51; /* Set the background color */
}

/* Header styles */
header {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.15); /* Semi-transparent background */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
    position: relative;
    height: 100px; /* Increase the height as needed */
}



.header-content {
    width: 100%; /* Full width of the header */
    display: flex;
    justify-content: space-between; /* This ensures content is spaced between */
}

.header-content .logo {
    font-weight: bold;
    font-size: 1.5rem; /* Adjust font size as desired */
}

.header-content .share {
    cursor: pointer;
    font-weight: normal;
    text-align: right;
    font-size: 1.2rem; /* Adjust font size as desired */
}

/* Main area styles */
.main-area {
    max-width: 1322px; /* Maximum width */
    height: 800px; /* Fixed height */
    margin: 0 auto; /* Centering horizontally */
    display: flex; /* Using Flexbox to center content vertically and horizontally */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    color: white; /* Make text color white for visibility */
    font-size: 24px; /* Increase font size */
}

@media (max-width: 1322px) {
    .main-area {
        width: 100%; /* Full width on smaller screens */
    }
}

/* Popup styles */
.popup {
    position: fixed;
    width: 400px; /* Adjust width as needed */
    height: 300px; /* Adjust height as needed */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 1000;
    display: none; /* Initially hidden */
    padding: 20px; /* Padding for the entire popup */
    box-sizing: border-box; /* Include padding in the width calculation */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Ensure items start from the left */
}

.popup-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
}

.popup-content p {
    font-size: 18px; /* Increased font size */
    font-weight: bold; /* Make the font bold */
    margin-bottom: 30px; /* Increased space before the links start */
    color: black; /* Changed color to black */
    margin-top: 0px; /* Adjust as needed to move text upwards */
    padding-top: 0; /* Reduces top padding for the text */
    align-self: flex-start; /* Align text to the left */
}

.social-links {
    width: 100%; /* Ensures social links container is full width */
    padding: 0; /* No padding to ensure alignment */
    margin: 0; /* No margin to ensure alignment */
    margin-top: 20px; /* Increase this value to move all social links further down */
}

.social-link {
    width: 100%; /* Full width to match the popup */
    padding: 15px 20px; /* Increased padding for top and bottom, no left-right padding */
    margin: 0; /* No side margins */
    font-size: 16px;
    color: #136e51; /* Theme color */
    text-decoration: none;
    display: block; /* Ensures link uses full width available */
    text-align: left; /* Align text to the left, removing any default center alignment */
    background-color: transparent; /* Ensure the background is transparent */
    border: none; /* No border in any state */
    margin-bottom: 10px; /* Increased space between links */
}

.social-link:last-child {
    margin-bottom: 0; /* No bottom margin on the last item to maintain even spacing */
}

.social-link:hover {
    background-color: #f0f0f0; /* Light grey background on hover */
    color: #0c583f; /* Slightly darker green text on hover */
}











/* Ensure responsiveness across devices */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-area {
        font-size: 20px; /* Adjust font size for smaller devices */
    }

    .popup {
        width: 90%; /* Make popup width responsive */
        height: auto; /* Allow height to adjust based on content */
    }
}

/* Rectangle styles */
.rectangle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    gap: 15px; /* Directly controls spacing between children */
    margin-top: 100px; /* Adjust the top margin to center the rectangles */
}

.rectangle-heading {
    color: white; /* Sets the text color to white */
    font-family: 'Roboto', sans-serif; /* Uses Roboto font */
    font-weight: bold; /* Makes the text bold */
    text-align: center; /* Centers the text */
    font-size: 24px; /* Sets a specific font size */
    margin-bottom: 20px; /* Adds space between the headline and the rectangles */
}

.rectangle-link {
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Inherit text color from parent */
    display: block; /* Make link a block element to fill the container */
    margin-bottom: 15px; /* 15px space between each rectangle */
}

.rectangle-link:last-child {
    margin-bottom: 0; /* Removes bottom margin from the last rectangle link */
}

.rectangle {
    position: relative;
    width: 580px;
    height: 60px;
    background-color: #136e51; /* Same green as the background */
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    border: 2px solid white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: bold;
}
.rectangle:hover {
    background-color: #0c583f; /* Darker green on hover */
    transform: scale(1.1); /* Scale up by 10% on hover */
}

.rectangle:last-child {
    margin-bottom: 0; /* Removes bottom margin from the last rectangle */
}


.rectangle a {
    color: white; /* Ensures links are white */
    text-decoration: none; /* No underline */
    font-weight: bold;
    position: absolute; /* Make anchor fill the entire rectangle */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the anchor vertically and horizontally */
}


