@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka&display=swap');

body {
    font-family: 'Lilita One', cursive;
}

html {
    background-color: #202020;
}

#heading {
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 40px;
}

/* Main about us styles*/
#inspireText {
    color: white;
    display: block;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    border-bottom: 2px solid white;
    font-family: 'Fredoka', sans-serif;
    line-height: 2;
}

.toppers {
    color: white;
    font-size: 28px;
    margin-bottom: 10px;
    font-size: 'Lilita One' cursive;
}

.text-block {
    width: 50%;
}

.text-block p {
    color: white;
    font-family: 'Fredoka', sans-serif;
    line-height: 2;
    font-size: 18px;
    text-align: left;
}

.section {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 50px auto;
    gap: 40px;
}

.section.reverse {
    flex-direction: row-reverse;
}

.section.reverse p {
    background-color: #FC293C;
}

.section img {
    width: 40%;
    border-radius: 10px;
}

.section p {
    max-width: 500px;
    color: white;
    font-family: 'Fredoka', sans-serif;
    line-height: 2;
    font-size: 18px;
    text-align: left;
    background-color: #3A8AE1;
    padding: 10px;
    border-radius: 10px;
}

.section.reverse p {
    background-color: #FC293C;
}

@media (max-width: 600px) {
    #heading {
        font-size: 28px;
        padding: 0 10px;
    }

    #inspireText {
        font-size: 16px;
        padding: 0 10px;
        max-width: 100%;
        border-bottom: 1px solid white;
    }

    .section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin: 30px 10px;
    }

    .section.reverse {
        flex-direction: column;
    }

    .section img {
        width: 90%;
    }

    .text-block, .textBlock {
        width: 100%;
        padding: 0 10px;
    }

    .text-block p, .textBlock p {
        font-size: 16px;
    }

    .toppers {
        font: 22px;
        margin-bottom: 5px;
    }

    body {
        padding-bottom: 40px;
    }

    #menu-icon {
        width: 40px;
        height: auto;
        margin: 10px;
    }

    .sidebar {
        width: 70%; /* Make sidebar smaller for mobile */
    }
}