.terms-container {
    max-width: 800px;
    margin: 20px auto; 
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.terms-container h1,
.terms-container h2,
.terms-container p {
    margin-bottom: 15px;
}

.terms-container h1 {
    font-size: 2em;
    text-align: center;
    color: #3366A0;
}

.terms-container h2 {
    font-size: 1.5vw;
    color: #3366A0;
}

.terms-container p {
    font-size: 1vw;
    line-height: 1.6;
    color: black;
}

@media (max-width: 1024px) {
    .terms-container {
        max-width: 95%;
        padding: 18px;
    }

    .terms-container h1 {
        font-size: 1.8em;
    }

    .terms-container h2 {
        font-size: 1.3em;
    }

    .terms-container p {
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .terms-container {
        max-width: 90%;
        padding: 15px;
        margin: 10px auto;
    }

    .terms-container h1 {
        font-size: 1.5em;
    }

    .terms-container h2 {
        font-size: 1.2em;
    }

    .terms-container p {
        font-size: 0.9em;
    }
}