/* Imporations */
@import url(https://fonts.googleapis.com/css2?family=Source+Sans+Pro);
@import url(https://fonts.googleapis.com/css2?family=Secular+One);
/* Main */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Source Sans Pro";
}

/* Banderole */
#header {
  position: fixed;
  top: 0;
  left: 0;
  background-color: white;
  width: calc(100% - 4em);
  padding: 0.5em 2em;
  box-shadow: 0 2px 5px gray;
  z-index: 99999;
}

#header h1 {
  font-family: 'Secular One';
  font-variant: small-caps;
  margin: 0;
  float: left;
}

#header #descri {
  float: left;
  margin: 1.5em 0 0 1em;
  font-size: small;
}

#header #wrapper p {
  font-weight: bold;
  text-align: center;
  float: right;
  margin: 1em;
}

#header #wrapper p a {
  color: black;
}

#header #wrapper #onthis {
  color: white;
  border: 5px solid #ffd100;
  background-color: #ffd100;
  border-radius: 5px;
}

/* Liens */
a {
  position: relative;
  color: #ffd100;
  text-decoration: none;
}

a:not(#onthis)::before, a:not(#onthis)::after {
  position: absolute;
  bottom: 0;
  width: 0;
  background: transparent;
  content: "";
  height: 1px;
  transition: width 0.5s, background 0.5s;
}

a::after {
  left: 50%;
}

a::before {
  right: 50%;
}

a:not(#onthis):hover::before, a:not(#onthis):hover::after {
  background: #ffd100;
  width: 50%;
}

/* Corps de page */
#corps {
  position: relative;
  float: left;
  width: calc(70% - 4em);
  padding: 4.25em 2em 0 2em;
}

#corps h2 a {
  color: black;
}

#corps canvas {
  position: relative;
  left: 0;
  display: block;
}

#corps input {
  font-family: "Source Sans Pro";
  padding: 0.5em;
}

#corps input:not([type=submit]) {
  width: 85%;
}

#corps input[type=submit] {
  color: white;
  background-color: #ffd100;
  border: none;
  outline: none;
  border-radius: 3px;
}

#corps textarea {
  font-family: "Source Sans Pro";
  font-size: 14px;
  padding: 0.5em;
  width: calc(100% - 1em);
  height: 16em;
  resize: none;
}

#corps #sep {
  border-bottom: 1px solid lightgray;
}

#corps .quote {
  position: relative;
  display: block;
  left: 1em;
  padding: 0 1em;
  border-left: 2px solid #ffd100;
  border-radius: 5px;
  font-style: italic;
}

#actu {
  position: relative;
  float: right;
  width: calc(30% - 2em);
  padding: 4.25em 1em 0 1em;
  overflow-y: auto;
}

#actu #date {
  color: gray;
  font-style: italic;
}

#actu h2 a {
  color: black;
}
