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

:root {
    --primary-color: #171717;
    --background-color: #f5f5f5;
}

@media (max-width:992px){
    :root{
        font-size: 15px;
    }
}

@media (max-width:576px){
    :root{
        font-size: 14px;
    }
}

body {
    font-family: montserrat, sans-serif;
    font-weight: 500;
    font-style: normal;
    background-color: var(--background-color);
}

.container-fluid {
    padding: 0 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
}


/* HEADER */

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 4.5rem;
    padding: 0 1.5rem;

    background-color: var(--background-color);

    font-size: 1.5rem;
    text-transform: uppercase;

    z-index: 100;
}

header a {
    transition: opacity .3s ease-in-out;
}

header a:hover {
    opacity: .5;
}

header img{
    margin-top: 0.75rem;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 1.5rem;
}



/* MAIN */
main {
    margin-top: 4.5rem;
    min-height: calc(100vh - 4.5rem);
    min-height: calc((var(--vh, 1vh) * 100) - 4.5rem);
}

/* HOME */

.home main{
    padding: 0 1.5rem 1.5rem;
    height: calc(100vh - 4.5rem);
}

.home .home-image {
    height: calc(100vh - 4.5rem);
    height: calc((var(--vh, 1vh) * 100) - 6rem);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


/* WORK */
.work main {
    padding-top: 1.5rem;
}

.work .card {
    margin-bottom: 3rem;
}

.work .card-image {
    transition: .3s ease-in-out;
    filter: grayscale(100%);
    background-color: black;
    padding-bottom: 60%;
    margin-bottom: 1.5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
}

.work .card-image:hover{
    filter: grayscale(0%);
}

@media (max-width:992px){
    .work .card-image {
        filter: grayscale(0%);
    }
}

.work .card-title {
    font-size: 1.5rem;
    margin-bottom: .2rem;
    text-transform: uppercase;
}

/* ABOUT */

.about main{
    height: calc(100vh - 4.5rem);
    height: calc((var(--vh, 1vh) * 100) - 4.5rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about section {
    padding: 1.5rem 0;
}

.about .about-text {
    font-size: 3.5rem;
}

.about .contacts {
    font-size: 1.25rem;
}

.about .contacts ul{
    list-style: none;
}

@media (max-width: 992px){
    .about .about-text{
        font-size: 2.5rem;
    }
}

@media (max-width: 576px){
    .about .about-text{
        font-size: 2rem;
    }
    .about .contacts{
        font-size: 1rem;
    }
}

/* PROJECT */
.project .project-image {
    position: sticky;
    top: 5rem;
    height: calc(100vh - 10rem);
    height: calc((var(--vh, 1vh) * 100) - 4.5rem);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    background-color: black;
}

.project .project-content {
    padding-top: 1.5rem;
    background-color: var(--background-color);
    
}

.project .project-content section {
    padding: 1.5rem 0;
}

.project .project-title{
    font-size: 1.5rem;
    text-transform: uppercase;
}

.project .project-subtitle{
    font-size: 1rem;
    margin-top: .5rem;
}

.project .project-description ul li{
    list-style: none;
}

.project .project-gallery img {
    width: 100%;
    height: auto;
    display: block;
    background-color: #000;
}

.project .project-gallery img+img {
    margin-top: 1.5rem;
}

@media (max-width: 576px){
    .project-subtitle{
        margin-bottom: 1.5rem;
        margin-top: 0;
    }
}