*{ padding: 0; margin: 0; box-sizing: border-box; font-family: sans-serif; /* background-image: url(/img/michael-dziedzic-qDG7XKJLKbs-unsplash.jpg); */ } a{ text-decoration: none; color: grey; } img{ cursor:pointer; } .flex-div{ display:flex; align-items:center; } nav{ padding: 10px 2%; justify-content: space-between; box-shadow:0 0 10px rgba(0,0,0,0,2); background-color: rgb(255, 255, 255); position:sticky; top:0; z-index:10; } .nav-left .menu{ width:22px; margin-right: 25px; } .nav-left .logo{ /* width:130px; */ /* margin-top: 13px; */ width: 125px; /* margin-bottom: 0; */ } .nav-right img{ width :25px; margin-right: 25px; } .nav-right .user{ width: 45px; border-radius: 50%; margin-right: 0; } .nav-middle .mic{ width: 16px; } .nav-middle .search{ border: 1px solid #ccc; margin-right: 15px; padding: 8px 12px; border-radius: 30px; } .nav-middle .search input{ width: 400px; border: 0; outline: 0; background-color: transparent; } .nav-middle .search img{ width: 15px; border: solid black 1px; } /* sidebar */ .sidebar{ width:15%; height:100vh; background: rgb(255, 255, 255); background-image: url(/project/food53.jpg); top: 0; position: fixed; padding-left: 2%; padding-top: 80px; } .sidebar .shortcut img{ width: 20px; margin-right: 20px; } .shortcut p{ color: black; font-weight: 600; } .shortcut a{ display: flex; align-items: center; margin-bottom: 20px; width: fit-content; flex-wrap: wrap; } .sidebar hr{ border: 0; height: 1px; background: #ccc; width: 85%; } .subscribed h3{ font-size:13px; margin: 20px 0; /* color: #5a5a5a; */ color: rgb(0, 0, 0); font-weight: 500; } .subscribed a{ display:flex; align-items: center; margin-bottom: 20px; width: fit-content; flex-wrap:wrap; } .subscribed a img{ width: 35px; border-radius: 50%; margin-right: 20px; } .small-sidebar{ width: 5%; } .small-sidebar a p{ display: none; } .small-sidebar h3{ display: none; } .small-sidebar hr{ width: 505; margin-bottom: 25px; } /* main */ .container{ /* background-color: grey; */ background-image: url(/project/food53.jpg); padding-left: 17%; padding-right:2% ; padding-top: 20px; padding-bottom: 20px; } .banner img{ width:100%; border-radius: 8px; } .list-container{ display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); grid-column-gap: 16px; grid-row-gap: 30px; margin-top: 15px; } .video-list .thumbnail{ width: 100%; border-radius: 5%; } .video-list .flex-div{ align-items: flex-start; margin-top: 5px; } .video-list .flex-div img{ width:35px; margin-right: 10px ; border-radius: 50%; } .thumbnail img{ width: 35px; height: 20px; } .video-info{ color: grey; font-size: 13px; } .video-info a{ color: black; font-weight: 600; display: block; margin-bottom:5px; } footer{ background-image: url(/project/food53.jpg); } footer ul{ color: rgb(0, 0, 0); } .list{ display: flex; justify-content: center; column-gap: 40px ; padding-left: 20%; color: black; font-weight: 600; /* justify-content: space-between; */ } .copyright{ display: grid; padding-left: 20%; justify-content: center; /* padding-left: 55%; padding-right: 50%; */ } @media(max-width:920px){ .menu{ display: none; } .sidebar{ display: none; } .container,.large-container{ padding-left: 5%; padding-right: 5%; } .nav-right img{ display: none; } .nav-right .user{ display: block; width: 30px; } .nav-middle .search input{ width: 100px; } .nav-middle .mic{ display: none; } }