*
{
    margin: 0;
    padding: 0;
}

@font-face
{
    font-family: "1942";
    src: url('../font/1942-report/1942.ttf');
}

@font-face
{
    font-family: "poplar";
    src: url('../font/poplarstdblack/PoplarStd.otf');
}

@font-face
{
    font-family: "harting";
    src: url('../font/Harting/Harting_plain.ttf');
}

@font-face
{
    font-family: "courier-prime";
    src: url('../font/courierprime/Courier\ Prime.ttf');
}

@font-face
{
    font-family: "latin-Modern-Mono";
    src: url('../font/LatinModernMono/lmmono10-regular.otf');
}

html, body, h1, h2, h3, img
{
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
	-webkit-user-drag: none;
}

.cell
{
	border: none;
	-ms-overflow-style: none;
	scrollbar-width: none;
	list-style: none;
}

::-webkit-scrollbar
{
    display: none;
}

.logo
{
    width: 17vw;
    height: fit-content;
}

.play
{
    display: flex;
    text-align: center;
    justify-content: space-between;
    width: 17vw;
    height: fit-content;
}

input
{
    display: flex;
    width: 15vw;
    height: 2vw;
    font-family: "harting";
    font-size: 2vw;
    border: solid 1px black;
    background-color: white;
    color: black;
}

.ok
{
    display: flex;
    border: solid 1px black;
    background-color: white;
    width: 2vw;
    height: 2vw;
    justify-content: center;
    align-items: center;
    font-family: "poplar";
    font-size: 1.6vw;
    vertical-align: sub;
}

.ok:hover
{
    cursor: pointer;
    background-color: black;
    color: white;
}

.entry
{
    display: flex;
}

form input[type="text"]
{
    text-transform: lowercase;
}

.button
{
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.logo img
{
    width: 100%;
    height: 100%;
}

a
{
    text-decoration: none;
    color: white;
}

a:hover
{
    color: black;
    cursor: pointer;
}

h1
{
    font-family: "poplar";
    font-size: 3.6vw;
    margin: 0;
    padding: 0;
}

h2
{
    font-family: "1942";
    font-size: 2vw;
    color: white;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

h3
{
    font-family: "poplar";
    font-size: 5vw;
    color: white;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

h4
{
    font-family: "latin-Modern-Mono";
    font-size: 1vw;
    font-weight: normal;
    font-style: italic;
}

.ici
{
    color: #a20000;
}

p
{
    font-family: "latin-Modern-Mono";
    font-size: 1vw;
}

ul
{
    font-family: "latin-Modern-Mono";
    font-size: 1vw;
    list-style:square;
    padding-left: 1vw;
}

li
{
    margin-top: 1em;;
}

body
{
    width: 100%;
    height: 100%;
    background-image: url("../img/background.jpg");
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.controw
{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 40%;
    height: fit-content;
}

#conteneur
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#conteneur section:first-child {
    display: flex;
    align-items: flex-start;
}

.cell
{
    border: 0.05vw outset white;
    border-radius: 0.5vw;
    margin-top: 0.5vw;
	-ms-overflow-style: none;
	scrollbar-width: none;
	list-style: none;
}

.liens
{
    display: flex;
}

.liens:hover
{
    background-color: rgb(200, 200, 200);
}

.textliens p
{
    color: black;
}

.textliens
{
    width: 50vw;
}

.imgliens
{
    width: 10vw;
    margin-right: 1vw;
}

.imgliens img
{
    width: 100%;
    object-fit: contain;
}

.mur
{
    display: flex;
    flex-wrap: wrap;
}

.brick
{
    display: flex;
    flex-grow: 1;
    object-fit: contain;
    margin: 0.2vw;
    padding: 0;
}

.brick img
{
    width: 100%;
}

.frame {
    width: min(75vw, calc(90vh * 75 / 40));
    aspect-ratio: 75 / 40;
    max-height: 90vh;
    overflow: hidden;
    background-color: black;
    display: block;
}

.number
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 1%;
    height: 1vw;
    background-color: black;
}

#hint
{
    padding: 0.5vw;
}

#hint:hover
{
    cursor: pointer;
    background-color: white;
    color: black;
}

#help:hover
{
    cursor: pointer;
    color: black;
}

#quoi #note1:hover
{
    cursor: pointer;
    color: black;
}

.footer
{
    display: flex;
    flex-direction: row-reverse;
    position: fixed;
    z-index: 0;
    bottom: 0;
    right: 0;
    width: auto;
    height: 5vw;
    padding: 0.5vw;;
}

.link
{
    position: relative;
    bottom: 0;
    height: auto;
    width: 4vw;
    padding: 0.5vw;
    margin-left: 0.5vw;
    background-color: black;
    border-radius: 0.25vw;
}

.link img
{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.link:hover
{
    filter:invert(1);
}

@media screen and (orientation: landscape)
{
    .phonemodal {
        display: none;
    }
}
@media screen and (orientation: portrait)
{
    .phonemodal {
    display: block;
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
  }
}

.phoneconteneur{width:100%;position:absolute;transform:translate(-50%,-50%);left:50%;top:50%;}
h5{font-family:"poplar";display:block;font-size:13vw;text-align:center;color:white;margin-top:6vw;line-height:13vw;}
#phone{display:block;width:40vw;text-align:center;margin:auto;}

#loading {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background-color: black;
    z-index: 99;
  }

#loading-image {
    position: absolute;
    transform:translate(-50%,-50%);
    width: 10vw;
    top: 50%;
    left: 50%;
    z-index: 100;
  }

#loading-text {
    width: fit-content;
    position: absolute;
    transform:translate(-50%,-50%);
    top: 65%;
    left: 50%;
    z-index: 100;
    color: #ffff;
}

audio{
    position:absolute;
    width: 30vw;
    transform:translate(-50%,-50%);left:50%;top:50%;
}