* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f5;
    color: #111;
}


/* -------------------------
   LEFT MENU
------------------------- */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;

    width: 220px;
    height: 100vh;

    padding: 40px 30px;

    display: flex;
    flex-direction: column;

    background: #f7f7f5;
}

.logo {
    font-size: 18px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.logo span {
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 400;
}

nav {
    margin-top: 70px;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

nav a,
.social a {
    color: #111;
    text-decoration: none;
    font-size: 13px;
}

nav a {
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

nav a:hover,
nav a.active {
    opacity: 1;
}

.social {
    margin-top: auto;
}


/* -------------------------
   PHOTO GRID
------------------------- */

.gallery {
    margin-left: 220px;

    padding: 30px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.gallery figure {
    margin: 0;
    overflow: hidden;
    background: #ddd;
}

.gallery img {
    display: block;

    width: 100%;
    height: auto;

    transition: transform 0.5s ease;
}

.gallery figure:hover img {
    transform: scale(1.015);
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 700px) {

    .sidebar {
        position: relative;

        width: 100%;
        height: auto;

        padding: 25px 20px;

        flex-direction: row;
        align-items: center;
    }

    nav {
        margin: 0 0 0 auto;

        flex-direction: row;
        gap: 18px;
    }

    .social {
        display: none;
    }

    .gallery {
        margin-left: 0;
        padding: 10px;

        grid-template-columns: 1fr;
        gap: 10px;
    }
}