body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}
header {
    background-color: lightgreen;
    letter-spacing: 0.1cm;
    padding: 2.5%;
    font-variant: small-caps;
    font-size: x-large;
    background-image: url("images.png");
    background-repeat: no-repeat;
    background-size: 215px 215px;
}
header h1 {
    margin-left: 220px;
}
/* Заголовок */
h1 {
    font-size: 36px;
    text-align: center;
    padding: 20px;
    color: #333;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: aquamarine;
    display: flex;
    justify-content: center;
}
nav ul li {
    margin: 0 10px;
}
nav ul li a {
    display: block;
    color: blue;
    text-align: center;
    padding: 10px 15px;
    font-variant: small-caps;
    text-decoration: none;
    font-weight: bold;
}
nav ul li a:hover {
    background: #00ccff;
    color: black;
    border-radius: 6px;
}

/* Центрированный белый блок для формы */
form {
    background: white;
    width: 70%;
    margin: 20px auto;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Таблица внутри формы */
table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 10px;
    vertical-align: top;
}

/* Заголовки вопросов */
td strong, 
label {
    font-weight: bold;
    font-size: 18px;
}

/* Текстовые поля */
input[type="text"],
input[type="number"],
input[type="email"],
textarea {
    background-color: #eaeaea;
    border: 1px solid black;
    border-radius: 6px;
    padding: 8px;
    width: 95%;
}

/* Текстовое поле побольше */
textarea {
    height: 80px;
    resize: none;
}

/* Дата, цвет, файл */
input[type="date"],
input[type="color"],
input[type="file"] {
    background-color: #eaeaea;
    border: 1px solid black;
    border-radius: 6px;
    padding: 5px;
}

/* Радио и чекбоксы — чуть больше */
input[type="radio"],
input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 6px;
    cursor: pointer;
}

/* Range */
input[type="range"] {
    width: 95%;
}

/* Кнопки */
input[type="submit"],
input[type="reset"] {
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    font-size: 16px;
}

input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: #0056b3;
}

/*
1. tabel on lõpuni jagatud
w3schools-->HTML forms
2. lisada veel juurde küsimused: input number, textarea,
input date, input color, input file, input email
3. iga küsimus peab olema kujundatud vähemalt 2 omadusega.
 */