Spaces:
Running
Running
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap"); | |
body { | |
margin: 0; | |
padding: 0; | |
font-family: "Roboto", sans-serif; | |
background: #f9fafb; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
min-height: 100vh; | |
color: #2d3748; | |
} | |
.container { | |
width: 90%; | |
max-width: 500px; | |
padding: 20px; | |
background: #ffffff; | |
border-radius: 10px; | |
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); | |
} | |
.header { | |
text-align: center; | |
margin-bottom: 20px; | |
} | |
.header h2 { | |
font-size: 1.6rem; | |
color: #1a202c; | |
margin: 0; | |
} | |
.header p { | |
font-size: 0.9rem; | |
color: #718096; | |
margin: 5px 0 0; | |
} | |
.form-wrapper { | |
text-align: center; | |
} | |
h1 { | |
font-size: 1.4rem; | |
font-weight: 500; | |
margin-bottom: 20px; | |
color: #1a202c; | |
} | |
textarea { | |
width: 90%; | |
height: 140px; | |
padding: 15px; | |
border: 1px solid #e2e8f0; | |
border-radius: 8px; | |
resize: none; | |
font-size: 16px; | |
color: #4a5568; | |
background: #f7fafc; | |
transition: border-color 0.3s, box-shadow 0.3s; | |
} | |
textarea:focus { | |
outline: none; | |
border-color: #4299e1; | |
box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.3); | |
} | |
.btn { | |
display: inline-block; | |
width: 100%; | |
padding: 12px 20px; | |
background: #4299e1; | |
color: #ffffff; | |
font-size: 16px; | |
font-weight: 500; | |
text-transform: uppercase; | |
border: none; | |
border-radius: 8px; | |
cursor: pointer; | |
transition: background 0.3s ease; | |
margin-top: 15px; | |
} | |
.btn:hover { | |
background: #2b6cb0; | |
} | |
.prediction { | |
margin-top: 20px; | |
padding: 15px; | |
font-size: 16px; | |
background: #edf2f7; | |
border-radius: 8px; | |
border: 1px solid #e2e8f0; | |
color: #2d3748; | |
text-align: left; | |
} | |
.footer { | |
margin-top: 20px; | |
text-align: center; | |
} | |
.footer a { | |
text-decoration: none; | |
font-size: 14px; | |
color: #2b6cb0; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
gap: 8px; | |
} | |
.footer a img { | |
width: 20px; | |
height: 20px; | |
} | |