/* Common styles */
* {
    box-sizing: border-box;
}
@font-face {
    font-family: 'GARABD';
    src: url('../font/GARABD.TTF') format('truetype');
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'GARABD', sans-serif;
    font-weight: bold;
    background-color: #9AD0EC;
    color: #333;
    line-height: 1.2;
    padding: 20px;
}
p {
    margin: 0;
    padding: 0;
}
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}
h1 {
    text-align: center;
    color: #333;
}
label {
    display: block;
    margin-bottom: 5px;
}
.input-wrapper {
    text-align: center;
    width: 100%;
    margin: 0 auto; 
}
.input-wrapper label {
    display: block;
    margin-bottom: 5px;
}
textarea, button {
    width: 50%;
    padding: 10px;
    margin-bottom: 20px;
}
textarea {
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}
button {
    width: 50%;
    border: none;
    background-color: #2A528A;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background-color: #1572A1;
}
::-webkit-file-upload-button {
    padding: 0.5em 0 0.5em 0;
    margin-bottom: 5px;
}
.form-row {
    text-align: center; /* Center-align the contents */
    margin-bottom: 10px; /* Add some space between the rows */
}

/* Ensure the input and button take the desired width */
#imageInput, #uploadImage {
    width: 50%; /* Adjust this width as needed */
}

/* Adjustments for responsive design */
@media screen and (max-width: 1440px) {
    #imageInput, #uploadImage, textarea, button {
        width: 60%;
    }
}
@media screen and (max-width: 1100px) {
    #imageInput, #uploadImage, textarea, button {
        width: 70%;
    }
}
@media screen and (max-width: 720px) {
    #imageInput, #uploadImage, textarea, button {
        width: 80%;
    }
}
@media screen and (max-width: 640px) {
    #imageInput, #uploadImage, textarea, button {
        width: 90%;
    }
}
@media screen and (max-width: 480px) {
    #imageInput, #uploadImage, textarea, button {
        width: 100%;
    }
}