@font-face {
    font-family: 'ubisoft-sans-bold';

    src: url('../fonts/ubisoft-sans-bold/ubisoft-sans-bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ubisoft-sans-bold/ubisoft-sans-bold.woff2') format('woff2'),
    url('../fonts/ubisoft-sans-bold/ubisoft-sans-bold.ttf') format('truetype');

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'compacta-bt-bold';

    src: url('../fonts/compacta-bt-bold/compacta-bt-bold.ttf') format('truetype'),
    url('../fonts/compacta-bt-bold/compacta-bt-bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/compacta-bt-bold/compacta-bt-bold.woff') format('woff');

    font-weight: normal;
    font-style: normal;

    /*fix pour les écrans non rétina - la typo parraissait trop grasse*/
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*On détecte les appareils non retina*/
@media
not screen and (-webkit-min-device-pixel-ratio: 2),
not screen and (   min--moz-device-pixel-ratio: 2),
not screen and (     -o-min-device-pixel-ratio: 2/1),
not screen and (        min-device-pixel-ratio: 2),
not screen and (                min-resolution: 192dpi),
not screen and (                min-resolution: 2dppx)
{
    #title,
    #goButton {
        -webkit-font-smoothing: unset;
        -moz-osx-font-smoothing: unset;
    }
}

body {
    display: flex;
    justify-content: center;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#contentWrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#title {
    font-family: 'compacta-bt-bold', sans-serif;
    text-transform: uppercase;

    text-align: center;
}

#detail {
    font-family: 'ubisoft-sans-bold', sans-serif;
    text-align: center;
}

#beforeGoButton {
    font-family: 'ubisoft-sans-bold', sans-serif;
    text-align: center;
}

#goButton {
    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'compacta-bt-bold', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: black;
}

.link {
    text-decoration: underline;
    color: #000000;
}

.pink {
    color: #812ce4;
}

#rabbitDeskImg,
#wallPostersImg,
#guyWithBackpackImg {
    position: absolute;
}

/* Mobile / Tablette */
@media screen and (orientation: portrait) {

    html {
        width: 100vw;
        height: 100%;
    }

    body {
        background-image: url("../img/MOBILE/bg_mobile.jpg");
        width: 100vw;
        height: 100%;
    }

    #contentWrapper {
        width: 50%;
        height: 100%;
        position: absolute;
    }

    #logo {
        width: 100%;
        margin-top: -50px;
        font-weight: normal;
    }

    #title {
        font-size: 3.9vw;

        margin-top: 45px;

        font-weight: normal;
    }

    #detail {
        font-size: 3.5vw;

        margin-top: 12px;
    }

    #beforeGoButton {
        font-size: 3.5vw;

        margin-top: 10px;
        margin-bottom: 5px;
    }

    #goButton {
        font-size: 3.9vw;

        height: 37px;
        width: 90%;
        padding: 0.5vw;

        border: 2px solid #000000;
    }

    #rabbitDeskImg,
    #wallPostersImg,
    #guyWithBackpackImg {
        width: 100vw;
        height: 100%;
        object-fit: cover;
    }
}

/* Desktop */
@media screen and (orientation: landscape) {

    html {
        height: 100%;
    }

    body {
        background-image: url("../img/DESKTOP/bg_Desktop.jpg");
        height: 100%;
    }

    #contentWrapper {
        width: 490px;
        min-height: 100%;
    }

    #logo {
        width: 480px;
        margin-top: 130px;
    }

    #title {
        font-size: 26px;
        line-height: 30px;
        font-weight: normal;

        margin-top: 45px;
    }

    #detail {
        font-size: 22px;

        margin-top: 35px;
    }

    #beforeGoButton {
        font-size: 22px;

        margin-top: 140px;
        margin-bottom: 10px;
    }

    #goButton {
        font-size: 26px;

        height: 79px;
        width: 348px;

        border: 3px solid #000000;
    }

    #rabbitDeskImg,
    #wallPostersImg,
    #guyWithBackpackImg {
        display: none;
    }
}

/* Mobile landscape */
@media screen and (orientation: landscape) and (max-width: 768px) {
    body {
        background-image: url("../img/MOBILE/bg_mobile.jpg");
        width: 100vw;
        height: 250%;
        background-position: initial;
    }
}

/* Tablet landscape */
@media screen and (orientation: landscape) and (min-width: 768px) and (max-width: 1024px) {
    body {
        background-image: url("../img/MOBILE/bg_mobile.jpg");
        width: 100vw;
        height: 130%;
        background-position: initial;
    }
}

/* Tablet landscape */
@media screen and (orientation: landscape) and (max-height: 1000px){

     #contentWrapper {
        width: 55.5vh;
    }

    #logo {
        margin-top: 5vh;
        width: 55vh;
    }

    #title {
        font-size: 3vh;
        max-width: 73vh;
        line-height: 3vh;
        margin-top: 6.8vh;
    }

    #detail {
         font-size: 2.47vh;
        max-width: 100%;

        margin-top: 1vh;
    }

    #beforeGoButton {
        font-size: 2.47vh;
        margin-top: 8vh;
    }

    #goButton {
        font-size: 3vh;
        height: 9vh;
        width: 40vh;
    }
}
