/* CSS Document */

/* ----- FONT ----- */
/* Ubuntu */
@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/Ubuntu/Ubuntu-Light.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/Ubuntu/Ubuntu-LightItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/Ubuntu/Ubuntu-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/Ubuntu/Ubuntu-RegularItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/Ubuntu/Ubuntu-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/Ubuntu/Ubuntu-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

/* OpenSans */
@font-face {
  font-family: 'OpenSans';
  src: url('../fonts/OpenSans/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'OpenSans';
  src: url('../fonts/OpenSans/OpenSans-RegularItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'OpenSans';
  src: url('../fonts/OpenSans/OpenSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'OpenSans';
  src: url('../fonts/OpenSans/OpenSans-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}
/* ----- END FONT ----- */

/* ----- _DEBUG ----- */
.debug-r { background-color: #770000; }
.debug-y { background-color: #777700; }
.debug-g { background-color: #007700; }
.debug-b { background-color: #000077; }

.container-s { display: flex; }
.square, .square-l { padding: 5vw; }

.line{
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  min-width: 1px;
  background-color: red;
  z-index: 1;
}
.line2{
  position: relative;
  left: 50%;
  border: 1px solid blue;
  z-index: 1;
}

#WIP {
  /* float: left; */
  position: absolute;
  /* margin: 0 auto; */
  padding-top: 8px;
  width: 100%;
  text-align: center;
  font-size: .8em;
  /* z-index: -1; */
}
/* ----- END _DEBUG ----- */

/* ----- COLOR ----- */
/* SHADES OF BLACK */
.dark-dark-bg { background-color: hsl(0, 0%, 6%); } /*#0F0F0F*/
.dark-mid-bg { background-color: hsl(0, 0%, 12%); } /*#1F1F1F*/
.dark-light-bg { background-color: hsl(0, 0%, 15%); }
/* SHADES OF WHITE */
.light-dark-txt { color: hsl(0, 0%, 55%); }
.light-mid-txt { color: hsl(0, 0%, 75%); } /*#BFBFBF*/
.light-light-txt { color: hsl(0, 0%, 95%); } /*#F2F2F2*/

/* TRANSPARENT SHADES OF BLACK */
.o-darker30-bg { background-color: rgba(0, 0, 0, .3); }
.o-darker20-bg { background-color: rgba(0, 0, 0, .2); }
.o-darker10-bg { background-color: rgba(0, 0, 0, .1); }
/* TRANSPARENT SHADES OF WHITE */
.o-lighter10-bg { background-color: rgba(255, 255, 255, .1); }
.o-lighter20-bg { background-color: rgba(255, 255, 255, .2); }
.o-lighter30-bg { background-color: rgba(255, 255, 255, .3); }
/* ----- END COLOR ----- */

/* ----- TAGS ----- */
* { box-sizing: border-box; }

html {
  font-size: 100%;
  /*overflow-y: auto;
  background-color: transparent;
  height: 100%;*/
}

body {
  margin: 0;
  font-family: OpenSans;
  scroll-behavior: smooth;
  color: hsl(0, 0%, 75%);
  background-color: hsl(0, 0%, 6%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: Ubuntu;
  color: hsl(0, 0%, 95%);
}

h1 {
  font-size: 3em;
  font-weight: bold;
  font-style: normal;
}

a { color: #FE6565; }
a:hover { color: #FF3B3B }
a:active { color: #CC1919; }
/* a:visited { color: #B32525; } */

/* MAX LINKS ! */
a.max-link {
    position: relative;

    font-weight: 700;
    font-size: 0.8em;
    font-family: pixeled;

    text-decoration: none;
    padding: 5px 15px;
    margin-right: .2em;
    color: #acb9e9;
    border: 2px grey solid;
    border-radius: 4px;
    background-color: hsla(222, 12%, 14%, 0.88);
    box-shadow: 4px 4px 0px #3c3c3c;

    line-height: 2.3;
}
a.max-link:hover {
    color: gray;
    background-color: hsla(222, 12%, 7%, 0.88);
    box-shadow: 2px 2px 1px #1a1a1a;
    top: 2px;
    left: 2px;
}
/* ----- END TAGS ----- */

/* ----- NAVBAR CLASS ----- */
header.topbar {
  position: sticky;
  top: 0;
  /* padding: 0 5vw; */
  overflow: hidden;
  background-color: hsl(0, 0%, 15%);
  font-family: Ubuntu;
  font-size: 1.6em;
  font-weight: bold;
  /* border-bottom: 1rem solid hsl(0, 0%, 2%); */
  box-shadow: 0 -5px 15px #CC1919;
  z-index: 100;
}

#main-nav {
  width: 80vw;
  margin: 0 10vw;
}
#main-nav > a {
  float: left;
  margin-right: 2vw;
  padding: 1vw 1vw;
  /* background-color: #000055; */
  font-family: Ubuntu;
  font-weight: bold;
  text-decoration: none;
}
#main-nav > a:hover { background-color: rgba(255, 255, 255, .1);}
#main-nav > a:first-child {
  float: right;
  margin: 0;
}
#main-nav > a:first-child:hover {
  color: inherit;
  background-color: inherit;
}
/* ----- END NAVBAR CLASS ----- */

/* ----- PROJECT-PANEL CLASS ----- */
#main-container {
  width: 70vw;
  margin: 2rem 15vw;
}

article.project-panel {
  margin: 1vw 0;
  display: flex;
  flex-direction: row;
  /* align-items: flex-start; */
  justify-content: space-between;
}
article.project-panel:hover { background-color: hsl(0, 0%, 15%); }

article.project-panel > img {
  width: 45%;
  align-self: center;
}
article.project-panel > .project-description { width: 45%; }

article.project-panel .project-description-container {
  margin: 5%;
  height: 86%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
article.project-panel .project-description-container > :first-child { margin: 0 0 .3em .5em; }
article.project-panel .project-description-infos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
article.project-panel .project-description-infos > * {
  font-size: .9em;
  font-style: italic;
}
article.project-panel .project-description-text {
  margin-top: 1.5em;
  /* text-align: justify; */
}
article.project-panel .project-description-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
}
article.project-panel .project-description-links > a {
  /* background-color: #500; */
  margin: 0 3%;
}

article.project-panel > .project-infos {
  width: 10%;
  align-self: stretch;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
article.project-panel > .project-infos > img { width: 50%; }
/* ----- END PROJECT-PANEL CLASS ----- */

/* ----- PROJECT-TEMPLATE CLASS ----- */
table.project-recap {
  /* border: 1px solid red; */
  font-size: 90%;
  line-height: 1.2em;
  float: left;
  clear: left;
  margin: 0 0 0.5em 1em;
  width: 30%;
  /* border: 1px solid #aaa; */
  border-spacing: 5px;
  border-collapse: separate;
}

table.project-recap tr { background-color: rgba(255, 255, 255, .1); }
table.project-recap th {
  padding: 8px;
  background-color: rgba(255, 255, 255, .1);
  font-family: Ubuntu;
  font-size: 1.05em;
  /* border: 1px solid blue; */
}
table.project-recap td {
  padding: 10px;
  /* border: 1px solid green; */
}

table.project-recap .logo-table { text-align: center; }

th:empty, td:empty {
  /* display: none; */
  background-color: rgba(255, 0, 0, .2);
}
/* th + td:empty { background-color: red; } */
/* ----- END PROJECT-TEMPLATE CLASS ----- */



/* ----- IMAGE ----- */
/* .thumbnail {
  background-image: url("../img/pm-favicon.png");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
} */
/* ----- END IMAGE ----- */
