body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.limited-sentence {
    max-width: 100ch; /* limits line to ~60 characters */
    margin: 0;  /* center text */
    line-height: 1.5; /* optional: nicer spacing */
    word-wrap: break-word; /* ensures long words wrap */
    text-align: left;
}

main {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0%;
    padding: 20px;
}

.section {
    width: 100%; /* Adjust width as needed */
    margin: 0 auto;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin: 20px 0;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.section:hover {
    transform: translateY(-5px);
}

h2 {
    text-align: center;
    color: #003366;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table, th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #003366;
    color: white;
}

@media (max-width: 768px) {
    .section {
        width: 95%;
    }

    header, footer {
        padding: 15px;
    }

}


/* Styling for the "Go Back" link */
.button-wrapper {
    display: flex;
    justify-content: center;
    margin-left: 0%;
    margin-top: 30px;
}

a.go-back-button {
    padding: 12px 40px;
    white-space: nowrap;
    background-color: #6c757d;
    background-image: linear-gradient(45deg, #5a6268, #6c757d);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}


/* Hover effect for the "Go Back" link */
a.go-back-button:hover {
    background-color: #5a6268; /* Darker background on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

#slow-data-content p {
    font-style: italic;
    color: gray;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #258642;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#annotation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#annotation-content p {
    font-style: italic;
    color: gray;
    margin-top: 10px;
}

.plot-container {
    width: 100%;
    max-width: 100%;
    overflow: auto;  /*  Ensure overflow is handled */
}

.plot-container div {
    height: auto;
}


.plot-container iframe {
    width: 100%;
    height: auto;
}

/* Download button */
.btn-download {
    display: inline-block;
    padding: 10px 20px;
    background-color: #034b92;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}
.btn-download:hover {
    background-color: #1e40af;
}
