html {
    width: 100%;
    height: 100%;
}

body {
    background-color: #F1F4F9;
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

p {
    font-size: 22px;
    font-family: 'Inter', sans-serif;
}

h1 {
    font-size: 40px;
}

span {
    font-size: 18px;
    font-family: 'Inter', sans-serif;

}

.left-div .logo {
    width: 275px;
    margin-top: 20px;
}

header {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.left-div {
    width: 400px;
    height: 100%;
    position: fixed;
    background-color: #A3B7DE;
    padding: 40px 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
}

.mob-footer {
    display: none;
}

.mob-footer .social-links a, .mob-footer .social-links a:visited  {
    color: #000;
}

.mob-footer .social-links a:hover, .mob-footer .social-links a:visited:hover {
    color: #000;
    background-color: #fff;
}

.mob-footer .copyright {
    color: #A9A9A9;
}

.nav-links {
    list-style: none;
    font-family: 'Zen Maru Gothic', sans-serif;
    letter-spacing: 0.045em;
    font-size: 20px;
    padding-left: 0px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
}

.nav-links a:hover {
    text-underline-offset: 3px;
    text-decoration: underline;
}

.social-links {
    list-style: none;
    padding-left: 0px;
    display: flex;
    font-size: 25px;
    gap: 10px;
    justify-content: flex-start;
}

.social-links a {
    padding: 2px 5px 1px 5px;
    border-radius: 4px;
}

.social-links a:hover {
    background-color: #F1F4F9;
    color: #A3B7DE;
}

.social-links a:visited:hover {
    color: #A3B7DE;
}

.social-links a, .social-links a:visited {
    color: #fff;
}

.copyright {
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    color: #F1F4F9;
    margin: 0px;
}

.section {
    overflow: scroll;
    width: calc(100% - 400px);
    margin-left: 400px;
    box-sizing: border-box;
}

.mob-nav {
    display: none;
}

.side-nav-container {
    position: fixed;
    z-index: 1000;
    height: 100%;
    background-color: #fff;
    right: 0px;
    padding: 40px;
    display: none;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.50);
    background-color: #F1F4F9;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    width: 200px;
}

.sideNavVisible {
    display: block;
    transform: translateX(0);
}

.side-nav-container .nav-links {
    gap: 10px;
}

.side-nav-container .nav-links a, .side-nav-container .nav-links a:visited {
    color: #000;
}

.top-side-nav-bar {
    width: 100%;
    text-align: right;
    margin-bottom: 40px;
}

/* Home Section */
.works-grid .container {
    max-width: 1224px;
    width: 90%;
    margin: auto;
    padding: 0px;
}

.gallery {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 10px;
}
  
.gallery__item {
align-items: center;
display: flex;
justify-content: center;
}

.gallery__item > img, .gallery__item > video {
height: 100%;
object-fit: cover;
width: 100%;
}

.gallery__item > video:focus {
outline: none;
}

.gallery__item--hor {
grid-column: span 2;
}

.gallery__item--vert {
grid-row: span 2;
}

.gallery__item--lg {
grid-column: span 2;
grid-row: span 2;
}

/* About Section */
.about-section {
padding: 40px 80px;
}

@media screen and (max-width: 800px) {
    body {
        display: block;
    }
    .left-div {
        width: 100%;
        position: relative;
        display: block;
        height: auto;
        padding: 20px 40px;
    }
    .section {
        margin-left: 0px;
        width: 100%;
    }
    header {
        align-items: center;
        gap: 15px;
        flex-direction: row;
        justify-content: space-between;
    }
    .left-div header .logo {
        width: 200px;
    }
    header .nav-links {
        flex-direction: row;
        gap: 30px;
        display: none;
    }
    .desktop-footer {
        display: none;
    }
    .mob-footer {
        display: block;
        padding: 40px;
        padding-top: 0px;
    }
    .copyright {
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .about-section {
        padding: 20px 40px;
    }
    .mob-nav {
        display: block;
        width: 100%;
        color: #fff;
        font-size: 18px;
        padding: 10px;
        text-align: center;
    }
}