@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap');

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color:#f9f9f9; 
    flex-direction: column;
    height: 100vh;
    margin: 0;
    color: #fff; /* White text color for better readability */
}

#head {
    padding: 20px;
    color: ##DC143C;; /* Red header color */
    text-align: center;
}

.form-container {
    background-color: #ffffff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

.form-container h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    text-align: center;
    color: #DC143C; /* Red heading */
}

.form-container form {
    display: flex;
    flex-direction: column;
}

.form-container form .form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
    padding: 5px 0;
    width: 100%;
}

.form-container form label {
    width: 200px;
    font-weight: bold;
    color: #000; /* Black labels */
}

.form-container form select,
.form-container form input,
.form-container form textarea {
    padding: 10px;
    border: 1px solid#DC143C;; /* Red border */
    border-radius: 5px;
    margin: 5px 0;
    width: calc(100% - 220px);
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    min-height: 50px;
    box-sizing: border-box;
}

.form-container #year {
    padding: 10px;
    border: 1px solid #DC143C;/* Red border */
    border-radius: 5px;
    margin: 5px 0 5px 40px;
    width: calc(100% - 210px);
    box-sizing: border-box;
}

.form-container .inline {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.form-container .inline button {
    padding: 10px 20px;
    border: 2px solid #fff; /* White border */
    background-color: #DC143C;; /* Red background */
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-container .inline button:hover {
    background-color: #DC143C; /* Darker red on hover */
}

.table-container {
    margin-top: 20px;
    width: 100%;
}

.inline2 button {
    color: black;
    border: 1px solid #DC143C;; /* Red border */
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    background-color: white; /* White button */
    transition: background-color 0.3s;
}

.inline2 button:hover {
    background-color: #f9ecee; /* Light red hover */
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}

table th {
    background-color: #DC143C;; /* Red header background */
    color: white; /* White header text */
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.btn {
    border: 2px solid black;
    background-color: white;
    color: black;
    padding: 8px 14px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 15px;
}

.button1 {
    color: #b80306; /* Red button */
    border-color: #b80306;
}

.button1:hover {
    background-color: #b80306;
    color: #fff; /* White text on hover */
}

.button2 {
    color: black;
    border-color: black; /* Black border */
}

.button2:hover {
    background-color: black;
    color: #fff; /* White text on hover */
}
