

/* --------------------------------------------------------
------------------- INITIALIZE CSS ------------------------
-------------------------------------------------------- */


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




/* --------------------------------------------------------
----------------------- TYPE SCALE ------------------------
-------------------------------------------------------- */



html{
    font-size: 100%; /*16px*/
    font-family: 'Grand-Slang-B-Side', sans-serif;
}

@font-face {
    font-family: 'Grand-Slang-B-Side';
    src: url('../fonts/GrandSlang-B-Side.woff2') format('woff2'),
    url('../fonts/GrandSlang-B-Side.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Krona+One&display=swap');

body {
    font-family: 'Grand-Slang-B-Side', sans-serif;
    color:white;
    overflow: hidden;
    background-image: url("../image/bg-fckn.jpg"); /* The image used */
    background-color: #07060a;
    height: 100vh;
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
    font-weight: 400;
    line-height: 1.75;
}

p {
    margin-bottom: 1rem;
}

h1, h2, h3, h4, h5 {
    margin: 3rem 0 1.38rem;
    font-family: 'Grand-Slang-B-Side', sans-serif;
    font-weight: 400;
    line-height: 1.3;
}

h1 {
    margin-top: 0;
    font-size: 3.5rem;
    font-weight:normal;
}

h2 {font-size: 3.157rem;}

h3 {font-size: 2.369rem;}

h4 {font-size: 1.777rem;}

h5 {font-size: 1.333rem;}

small, .text_small {font-size: 0.75rem;}

.topbar{
    display: flex;
    color:#fff;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    padding:0vw 15vw 0vw 5vw;
    height:150px;

}

.wrapper-bloc{
    height:100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin-top: -150px;
    padding: 0vw 10vw;
}

.part-one, .part-two{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:50vw;
    height:100vh;
}
.part-one img{
    width:50vw;
}



.link{
    color:white;
    text-decoration: none;
    font-size:40px;
    display: inline-block;
    line-height:45px;
    margin-bottom: 20px;
}

.link::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: white;
    transition: width .3s;
}

.link:hover::after {
    width: 100%;
//transition: width .3s;
}

.legals .link{

    color:white;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    line-height:5px;

}

.legals{
    display: flex;
    position: absolute;
    bottom: 120px;
    right:-10px;
    transform: rotate(-90deg);

    /* Legacy vendor prefixes that you probably don't need... */

    /* Safari */
    -webkit-transform: rotate(-90deg);

    /* Firefox */
    -moz-transform: rotate(-90deg);

    /* IE */
    -ms-transform: rotate(-90deg);

    /* Opera */
    -o-transform: rotate(-90deg);

    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

@media screen and (max-width: 768px){
    body{
        overflow: auto;
        overflow-x: hidden;
    }
    .topbar{
        justify-content: center;
        padding:0;
    }
    .wrapper-bloc{
        display: flex;
        flex-direction: column;
        height:auto;
    }
    .legals{
        display: flex;
        justify-content: center;
        transform: none;
        font-size: 22px;
        position: relative;
        text-align: center;
        padding:10vw 0vw;
        bottom:0;
        right:0;
    }
    .legals p{
        margin-bottom: 0;
    }
    .part-one{
        height:auto;
        margin-top:10vh;
        order:2;
    }
    .part-two{
        height:auto;
        margin-top:20vh;
        order:1;
    }
    .part-one img{
        width:100vw;
    }

}






