*{
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: Rubik-Medium;
    src: url(../fonts/Rubik-Medium.ttf);
}
@font-face {
    font-family: Rubik-Regular;
    src: url(../fonts/Rubik-Regular.ttf);
}

@media screen and (max-width: 390px){
    .nav{
        margin-bottom: 5px;
    }

    .blocks{
        margin: 0 auto;
    }

    .block{
        width: 370px;
        height: 190px;
        padding-bottom: 19px;
        background-color: #F2F2F2;
        display: flex;
        margin-bottom: 10px;
    }

    .block__block-img{  
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 110px;
        margin-right: 10px;
    }

    .block__block-img-img{
        width: 100px;
        height: auto;
    }

    .block__block-txt h2{
        margin-bottom: 17px;
        margin-top: 21px;
        font-family: Rubik-Medium;
        font-size: 20px;
        color: #333333;
    }

    .block__block-txt div{
        display: flex;
        flex-direction: row;
        font-family: Rubik-Regular;
        font-size: 16px;
        margin-bottom: 12px;
    }

    .block__txt0{
        color: #333333;
    }

    .block__txt1{
        color: #E5261E;
    }

    .time-txt{
        margin-right: 16px;
    }

}


@media screen and (min-width: 391px){

.nav{
    margin-bottom: 27px;
}

.block{
    width: 1180px;
    padding-bottom: 19px;
    background-color: #F2F2F2;
    display: flex;
    margin-bottom: 16px;
}

.block__block-img{
    width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.block__block-txt h2{
    margin-bottom: 17px;
    margin-top: 21px;
    font-family: Rubik-Medium;
    font-size: 20px;
    color: #333333;
}

.block__block-txt div{
    display: flex;
    flex-direction: row;
    font-family: Rubik-Regular;
    font-size: 16px;
    margin-bottom: 12px;
}

.block__txt0{
    color: #333333;
}

.block__txt1{
    color: #E5261E;
}

.time-txt{
    margin-right: 16px;
}

.blocks{
    height: 696px;
    overflow-y: auto;   
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #BDBDBD #F2F2F2;
    margin-left: 8px;   
}

}