html {
  background-color: black !important;
  width: 100% !important;
  background-image:
  radial-gradient(circle at 0.5px  25.5px, rgba(37, 63, 132, 0.5) 0.5px, transparent 2px),
  radial-gradient(circle at 25.5px  0.5px, rgba(37, 63, 132, 0.5) 0.5px, transparent 2px),
  radial-gradient(circle at 0.5px   0.5px, rgba(37, 63, 132, 0.5) 0.5px, transparent 2px),
  radial-gradient(circle at 25.5px 25.5px, rgba(37, 63, 132, 0.5) 0.5px, transparent 2px),
  linear-gradient(to right, rgba(37, 63, 132, 0.25) 1px, transparent 1px),
  linear-gradient(to bottom, rgba(37, 63, 132, 0.25) 1px, transparent 1px);
  background-size: 25px 25px;
  background-position-x: calc(50vw - 25px/2);
}

@property --floor {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false /* or true depending on context */
}

body {
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  min-width: 350px;
  max-width: 775px;
  text-shadow: rgb(37, 63, 132) 0 0 2px;
  color: rgba(0,192,255,0.75);
  font-family: retro;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Custom fonts */
@font-face {
  font-family: retro;
  src: url("fonts/Alkhemikal.ttf");
}
@font-face {
  font-family: runes;
  src: url("fonts/Highschool_Runes_.ttf");
}
@font-face {
  font-family: oxrunes;
  src: url("fonts/OXFOR___.TTF");
}
@font-face {
  font-family: "FontAwesome";
  src: url("fonts/fontawesome-webfont.ttf?v=4.7.0") format("truetype");
}

.menubar {
  height: 77px;
  line-height: 48px;
  margin: 23px 0px 0px 0px;
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
}

.menubar_sep {
  height: 0px;
  border-bottom: 1px solid rgba(0,192,255,0.75);
  box-shadow: 0 0 2px 1px rgb(37, 63, 132), inset 0 0 2px 1px rgb(37, 63, 132);
  margin: 0px 24px 24px 25px;
  float: left;
  width: calc(100% - 49px);
}

.menubar .littlebar {
  position: relative;
  width: 24px;
  height: 1px;
  border: 1px solid rgba(0,192,255,1);
  left: 24px;
}

.menubar .upperdiv {
  background-color: rgba(0,192,255,1);
  z-index: 1;
  top: -6px;
}

.menubar .lowerdiv {
  box-shadow: 0 0 2px 1px rgb(37, 63, 132);
  z-index: -1;
  top: -3px;
}

.menubar .active .upperdiv {
  border: 1px solid #d0b77a;
  background-color: #d0b77a;
}

.menubar .active .lowerdiv {
  border: 1px solid #d0b77a;
  box-shadow: 0 0 2px 1px rgba(242,174,10,0.5);
  background-color: #d0b77a;
}

.menubar li:hover .upperdiv {
  border: 1px solid #d0b77a;
  background-color: #d0b77a;
  transition: 0.1s linear 0s;
}

.menubar li:hover .lowerdiv {
  border: 1px solid #d0b77a;
  box-shadow: 0 0 2px 1px rgba(242,174,10,0.5);
  transition: 0.1s linear 0s;
}

.menubar .active {
  color: #d0b77a;
  border: 1px solid #d0b77a;
  box-shadow: 0 0 2px 1px rgba(242,174,10,0.5), inset 0 0 2px 1px rgba(242,174,10,0.5);
  text-shadow: rgba(242,174,10,0.75) 0 0 2px;
}

.menubar ul {
  padding: 0px;
  margin: 2px 0px 0px 25px;
  white-space: nowrap;
}

.menubar a {
  display: block;
  text-align: center;
  padding: 0px 12px 0px 12px;
  width: 100px;
  height: 50px;
  position: relative;
  z-index: 1;
}

.menubar font {
  font-family: runes;
  font-size: 14px;
  z-index: 0;
  line-height: 16px;
  padding-top: 32px;
  height: 18px;
  text-align: right;
  width: 100px;
  position: relative;
  top: -55px;
  float: right;
  left: -13px;
}

/* END OF HEADER */

#content{
  margin: 24px 24px 25px 25px;
  max-width: 775px;
}

.box {
  display: inline-block;
  border: 1px solid rgba(0,192,255,1);
  box-shadow: 0 0 2px 1px rgb(37, 63, 132), inset 0 0 2px 1px rgb(37, 63, 132);
  border-top-right-radius: 12px;
  text-align: center;
  font-size: 24px;
  line-height: 25px;
  background-color: #000000a3;
}

.box:hover{
  border: 1px solid #d0b77a;
  box-shadow: 0 0 2px 1px rgba(242,174,10,0.5), inset 0 0 2px 1px rgba(242,174,10,0.5);
  text-shadow: rgba(242,174,10,0.75) 0 0 2px;
  color: #d0b77a;
  transition: 0.1s linear 0s;
}

.box:hover .text-divider::before{
  background-color: #d0b77a;
  box-shadow: 0 0 2px 1px rgba(242,174,10,0.5), inset 0 0 2px 1px #d0b77a;
  transition: 0.1s linear 0s;
}

.box:hover .text-divider::after{
  background-color: #d0b77a;
  box-shadow: 0 0 2px 1px rgba(242,174,10,0.5), inset 0 0 2px 1px #d0b77a;
  transition: 0.1s linear 0s;
}

.menubar li {
  width: 124px;
  height: 49px;
  margin: 0px 19px 0px 0px;
  line-height: 48px;
}

.menubar li.icon {
  display:none;
  margin: 0px 24px 0px 0px;
}

.cardtitle {
  float: left;
  align-items: center;
  width: 349px;
  height: 49px;
  color: #a362b5;
  border: 1px solid #9545c1;
  box-shadow: 0 0 2px 1px rgba(213, 10, 242, 0.5), inset 0 0 2px 1px rgba(213, 10, 242, 0.5);
  text-shadow: #9545c1 0 0 2px;
}
.cardtitle div{
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.cardtitle font{
  line-height: 10px;
  width: 100%;
}
.cardtitle span{
  vertical-align: sub;
}
.cardtitle a{
  font-size: 18px;
  line-height: 18px;
}

.titlerunes {
  font-family: runes;
  font-size: 14px;
  z-index: 0;
  /* line-height: 16px; */
  /* padding-top: 32px; */
  /* height: 18px; */
  /* text-align: right; */
  /* width: 100px; */
  /* position: relative; */
  /* top: 1px; */
  /* float: right; */
  /* left: -12px; */
}

.cardboard {
  float: left;
  width: 349px;
  height: 224px;
  border-bottom-left-radius: 12px;
}

.cardboard .journal_title {
  display: block;
  padding: 0px 25px 0px 25px;
  text-align: right;
  width: 100%;
}

.cardboard .article_title {
  display: block;
  padding: 0px 25px 0px 25px;
  font-size: 20px;
}

.cardboard .article_authors {
  display: block;
  padding: 0px 25px 0px 25px;
  font-size: 16px;
  text-align: left;
  font-style: italic;
  line-height: 16px;
}

.cardboard a {
  width: 100%;
  height: 100%;
  display: block;
}

hr.solid {
  border-top: 2px solid rgba(0,192,255,0.75);
}

.left_card { margin: 0px 24px 24px 0px; }
.right_card { margin: 0px 0px 24px 0px; }

/* Hamburger menu design */
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa-bars:before {
    content: "\f0c9";
}

/* Text divider */
.text-divider {
  font-family: runes;
  font-size: 14px;
  display: flex;
  align-items: center;
  --text-divider-gap: 24px;
  height: 5%;
}

.text-divider::before,
.text-divider::after {
  content: '';
  height: 1px;
  background-color: rgba(0,192,255,0.75);
  flex-grow: 1;
  margin-left: var(--text-divider-gap);
  margin-right: var(--text-divider-gap);
}

/* TAILLES D'ECRAN */
@media screen and (min-width: 0px) and (max-width: 374px) {
  body{ max-width: 350px !important; }
  html{ background-position-x: calc(50vw - 25px) !important; }
  .menubar li.icon { width: 49px !important; }
  .menubar li.icon a { width: 25px; }
  .cardboard {
    width: 299px !important;
    height: 224px !important;
  }
  .cardboard { line-height: 20px !important; }
  .cardtitle { width: 299px !important; }
}
@media screen and (min-width: 375px) and (max-width: 474px) {
  body{ max-width: 375px !important; }
  .menubar li.icon { width: 74px !important; }
  .menubar li.icon a { width: 50px; }
  .cardboard {
    width: 324px !important;
    height: 199px !important;
  }
  .cardtitle { width: 324px !important; }
}
@media screen and (max-width: 474px) {
  .menubar li { width: 99px; }
  .menubar a { width: 75px; }
  .menubar .lowerdiv { left: -1px; }
  .menubar .upperdiv { left: -1px; }
  .menubar font { left: -5px; }
  .cardboard .journal_title { font-size: 20px; }
  .cardboard .article_title { font-size: 18px; }
  .cardboard .article_authors { font-size: 14px; }
  .cardboard { line-height: 22px; }
}

@media screen and (max-width: 624px) {
  body{ max-width: 475px; }
  .menubar li:not(:nth-child(1)):not(.active):not(.default_active) {display: none;}
  .menubar li.icon { display: inline-block !important; }
  .cardboard {
    width: 424px;
    height: 224px;
  }
  .cardtitle { width: 424px; }
}

@media screen and (min-width: 625px) and (max-width: 774px) {
  body{ max-width: 625px; }
  .menubar li:not(.vw3_active) {display: none;}
  .menubar li.icon { display: inline-block !important; }
  .cardboard {
    width: 274px;
    height: 249px;
  }
  .cardtitle { width: 274px; }
  .cardboard .journal_title { font-size: 20px; }
  .cardboard .article_title { font-size: 18px; }
  .cardboard .article_authors { font-size: 14px; }
  .cardboard { line-height: 22px; }
}

/* ACTIVATE HAMBURGER */
@media screen and (max-width: 774px) {
  .menubar.responsive {position: relative;}
  .menubar.responsive li {
    display: inline-block !important;
    text-align: left;
  }
}
