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

header .banner {
    background-color: #111;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.orange {
    color: #e07707;
    font-size: 80px;
    font-family: "helvetica";
    font-weight: bold;
}

.title-tagline {
    margin-left: 10px;
}

.title {
    color: white;
    font-size: 54px;
}

.tagline {
    display: inline-block;
    font-size: 14px;
    color: gray;
    margin-left: auto;
    margin-right: 10px;
}

main.container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
}

.input-area {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;

}

input[type="text"] {
    width: 80%;
    padding: 8px;
    font-size: 20px;
}

button {
    width: 18%;
    padding: 8px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: darkgray;
}

.content-area {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.response-area, .visual-review {
    min-height: 300px;
    background-color: #f4f4f4;
    padding: 10px;
    font-size: 20px;
}

.response-area {
    flex: 2;
}

.visual-review {
    flex: 1;
}

h2 {
    color: black;
    font-size: 20px;
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.8); /* Black background with 80% opacity */
}

.modal-content {
    position: absolute;
    top: 50%; /* Align vertically */
    left: 50%; /* Align horizontally */
    transform: translate(-50%, -50%); /* Center the modal */
    display: flex; /* Use Flexbox */
    flex-direction: column; /* Stack elements vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    text-align: center; /* Ensure text is centered */
}

.modal-text {
    color: #FFF;
    font-size: 20px;
    animation: pulse 5s infinite ease-in-out;
    margin-bottom: 10px; /* Add spacing between modal-text and modal-tagline */
}

.modal-tagline {
    color: #FFF;
    font-size: 16px;
    margin-top: 0; /* Ensure it's directly below modal-text */
}


/* Keyframes for the pulse animation (only applies to the modal-text) */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: .9;
    }
    50% {
        transform: scale(1.25);
        opacity: .5;
    }
    100% {
        transform: scale(1);
        opacity: .9;
    }
}

/* Fade-out animation */
.modal.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


/* Ensure images fit within the visual-review div */

.visual-review {
    flex: 1;
    background-color: #f4f4f4;
    padding: 10px;
    text-align: center;
}

.visual-review img {
    width: 100%;
    height: auto;
    display: block;
    padding-left:10px;
}
