* {
    margin: 0;
    padding: 0;
    color: #352d22;
    font-family: "amandine", sans-serif;
    font-weight: 400;
    font-style: normal;
    scroll-behavior: smooth;
    }

body {
    width: 100vw;
    overflow-x: hidden;
    background-color: #ebe6db;
    position: relative;
}

#bgimg {
    position: fixed;
    top: 10%;
    left: 75%;
    width: 15%;
    height: 80%;
    background-image: url(images/elle-leontiev-SbJrPrOxTvU-unsplash.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all .1s ease;
    border-radius: 5px;
    z-index: 10;
}

header {
    width: 100vw;
    border-bottom: solid 2px #352d22;
    position: fixed;
    padding-left: 10px;
    top: 0;
    z-index: 8;
}

header h1 {
    font-size: 32px;
}


header p {
    position: absolute;
    top: 10px;
    right: 50px;
    line-height: 40px;

}

#headDrop {
    position: relative;
}

main {
    position: relative;

}

#maincont {
    position: relative;
    margin-top: 50px;
}

.maincontbox {
    padding: 100px;
    transition: all .3s ease;
    cursor: pointer;
    position: relative;
}

.maincontbox h2 {
    font-size: 24px;
    position: relative;
    padding-left: 0;
    transition: all .3s ease;
}

.maincontbox::before {
    content: '';
    position: absolute;
    top: 35%;
    left: -10%;
    width: 60px;
    height: 60px;
    background-image: url(images/marker.png);
    background-size: cover;
    transition: all .3s ease;
}

.maincontbox:hover::before {
    left: 60px;
}

article {
    padding-left: 50%;
    padding-right: 20%;
    padding-top: 250px;
    position: relative;
    max-width: 100vw;
}

article p {
    margin-top: 20px;
    z-index: 5;
    position: relative;
    line-height: 1.8;
}

article h2 {
    z-index: 5;
    position: relative;
}

article img {
    width: 30%;
    position: absolute;
    top: 15%;
    left: 48%;
}

.textbox {
    display: flex;
}

.textbox p:nth-child(even) {
    text-align: right;
}

.artBtn {
    padding: 10px 40px;
    border-radius: 8px;
    border: unset;
    background-color: #ebe6db00;
    box-shadow:  5px 5px 0px #d6d1c7,
             -5px -5px 0px #fffbef;
    margin: 40px auto 0;
    position: relative;
    display: block;
    transition: all .1s ease;
    font-size: 14px;
}

.artBtn:active {

    box-shadow:  5px 5px 0px #fffbef,
             -5px -5px 0px #d6d1c7;

}


footer {
    border-top: solid 2px #352d22;
    margin-top: 100px;
    padding: 50px;
    z-index: 20;
    background-color: #ebe6db;
    position: relative;
}

footer p, a {
    padding-bottom: 10px;
    display: block;
}

#contOverlay {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: none;
}

#bckgrCover {
    display: inherit;
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 1000%;
    background-color: #686357;
    opacity: .6;
}

#contWind {
    display: inherit;
    position: fixed;
    background-color: #ebe6db;
    width: 50%;
    margin-left: 25%;
    border: #686357 0px solid;
    text-align: center;
    padding: 40px;
    top: 100px;
    box-sizing: border-box;
}

#contWind p {
    margin: 20px;
}

#contWind a {
    display: inline;
}

/* Legal Page */

#legal  {
    max-width: 95vw;
    padding: 50px;
}

#legal p {
    margin: 20px 0;
}

#legal ol {
    margin: 0 0 20px 40px;
}


/* MEDIA */


@media screen and (max-width: 1000px) {
    #bgimg {
        width: 25%;
        left: 65%;
    }

    #legal  {
        padding: 10px;
    }

    article {
        padding-right: 10%;
    }

    article img {
        width: 45%;
    }

    .maincontbox:nth-child(even) {
        background: linear-gradient(to right, #e4dccd, #ebe6db) ;

    }    
    
}

@media screen and (max-width: 700px) {
    #contWind {
    width: 80%;
    margin-left: 10%;
}

}


@media screen and (max-width: 580px) {
    header p {
        top: 40px;
        left: 10px;
    }

    #bgimg {
        width: 30%;
        left: 65%;
    }

    .maincontbox::before {
        display: none;
    }

}

@media screen and (max-width: 440px) {
    #bgimg {
        width: 90%;
        left: 5%;
        z-index: 0;
        height: 88vh;
        opacity: 0.3;
    }

    #maincont {
        margin-top: 95px;
    }    

    .maincontbox {
        padding: 20px;
    }    

    article {
        padding-left: 10%;
    }

    article img {
        left: 10%;
        width: 80%;
    }

    #contWind {
        width: 90%;
        margin-left: 5%;
}
}