form {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
}
form label, form input, form textarea, form select {
    font-family: var(--font);
    display: block;
    width: 100%;
    margin: 1rem 0;
    padding: 1rem;
    font-size: 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: bold;
}
form input[type=submit] {
    background-color: var(--color1);
    color: var(--color2);
    cursor: pointer;
    width: fit-content;
    margin: 1rem auto;
}
form input[type=file] {
    padding: 0;
}
form textarea {
    resize: vertical;
    height: 15rem;
}
form img {
    display: block;
}
form p {
    font-size: 1.5rem;
    text-align: center;
    margin: 1rem 0;
    font-weight: bold;
}
form p.success {
    color: #62b670;
}
form p.error {
    color: #eb9180;
}
form.kontakt input, form.kontakt textarea {
    font-size: 1.2rem;
}
form .checkbox-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
form .checkbox-container .checkbox {
    display: inline-block;
    width: auto;
    margin: 0 1rem;
}
form .checkbox-container input, form .checkbox-container label {
    font-weight: normal;
    display: inline-block;
    width: auto;
    margin: 0;
}
form .checkbox-container input[type=checkbox] {
    width: 25px;
    height: 25px;
}
form .spravne-spatne {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
form .spravne-spatne #spatne {
    background-color: #972f1a;
}
form #odpoved {
    font-weight: 400;
}
form #odpoved strong {
    font-weight: bold;
    color: #62b670;
    font-size: 2rem;
}


.foto-ohodnoceni label {
    margin: 0;
    cursor: pointer;
    display: inline-block;
    width: fit-content;
}

.foto-ohodnoceni label input {
    margin-left: 30px;
    display: inline-block;
    width: fit-content;
}