body{
    font-family: 'Roboto', sans-serif;
}
.header{
    background:#ffffff;
    padding:20px 0;
    width: 100%;
    position: fixed;
    border-bottom: 2px solid #1d1c1c;
    z-index: 2;
    transition: all .3s ease;
    margin: 0 auto;
    
    
}
.header.out {
	transform: translateY(-100%);
}
.container{
    
    max-width: 1140px;
    margin: 0 auto;

}
.header-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
   
   
}
.logo{
    display: flex;
    align-items: center;
    padding-right: 50px;
}


.logo-bold{
    font-weight: bold;
    font-size: 20px;
    line-height: 25px;
    color: black;
    text-decoration: none;
    
    
    
}
 .header-search{
    
    padding-right: 30px;
    
}


.check{
    width: 30px;
    height: 2px;
    background: black;
    transition: 500ms linear;

}

.check:not(:last-of-type){
    margin-bottom: 4px;
}

.menu{
    display: flex;
    align-items: center;
}

.checkbox, .checkbox-wrapper{
    display: none;
}


.header-nav{
    display: flex;
    align-items: center;

    position: relative;
    
    
}

.header-li{
    display: inline-block;
    margin-left: 100px;

}

.header-li>a {
    font-size: 18px;
    line-height: 25px;
    color: #2B292D;
    text-decoration: none;
    cursor: pointer;


}
.header-nav>a{
    padding-left: 20px;
}
.header-acc, .header-log{
    padding-left: 67px;
    border: none;
    background: #FFFFFF;
}
.header-acc>a{
    color: #2B292D;
    text-decoration: none; 
}

.header-li>a:hover{
    font-weight: bold;

}



.fa-instagram{
    position: absolute;
    top: 10px;
    right: 40px;
}
.fa-facebook-square{
    position: absolute;
    top: 10px;
    right: 20px;
}
.fa-youtube{
    position: absolute;
    top: 10px;
    right: 0;
}

/* video */
.section-video{
   
    padding-top: 50px;
    padding-bottom: 100px;
}
.container-video{
    margin: 0 auto;
    
    
}
.text-for-search{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sort-search{
    font-weight: 200;
    font-size: 10px;
    line-height: 12px;
    color: #000000;
    margin-left: 450px;
    
    padding-bottom: 50px;
}
.title-gallery{
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 28px;
    color: #000000;
    padding-left: 120px;
    padding-bottom: 50px;
}
.text-opacity{
    font-size: 15px;
    color: #a7a7a7;
}
.video-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 30px;
    column-gap: 30px;
    padding-left: 100px;
   
    
}
.for-heart{
    position: relative;
}
.far{
    position: absolute;
    bottom: 54px;
    right: 20px;
}
.far2{
    position: absolute;
    bottom: 65px;
    right: 20px;
}
.far2a{
    position: absolute;
    bottom: 69px;
    right: 20px;
}

.far3{
    position: absolute;
    bottom: 53px;
    right: 20px;
}
.far4{
    position: absolute;
    bottom: 53px;
    right: 20px;
}
.video-position{
    width:200px;
    background: #575656;
    border: #575656;
    border-radius: 4px;
    padding: 10px 11px 20px 11px;
}

.video-descrip{
    font-weight: normal;
    font-size: 15px;
    line-height: 12px;
    color: #000000;
    max-width: 175px;

    
}

.button-pos{
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
}
.button-video{
    background: #E0A93E;
    border-radius: 4px;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 146.4%;
    text-align: center;
    color: #0D0D0D;
    padding: 8px 20px;
    border: none;
}
.button-video:hover{
    background: #000000;
    color:#E0A93E
}
.aside-search {
    margin-left: -20px;
    display: inline-block;
    margin-top: 150px;
}
.filter{
    padding-bottom: 50px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}




.footer{
    background: #6F716E;
    padding: 50px;

}
.get-app-footer{
    background: #6F716E;
    font-weight: 600;
    font-size: 20px;
    line-height: 146.4%;
    color: #000000;
    padding-top: 108px;
    padding-left: 950px;
}
.footer-google-play, .footer-app-store{
    padding-top: 50px;
    margin-right: 50px;
    border: none;
    background-color: #6F716E;
    padding-left: 900px;
}
.footer-app-store{
    padding-left: 950px;
}


.footer-flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-title{
    font-weight: 500;
    font-size: 16px;
    line-height: 146.4%;
    color: #FFFFFF;
}
.footer-logo-regular{
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    color: #FFFFFF;
    
}
.footer-logo-bold{
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    color: #FFFFFF;
}
.footer-logo-regular>li{
    padding: 10px 0 10px 0;
}
.down-text{
    max-width: 160px;
    font-weight: normal;
    font-size: 8px;
    line-height: 9px;
    color: #FFFFFF;
    padding: 100px 500px 0 ;
}
.footer-li>a{
    text-decoration: none;
    color: #FFFFFF;
    cursor: pointer;
}





/* бургерное меню */

@media (max-width: 1090px){
    .checkbox, .checkbox-wrapper{
        display: block;
    }

    .header-nav{
        display:none;
    }

    .menu{
        position: relative
    }

    .checkbox-wrapper{
        z-index: 2;
    }

    .checkbox{
        position: absolute;
        z-index: 3;
        display: block;
        width: 30px;
        height: 30px;
        opacity: 0;
    }

    .checkbox:checked ~ .checkbox-wrapper>.check:first-of-type{
       transform: rotate(45deg) translate(3px, 3px)
    }

    .checkbox:checked ~ .checkbox-wrapper>.check:last-of-type{
        transform: rotate(-45deg) translate(5px, -6px)
    }

    .checkbox:checked ~ .checkbox-wrapper>.check:nth-child(2){
        opacity: 0;
    }

    .checkbox:checked ~ .header-nav{
        display: block;
        position: fixed;
        background: beige;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 1;
    }

    .header-nav{
        text-align: center;
    }

    .header-li, .header-log, .header-acc{
        display: block;
        margin-right: 0;
        margin-bottom: 20px;
        
    }

    ul{
        margin-top: 10%;
    }
}


@media (max-width: 1140px){
    .container{
        max-width: 950px;
    }
    .header {
        
        padding-left: 125px;
    }
    .header-acc, .header-log {
        padding-left: 367px;
        
        
    }
    
    .video-grid {
        
        padding-left: 1px;
    }
    .down-text {
        
        padding: 10px 50px 0;
        padding-left: 400px;
    }
} 

/* для планшетов */
@media (max-width: 1000px){
    .container{
        max-width: 850px;
    }
    .logo {
        
        margin-right: 0;
    }
    .header-search {
        padding-left: 20px;
        padding-right: 100px;
    }
    .menu {
        position: relative;
        padding-bottom: 50px;
        padding-right: 100px;
    }
    .header-nav>a {
        padding-left: 100px;
    }
    .header-acc, .header-log {
        border: none;
        background: beige;
        margin-left: 250px;
    }
    .header-acc {
        padding: 10px;
        margin-left: 495px;
    }
    .header-log {
        padding: 10px;
        margin-left: 510px;
    }
    .aside-search {
        margin-left: 0;
        display: inline-block;
    }
    .video-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        row-gap: 30px;
        column-gap: 30px;
        padding-left: 165px;
    }
}  


/* для мобильных */
@media(max-width:550px){
    .container{
        max-width: 450px;
        
    }
    .header-container {
        flex-direction: column;
        
    }

    .logo {
        margin-left: -260px;
    }
    .header-search {
        
        margin-right: 80px;
    }
    .menu {
        padding-left: 300px;
        
        
    }
    .header-log {
        padding: 10px;
        margin-left: 280px;
    }
    .header-acc {
        padding: 10px;
        margin-left: 265px;
    }
    .fa-instagram {
        
        top: 0;
        
        bottom: 160px;
    }
    .fa-facebook-square{
        top: 0;
        bottom: 160px;
    }
    .fa-youtube {
        top: 0;
        right: 0;
    }
    .sort-search {
        
        margin-left: 20px;
        padding-bottom: 50px;
    }
    .form-search{
        padding-bottom: 30px;
    }
    .video-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        row-gap: 30px;
        column-gap: 30px;
        
    }
    .far {
        position: absolute;
        bottom: 54px;
        right: 160px;
    }
    .down-text {
        padding: 10px 50px 0;
        padding-left: 150px;
    }
}    

/* для 480 */
@media(max-width:480px){
    .container{
        max-width: 430px;
        
    }
    .logo {
        margin-left: -250px;
    }
    .header-search {
        padding-left: 0;
        
        margin-right: 80px;
    }
    .menu {
        padding-left: 10px;
        
        padding-right: 10px;
    }
    .header-log {
        padding: 10px;
        margin-left: initial;
        margin-left: 250px;
    }
    .header-acc {
        padding: 10px;
        margin-left: initial;
        margin-left: 230px;
    }
    .fa-instagram {
        top: -120px;
        bottom: 160px;
    }
    .fa-facebook-square {
        top: -120px;
        bottom: 160px;
    }
    .fa-youtube {
        top: -120px;
        right: 0;
    }
    .far {
        position: absolute;
        bottom: 54px;
      
        right: 70px;
    }
    .aside-search {
        margin-left: 0;
        display: inline-block;
        padding-top: 20px;
    }
    .footer-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
    }
    .footer-title {
        font-weight: 500;
        font-size: 16px;
        line-height: 146.4%;
        color: #FFFFFF;
        padding-bottom: 50px;
    }
    .footer-logo-regular {
        font-weight: normal;
        font-size: 12px;
        line-height: 14px;
        color: #FFFFFF;
        padding-bottom: 50px;
    }
    .footer-logo-regular>li {
        padding: 20px 0 20px 0;
    }
    .down-text {
        padding: 10px 50px 0;
        padding-left: 100px;
    }
    
}   

/* для 360 */
@media(max-width:360px){
    .container{
        max-width: 290px;
        
    }
    .header {
        padding: 15px 0;
        padding-left: 60px;
    }
    .menu {
        padding-left: 60px;

        padding-right: 0;
    }
    .header-log {
        padding: 10px;
        margin-left: initial;
        margin-left: 200px;
    }
    .header-acc {
        padding: 10px;
        margin-left: initial;
        margin-left: 190px;
    }
    .form-search {
        padding-left: 0;
    }
    .text-for-search {
        
        flex-direction: column;
    }
    .sort-search {
        margin-left: 150px;
        
    }
    .form-sort{
        margin-left: 150px;
    }
    .title-gallery {
        
        padding-left: 150px;
        padding-bottom: 50px;
    }
    .video-grid {
        padding-left: 45px;
        padding-top: 80px;
        grid-template-columns: repeat(1, 1fr);
    }
    .far {
        position: absolute;
        bottom: 54px;
        right: 30px;
    }

}    