html,
body{
    height: 100%;
}


body{
    /*background-color: #f5f3f3;*/
    background-color: white;
    font-family: 'Quicksand', serif;
    position: relative;
    display: flex;
    flex-direction: column;
}

#header-logo{
    position: relative;
    display: inline-block;
    vertical-align: top;
}
#header-content{
    display: inline-block;
    margin-left: 25px;
}
#main-header-container{
    position: relative;
}

#brand-name{
    font-family: 'Amatic SC', cursive;
    text-transform: lowercase;
    color: black;
    font-weight: bold;
}

#brand-name>a{
    color: black;
    text-decoration: none;
}
/*
#header-sub-container{
    margin-left: auto;
    margin-right: auto;
}*/
#header{
    position: relative;
}

#header-social{
    position: relative;
    float: right;
    opacity: 0.7;
    color: black;
    font-weight: bold;
}

#header-social>div>a{
    margin-left: 15px;
    width: 24px;
    display: inline-block;
    color: grey;
    text-decoration: none;
}

#header-social>div>a:hover{
    color: #4c4c4c;
}

#header-social>div>a.active{
    color: #2459a6;
    cursor: default;
}

#header-social>div>a>img{
    width: 20px;
}

li.nav-item.social>div>a:not(:last-child){
    margin-right: 20px;
}


/** CONTENT GENERAL **/

h1{
    font-family: 'Amatic SC', cursive;
    font-size: 5em;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-align: initial;
}

h2{
    text-align: initial;
}

.h1-title{
    display: inline-block;
    width: fit-content;
    position: relative;
    margin-bottom: 50px;
}

.h1-title>img{
    content: url(../img/underline.webp);
    position: absolute;
    right: 0;
    bottom: -98px;
    transform: rotate(353deg);
    opacity: 0.2;
}

#body-main-content{
    position: relative;
    z-index: 10;
    padding-bottom: 240px;
    flex: 1;
}

#footer-filer {
    display: block;
    position: absolute;
    left: calc(50% - 550px);
    bottom: 0px;
    width: 1100px;
    height: 198px;
    opacity: 0.2;
    background-image: url(../img/logo-filigrane.webp);
    z-index: -1;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100%;
    overflow: hidden;
}

a.nav-link{
    position: relative;
}
a.nav-link:after {
    content: "";
    background: #4e79b6;
    display: block;
    position: absolute;
    right: -13px;
    bottom: 20px;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    opacity: 0;
    transition: 0.5s;
}

a.nav-link:hover:after {
    opacity: 0.7;
    transition: 0.5s;
}
a.nav-link.active:after {
    opacity: 1;
}


@media (max-width: 991px) {

    html,
    body{
        max-width: 100%;
        overflow-x: hidden;
    }
    h1{
        font-size: 3.5em;
        text-align: initial;
    }
    #background-img>img{
        object-position: bottom;
    }
    body{
        padding: 50px 20px;
    }

    #header-social{
        float: none;
    }

    #header-social>div{
        margin-top: 20px;
    }
    #header-social>div>a{
        width: 24px;
        display: inline-block;
        margin: 0;
    }
    #header-social>div>a:not(:first-child){
        margin-left: 15px;
    }

    #header{
        margin-bottom: 50px;
    }
    #header-logo{
        position: relative;
        width: 85%;
    }
    #header-content{
        margin-left: 0;
    }
    #main-header-container{

    }

    #brand-name{
        font-size: 3em;
        padding-top: 2px;
    }
    nav{
        margin-top: 20px;
    }
    li.nav-item{
        justify-content: center;
        display: flex;
    }
    li.nav-item>a.nav-link{
        color: black !important;
        font-size: 2em;
        font-family: 'Dawning of a New Day', cursive;
        text-transform: lowercase;
        padding-top: 0;
        padding-bottom: 0;
        line-height: 1em;
        padding-left: 0 !important;
        padding-right: 0 !important;
        font-style: italic;
        width: fit-content;
    }

    li.nav-item{
        margin-bottom: 10px;
    }
    li.nav-item.social{
        margin-bottom: 25px;
    }
    #header-sub-container{
        width: 100%;
        margin: 0 auto;
        position: relative;
        text-align: center;
    }
    nav>div.container-fluid{
        text-align: center;
        align-items: center !important;
        justify-content: center !important;
    }
}
@media (min-width: 992px) and (max-width: 1500px) {
    #header-social{
        zoom: 0.8;
    }

    #header{
        padding-top: 60px;
        margin-bottom: 50px;
    }

    #header-logo{
        width: 14em;
    }


    #brand-name{
        font-size: 3em;
        line-height: 1em;
    }

    nav{
        margin-left: -14px;
    }
    li.nav-item>a.nav-link{
        color: black !important;
        font-size: 1.5em;
        font-family: 'Dawning of a New Day', cursive;
        text-transform: lowercase;
        padding-top: 1px;
        padding-bottom: 0;
        line-height: 1em;
        padding-left: 0 !important;
        padding-right: 0 !important;
        font-style: italic;
        font-weight: bold;
    }

    li.nav-item{
        margin: 0;
    }
    li.nav-item:not(:last-child){
        margin-right: 47px;
    }

}
@media (min-width: 1500px) {
    #header{
        padding-top: 60px;
        margin-bottom: 50px;
    }

    #header-logo{
        width: 17em;
    }

    #header-sub-container{
        width: 1091px;
    }

    #brand-name{
        font-size: 3em;
        line-height: 1em;
    }
    .nav-item.social > div{
        margin-top: 4px;
    }

    nav{
        margin-top: 0;
        margin-left: -14px;
    }
    li.nav-item>a.nav-link{
        color: black !important;
        font-size: 2em;
        font-family: 'Dawning of a New Day', cursive;
        text-transform: lowercase;
        padding-top: 0;
        padding-bottom: 0;
        line-height: 1em;
        padding-left: 0 !important;
        padding-right: 0 !important;
        font-style: italic;
        font-weight: bold;
    }
    li.nav-item{
        margin: 0;
    }
    li.nav-item:not(:last-child){
        margin-right: 47px;
    }
    li.nav-item.social>div>a>img{
        margin-top: 5px;
    }
}