* {
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-decoration: none;
    color: white;
    text-align: justify;
    line-height: 1.6;
}

body {
    background-color: #737373;
    font-family: Arial;
    overflow-x: hidden; /* -> don't scrowl x */
}

/* reusable */
.column {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    flex-direction: row;
}

.full_size {
    width: 100%;
    height: 100%;
}

/* nav */
header {
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
}

#all_header {
    position: relative;
    height: 100%;
}

#open_nav_btn {
    z-index: 1;
    margin: 30px;
    width: 60px;
    height: 60px;
    transition: all 0.4s ease-in-out;
}

#open_nav_btn:hover {
    cursor: pointer;
}

nav {
    padding: 100px 0;
    width: 600px;
    height: 100%;
	background-color: #262626;
    right: -600px;
    align-items: center;
    position: absolute;
    transition: all 0.4s ease-in-out;
}

nav ul {
    width: 100%;
}

nav li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 160px;
    width: 100%;
    margin-bottom: 40px;
    transition: all 0.4s ease-in-out, color 0.4s ease-in-out;
}

nav a, button{
    display: flex;
    flex-direction: row;
    background-color: transparent;
    border: none;
    font-size: 40px;
    font-weight: bold;
    transition: all 0.4s ease-in-out, color 0.4s ease-in-out;
}

nav a:hover, nav button:hover {
    color: #aaaaaa;
    cursor: pointer;
}

#nav_projects_lst a {
    font-size: 30px;
    padding: 10px 50px;
}

/* top page */
#top_page {
    position: fixed;
    z-index: -1;
    justify-content: center;
}

#top_page img {
    z-index: -1;
}

#title {
    padding-left: 8%;
    width: 100%;
    height: 60%;
    justify-content: space-around;
    position: absolute;
}

#title h1 {
    font-size: 120px;
    font-weight: 100;
}

#title h2 {
    font-size: 50px;
    font-weight: 900;
}

#title h3 {
    font-size: 30px;
    letter-spacing: 10px;
}

#title h4 {
    font-size: 15px;
    letter-spacing: 40px;
}

/* main content */
#main_content {
    background-color: #737373;
}

.invisible_page {
    height: 100vh; /*vh: 0 -> 100 => % (precis) viewport = windows sans haut*/
}

/* all sections */
section {
    width: 100%;
    /* border: solid 3px black; */
}

section h1 {
    font-size: 70px;
}

section p {
    font-size: 20px;
}

.view_project_btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100px;
    height: 20px;
    background-color: #262626;
    transition: all 0.5s ease-in-out;
}

.view_project_btn:hover {
    transform: scale(1.1);
}

/* general section */
#general h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:#262626;
    color:#737373;
    width: 20%;
    height: 100%;
    writing-mode: vertical-rl; /* vericaly r -> l */
    text-orientation: upright; /* letters verticaly*/
    letter-spacing: 1px;
}

#main_general {
    justify-content: space-around;
}

.p_img {
    justify-content: space-around;
}


#general img {
    width: 20%;
    height: auto;
}

#general div {
    margin: 10px;
}

#general p {
    width: 30%
}

#general img {
    width: 500px;
}

#color_square {
    width: 500px;
    height: 300px;
    background-color: black;
}

/* about me section */
#about_me {
    justify-content: space-around;
}

#main_about_me {
    justify-content: space-around;
    margin: 50px;
}

#about_me h1 {
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color:#262626;
    color:#737373;
    letter-spacing: 1px;
    order: 2;
}

#about_me p {
    display: flex;
    align-items: center;
    height: 100%;
    width: 40%;
}

#about_me img {
    width: 50%;
    height: auto;
}

/* JD section */
#proj_john_doe {
    width: 100vw; /*vh -*/
}

#main_john_doe {
    flex-grow: 1;
}

#proj_john_doe h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:#262626;
    color: #737373;
    width: 150px;
    writing-mode: vertical-rl; /* vericaly r -> l */
    text-orientation: upright; /* letters verticaly*/
    letter-spacing: 1px;
    order: 2;
    margin-right: 150px;
}

#proj_john_doe p {
    height: 100%;
    padding: 0 100px;
    justify-content: right;
    align-items: center;
}

#jd_bottom {
    margin: 50px;
    width: 100%;
}

/* maze section */
#proj_maze img {
    order: -1;
}

#proj_maze h1 {
    width: 100%;
    height: 15%;
    background-color:#262626;
    color:#737373;
    font-size: 100px;
    align-items: center;
    padding: 0 100px;
    order: 1;
    letter-spacing: 30px;
}

#maze_p_a {
    padding: 5% 10% ;
    flex-grow: 1; /*takes the space left*/
    justify-content: space-around;
}

/* btn map section */
#proj_btn_map h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:#262626;
    color:#737373;
    width: 20%;
    writing-mode: vertical-rl; /* vericaly r -> l */
    text-orientation: upright; /* letters verticaly*/
    letter-spacing: 1px;
}

#main_btn_map {
    height: 100%;
    justify-content: center;
}

#btn_map_img_p {
    margin: 50px 150px;
}

#proj_btn_map img {
    margin-right: 100px;
    height: 400px;
}

#bottom_btn_map {
    width: 80%;
    justify-content: flex-end;
    align-items: flex-end;
}

/* brut force section */
#brut_left {
    width: 70%;
    justify-content: space-between;
}

#brut_right {
    width: 30%;
    justify-content: center;
    margin: 5%;
}

#proj_brut_force img {
    width: 100%;
}

#proj_brut_force h1 {
    background-color: #262626;
    color: #737373;
    padding: 30px 50px;
}

#proj_brut_force p {
    margin-bottom: 40px;
}

/* unity section */
#proj_unity h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:#262626;
    color:#737373;
    width: 15%;
    writing-mode: vertical-rl; /* vericaly r -> l */
    text-orientation: upright; /* letters verticaly*/
    letter-spacing: 30px;
}

#games {
    justify-content: space-around;
    align-items: center;
    width: 85%;
    height: 100%;
}

.game {
    justify-content: space-around;
    align-items: center;
    height: 70%;
    width: 100%;
}

#proj_unity img {
    width: 600px;
    transition: all 0.5s ease-in-out;
}

#proj_unity img:hover {
    transform: scale(1.1);
}

#proj_unity h2 {
    font-size: 40px;
}

/* contact me section */
#contact_form {
    margin: 60px;
    width: 20%;
    background-color: #262626;
    padding: 40px 50px;
}

#contact_form input {
    color: #262626;
}

#submit:hover {
    cursor: pointer;
}

/* footer */
#footer {
    height: 400px;
    background-color: #262626;
    justify-content: center;
    align-items: center;
}

#footer li {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin: 30px;
    height: 80px;
}

#footer ul {
    margin: 40px 0 30px 0;
}

#footer p {
    color:#737373;
}

#log_mail {
    width: 50px;
    margin: 5px;
}

#log_whatsapp {
    width: 47px;
    margin: 7px;
}

#log_insta {
    width: 56px;
    margin: 2px;
}

#log_discord {
    width: 60px;
}

.copyright {
    font-size: 12px;
    opacity: 0.7;
}