/* SECTION Reset / Init */
html {
    font-size: 18px;
}

body {
    font: 300 100% "Roboto", sans-serif;
    line-height: 1.5;
    background-color: #ffffff;
    color: #151515;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1,
h2 {
    font-weight: 700;
    text-transform: uppercase;
}

h3 {
    font-weight: 500;
    text-transform: uppercase;
}

h4,
h5,
h6 {
    font-weight: 400;
    text-transform: uppercase;
}

h1 {
    font-size: 240%;
    line-height: 1.115;
}

h2 {
    font-size: 210%;
    line-height: 1.125;
}

h3 {
    font-size: 160%;
    line-height: 1.185;
}

h4 {
    font-size: 125%;
    line-height: 1.2;
}

h5 {
    font-size: 115%;
    line-height: 1.3;
}

h6 {
    font-size: 105%;
    line-height: 1.4;
}

strong {
    font-weight: 500;
}

ul {
    list-style: none;
}

img {
    vertical-align: middle;
    user-select: none;
    pointer-events: none;
}

p:not(:last-of-type) {
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: #424242;
    transition: all 250ms ease-in-out;
}

a:hover {
    color: #ee2e24;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track-piece {
    background-color: #ffffff;
}

::-webkit-scrollbar-thumb {
    background-color: #151515;
}

.logo.page_404 {
    text-align: center;
    padding: 100px 30px 0;
}

.logo.page_404 a {
    display: inline-block;
}

.logo.page_404 img {
    max-height: 150px;
}

.bloc_404 {
    display: grid;
    gap: 15px;
    padding: 150px 30px 100px;
    text-align: center;
}

.bloc_404 .iconError i {
    color: #ee2e24;
    font-size: 300%;
}

.bloc_404 h1.error404 {
    font-weight: 300;
}

.bloc_404 h1.error404 strong {
    font-weight: 600;
}

.bloc_404 .error404-text a:hover {
    color: #ee2e24;
}

#graph_blank {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

#graph_blank img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#loading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
}

#loading > .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#loading > .logo img,
#loading > .logo p {
    visibility: hidden;
    opacity: 0;
}

#loading > .loading_maquette p,
#loading > .logo p {
    color: #fff;
    transform: translateY(-25px);
    font-size: 90%;
}

#loading > .part {
    width: 100%;
    height: 100%;
    background-color: #151515;
}

#loading > .loading_maquette {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    visibility: hidden;
    opacity: 0;
    z-index: 9999;
}

#maquette, #maquette img {
    width: 100%;
    height: auto;
}

button {
    outline: none;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);
    background-color: #151515;
    color: #fff;
    transition: all 150ms ease-in-out;
}

#maquettes_nav {
    position: fixed;
    bottom: 10px;
    right: 10px;
}

#maquettes_nav .nav_menu {
    position: relative;
    width: 50px;
    height: 50px;
}

#maquettes_nav .nav_menu button {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

#maquettes_nav .nav_menu button.open,
#maquettes_nav .nav_menu button:hover {
    background-color: #ee2e24;
}

#maquettes_nav .nav_menu button > span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transform-origin: center;
}

#maquettes_nav .nav_menu button > span.open {
    transform: translate(-50%,-50%) scale(1.5);
}

#maquettes_nav .nav_menu button > span.close {
    visibility: hidden;
    opacity: 0;
}

#maquettes_nav .nav_menu_items {
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    direction: rtl;
    transform: translateY(calc(-100% - 10px));

    visibility: hidden;
    opacity: 0;
}

#maquettes_nav .nav_menu_items button {
    padding: 10px 15px;
}

#maquettes_nav .nav_menu_items button:hover {
    background-color: #282828;
}

#maquettes_nav .nav_menu_items button.active {
    background-color: #ee2e24;
}

#maquettes_nav .nav_menu_items button:not(:last-of-type) {
    margin-bottom: 10px;
}

#graph_log_in {
    padding: 50px;
}

.graph_log_in_container {
    min-height: calc(100vh - 100px);
    padding: 50px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(21, 21, 21, 0.35);
}

.graph_log_in_container h1 {
    text-align: center;
    margin-bottom: 50px;
}

.projets_maquettes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.projet_maquettes a {
    display: block;
    position: relative;
    z-index: 1;
    border: 2px solid #151515;
}

.projet_maquettes a:hover {
    border-color: #ee2e24;
}

.projet_maquettes a .image_projet img {
    width: 100%;
    height: 100%;
    max-height: 350px;
    object-fit: cover;
    object-position: top center;
}

.projet_maquettes a .titre_projet {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 120%;
    font-weight: 400;
    text-align: center;
    padding: 10px 15px;
    z-index: 1;
    color: #fff;
    background-color: #151515;
    transition: all 150ms ease-in-out;
}

.projet_maquettes a:hover .titre_projet {
    color: #fff;
    background-color: #ee2e24;
}

html, body, .page_content, .ipad-container {
    height: 100%;
}

body {
    overflow-x: auto;
    background-color: #151515;
}

.ipad-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ipad {
    width: 1366px;
    height: 1024px;
    /* border: 2px solid #eee;
    border-radius: 3px;
    margin: 80px;
    background-color: #fff; */
}

#ipad .frame {
    position: absolute;
}

@media all and (max-width: 1366px) {
    .ipad-container {
        justify-content: start;
    }
}

@media all and (max-height: 1024px) {
    .ipad-container {
        align-items: start;
    }
}