html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: linear-gradient(to bottom,
        rgba(255,255,255,1) 50%,
        rgb(200,172,235) 100%);
}

p {
    font-family: Nunito, Arial, Helvetica, sans-serif;
}

.buttons {
    border: 2px solid black;
}

.top-page {
    margin-top: -10px;
    height: 700px;
    background-image: url("./imgs/3swirls.png");
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title {
    font-family: lalezar;
    background: #525BFF;
    background: linear-gradient(337deg, #525BFF 40%, #FFFFFF 70%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.box {
    text-align: center;

    width: 750px;
    height: 320px;

    border:  5px solid #FFFFFF;
    padding: 20px;
    gap: 20px;
    border-radius: 15px;

    background: #ffffff;
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(199, 199, 199, 1) 100%);

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    margin: 50px auto;
}

.text {
    text-align: center; 
    font-size: 25px;
}

section {
    padding: 0px;
    background-color: #FFFFFF;
    border: 5px solid #333;
    display: flex;
    justify-content: right;
    text-align: center;

}

@media (max-width: 768px) {
    .top-page {
        height: 400px;
        background-position: center;
        background-size: cover;
    }

    .title {
        font-size: 60px; /* Shrink giant title for phones */
        background: linear-gradient(337deg, #525BFF 27%, #FFFFFF 100%);

        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .box {
        flex-direction: column; /* Stack image on top of text */
        width: 80%;
        height: auto;           /* Let the box grow with content */
    }

    .box img {
        width: 200px;           /* Smaller image for phone screens */
        margin-bottom: 10px;
    }

    section {
        width: 100%;
        border-width: 3px;      /* Slightly thinner border for mobile */
    }

    section p {
        font-size: 18px;        /* Cleaner mobile font size */
    }

    .text {
    font-size: 20px;
}
}