TIF_E41210800/style.css

150 lines
2.5 KiB
CSS

body {
margin: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
scroll-behavior: smooth;
background-color: #f4f4f4;
}
.logo {
max-width: 200px;
margin-bottom: 1rem;
}
.landing {
min-height: 100vh;
background: linear-gradient(to right, #00c6ff, #0072ff);
display: flex;
justify-content: center;
align-items: center;
text-align: center;
padding: 4rem 2rem;
color: white;
}
.container {
max-width: 700px;
}
.scroll-btn {
display: inline-block;
margin-top: 2rem;
padding: 12px 24px;
background-color: #fff;
color: #0072ff;
text-decoration: none;
font-weight: bold;
border-radius: 8px;
transition: background-color 0.3s ease, color 0.3s ease;
}
.scroll-btn:hover {
background-color: #e0e0e0;
color: #0057cc;
}
.sentiment {
min-height: 100vh;
background: linear-gradient(to right, #00c6ff, #0072ff);
display: flex;
justify-content: center;
align-items: center;
padding: 3rem;
color: white;
}
.form-container {
background: white;
padding: 2rem 2.5rem;
border-radius: 15px;
color: black;
width: 100%;
max-width: 420px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
text-align: center;
}
.form-container h2 {
margin-bottom: 0.5rem;
font-size: 1.8rem;
}
.subtitle {
font-size: 0.95rem;
color: #666;
margin-bottom: 1.5rem;
}
input[type="text"] {
width: 100%;
padding: 12px;
margin-top: 1rem;
margin-bottom: 1rem;
border: 1px solid #ccc;
border-radius: 7px;
font-size: 1rem;
}
button {
background-color: #2575fc;
color: white;
padding: 10px 25px;
border: none;
border-radius: 7px;
cursor: pointer;
font-weight: bold;
font-size: 1rem;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #1a5ed8;
}
.hasil-box {
margin-top: 1.5rem;
text-align: left;
}
.hasil-box label {
display: block;
margin-bottom: 0.5rem;
font-weight: bold;
}
.hasil-box input {
background-color: #f0f0f0;
border: 1px solid #ccc;
color: #333;
padding: 10px;
width: 100%;
border-radius: 7px;
font-size: 1rem;
}
.back-link {
display: inline-block;
margin-top: 1.5rem;
color: #2575fc;
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
}
.back-link:hover {
color: #1a5ed8;
}
.hasil-text {
background-color: #f4f4f4;
padding: 12px 16px;
border-radius: 8px;
border: 1px solid #ccc;
font-size: 14px;
line-height: 1.6;
color: #333;
margin-top: 8px;
white-space: pre-wrap; /* agar baris baru tetap tampil */
word-wrap: break-word;
transition: all 0.3s ease;
}