@charset "UTF-8";
@import url(reset.css);

@font-face {
  font-family: "monoBold";
  src: url("../fonts/compagnon/Compagnon-Bold.woff");
}

@font-face {
  font-family: "monoRoman";
  src: url("../fonts/compagnon/Compagnon-Roman.woff");
}

@font-face {
  font-family: "HKBold";
  src: url("../fonts/hk/HKGrotesk-Medium.ttf");
}

@font-face {
  font-family: "HK";
  src: url("../fonts/hk/HKGrotesk-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

/* ANIMATIONS */
@keyframes clip {
  0% {
    opacity: 1;
  }

  33% {
    opacity: 0.2;
  }

  66% {
    opacity: 1;
  }
}

::selection {
  background: #00FFFF;
  color: white;
}

/* GENERAL */
html {
  font-size: 20px;
}

section#infos div.about p a {
  color: brown;
}

a:hover {
  color: #000;
}

body.no-scroll {
  overflow: hidden;
}

body.no-scroll>header {
  z-index: 3;
}

body {
  line-height: 1.25rem;
  font-family: 'HK';
  cursor: url("img/cursor.svg") 0 0, auto;
  min-height: 110vh;
}

body a:hover {
  cursor: url("img/pointer.png") 0 0, auto;
}

body strong {
  font-family: "HKBold";
}

body strong:before {
  content: " ";
  background-image: url("../../../../pages/home/logo.png");
  background-repeat: no-repeat;
  background-size: 110% 110%;
  display: inline-block;
  position: absolute;
}

body>header {
  position: fixed;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  background-color: white;
  width: 100%;
  border-bottom: solid 3px #000;
  z-index: 3;
}

body>header #logo {
  position: fixed;
  width: 5rem;
  display: none;
  z-index: 10;
}

body>header .title {
  width: 25%;
  display: flex;
  flex-wrap: wrap;
  font-family: 'monoBold';
  z-index: 10;
  text-align: center;
}

body>header .title h1 {
  padding: 0.5rem;
  width: 100%;
}

body>header .title h1 strong {
  padding: 0 0 0 1.7rem;
  font-size: 1rem;
}

body>header .title h1 strong:before {
  width: 1.7rem;
  height: 2rem;
  margin: 0 0 0 -1.8rem;
}

body>header .title h1 a:hover {
  color: white;
}

body>header .title h2 {
  font-family: 'HKBold';
  padding: 0.5rem 1rem 0.75rem;
  height: 100%;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

body>header nav {
  width: 75%;
}

body>header nav>ul,
body>header nav ul li {
  height: 100%;
  font-family: 'HKBold';
}

body>header nav>ul {
  display: flex;
  width: 100%;
}

body>header nav>ul .newsResp {
  display: none;
}

body>header nav>ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25%;
}

body>header nav>ul li a {
  padding: 0.5rem 0 0 0;
  width: 100%;
  height: 100%;
  vertical-align: center;
  text-align: center;
}

body>header nav>ul li:hover {
  background: white;
}

body>header nav .menuButton {
  display: none;
}

/* HOME */
.home main {
  z-index: -1;
  display: flex;
  flex-wrap: wrap;
  margin: 3rem 0 6rem;
  font-size: 2rem;
  line-height: 2.5rem;
}

.home main #infos h3,
.home main .newsfeed h3 {
  width: auto;
  font-size: 3rem;
  font-family: 'monoBold';
  padding: 1.5rem 0 1.5rem 0;
}

.home main #infos {
  width: calc(100% / 4 * 3);
  padding: 1rem 2rem 6rem 2rem;
  position: absolute;
}

.home main #infos #friendsLink {
  position: fixed;
  background-color: white;
  border: solid;
  border-radius: 3rem;
  padding: 0 0.5rem 0 0.5rem;
  z-index: 1;
}

.home main #infos #friendsLink.hidden {
  display: none;
}

.home main #infos p {
  margin: 0 0 1.5rem;
  width: 100%;
}

.home main #infos p strong {
  padding: 0 0 0 2.7rem;
  font-size: 1.75rem;
}

.home main #infos p strong:before {
  width: 2.5rem;
  height: 3rem;
  margin: 0.2rem 0 0 -2.7rem;
}

.home main #infos p a:hover {
  border-bottom: 3px solid black;
}

.home main #infos p:first-of-type {
  padding-top: 2rem;
}

.home main #infos p:not(:first-of-type) {
  text-indent: 4rem;
}

.home main #infos .important {
  font-family: 'monoBold';
  font-size: 3.4rem;
  line-height: 3.8rem;
  text-align: center;
  margin: 0 0 2rem;
}

.home main #infos .important a {
  animation: clip 2s infinite;
}

.home main #infos .important a span {
  display: inline-block;
}

.home main #infos .details {
  padding-top: 3rem;
}

.home main #infos #friends h3 {
  margin: 0 0 0.25rem 0;
}

.home main #infos #friends ul {
  font-family: 'monoRoman';
  font-size: 1.8rem;
}

.home main #infos #friends ul h5:before {
  content: '○ ';
}

.home main #infos #friends li:before {
  content: '○ ';
}

.home main #infos .about,
.home main #infos .details {
  margin: 0 0 4rem;
}

.home main #infos .about .machines h4,
.home main #infos .about .papiers h4,
.home main #infos .details .machines h4,
.home main #infos .details .papiers h4 {
  text-decoration: underline;
  padding-bottom: 1rem;
}

.home main #infos .about .machines ul,
.home main #infos .about .machines .machine,
.home main #infos .about .papiers ul,
.home main #infos .about .papiers .machine,
.home main #infos .details .machines ul,
.home main #infos .details .machines .machine,
.home main #infos .details .papiers ul,
.home main #infos .details .papiers .machine {
  font-family: 'monoRoman';
  font-size: 1.8rem;
}

.home main #infos .about .machines ul h5:before,
.home main #infos .about .machines .machine h5:before,
.home main #infos .about .papiers ul h5:before,
.home main #infos .about .papiers .machine h5:before,
.home main #infos .details .machines ul h5:before,
.home main #infos .details .machines .machine h5:before,
.home main #infos .details .papiers ul h5:before,
.home main #infos .details .papiers .machine h5:before {
  content: '○ ';
}

.home main #infos .about .machines li:before,
.home main #infos .about .papiers li:before,
.home main #infos .details .machines li:before,
.home main #infos .details .papiers li:before {
  content: '○ ';
}

.home main #infos .about .machines p,
.home main #infos .about .papiers p,
.home main #infos .details .machines p,
.home main #infos .details .papiers p {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.home main #infos .about .papiers h4,
.home main #infos .details .papiers h4 {
  margin-top: 3rem;
  padding-bottom: 0.5rem;
}

.home main #infos .about .papiers p:first-of-type,
.home main #infos .details .papiers p:first-of-type {
  padding-top: 1rem;
}

.home main #infos .about img,
.home main #infos .details img {
  width: 80%;
  filter: grayscale(1) contrast(120%);
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.home main #infos #contact ul {
  padding-top: 1rem;
}

.home main #infos #contact #networks li a .image {
  width: 1.5rem;
  display: inline-block;
}

.home main #infos #contact #networks li a .image img {
  display: block;
  padding: 0;
  width: 100%;
}

.home main #infos .arrow {
  width: 100%;
  padding: 0 15% 0 15%;
}

.home main #infos .arrow img {
  width: 100%;
}

.home main .newsfeed {
  width: calc(100% / 4);
  position: fixed;
  overflow-y: scroll;
  height: 100vh;
  right: 0;
  top: calc(2.25rem + 3px);
  z-index: 2;
}

.home main .newsfeed h3 {
  display: none;
}

.home main .newsfeed h2 {
  padding: 0.25rem 1rem 0.25rem 1rem;
  font-size: 1.25rem;
  border-bottom: solid 3px;
}

.home main .newsfeed>h3 {
  font-size: 1.5rem;
  padding: 1rem;
  width: 100%;
  background-color: #fff;
}

.home main .newsfeed .posts {
  background-color: white;
}

.home main .newsfeed .posts .post:not(.open) .images,
.home main .newsfeed .posts .post:not(.open) .text {
  display: none;
}

.home main .newsfeed .posts .post:not(.open):hover {
  cursor: url("img/pointer.png") 0 0, auto;
  background-color: white;
  outline: 3px solid black;
}

.home main .newsfeed .posts .post {
  height: 23vhvh;
  padding: 0.75rem 1rem 1rem 1rem;
  overflow-y: hidden;
}

.home main .newsfeed .posts .post>header {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
  margin: 0 0 1.25rem;
}

.home main .newsfeed .posts .post>header h4 {
  font-family: 'HKBold';
  width: 100%;
  font-size: 1.5rem;
  line-height: 1.75rem;
}

.home main .newsfeed .posts .post>header a{
  font-size: 1rem;
  text-decoration: underline;
  
}

.home main .newsfeed .posts .post>header a:before{
  content:'📨 ';
}

.home main .newsfeed .posts .post>header a:hover{
  text-decoration: none;
  opacity: 0.5;

}

.home main .newsfeed .posts .post>header .date,
.home main .newsfeed .posts .post>header .type {
  font-size: 0.8rem;
  margin: 0 0 0.5rem 0;
}

.home main .newsfeed .posts .post>header .date {
  font-family: 'monoRoman';
  line-height: 1rem;
  width: 25%;
}

.home main .newsfeed .posts .post>header .type {
  width: 75%;
  line-height: 1.1rem;
  display: flex;
  justify-content: flex-end;
}

.home main .newsfeed .posts .post>header .type li {
  padding: 0 0 0 0.5rem;
}

.home main .newsfeed .posts .post>header .close {
  transform: rotate(45deg);
  font-size: 4rem;
  display: none;
}

.home main .newsfeed .posts .post .content .images {
  width: 100%;
  margin: 0 0 1rem;
}

.home main .newsfeed .posts .post .content .images img {
  filter: grayscale(1) contrast(120%);
  max-width: 80%;
  margin: 0 0 0 -2rem;
}

.home main .newsfeed .posts .post .content .text {
  font-size: 0.9rem;
  line-height: 1.1rem;
  bottom: 0;
}

.home main .newsfeed .posts #backBlock {
  position: fixed;
  z-index: 9;
  background-color: #fff;
  top: 2.5rem;
  left: 0;
  width: 75vw;
  height: 100vh;
}

.home main .newsfeed .posts .post.open {
  position: fixed;
  top: 2.5rem;
  left: 0;
  width: 75vw;
  height: 100vh;
  z-index: 9;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 0.5rem 2rem 0;
}

.home main .newsfeed .posts .post.open header {
  margin: 0 2rem 2rem calc(50% + 2rem);
  z-index: 1;
}

.home main .newsfeed .posts .post.open header h4 {
  font-size: 2.5rem;
  line-height: 3rem;
  margin: 3rem 0 0;
  width: 100%;
}

.home main .newsfeed .posts .post.open header .date,
.home main .newsfeed .posts .post.open header .type {
  font-size: 1rem;
  top: 1.75rem;
  margin: 1.25rem 0 0 0;
}

.home main .newsfeed .posts .post.open header .date {
  width: 20%;
}

.home main .newsfeed .posts .post.open header .type {
  width: 60%;
}

.home main .newsfeed .posts .post.open header .close {
  display: block;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
}

.home main .newsfeed .posts .post.open header .close:hover {
  transform: rotate(90deg);
  transition-timing-function: ease-in-out;
  transition: 0.1s;
  cursor: url("img/pointer.png") 0 0, auto;
}

.home main .newsfeed .posts .post.open .content {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 3rem;
}

.home main .newsfeed .posts .post.open .content .images {
  position: absolute;
  top: 2rem;
  max-width: 50%;
  padding: 0 1.5rem 0 0;
}

.home main .newsfeed .posts .post.open .content .images img {
  filter: unset;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.home main .newsfeed .posts .post.open .content .images iframe {
  width: 100%;
  height: calc(36vw / 16 * 9);
}

.home main .newsfeed .posts .post.open .content .text {
  width: 90%;
  margin: 0 0 0 calc(50% + 2rem);
  padding: 0 0 1rem;
  font-size: 1.25rem;
  line-height: 1.5rem;
}

.home main .newsfeed .posts .post.open .content .text p {
  margin: 0 -2rem 1rem 0;
  width: 85%;
}

.home main .newsfeed .posts .post.open .content .text p a {
  font-family: 'monoRoman';
  font-size: 1.2rem;
  text-decoration: underline;
  cursor: url("img/pointer.png") 0 0, auto;
}

.home main .newsfeed .posts .post.open .content .text p a:hover {
  color: white;
}

/* FANZINOTHÈQUE */

.library main #search{
  position: fixed;
  bottom: 1vh;
  z-index: 2;
  right: 1vw;
}

.library main #search input{
  height: 2.5rem;
  text-align: center;
  font-size: 1rem;
  border: 3px solid;
  font-family: 'monoBold';
}

.library main {
  display: flex;
  flex-wrap: wrap;
  margin: 5rem 0 0 0;
}

.library main #tags {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  top: 2.5rem;
  position: fixed;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 2;
}

.library main #tags>div {
  vertical-align: middle;
  width: 25%;
  background-color: white;
}

.library main #tags>div>div {
  padding: 0.5rem 1rem 0.5rem 1rem;
  display: flex;
}

.library main #tags>div h4 {
  font-family: "HKbold";
  margin: 0 1rem 0.25rem 0;
}

.library main #tags>div h4::before {
  content: "⤵";
  font-size: 1rem;
  padding-top: 0.25rem;
  padding-left: calc(25% - 3rem);
  position: absolute;
}

.library main #tags>div h4:hover {
  cursor: url("img/pointer.png") 0 0, auto;
}

.library main #tags>div ul li .count {
  display: none;
}

.library main #tags>div ul li::before {
  content: "○ ";
}

.library main #tags>div ul li:hover {
  cursor: url("img/pointer.png") 0 0, auto;
}

.library main #tags>div ul li.active:before,
.library main #tags>div ul li.hovered:before,
.library main #tags>div ul li::before,
.library main #tags>div ul li:hover:before {
  display: inline-block;
  width: 1rem;
}

.library main #tags>div ul li.active:before,
.library main #tags>div ul li:hover:before {
  content: "●";
  line-height: 0;
}

.library main #tags>div ul li.hovered:before {
  content: "➤";
  font-size: 1rem;
}

.library main #tags>div ul li:not(.active) {
  display: none;
}

.library main #tags>div ul li.hovered {
  display: block;
}

.library main #tags>div ul li.through {
  text-decoration: line-through;
}

.library main #tags>div:hover {
  max-height: calc(100vh - 16rem);
  overflow-y: scroll;
}

.library main #tags>div:hover>div {
  display: block;
}

.library main #tags>div:hover h4 {
  display: block;
}

.library main #tags>div:hover ul li {
  display: block;
}

.library main #tags>div:hover ul li .count {
  display: inline-block;
  font-size: 0.75rem;
}

.library main #tags>div:hover ul li:nth-of-type(1) {
  margin-top: 0.5rem;
}

.library main .objects {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.library main .objects .object.loading {
  filter: unset;
  min-height: 50vh;
}

.library main .objects .object.loading .image {
  opacity: 0;
}

.library main .objects .object.loaded,
.library main .objects .object.loading {
  height: inherit;
}

.library main .objects .object.loaded .image {
  transition: opacity 1s;
  -webkit-transition: opacity 1s;
  opacity: 1;
}

.library main .objects .object {
  width: 20%;
  height: 0;
  overflow: hidden;
  padding: 1rem 1.5rem 1rem 1.5rem;
  filter: grayscale(1) contrast(120%);
}

.library main .objects .object>header {
  margin: 0 0 1rem;
  width: 100%;
  opacity: 0;
}

.library main .objects .object>header .close {
  display: none;
}

.library main .objects .object>header .date,
.library main .objects .object>header .tags {
  display: none;
}

.library main .objects .object .images {
  margin: 0 0 1rem;
}

.library main .objects .object .images .image {
  height: 40vh;
}

.library main .objects .object .images .image img {
  max-width: 100%;
  max-height: 100%;
}

.library main .objects .object .images .image:not(:first-of-type) {
  display: none;
}

.library main .objects .object .general {
  opacity: 0;
}

.library main .objects .object .text {
  display: none;
}

.library main .objects .object .datas .metas {
  display: none;
}

.library main .objects .object.loaded:not(.open):hover {
  cursor: url("img/pointer.png") 0 0, auto;
  filter: none;
}

.library main .objects .object.loaded:not(.open):hover>header {
  opacity: 1;
}

.library main .objects .object.loaded:not(.open):hover>header h4 {
  font-family: "HKBold";
  text-decoration: underline;
  text-transform: capitalize;
}

.library main .objects .object.loaded:not(.open):hover .images .image img {
  filter: none;
  mix-blend-mode: normal;
}

.library main .objects .object.loaded:not(.open):hover .general {
  opacity: 1;
}

.library main .objects .object.open {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  height: 100vh;
  overflow-y: scroll;
  background-color: white;
  z-index: 2;
  filter: none;
  mix-blend-mode: normal;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
}

.library main .objects .object.open .general,
.library main .objects .object.open>header {
  opacity: 1;
}

.library main .objects .object.open>header {
  width: 100%;
}

.library main .objects .object.open>header h4 {
  font-size: 2rem;
  line-height: 2.5rem;
  width: 50%;
  text-decoration: none;
}

.library main .objects .object.open>header h5 {
  font-size: 1.5rem;
  line-height: 1.75rem;
}

.library main .objects .object.open>header .date {
  display: inline-block;
  margin: 0 0 0.5rem 0;
}

.library main .objects .object.open>header .close {
  display: block;
  position: absolute;
  right: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  background: white;
  border: solid;
  border-radius: 3rem;
  padding: 1rem;
  transition-timing-function: ease-in-out;
  transition: 0.1s;
  box-shadow: 0px 0px;
}

.library main .objects .object.open>header .close:hover {
  box-shadow: 5px 5px;
  transition-timing-function: ease-in-out;
  transition: 0.1s;
  cursor: url("img/pointer.png") 0 0, auto;
}

.library main .objects .object.open .images {
  width: calc(100% / 3 * 2);
  padding: 0 2rem 0 0;
  display: block;
}

.library main .objects .object.open .images .image.first {
  display: none;
}

.library main .objects .object.open .images .image {
  display: block;
  height: inherit;
  margin: 0 0 1.5rem;
  max-width: 100%;
}

.library main .objects .object.open .images .image img {
  max-height: 80vh;
  width: auto;
}

.library main .objects .object.open .images .image img:hover {
  filter: none;
}

.library main .objects .object.open .datas {
  width: calc(100% / 3 - 1rem);
}

.library main .objects .object.open .datas .general {
  font-family: "HKBold";
  font-size: 1.4rem;
  line-height: 1.6rem;
  margin: 0 0 1.4rem 0;
}

.library main .objects .object.open .datas .text {
  display: block;
}

.library main .objects .object.open .datas .text p {
  font-size: 1.2rem;
  line-height: 1.5rem;
}

.library main .objects .object.open:hover {
  cursor: default;
}

.library main .objects .object.open:hover .images .image img {
  filter: none;
  mix-blend-mode: normal;
}

.library main .objects.tagMode .object {
  display: none;
}

.library main .objects.tagMode .object.visible {
  display: block;
}

body.library.openMode.viewerMode main #tags {
  background-color: #fff;
}

body.library.openMode main #tags:hover {
  pointer-events: none;
}

body.library.openMode main #tags>div.hidden {
  display: none;
}

body.library.openMode main #tags>div h4::after,
body.library.openMode main #tags>div h4::before {
  content: "";
}

body.library.openMode main #tags>div>div:hover {
  display: flex;
}

body.library.viewerMode main #tags>div ul li:before {
  content: "";
  width: inherit;
}

body.library.viewerMode main #tags>div.hidden,
body.library.viewerMode main #tags>div.hidden:hover {
  display: none;
}

body.library.viewerMode main #tags>div:hover {
  cursor: default;
}

body.library.viewerMode main #tags>div:hover h4:hover {
  cursor: default;
}

body.library.viewerMode main #tags>div:hover ul li {
  display: inline;
}

body.library.viewerMode main #tags>div:hover ul li .count {
  display: none;
}

body.library.viewerMode main #tags>div:hover ul li:hover {
  cursor: default;
}

body.library.viewerMode main #tags>div:hover ul li:not(.hovered) {
  display: none;
}

body.library main div.text p strong:before a {
  font-family: 'monoRoman' !important;
  font-size: 1.2rem;
  text-decoration: underline;
}
