* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: black;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: black;
    padding: 12px 16px;
    border-bottom: 1px solid black;
    position: sticky;
    top: 0;
    z-index: 10;
    margin-left: 70px;
}

.search-bar {
    flex: 0.99;
    display: flex;
    align-items: center;
    background-color: #1c1a1a;
    margin: 5px;
    border-radius: 15px;
    padding: 12px 16px;
    height: 47px;
}

.search-bar i {
    margin-right: 10px;
    color: #555;
    font-size: 18px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 16px;
}

.profile {
    display: flex;
    align-items: center;
    gap: 8px
}

.fa-chevron-down {
    color: #555;
}

.profile-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 15px;
    background-color: #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 30px;
    height: 30px;
}

.side-bar {
    height: 100vh;
    width: 50px;
    background-color: black;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    gap: 55px;
    z-index: 20;
}

.side-bar i {
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.side-bar i:hover {
    color: #e60023;
    transform: scale(1.07)
}

.fa-gear {
    margin-top: auto;
    margin-bottom: 15px;
    height: 23px;
}

.main-container {
    margin-left: 70px;
    margin-top: 16px;
    padding: 16px 8px 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-auto-rows: 10px;
    justify-content: center;
    width: calc(100vw - 70px);
}

.card {
    padding: 0;
    margin: 12px 10px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.card img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.card img:hover {
    transform: scale(1.05);
}

.card-s {
    grid-row-end: span 26;
}

.card-m {
    grid-row-end: span 33;
}

.card-l {
    grid-row-end: span 45;
}

.sidebar-toggle {
    display: none;
}

.side-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 70px;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    gap: 55px;
    border-right: 1px solid black;
    z-index: 20;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: black;
    padding: 12px 16px;
    border-bottom: 1px solid black;
    positon: sticky;
    top: 0;
    z-index: 10;
    margin-left: 70px;
}

.responsive-logo {
    display: none;
}

.main-container {
    margin-left: 70px;
    margin-top: 16px;
    padding: 16px 8px 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-auto-rows: 10px;
    justify-content: center;
    width: calc(100vw - 70px);
}