*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #161616;
    background: linear-gradient(90deg, #f9f8f8 50%, #ffffff 50%);
}

header a {
    font-size: 1.5rem;
    color: inherit;
    text-decoration: none;
    font-weight: 400;
}

header {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.burger-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 30px;
    height: 25px;
}

.burger-menu div {
    width: 30px;
    height: 3px;
    background-color: #161616;
}

.active {
    gap: 0;
}

.active div:nth-child(1) {
    transform: translate(0, 400%) rotate(45deg);
}

.active div:nth-child(2) {
    display: none;
}

.active div:nth-child(3) {
    transform: translate(0, 300%) rotate(-45deg);
}

.burger-menu .active div:nth-child(1) {
    transform: translate(0, 100%), rotate(45deg);
}

.mobile-nav {
    display: none;
    width: 100vw;
    height: calc(100vh - 5rem);
    background: linear-gradient(90deg, #f9f8f8 50%, #ffffff 50%);
    position: absolute;
    top: 5rem;
    left: 0;
    padding: 1rem;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav a {
    font-weight: 500;
    display: inline-block;
    margin: 0.5rem 0;
    font-size: 2rem;
}

.mobile-nav ul:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-nav i {
    font-size: 1.5rem;
}

.desktop-nav {
    display: none;
}

.photo-block {
    padding: 1.25rem;
    text-align: center;
    font-weight: 300;
}

.photo-block img {
    width: 100%;
    margin-bottom: 1rem;
}

#about {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
}

#about h2 {
    margin: 1rem 0;
    font-size: min(6vw, 2rem);
    font-weight: 900;
}

#about p {
    line-height: 2.5rem;
}

#about li {
    list-style-position: inside;
    margin: 1rem;
    font-size: min(3vw, 1rem);
}

#about div {
    margin: 5rem 0;
}

@media screen and (min-width: 600px) {
    .mobile-nav a {
        font-size: 2.75rem;
    }
    .mobile-nav i {
        font-size: 2rem;
    }
}

@media screen and (min-width: 1024px) {
    .burger-menu {
        display: none;
    }

    .mobile-nav, .mobile-nav ul, .mobile-nav li {
        height: 0;
        display: none;
    }

    .desktop-nav {
        display: block;
    }

    .desktop-nav ul {
        list-style: none;
        display: flex;
        gap: 1.5rem;
    }

    .desktop-nav a {
        font-size: 0.875rem;
        font-weight: 500;
        padding: 1rem;
    }

    #work-section {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
    }

    .photo-block {
        max-width: 38%;
        margin: 5% 0;
    }

    header {
        padding: 1.5rem 3.5rem;
    }
}

