body 
{ 
    margin: 0; 
    padding: 0; 
    background-color: 
    #ece2d3; 
    font-family: 
    sans-serif; 
}
.container 
{ 
    width: 100vw; 
    height: 100vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
}

.doors 
{ 
    display: flex; 
    flex-direction: row; 
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
    margin: 20px 0; 
}
.door 
{ 
    width: 150px; 
    height: 200px; 
    background-color: #333; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    cursor: pointer; color: 
    #fff; font-size: 40px; 
    border: 2px solid #000; 
    user-select: none; 
}

.door-car {
    background-color: #4ade6d !important;
    background-image: url('/css/pictures/car.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.door-goat {
    background-color: #e05664 !important;
    background-image: url('/css/pictures/cute_goat.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.message 
{ 
    font-size: 20px; 
    margin: 10px; 
    height: 30px; 
    text-align: center; 
}
.stats 
{ 
    font-size: 16px; 
    text-align: center; 
    line-height: 1.8; 
    background: #fff; 
    padding: 15px; 
    border-radius: 8px; 
    margin-top: 10px; 
}

.door-selected {
    box-shadow: 0 0 0 4px #4da6ff, 0 0 20px rgba(77, 166, 255, 0.6) !important;
    border-color: #4da6ff !important;
}


/* Модальное окно */

.info {
    position: fixed;          
    bottom: 10px;              
    right: 10px;              
    
    width: 30px;            
    height: 30px;              
    background-color: rgb(255, 210, 164);
    border-radius: 50%;        
    
    display: flex;
    justify-content: center;  
    align-items: center;      
    z-index: 95;
    
    cursor: pointer;           
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); 
    transition: transform 0.2s; 
}
/* Эффект при наведении */
.info:hover {
    transform: scale(1.1);    
    background-color: rgb(255, 199, 143);
}
.i {
    margin: 0;
    font-size: 20px;           
    
    color: rgb(135, 37, 10);
    text-align: center;
    line-height: 1;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background-color: white;
    border-radius: 15px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

/* Текст внутри */
.modal-body {
    padding: 50px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Красный кружок с крестиком */
.modal-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-color: rgb(99, 34, 34);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: 0.2s;
    box-shadow: 0 2px 5px rgba(86, 53, 25, 0.5);
}

.modal-close:hover {
    background-color: rgb(199, 70, 76);
    transform: scale(1.1);
} 

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
