html,
body {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
}

body {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    font-size: 14px;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.module {
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-width: 320px;
    position: relative;
    margin: 0;
    max-height: 100%;
    border: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #ffffff;
}

.module div {
    position: absolute;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.bkgd {
    position: absolute;
    top: 0;
    left: 0;
    width: 107%;
    height: 100%;
    transform: translateX(-6%);
}

.bkgd picture {
    display: block;
    width: 100%;
    height: 100%;
}

.bkgd img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: 30;
    top: 0;
    left: 0;
    overflow: hidden;
}

.watch {
    z-index: 2;
    position: relative;
}

.hidden {
    opacity: 0;
}

.js-banner {
    opacity: 0;
}

.montre {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.heures,
.minutes,
.secondes {
    -webkit-transform-origin: 50% 50% !important;
    -moz-transform-origin: 50% 50% !important;
    -ms-transform-origin: 50% 50% !important;
    transform-origin: 50% 50% !important;
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.watch_over {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
}

.heures {
    transform: rotate(-150deg);
    -webkit-transform: rotate(-150deg);
    -moz-transform: rotate(-150deg);
    -ms-transform: rotate(-150deg);
    -o-transform: rotate(-150deg);
}

.minutes {
    transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
    -moz-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    -o-transform: rotate(30deg);
}

.secondes {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
}

#logo .logo-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
}

#logo {
    display: block;
    text-align: center;
    position: absolute;
    z-index: 10;
}

#logo .logo-txt {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.shadow {
    position: absolute !important;
    z-index: 1 !important;
}

.overlay #watch img {
    width: auto;
    height: 100%;
}

@media (orientation: landscape) {
    .overlay {
        width: 100%;
        height: 100%;
    }

    #watch {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform-origin: 0 0;
        width: auto;
       height: 90vh;
    }

    #logo {
        position: absolute;
        width: 30vh;
        top: 14vh;
        right: 7vh;
    }

    #logo img {
        width: 100%;
    }

    #watch_box {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

@media (orientation: portrait) {
    #watch_box {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    #watch {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform-origin: 0 0;
        width: 90vw;
        height: auto;
    }

.overlay #watch img {
    width: 100%;
    height: auto;
}


    .overlay {
        height: 100%;
    }

       #logo {
        position: absolute;
        width: 100%;
        top: 8vh;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }

    #logo img {
        width: 17vh;
    }
}

@media all and (max-width: 320px) {
    #watch {
        top: 45%;
        left: 50%;
        width: 306px;
        height: 515px;
        transform-origin: 0 0;
        transform: scale(0.5) translate(-50%, -50%);
        -webkit-transform: scale(0.5) translate(-50%, -50%);
        -moz-transform: scale(0.5) translate(-50%, -50%);
        -ms-transform: scale(0.5) translate(-50%, -50%);
    }
}

@media (aspect-ratio: 1/1) {
  #logo .logo-img {
    height: 50%;
    width: auto;
    top: 50%;
  }
  #watch {
    height: 50vh;
  }
}