
body {
    user-select: none;
    -webkit-user-select: none; /* для Safari */
    -moz-user-select: none; /* для Firefox */
    -ms-user-select: none; /* для старых версий Internet Explorer */
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;
    -o-user-select: none;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: hidden;
    background-image: url('/images/background.jpg'); /* Замените на путь к вашему изображению */
    background-size: cover; /* Обеспечивает масштабирование изображения, чтобы оно заполнило весь экран */
    background-position: center; /* Центрирует изображение */
    background-repeat: no-repeat; /* Избегает повторения изображения */
    background-color: white;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;

}


.hint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 101%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    z-index: 99999;
}

.hint h1 {
    margin: 0 auto;
    width: 90%;
}


.centerBox {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 5px;
    //background-color: white;
}

a {
    text-decoration: none;
}

h1 {
    font-size: 5vh;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.cont {
    background-color: white;
    margin: 0 auto;
    text-align: center;
    border-radius: 10px;
    padding: 25px;
    padding-top: 0px;
    max-height: 90vh;
}

.cont img {
    position: relative;
    max-height: 30vh;
    width: auto;
    border-radius: 1000px;
    margin: 0 auto;
    pointer-events: none;
}

#answers {
    list-style: none;
    padding: 0;
    margin: 0;
}


#answers li {
    padding: 10px 20px;
    background-color: #b39b00;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
    font-size: 3vh;
    border: 3px solid #877d3b;
}


#loading {
    background-image: url('/images/loading.gif');
    background-size: cover; /* Ensures the image covers the entire background */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: center center; /* Centers the image */
    width: 200px;
    height: 200px;
    margin: 10px auto;
    border-radius: 100px;
    pointer-events: none;
}

#photo {
    display: block;
    position: relative;
    height: auto;
    border-radius: 0;
}

#result {
    font-size: 15px;
}

.reset {
    background-color: #0D6EFD;
    padding: 30px;
    width: auto;
    margin: 0px;
    font-weight: 600;
    color: white;
    margin-top: 25px;
    cursor: pointer;
    font-size: 5vh;
    border-radius: 5px;
    //border: 8px solid #216546;
}

#error {
    display: none;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}


#logo {
    background-image: url('/images/brain.png');
    background-size: cover; /* Ensures the image covers the entire background */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: center center; /* Centers the image */
    width: 100px;
    height: 100px;
    margin: 10px auto;
    border-radius: 100px;
}

@media only screen and (max-width: 768px) and (orientation: portrait) {
    body {
        background-color: white;
        display: flex; /* Включает flexbox */
        justify-content: center; /* Центрирует по горизонтали */
        align-items: center; /* Центрирует по вертикали */
        height: 100vh; /* Высота body равна высоте окна браузера */
        margin: 0; /* Убирает отступы по умолчанию */
    }

    .cont {
        width: 100%;
        border: none;
        padding: 7px;
    }

    .cont img {
        position: relative;
        max-height: 100px;
        width: auto;
        border-radius: 1000px;
        margin: 0 auto;

    }

    h1 {
        font-size: 20px;
    }


    #hint {
        padding: 5px;
        font-family: 'Open Sans', sans-serif;
        font-size: 12px;
    }

    #photo {
        max-height: 200px;
    }


}