body,
html {
    margin: 0;
    padding: 0;
    font.family: Arial, sans-serif;
    overflow-x: hidden;
}

.page {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
}

.page1 {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #f5f5f5;
    z-index: 10;
    width: 100%;
    height: 120%;
}

.page2 {
    position: absolute;
    top: 120vh;
    left: 0;
    background-color: #e5e5e5;
    display: flex;
    flex-direction: row;
    /* width: 200%; */
    width: 100%;
    height: 100%;
    z-index: 5;
}

.row {
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

.row textarea,
button {
    width: 50%;
}

.title-row {
    text-align: center;
}

.input-row {
    /* height: 50%; */
    align-items: center;
    text-align: center;
    padding: 20px 0;
    vertical-align:top
}

.output-row {
    /* height: 20%;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 0;

    display: flex;
    flex-direction: row;
    vertical-align:top */

    /* height: 45%; */
    align-items: center;
    text-align: center;
    padding: 20px 0;
    vertical-
}

p {
    display: inline-block;
    /* width: 150px; */
    text-align: right;
}

.input-with-prompt
{
    justify-content: center;
    align-items: center;
    text-align: center;

    align-items: center;
    display: flex;
    flex-direction: row;
}

.column {
    width: 50%;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.middle-image,
.right-image {
    max-width: 100%;
    height: auto;
}

.page2-title {
    height:10%;
}

.comparison-chatgpt-textarea {
    font-size: 12pt;
    width: 100%;
    max-width: 100%;
    height: 400px; /* Adjust the height according to your preference */
    resize: vertical; /* Allow vertical resizing */

    font-size:12pt;
}

@media only screen and (min-width: 100px) and (max-width: 320px) {
    .row textarea,
    button {
        width: 100%;
    }

    .input-row,
    .output-row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .input-with-prompt {
        flex-direction: column;
    }

    p {
        text-align: left;
        width: 100%;
    }

    .page1 {
        height: 300%;
    }

    .page2 {
        flex-direction: column;
        height: 300%;
        top: 300vh;
        width: 100%;
    }

    .column {
        width: 100%;
        padding: 10px;
    }

    .comparison-chatgpt-textarea {
        width: 100%;
    }
}

@media only screen and (min-width: 321px) and (max-width: 425px) {
    .row textarea,
    button {
        width: 100%;
    }

    .input-row,
    .output-row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .input-with-prompt {
        flex-direction: column;
    }

    p {
        text-align: left;
        width: 100%;
    }

    .page1 {
        height: 250%;
    }

    .page2 {
        flex-direction: column;
        height: 250%;
        top: 250vh;
        width: 100%;
    }

    .column {
        width: 100%;
        padding: 10px;
    }

    .comparison-chatgpt-textarea {
        width: 100%;
    }
}

@media only screen and (min-width: 426px) and (max-width: 768px) {
    .page1 {
        height: 200%;
    }

    .page2 {
        flex-direction: column;
        height: 200%;
        top: 200vh;
        width: 100%;
    }
}


@media only screen and (min-width: 769px) and (max-height: 1000px) {
    .page1 {
        height: 150%;
    }

    .page2 {
        height: 150%;
        top: 150vh;
        width: 100%;
    }
}