@font-face {
    font-family: classicRobot;
    src: url(ClassicRobot.woff2);
}

@font-face {
    font-family: classicRobot;
    src: url(ClassicRobotBold.woff2);
    font-weight: bold;
}

* {
    font-family: classicRobot, "Lucida Console", "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    background: linear-gradient(-45deg, #f0f33d, #e20926, #0080ff, #078512);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 100vh;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

a {
    color: #2c2c2c;
}

h1 {
    text-align: center;
    margin: 20px 0;
    text-shadow: 2px 2px 5px gray;
}

/* Consolidated common styles for .box, form, .response, .cost, .prompt */
.box, form, .response, .cost, .prompt {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px auto;
    text-align: center;
    max-width: 500px;
}

/* Unique styles for .box */
.box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.box img {
    max-width: 100%;
    max-height: 100%;
    padding: 0;
}

/* Unique styles for form */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form label,
form input {
    margin: 10px;
}

/* Unique styles for .prompt */
.prompt {
    max-height: 200px;
    overflow: auto;
}

/* Styles for .button class */
.button {
    background-color: #0080ff;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
}

.button a {
    color: white;
    text-decoration: none;
}

.button:hover {
    background-color: #063d8f;
}

/* Styles for form inputs */
form input[type="text"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.377);
    width: 100%;
    max-width: 500px;
}

form input[type="submit"] {
    background-color: #0080ff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #062f6d;
}