* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-image: url("./spirit.jpg");
    background-size: cover; /* Изображение покрывает весь экран */
    background-repeat: no-repeat; /* Не повторять изображение */
    background-position: center center; /* Центрировать изображение */
    background-attachment: fixed; /* Фон фиксирован при прокрутке */
    color: white;
}

h3 {
    margin-top: 25px;
}

.window {
    margin-top: 60px;
    width: 30%;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 40px;
    border-radius: 80px; /* Лучше указывать в пикселях, а не в процентах */
    background-color: rgb(83, 79, 79); /* Добавил прозрачность */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8); /* Тень для объема */
}

.window p {
    padding: 40px 20px 0 20px;
}

form {
    width:360px;
    align-items:center;
    flex-direction: column;
    display:flex;
    /* border: 1px solid black; */
    margin-top: 18px;
}

.questions label {
    margin: 20px;
}

form input {
    padding:5px;
}

.questions input {
    margin: 5px 0;
}

/* .questions input:invalid {
    background-color: ivory;
    border: none;
    outline: 2px solid red;
    border-radius: 5px;
}

.questions input:invalid {
    background-color: ivory;
    border: none;
    outline: 2px solid greenyellow;
    border-radius: 5px;
    accent-color: gold;
} */

.buttons {
    display:flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 15px;
}

a {
    text-decoration: none;
    color: black;
    text-align: center  ;

}

.buttons input {
    background-color: transparent;
    border: 0px;
}

input[type="submit"]:hover, #ost2:hover, #ost:hover, .buttons a:hover, a:hover {
    color: cadetblue;
    cursor: pointer;
}

.email_check {
    margin: 0 30px; 
}

.avatar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
}