body {
    background-color: aliceblue;
}
.languages-list {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
}
.language-name {
    margin: 0.5rem;
    line-height: 0.1rem;
    color: darkblue;
}
.jj-tutoring-title {
    text-align: center;
}
.jj-tutoring-title a {
    font-size: 4rem;
    color: darkred;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1rem;
}
.jj-tutoring-slogan {
    color: darkgreen;
    text-align: center;
    font-family: cursive;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.2rem;
}
.nav-menu-top, .why-tutoring-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    max-width: 100%;
    margin-top: 1rem;
}
.description-box-outside {
    background-color: white;
    padding: 1.5rem;
    margin: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 0 10px lightblue;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.description-box a {
    text-align: center;
}
.success-story {
    margin: 2.5rem;
    font-size: 1.1rem;
    color: darkblue;
}
.greeting-heading {
    text-align: center;
    font-size: 3rem;
    color: darkred;
    letter-spacing: 0.3rem;
}
.tutor-info-heading {
    font-size: 1.1rem;
    color: darkblue;
}
.description-box ul {
    margin-bottom: 1.5rem;
}
.description-box li {
    font-size: 1.2rem;
    color: darkblue;
    line-height: 2rem;
}
.lesson-details {
    font-size: 1.7rem;
    color: darkgreen;
    text-align: center;
    list-style-type: none;
    line-height: 3rem;
    white-space: nowrap;
    font-weight: bold;
}
.info-items-flexbox {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}
.menu-subjects {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    background-color: white;
    max-width: 100%;
    padding: 1rem;
}
.jj-tutoring-items-flexbox {
    background-color: white;
    box-shadow: 0 0 10px lightblue;
    border-radius: 10px;
    text-align: center;
    margin: 1.5rem;
}
.jj-tutoring-items-flexbox img {
    max-width: 60%;
    max-height: 100%;
    overflow: hidden;
    object-fit: cover;
    border-radius: 10px;
}
.description-box-outside img {
    max-width: 90%;
    max-height: 100%;
    overflow: hidden;
    object-fit: cover;
    border-radius: 10px;
    margin: 1.5rem;
}
.tutoring-picture {
    min-width: 50%;
}
.info-items-flexbox img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    object-fit: cover;
    border-radius: 10px;
}
.nav-menu-top-item a {
    color: darkblue;
    text-decoration: none;
}
.nav-menu-top-item:hover {
    transform: scale(1.1);
    border-bottom: 2px dotted darkblue;
}
.box-heading {
    font-size: 2.3rem;
    text-align: center;
    padding: 1rem;
    color: brown;
    white-space: wrap;
    letter-spacing: 0.1rem;
}
.learn-jj-tutoring-picture {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    border-radius: 10px;
}
.subject-name {
    color: darkgreen;
    font-size: 1.7rem;
}
.subject-info {
    color: brown;
    text-align: left;
    line-height: 2rem;
}
.introduction-tutor {
    font-size: 1.5rem;
    margin-left: 2.5rem;
    margin-right: 1rem;
    color: darkgreen;
}
.info-items-flexbox li {
    font-size: 1.2rem;
    line-height: 3rem;
    color: darkblue;
    list-style-type: disc;
    max-width: 100%;
}
.info-items-section img {
    min-width: 100%;
}
.info-items-section h3 {
    color: darkgreen;
}
.flexbox-image {
    color: brown;
}
.info-items-section p {
    color: darkblue;
    font-size: 1.5rem;
}
.contact-buttons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.contact-button-display {
    display: none;
}
.contact-button-index-end {
    padding: 1rem;
    background-color: skyblue;
    text-decoration: none;
    color: black;
    border-radius: 10px;
    font-size: 1.5rem;
    margin: 0rem 5rem;
    font-weight: bold;
    color: darkblue;
}
.contact-button-index-end:hover {
    background-color: darkblue;
    color: white;
    transform: scale(1.05)
}
.lesson-details-section {
    margin: 1rem;
}
.contact-button-home {
    padding: 1rem;
    background-color: skyblue;
    text-decoration: none;
    border-radius: 5px;
    color: black;
    display: block;
    font-size: 1.49rem;
    margin: 0rem 9.5rem 0rem 2rem;
    font-weight: bold;
    color: darkblue;
}
.contact-button-home:hover {
    background-color: darkblue;
    color: white;
    transform: scale(1.05)
}
.lesson-info-section {
    display: grid;
    grid-template-columns: 55% 40%;
    align-items: center;
    padding-bottom: 1.5rem;
}
li::marker {
    color: orangered;
}
.blackboard-image {
    grid-row-start: 1;
    grid-row-end: 3;
}
.privacy-policy-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px lightblue;
    padding: 1rem;
    margin: 2rem;
    color: darkblue;
}
.privacy-policy-box h1 {
    text-align: center;
}
footer {
    text-align: center;
    padding: 2rem;
    font-size: 1rem;
    white-space: wrap;
    color: darkblue;
}
.info-about-box {
    text-align: center;
    color: brown;
    font-size: 1.8rem;
    overflow: wrap;
}
.contact-button {
    display: block;
    background-color: skyblue;
    text-decoration: none;
    color: darkblue;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 1rem 1rem 1.5rem;
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
}
.contact-button:hover {
    background-color: darkblue;
    color: white;
    transform: scale(1.05)
}
.contact-info {
    font-size: 2rem;
    text-align: center;
}
.contact-box2, .about-box3{
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px lightblue;
    margin: 1rem;
    padding: 1rem;
}
.qr-codes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 25rem;
    gap: 2rem;
}
.qr-codes-labels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-left: 1rem;
    font-weight: bold;
    gap: 2.5vw;
}
.qr-code-label-column {
    display: none;
}
.qr-code-wechat {
    max-width: 15rem;
    margin: 1rem;
}
.qr-code-whatsapp {
    max-width: 16rem;
    margin: 1rem;
}

@media(max-width: 1100px) {
    .info-items-flexbox {
        display: flex;
        flex-direction: column;
        font-size: 1.5rem;
        width: 100%;
    }
    .info-items-section {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .subject-info {
        text-align: left;
        list-style-position: outside;
    }
    .contact-button-index-end {
        font-size: 1.2rem;
    }
}

@media (max-width: 800px) {
    .nav-menu-top, .why-tutoring-items, .description-box-outside {
        flex-direction: column;
    }
    .greeting-heading {
        font-size: 8vw;
    }
    .contact-button-home {
        display: block;
        font-size: 1.5rem;
        margin: auto;
        width: 75%;
    }
    .success-story {
        margin: 1rem;
    }
    .menu-section {
        padding: 0.2rem;
    }
    .subject-info {
        text-align: left;
        list-style-position: inside;
        line-height: 3rem;
    }
    .lesson-info-section {
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
    }
    .learn-jj-tutoring-picture {
        height: 50%;
        width: 90%
    }
    .flexbox-image {
        flex-direction: column;
        font-size: 1.2rem;
        text-align: center;
    }
    .menu-subjects {
        display: flex;
        flex-direction: column;
        font-size: 1.2rem;
        text-align: center;
    }
    .contact-buttons {
        display: none;
    }
    .contact-button-display {
        display: block;
        background-color: skyblue;
        text-decoration: none;
        color: darkblue;
        padding: 1rem;
        width: 75%;
        border-radius: 10px;
        margin: auto;
        font-size: 1.3rem;
        font-weight: bold;
    }
    .contact-button-display:hover {
        background-color: darkblue;
        color: white;
        transform: scale(1.05)
    }
    .info-items-flexbox li {
        max-width: 100%;
    }
    .lesson-details {
        font-size: 1.5rem;
        font-weight: bold;
    }
    .contact-button-index-end {
        width: 75%;
        font-size: 1.7rem;
    }
    .qr-code-wechat, .qr-code-whatsapp {
        margin: none;
    }
}

@media (max-width: 600px) {
    .box-heading {
        font-size: 6.1vw;
        letter-spacing: 0.1rem;
    }
    .contact-button-home {
        display: block;
        font-size: 1.5rem;
    }
    .qr-codes {
        display: flex;
        flex-direction: column;
        margin: auto;
        max-width: 20rem;
    }
    .qr-code-label-column {
        display: block;
        text-align: center;
        font-weight: bold;
    }
    .qr-codes-labels {
        display: none;
    }
    .info-items-section p {
        font-size: 6vw;
    }
    .info-items-flexbox li {
        max-width: 90%;
        font-size: 1.2rem;
    }
    .info-items-flexbox img {
        width: 70vw;
    }
    .introduction-tutor {
        font-size: 5vw;
    }
    .contact-button {
        font-size: 1.4rem;
        text-align: center;
    }
    .contact-button-index-end {
        width: 75%;
        font-size: 1.4rem;
    }
    .contact-box2 {
        padding: 1.5rem;
    }
}