body{
    overflow: hidden !important;
}

#player {
    width: 100vw;
    height: 100vh;
}

bundle-3ds-sonarv2 {
    position: absolute;
    width: 0;
    height: 0;
}

#debug-buttons {
    position: absolute;
}

.wux-afr-watermark{
    display: none !important;
}

#loading-screen{
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: white;
    z-index: 100;
}

#loading-screen-div{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro-button{
    height: 60px;
    width: 180px;
    margin-bottom: 20px;
    margin-top: 20px;
    background: linear-gradient(90deg, rgb(237, 161, 82), rgb(228, 119, 67));
    border: 2px solid white;
    color: white;
    font-weight: bold;
    font-family: 'MontSerrat_Regular';
    font-size: x-large;
    box-shadow: 0 0 7px #c9c9c9;
}

.intro-button:hover{
    background: rgb(183, 186, 195);
    cursor: pointer;
}

#loading-screen-div > img{
    width: 900px;
}

#loading-screen-div > h1
{
    color: black;
    font-size: x-large;
    font-weight: bold;
    margin-top: 60px;
    font-family: 'MontSerrat_Regular', serif;
}

#intro-video{
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

#videos, #carouselDiv, #map {
    height: 100vh;
    width: 100vW;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

#videos > video, .sonar-container{
    height: 100vh;
    width: 100%;
    animation: fadein 1s;
    overflow-y: hidden;
    background-color: black;
}

#videos > input[type="button"], #carouselIndicators> input[type="button"],.sonar-container > input[type="button"], #minigame > input[type="button"], #quizz-sonar > input[type="Button"]{
    width: 40px;
    height: 40px;
    background-color: #f45c5c;
    color: white;
    position: absolute;
    top: 2vh;
    right: 2vw;
    border: none;
    font-size: 16px;
    z-index: 11;
}

#videos > input[type="button"]:hover, #carouselIndicators> input[type="button"]:hover, .sonar-container > input[type="button"]:hover, #minigame > input[type="button"]:hover, #quizz-sonar > input[type="Button"]:hover {
    background-color: #ff0000;
}

#scroll {
    display: none !important;
}

#BoutonHomeScreenBack{
    display: none !important;
}

#BoutonMuteBack{ display: inline-block; cursor: pointer; background: url("../MO_HTMLTemplate/Images/ButtonIconeSettingDeactivate.png"); }
#BoutonMuteBack:hover{ display: inline-block; cursor: pointer; background: url("../MO_HTMLTemplate/Images/ButtonIconeSettingActivate.png"); }

@keyframes fadein {
    from {
        /*transform:translate(0,-100%);*/
        opacity: 0;
    }

    to {
        /*transform:translate(0, 0);*/
        opacity: 100%;
    }
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}


.carousel-item{
    height: 100vh;
}

.carousel-item > img{
    height: 100vh;
    object-fit: contain;
}

#carouselDiv{
    background-color: black;
}

#map > div > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/*firefox specific */
@-moz-document url-prefix(){
    #minigame{
        background-color: rgba(41, 41, 41, 0.7);
    }
}

@-moz-document url-prefix(){
    #quizz-sonar{
        background-color: rgba(17, 17, 17, 0.8);
    }
}

#minigame {
    width: 100vw;
    height: 100vh;
    position: absolute;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadein 1s;
    overflow-y: auto;
    padding-bottom: 17vh;
}

#minigame > .title {
    text-align: center;
    text-shadow: black 0px 0px 5px, black 0px 0px 15px;
    display: flex;
    align-items: center;
    margin: 0 60px 50px 0;
}

#minigame > .title > h1{
    font-size: 1.2em;
    font-weight: bold;
}

#minigame > #answers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-self: center;
}

#minigame > #answers > div {
    min-width: 150px;
    width: 15vw;
    min-height: calc(300px + 1em);
    height: 40vh;
    display: flex;
    flex-direction: column;
    transition: 0.2s;
    background-color: rgba(41, 41, 41, 0.7);
    margin: 5px;
}

#minigame > #answers > div:hover {
    transform: scale(1.05);
}

#minigame > #answers > div > span {
    font-size: 1em;
    text-align: center;
}

#minigame > #answers > div > img {
    width: 100%;
    height: calc( 300px - 1em);
    object-fit: contain;
}

#errorMessage > h1 {
    font-size: 1.2em;
    margin: 20px;
}

#errorMessage {
    width: 80vw;
    background-color: rgba(165, 42, 42, 0.753);
    text-align: center;
    animation: shake 0.5s;
    margin: auto;
}

#goodMessage > h1{
    font-size: 1.2em;
    margin: 20px;
}

#goodMessage {
    width: 80vw;
    background-color: rgba(46, 165, 42, 0.753);
    text-align: center;
    margin: auto;
}

#quizz-sonar{
    width: 100vw;
    height: 100vh;
    position: absolute;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation-delay: 1s;
    animation: fadein 1s;
    overflow-y: auto;
    padding-bottom: 17vh;
}

#quizz-sonar > .title {
    text-align: center;
    text-shadow: black 0px 0px 5px, black 0px 0px 15px;
    display: flex;
    align-items: center;
    height: 15vh;
}

#quizz-sonar > .title > h1{
    font-size: 1.2em;
    font-weight: bold;
}

#quizz-sonar p
{
    text-align: center;
    font-size: 23px;
    margin-bottom: 30px;
    text-shadow: black 0px 0px 5px, black 0px 0px 15px;
}

#quizz-sonar input[type="number"] {
    outline: none;
    border: none;
    background-color: #343434;
    color: white;
    font-size: x-large;
    text-align: center;
    width: 230px;
    height: 50px;
}

#quizz-sonar-unit{
    outline: none;
    border: none;
    width: 70px;
    height: 50px;
    background-color: grey;
    color: white;
    font-size: x-large;
}

#quizz-sonar-validate
{
    height: 50px;
    margin-bottom: 20px;
    margin-top: 20px;
    background: linear-gradient(90deg, rgb(237, 161, 82), rgb(228, 119, 67));
    border: 2px solid white;
    color: white;
    font-weight: bold;
    font-family: 'MontSerrat_Regular';
    box-shadow: 0 0 7px white;
}

#quizz-sonar img{
    width: 45vw;
    margin-right: 10vw;
}

#errorMessageSonar > h1 {
    font-size: 1.2em;
}

#errorMessageSonar {
    background-color: rgba(165, 42, 42, 0.753);
    text-align: center;
    animation: shake 0.5s;
    padding: 10px;
}

#goodMessageSonar > h1 {
    font-size: 1.2em;
    padding: 10px;
}

#goodMessageSonar {
    background-color: rgba(46, 165, 42, 0.753);
    text-align: center;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.carousel-item{
    overflow-y: auto;
    cursor: zoom-in;
}

.zoomed{
    cursor: zoom-out !important;
}

.fadeout{
    transition: fadeoutanim 1s;
}

@keyframes fadeoutanim {
    from {
        opacity: 100%;
    }

    to {
        opacity: 0;
    }
}

#hover {
    position: absolute;
    bottom: 80px;
    text-align: center;
    width: 50%;
    transform: translate(50%, 0);
}

#hover > * {
    background-color: rgba(0, 0, 0, 0.671);
    padding: 10px;
    font-weight: bold;
    font-size: 1.2em;
    white-space: pre-wrap;
    line-height: 50px;
}