body{
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-size: 22px;
    text-align: center;
    color: #E4E4E4;
    background-color: #3d3d3d;
    
}
.search > * {
    padding-bottom: 12px;
}
select, input, button{
    font-size: 18px;
    padding: 5px 8px;
}
button{
    padding: 5px 25px;
}
.wrapper{
    width: 80%;
    max-width: 1600px; /* для ограничения максимальной ширины на больших экранах */

}
.table{
    margin-top: 20px;
    width: 100%;
    display: grid;
    grid-auto-rows: minmax(50px, auto);
    grid-template-columns: 100%;
    box-shadow: 0 7px 37px -5px #00C4F0;
}
.headers{
    background-color: #333333;
    
    font-weight: bold;
    font-size: 25px;
    text-shadow: 1px 1px 5px black;
}
.row{
    display: grid;
    grid-template-columns: repeat(5, 20%);
    font-size: 20px;
}
.table .cell {
    border: 1px solid #E4E4E4;
    display: flex;
    justify-content: center;
    align-items: center;
    word-break: break-all;
    flex-direction: column;
    padding: 5px;
}
.cell:hover{
    text-shadow: 7px 5px 7px black;
    box-shadow: inset 0px 5px 20px 2px black;
}
  
@media (max-width: 420px) {
    body{
        height: auto;
        padding-block: 30px;
    }
    .row{
        grid-template-columns: 100%;
        grid-auto-rows: minmax(50px, auto);
    }
    .headers{
        display: none;
    }
    button{
        margin-top: 8px;
    }
    .cell::before {
        content: attr(data-header); /* Вставляем заголовок в контент ячеек */
        margin-bottom: 5px;
        font-style: italic;
        font-weight: 550; 
    }
}

