@font-face {
    font-family: 'PPNeueMontreal', sans-serif;
    src: url(PPNeueMontreal-Medium.woff2);
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 100%;
    font-weight: 400;
}

:root{
    --primary-color: #e42313;
    --secondary-color:  rgb(250, 215, 215);
}


body{
    font-family: 'PPNeueMontreal', sans-serif;
    font-optical-sizing: auto;
    color: var(--secondary-color);
}


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

/*----------Grid----------*/

.container-fluid{
    padding-left: 2rem;
    padding-right: 2rem;
}

.row{
    --bs-gutter-x: 1em;
}

/*----------Header----------*/

header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3rem;
    padding: 0 2rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    background-color: white;
}

.logo{
    list-style: none;
}

header .logo{
    display: flex;
    align-items: center;
}

header .logo img{
    display: inline-block;
    margin-right: .5rem;
    width: 3rem;
    height: 3rem;
}

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

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

header nav ul li a{
    border-bottom: border 0.1s;
}

header nav ul li a:hover{
    border-bottom: 2px solid var(--primary-color);
}


/*----------Main----------*/

main{
    margin-top: 3rem;
    min-height: calc(100vh - 8rem);
    background-color: var(--terciary-color);
}


main.work{
    padding-top: 1rem;
}

main.about{
    font-size: 5rem;
    line-height: 5.5rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
    color: var(--primary-color);
}

main.single{
    padding: 2rem 0;
}

/*---------- Home ----------*/

main.home{
    min-height: calc(100vh - 3rem);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    background-color: var(--primary-color);
}

main.home .home-image img{
    width: 100%;
    height: auto;
    display: block;
}

/*---------- Work * Card ----------*/

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

.work .card-image {
    width: 100%;
    padding-bottom: 60%;
    background-size: cover;
    background-position: center;
    margin-bottom: .5rem;
    transition: transform 0.2s;
}

.card-image:hover{
    box-shadow: 0 4px 8px var(--primary-color);
}

.work .card-title{
    font-size: 2.5rem;
    line-height: 1.3;
    color: var(--primary-color);
}

@media(max-width: 992px) {
    .work .card-title{
        font-size: 1.8rem;
        line-height: 1.3;
        color: var(--primary-color);
    }
}

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


.work .card-text{
    font-size: 1.25rem;
    line-height: 1.4rem;
    color: var(--primary-color);
}

@media(max-width: 992px) {
    .work .card-text{
        font-size: o.8rem;
        line-height: 1;
        color: var(--primary-color);
    }
}

@media(max-width: 576px) {
    :root {
        font-size: 1rem;
        line-height: 0.8rem;
    }
}

/*----------Single----------*/

.single-info{
    position: sticky;
    top: 7rem;
    color: var(--primary-color);
}

.single-title{
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.single-tagline{
    font-size: 1.25rem;
    line-height: 1.4rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.single-images{
    list-style: none;
}

.single-image {
    margin-bottom: 1rem;
}

.single-image img{
    width: 100%;
    height: auto;
    display: block;
}
/*----------Footer----------*/

footer{
    padding: 1rem 2rem;
    color: #e42313;
    font-size: 1.5rem;
}

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

footer nav ul li{
    margin-left: 1rem;
}

footer nav ul li img{
    display: block;
    height: 1.25rem;
    height: 1.25rem;
}

@media(max-width: 992px) {
    footer{
        padding: 1rem 2rem;
        color: #e42313;
        font-size: 1rem;
       line-height: 1.5rem;
    }
}

@media(max-width: 576px) {
    :root {
        font-size: 1rem;
        align-items: center;
        display: flex;
    }
}


