h1{
    font-size: 22pt;
    font-weight: 600;
    margin: 0 0 32px;
}

.head{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: auto;
    padding: 48px;
    box-sizing: border-box;
}

.head > a{
    margin: 0 16px 0 0;
}

.welcome_block{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: auto;
    padding: 0 48px 48px;
    box-sizing: border-box;
}

.welcome_block > img{
    height: auto;
    width: 35%;
}

.welcome_block > div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;
    width: 65%;
    padding: 0 64px;
    box-sizing: border-box;
}

.welcome_block > div >p{
    max-width: 480px;
}

.auth_block{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: auto;
    padding: 48px;
    box-sizing: border-box;
    background-color: #25335C;
    color: #ffffff;
}

.auth_block .btn_gold:hover{
    background-color: transparent;
    border: 2px solid #EFC46E;
    color: #EFC46E;
}

.products_block{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.product,
.productMain{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    width: 320px;
    height: auto;
    padding: 16px;
    margin: 0 32px 32px 0;
    border: 2px solid #EFC46E;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease-in;
}

.product > *:last-child,
.productMain > *:last-child{
    margin: 0;
}

.product > div > *:last-child,
.productMain > div > *:last-child{
    margin: 0;
}

s > h5,
s > h5{
    margin: 0;
}

.product:hover,
.productMain:hover{
    opacity: 0.7;
    transition: all 0.2s ease-in;
}

.productMain{
    background-color: #EFC46E;
    color: #000000;
}

.details_block{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: auto;
    padding: 48px;
    box-sizing: border-box;
    background-image: url(../images/cobbles_des.svg);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 35vw;
}

.details_block > div::not(.yt_embed){
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
}

.details_block > .article,
.details_block pre{
    margin: 0 0 0;
}


.details_block > div > div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-self: stretch;
    width: 320px;
    height: auto;
    padding: 0 0 0 16px;
    margin: 0 48px 48px 0;
    border-left: 4px solid #EFC46E;
    border-radius: 4px;
    box-sizing: border-box;
}

.details_block > div > div > p{
    margin: 0;
}

.features_block{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: auto;
    padding: 48px 48px 0 ;
    box-sizing: border-box;
    background-color: #25335C;
    color: #ffffff;
}

.features_block > div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-self: stretch;
    width: 320px;
    height: auto;
    padding: 0 0 0 16px;
    margin: 0 48px 48px 0;
    border-left: 4px solid #EFC46E;
    border-radius: 4px;
    box-sizing: border-box;
    color: #F4F4F4;
}

.features_block > div > h5{
    color: #EFC46E;
}

.features_block > div > p{
    font-weight: 300;
    margin: 0;
}

@media all and (max-width: 1023px){

    .head,
    .block,
    .welcome_block,
    .auth_block,
    .details_block,
    .features_block,
    footer{
        padding: 24px 8px;
    }
    
    .welcome_block{
        flex-direction: column;
        margin: 0;
    }
    
    .welcome_block > img{
        height: auto;
        width: calc(100% - 64px);
        margin: 0 32px;
    }
    
    .welcome_block > div{
        width: 100%;
        padding: 24px 0 0;
        margin: 0;
    }
    
    
    .welcome_block > div >p{
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .details_block > div > div{
        width: 100%;
        padding: 8px;
        margin: 0 0 24px 0;
    }
    
    .details_block{
        background-image: url(../images/cobbles_des_m.svg);
        background-position: center center;
        background-size: 80% auto;
    }

    .details_block > div > div{
        padding: 0 0 0 8px;
        margin: 0 16px 16px 0;
    }
    
    .product,
    .productMain{
        margin: 0 16px 16px 0;
    }
}
