body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #252546;
    overflow: hidden;

}

h1, h2, h3, h4, h5, h6 {
    font-family: "Ubuntu", sans-serif;
}

.italic {
    font-style: italic;
}

.privacyWrapper {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    
}

.navigation-header { 
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-top: 0;
    font-size: 16px;
    font-weight: bold;
}

.white-box-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex; 
    overflow-y: auto;
    scroll-behavior: smooth;
    max-height: 80vh;
    margin-top: 10vh;
}

.sidebar {
    width: 250px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}


.terms-privacy-container {
    width: 100%;
}

.terms-section {
    margin-bottom: 30px;
    padding-top: 60px;
    margin-top: -60px;
}

.terms-section .heading {
    margin-bottom: 15px;
    padding: 8px;
    background: #400049;
    color: white;
    font-size: 16px;
    font-weight: normal;
    border-radius: 8px;
}

.terms-section .content {
    padding-left: 10px;
}

.terms-section .content h2 {
    font-size: 16px;
}

.terms-section .content h3,
.terms-section .content h4 {
    font-size: 14px;
    font-weight: bold;
}

.terms-section .content h4 {
    color: #444;
    margin: 0;
}

.terms-section .content ul {
    list-style-type: circle;
    list-style-position: inside;
    font-size: 14px;
    margin-left: 8px;
}

.content p, 
 .content li {
    font-size: 14px; 
    max-width: 110ch;
}

.terms-section ul {
    list-style: none;
    padding: 0;
}

.terms-section li {
    margin-bottom: 8px;
}

.terms-section a {
    color: #66336D; 
}

.terms-section a:hover {
    color: #400049;
}

.sticky-nav ul {
    list-style: none;
    padding: 0;
}

.sticky-nav a {
    text-decoration: none;
    color: #66336D;
    display: block;
    padding: 5px 0;
    font-size: 14px;
    padding: 8px 4px;
}

.sticky-nav a:hover {
    background-color: #ECE6ED;
}


@media screen and (max-width: 768px) {
    .privacyWrapper {
        position: relative;
        flex-direction: column;
        margin: 0;
        padding: 10px;
    }

    .white-box-container {
        margin-bottom: 20px;
    }

    .white-box-container:first-of-type {
        display: none;
    }

    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }

    .sticky-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .sticky-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .sticky-nav a {
        padding: 8px 12px;
        background-color: #f8f9fa;
        border-radius: 4px;
        border: 1px solid #dee2e6;
    }

    .sticky-nav a:hover {
        background-color: #ECE6ED;
        border-color: #400049;
    }

    .terms-section {
        padding-top: 40px;
        margin-top: -40px;
    }

    .terms-section .content {
        padding-left: 0;
    }
} 