body { margin: 0; }
#container {
    width: 100%;
    height: 100%;
    position: relative;
}
#canvas{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0%;
}


.hovers {
    position: absolute;
    top: 0;
    left: 79%;
    width: 20%;
    padding: 10px;
    z-index: 10;
    box-sizing: border-box;
}

.hoverwidget {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    padding: 10px;
    font-size: 14px;
    z-index: 10;
    box-sizing: border-box;
}

.hovertitle {
    font-weight: 500;
    margin-bottom: 5px;
    /* Google Blue */
    color: #4285F4; /* Google Blue - Primary Color */
}

/* Optional: Different Google Colors for Subtitles or other elements */
.hoversubtitle {
    font-weight: 500;
    margin-bottom: 5px;
    color: #EA4335; /* Google Red */
}

.hovergreen {
    color: #34A853; /* Google Green */
}

.hoveryellow {
    color: #FBBC05; /* Google Yellow */
}


/* Optional: Style links within the hover widget */
.hoverwidget a {
    color: #075493; /* Google-like link color */
    text-decoration: none;
}

.hoverwidget a:hover {
    text-decoration: underline;
}

/* Optional: Style lists within the hover widget */
.hoverwidget ul, .hoverwidget ol {
    padding-left: 20px;
    margin-bottom: 5px;
}

.hoverwidget li {
    margin-bottom: 3px;
}

/* Optional: Add a close button if needed */
.hoverwidget .close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: #999;
}

.hoverwidget .close-button:hover {
    color: #666;
}

/* #canvas {} */

/* .white{} */
.fright{float:right}



#overlay {
    position: fixed; /* Stay in place */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: none;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    z-index: 1000; /* Ensure it's on top */
    font-family: 'Roboto', sans-serif; /* Use Roboto font */
}

#overlay-content {
    background-color: #fff; /* White background for the content area */
    padding: 30px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 500px; /* Adjust width as needed */
    text-align: left; /* Align text to the left */
}

#overlay-content h2 {
    font-size: 1.5em;
    font-weight: 500;
    margin-bottom: 15px;
    color: #202124; /* Dark gray heading color */
}

#overlay-content input[type="text"] {
    width: calc(100% - 10px); /* Full width input */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #dadce0; /* Light gray border */
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in width */
    font-size: 1em;
}

#overlay-content button {
    background-color: #4285f4; /* Google blue */
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s; /* Smooth hover effect */
}

#overlay-content button:hover {
    background-color: #357ae8; /* Darker blue on hover */
}

#overlay-content ul {
    list-style-type: disc;  /* Bullet points */
    margin-bottom: 20px;
    color: #5f6368; /* Slightly lighter gray for list items */
}

#overlay-content li {
    margin-bottom: 8px;
}

/* Responsive adjustments (example) */
@media (max-width: 450px) {
    #overlay-content {
        width: 90%; /* Make the overlay wider on smaller screens */
        padding: 20px;
    }
}

.container {

    margin-bottom: 10px; /* Space between containers */
}

.header {
    padding: 10px;
    cursor: pointer;  /* Indicate it's clickable */
    user-select: none; /* Prevent text selection on click */
    display: flex;
    align-items: center; /* Vertically align arrow and text */
}

.arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid black; /* Initial direction: down */
    margin-left: 5px; /* Space between arrow and text */
    transition: transform 0.2s ease; /* Smooth rotation */
}

.header.active .arrow {
    transform: rotate(180deg); /* Rotate arrow 180 degrees */
    border-top: 5px solid transparent;
    border-bottom: 5px solid black; /* Change arrow direction */
}

.content {
    display: none; /* Initially hidden */
}

.header.active + .content { /* Show content when header is active */
    display: block;
}
