/* Version 28 */

body {
    margin: 0;
    padding: 0;
    font-family: 'Archivo', sans-serif;
}
.custom-page {
    display: flex;
    height: 100vh;
}
.button-menu {
    width: 240px;
    background: #f4f4f4;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    overflow-y: auto;
    position: relative;
    padding: 0; /* No padding */
}
.button-menu .buttons {
    padding: 0 20px; /* Padding for buttons div */
}
.button-menu h2 {
    margin: 0 0 20px 0;
    padding: 0;
    font-size: 18px;
    color: #0073aa;
}
.button-menu a {
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    background: #e0e0e0; /* Light background color */
    color: #333;
    text-decoration: none;
    border-radius: 8px; /* Rounded corners */
    border: 1px solid #ccc;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.button-menu a:active {
    transform: translateY(2px);
    box-shadow: 0 2px 3px rgba(0,0,0,0.2);
}
.button-menu a:hover {
    background: #d0d0d0;
}
.button-menu a.active {
    background: #c0c0c0; /* Different background color for active button */
}
.button-menu .button-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Archivo', sans-serif;
}
.button-menu .button-name {
    font-weight: bold;
    text-align: left;
}
.button-menu .button-date {
    font-size: 12px;
    text-align: right;
}
.button-menu .button-description {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-align: left;
}
.button-menu .header {
    font-size: 16px;
    font-weight: bold;
    color: #0073aa;
    margin-top: 20px;
    margin-bottom: 10px;
}
.button-menu .scroll-message {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%; /* Match the width of the sidebar */
    padding-bottom: 10px;
    text-align: center;
    font-size: 20px; /* Slightly larger font */
    background: linear-gradient(to top, white 0%, white 20%, rgba(244, 244, 244, 0) 100%);
    font-family: 'Archivo', sans-serif;
    white-space: normal; /* Allow text to wrap */
    z-index: 1000;
}
.button-menu .scroll-arrow {
    display: block;
    font-size: 2em; /* Larger font for the arrow */
    line-height: 1em;
    margin-bottom: 5px;
}
.button-menu a:last-of-type {
    margin-bottom: 50px; /* Margin to prevent overlap with the scroll message */
}
.iframe-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #0073aa;
    display: none;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #0073aa;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin-bottom: 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.default-message {
    font-size: 4em;
    color: #0073aa;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-family: 'Archivo', sans-serif;
    line-height: 1em;
}
.arrow {
    display: block;
    margin-top: 20px;
    font-size: 7em; /* Adjusted size */
    text-align: center; /* Center align text */
    line-height: 0.2em; /* Adjust line height to reduce wasted space */
    animation: bounce 5s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
}
@keyframes bounce {
  0%, 10%, 25%, 40%, 50% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-10px);
  }
  30% {
    transform: translateY(-5px);
  }
  50.01%, 100% {
    transform: translateY(0);
  }
}