body, html {
height: 100vh;
width: 100vw;
margin: 0;
padding: 0;
font-family: "Pridi", sans-serif;
background-color: #4A628A;
}
h4, h1 {
margin: 0;
}
.page {
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
}
.container {
border-radius: 10px;
background: linear-gradient(to bottom, rgba(74, 98, 138, 0.0) 30%, rgba(186, 237, 255, 0.7));
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
height: 90%;
width: 35%;
}
.header {
text-align: center;
padding: 16px;
}
.title {
font-size: 48px;
font-weight: 500;
color: white;
}
.subheading {
padding-top: 8px;
font-size: 16px;
color: rgba(255, 255, 255, 0.8);
}
.announcement-form {
display: flex;
flex-direction: column;
align-items: center;
width: 80%;
}
textarea {
height: 230px;
width: 100%;
padding: 15px;
font-size: 1em;
border-radius: 8px;
border: 1px solid #ccc;
resize: none;
background-color: #3A4A6C; /* Darker background for the textarea */
color: #f0f0f0; /* Light text color */
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
textarea::placeholder {
opacity: 0.7;
color: white;
}
/* Customize the textarea scrollbar */
textarea::-webkit-scrollbar {
width: 10px; /* Width of the scrollbar */
}
textarea::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1); /* Track background color */
border-radius: 10px; /* Rounded corners for the track */
}
textarea::-webkit-scrollbar-thumb {
background-color: rgba(74, 98, 138, 0.8); /* Scrollbar handle color */
border-radius: 10px; /* Rounded corners for the scrollbar handle */
}
textarea::-webkit-scrollbar-thumb:hover {
background-color: rgba(74, 98, 138, 1); /* Darker color on hover */
}
textarea:focus {
outline: none;
border-color: #4A628A;
box-shadow: 0 0 5px rgba(74, 98, 138, 0.5);
background-color: #334466; /* Slightly brighter background on focus */
}
.announcement-form-footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
margin-top: 20px;
gap: 10px; /* Space between buttons */
}
button#submitAnnouncement {
width: 100%;
padding: 16px;
font-weight: 300;
background-color: #4A628A;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
button#backButton {
background-color: transparent; /* No background */
border: none; /* Remove default button border */
color: #4A628A; /* Set text color */
font-size: 1em; /* Set font size */
cursor: pointer; /* Add pointer cursor for interactivity */
text-decoration: underline; /* Underline text */
padding: 0; /* Remove default padding */
}