* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.container,
body,
html {
    overflow: visible !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(to bottom, #f4fde2, #e1f2ff, white);
}

.banner {
    width: 100%;
    height: auto;
    margin: 0;
    background-color: #8885ea93;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

.row-banner {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.row-banner h1 {
    font-size: 3rem;
    line-height: 1.5;
    font-weight: bold;
    text-shadow: 0 5px 5px #645deb;
}

.row-banner p {
    font-size: 1rem;
    line-height: 1.4rem;
}

html {
    scroll-behavior: smooth;
}

.content {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.sidebar {
    width: 25%;
    padding-right: 2rem;
    border-right: 1px solid black;
    position: sticky;
    top: 7rem;
    align-self: flex-start;
    height: fit-content;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 1rem;
}

.sidebar li:hover {
    /* background-color: #e0e0e0; */
    cursor: pointer;
}

.sidebar li a:hover {
    color: #0b843e;
}

.sidebar li a {
    color: #333;
    text-decoration: none;
}

.main-text {
    width: 75%;
    padding-left: 2rem;
}

.main-text h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    scroll-margin-top: 6rem;
}

.main-text ul {
    margin-top: 1rem;
    padding-left: 2rem;
}

.main-text ul li {
    margin-bottom: 0.8rem;
}

.main-text a {
    color: #623bcd;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .content {
        flex-direction: column;
        padding: 0 1.5rem;
    }

    .sidebar,
    .main-text {
        width: 100%;
        padding: 1rem 0;
        border-right: none;
    }

    .sidebar {
        position: static;
        top: auto;
        align-self: auto;
        height: auto;
        border-bottom: 1px solid #ccc;
        padding-right: 0;
    }

    .main-text {
        padding-left: 0;
    }

    .main-text h2 {
        font-size: 1.8rem;
        scroll-margin-top: 1rem;
    }

    .sidebar li,
    .main-text ul li {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .sidebar{
        display: none;
    }
    .content {
        padding: 0 1rem;
    }

    .main-text h2 {
        font-size: 1.4rem;
    }

    .sidebar li,
    .main-text ul li {
        font-size: 0.95rem;
    }

    .main-text ul {
        padding-left: 1rem;
    }

    .row-banner h1 {
        font-size: 2rem;
    }
    .row-banner p {
        font-size: 0.9rem;
    }
}