/* Base */

body {

    font-family: 'Poppins', sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    color: #bf9691;

	margin: 0;
	padding: 0;
	
	background-color: #312826;
	
}

html, body { 
    height: 100%; 
    min-width: 840px;
}

img, object, embed, canvas, video, audio, picture {
       max-width: 100%;
       height: auto;
} 


/* Body */

.body-content
{
    background-color: #312826;
    min-height: 768px;

    margin: auto;
}

.body-inside
{
    padding-top:5em;
    padding-bottom:5em;
}

.base-bloc
{
    margin-left: 17%;
    margin-right: 17%;
}

@media (max-width: 1400px) {
    .base-bloc
    {
        margin-left: 5%;
        margin-right: 5%;
    }
}


.grid-wrapper 
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 50px;
    grid-auto-rows: minmax(30px, auto);
    margin-bottom: 50px;
}

.small-project-holder
{
    background-color: #312826 !important;
    margin-top: 3em;
    margin-bottom: 3em;
}

#other-projects
{    
    background-color: #372c2a;
    padding-top: 2em;
    padding-bottom: 3em;
}

.other-project-body
{    
    margin-top: 2em;
    margin-bottom: 2em;
}


#footer
{
    height: 10em;
}

.tiny-menu a, .tiny-menu .infos {

    background-color: #312826;
    border-radius: 15px;
    display: inline-block;
    text-decoration: none;
    

    padding: 10px;
    margin: 10px;
    margin-left: 0px;
}

.highlighted-project-body .tiny-menu a, .highlighted-project-body .tiny-menu .infos,
.other-project-body .tiny-menu a, .other-project-body .tiny-menu .infos
{
    background-color: #372c2a;
}



/* Header */

#header
{    
    width: 66.5%;
    /*background-color:  grey;*/
    margin: 20px;
    margin-bottom: 5px;
}


#header-title
{
    /*background-color: palevioletred;*/
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 1em;
    padding-top:40px;
}

#header-title a
{
    padding-bottom: 0px;
    color:#ffceb5;
}

.header-subtitle
{
    font-size: 0.65em;  
    font-weight: lighter;  
    padding: 16px;
    padding-top: 0px;
    padding-left:75px;
    padding-bottom:75px;
}

.header-message
{
    background-image: url("images/header-icon.png");
    background-position: right top;
    background-repeat: no-repeat;

}

#header-links
{
    float : right;
    /*background-color: darkcyan;*/
}

.footer
{
    height:159px;
    background-image: url("images/footer.png");
    background-position: center -5px;
    background-repeat: no-repeat;
    cursor: pointer;
}


.title
{    
    font-weight: bold;
    color:#ffceb5;
}

.link-back
{
    width: 0.75em;
    float: left;    
    margin-top: 0.27em; 
    margin-right: 0.5%;   
}

.header-link
{
    float : right;
    width: 20%;
    min-width: 32px;
    max-width: 80px;
    
    margin:0.5em;
    
    background-color: #607d8b;
    
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.header-link-background
{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #50c8e2;
    margin-top: 100%;
}

.header-link-img
{
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    z-index: 999;
    float:left;
}

/* Folio */

.game-holder
{
    float:left;
    width: 20%;
    height: 20%;
    margin: 2.5%;
}

.game-holder-small
{       
    min-width: 28.2%;    
}

.game-holder-title
{
    clear:both;
    float:left;
    margin-top:10px;
    font-size: 1.5em;
    font-weight: 500;
}

.game-holder-small .game-holder-title
{
    font-size: 1em;
    font-weight: normal;  
}

.game-holder-description
{
    clear:both;
    float:left;
}

.game-holder-small .game-holder-description
{
    font-size: 0.75em; 
}

.folio-icon
{
   cursor:pointer;
   position: relative;
   overflow: hidden;
   max-width: 256px;
}

.game-overlay
{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    float: left;
    color:white;
    font-size: 1.5em;
    
    background-image: url('images/game-overlay.png');
    background-repeat: repeat-x;
    text-align: center;
    
    margin-top:100%;
}

.folio-game, .folio-highlighted-game
{    
    max-width: 100%;
}

.folio-game .game-overlay
{
    font-size: 1em;
}

.game-overlay-text
{
    position: relative;
    bottom: 0px;
    margin-top: 2.5%;
}

.game-overlay-text-description
{
    font-size: 0.5em;
    margin-top: 2%;
}

.icon-eye
{
    width: 20%;
    height: 20%;
    margin: 5%;
    text-align: center;
    margin-left:auto;
    margin-right:auto;
    
}

.icon-eye img
{
    margin: auto;    
}

.folio-title
{
    font-size: 1.5em; 
    margin-top:1em;  
    margin-bottom:2em;
    font-weight: bold;
}

.folio-highlighted-game
{
    float : left;
}


.folio-projects-holder
{
   float:left;
   width:50%; 
}

.folio-projects-title
{
    font-size: 1.25em; 
    margin-left:2.5%;       
}

.folio-projects
{
    margin-top:0%; 
    margin-bottom:3%;      
    background-color: #372a29;
}

.folio-game
{
    margin-right: 1.5%;   
    margin-bottom: 1.5%;     
    float : left;
}

/* Project */
.project-content
{    
    margin: 2.5%;  
}

.project-cover
{
    width:30%;
    min-width: 100px;
    float:left;
}

.project-infos
{
    width: 62.8%;
    min-width: 250px;
    float: left;
    margin: 2.5%;
    margin-top: 0%;
    margin-right: 0%; 
    background-color: white;
    padding: 2.2%;
}


.project-title
{
    font-size: 2.5em;   
}


.project-description
{
    margin-top: 2.5%;  
    margin-bottom: 2.5%;    
}

.project-link
{
    font-size: 1.5em; 
    text-align: center;
    cursor: pointer;
    margin-top:5%;
    padding-top: 5%;
    padding-bottom: 5%;
    height: 10%;
    background-color: #607d8b;
    width:100%;
}

.project-list
{
    float:left;
    width: 47%;
    min-width: 200px;
    
    border-top: 2px;
    border-color: #EFF2F3;
    border-top-style: solid;
    margin: 10px;
    padding-top: 10px;
}

.project-list-title
{
    font-weight: normal;
}

.project-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.project-list-point
{
    padding-left: 32px;
    margin:1em;
    margin-left:0em;
    background: url('images/icon-list.png') no-repeat left center;
}

.project-screenshots
{
    margin: auto;
    margin-bottom: 2em;    
}


.box-edit
{
    margin: auto;
    margin-top:5%; 
    background-color: #372C2A;
    
}

.box-edit input{
    background-color: hsl(4, 11%, 28%);
    
    color: hsla(7, 35%, 80%, 1);

    border:  0px;
}

.box-edit form
{
    margin:5%;
}

.box-edit label
{
    margin-top:2%;
    margin-bottom:0%;
    display: block;
}


/* Links */
.link
{
    display:inline-block;
}
a, a:visited  {
    text-decoration: none;
    color:#fd9f70;
}

a:hover {
	color: #d0835c;
}

.game-overlay a:hover {
    color:white;
}

a img {
	border: 0;        
}
/* Misc */

.box-shadow, .folio-icon, .project-cover-img, .project-link, .project-screenshots, .project-infos, .folio-projects
{
   -webkit-border-radius: 2px;
   -moz-border-radius: 2px;
   border-radius: 2px;
}

.clear
{
    clear: both;
}

/* Highlighted Games */


.highlighted-project-title
{
    font-size: 2em;
    margin-bottom: 0.25em;
}


.highlighted-project-menu a {

    background-color: #372c2a;
    border-radius: 15px;
    display: inline;
    text-decoration: none;

    padding: 10px;
    margin: 10px;
    margin-left: 0px;
}

.highlighted-project-content .highlighted-project-menu a
{
    background-color: #312826;
}

.highlighted-project-body
{
    width: 100%;
}

.highlighted-project-background {
    float:left;

    content: "";
    /*
    position: absolute; top: 0; right: 0; width: 80%; height: 80%;
    */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    width:30%;
    height:30%;
    margin-right:3em;
    /* filter: grayscale(100%); */
  }

  .highlighted-project-background-small {
    /* float: left; */
    content: "";
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .project-bloc
  {
      margin-bottom: 5em;
  }

  .extend-button
  {
      text-align: center;
      display: flex;
      clear:both;
  }
  
  .extend-button a
  {
    width: 100%;
  }


  .highlighted-project-body-extended {
    background-color: #372c2a;
    /*
    background-image: linear-gradient(#312826, #372c2a);
    */
  }
  

  .highlighted-project-content {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-bottom: 2em;
    overflow: hidden;
    text-align: justify;
  }

  .highlighted-project-background > .main-image,.highlighted-project-background > .main-video
  {
      cursor: pointer;
  }

  
  .round-image
  {
    border-radius: 10px;
    /*radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0) 75%, #312826 95%),*/
  }
  
  .main-image
  {
    border-radius: 10%;
    /*
    box-shadow: 1px 1px 16px 0px rgba(0,0,0,0.32);
-webkit-box-shadow: 1px 1px 16px 0px rgba(0,0,0,0.32);
-moz-box-shadow: 1px 1px 16px 0px rgba(0,0,0,0.32);*/
    /*radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0) 75%, #312826 95%),*/
  }
  
  .main-video
  {
    border-radius: 10%;
    /*radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0) 75%, #312826 95%),*/
  }

  .play-icon
  {
    position: relative;
    bottom: 1.25em;
    left: 0.25em;
    font-size: 3em;
    color:#ffceb5;
    text-shadow: 0px 0 16px #312826;
    pointer-events: none;
    opacity: 1;
  }

/* Menu */
.menu
{    
    margin: 0;
    padding: 0;
    position: fixed;
    height: 100%;
    overflow: auto;

    background-color: #372c2a;
    width: 335px;
}

.menu a {
    display: block;
    padding: 16px;
    padding-left:75px;
    text-decoration: none;
}
  
.menu a.active {
    background-color: #372a29;
    color: white;
}

.menu a:hover:not(.active) {
    background-color: #372a29;
    color: white;
}

.menu-element
{
    margin-left:75px;
}