/* vars */
:root {
    --poppy-color: #E35335;
}

body {
    text-align: center;
    font-family: sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

#poem {
    margin-top: 150px;
    display: inline-block;
    text-align: left;
}

a {
    text-decoration: none;
    color: inherit;
}

#home-link:hover {
    text-decoration: underline;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 30px;
    background-color: #f0f0f0;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    z-index: 1000;
    font-size: 10px;
    line-height: 1;
}


/* Navigation bar styles */
.nav-container {
    background-color: #000;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-buttons {
    display: flex;
    gap: 20px;
    justify-content: left;
    flex-wrap: wrap;
}

.nav-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: left;
}

.navigation-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
}



.navigation-ender {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1000;
    max-width: 150px;
    text-align: right;
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#nav-spacer {
    width: 30px;
}

.header-text {
    color: rgb(255, 255, 255);
    text-align: left;
    margin: 0;
}

.nav-group-title {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
    text-align: left;
}

.nav-group-buttons {
    display: flex;
    gap: 5px;
}

.nav-button {
    padding: 8px 12px;
    background-color: #f9f9f9;
    border: 2px solid #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: inline-block;
    width: 10px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-button:hover {
    background-color: var(--poppy-color);
    color: white;
}

.nav-button.active {
    background-color: var(--poppy-color);
    color: white;
}

/* Info icon and links styles */
.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.info-icon:hover {
    background-color: var(--poppy-color);
    color: #fff;
    border-color: var(--poppy-color);
}

.info-links {
    position: absolute;
    top: 100%;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin-top: 0px;
    min-width: 200px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.info-links::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.navigation-ender:hover .info-links,
.info-links:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.navigation-ender .header-text {
    color: #000;
    margin: 0;
    font-size: 14px;
}

.info-links a:hover .header-text {
    color: var(--poppy-color);
}
