@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@300&display=swap');

:root {
  --ck-sample-base-spacing: 2em;
  --ck-sample-color-white: #fff;
  --ck-sample-color-green: #279863;
  --ck-sample-color-black: #000;
}

body {
  font-family: Alegreya Sans;
}

#Navigation {
  position: absolute;
  height: auto;
  width: 90%;
  left: 10%;
  top: 0.6%;
  font-size: 2vw;
  display: flex;
  justify-content: space-around;
  text-decoration-line: none;
}

.wallpaper {
  position: relative;
}

.wallpaper img#fond-add {
  max-width: 100%;
  padding: 0;
  z-index: 0;
}

main {
  display: block;
}

.message {
  padding: 0 0 var(--ck-sample-base-spacing);
  background-color: white;
  color: var(--ck-sample-color-black);
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 13%;
  padding: 5%;
  border: 0.125em solid #cdd0d2;
  border-radius: 0.9375em;
  z-index: 1;
}

.message .title {
  width: 100%;
  margin-bottom: 20px;
  font-family: Alegreya Sans;
}

main .message h1 {
  margin: 0 0 1em;
  font-size: 2.2em;
  display: flex;
  justify-content: center;
}

main .message p {
  font-size: 1.1em;
  line-height: 1.6em;
}

.message input[type="text"],
.message input[type="password"] {
  width: 100%;
  padding: 10px;
  font-size: 18px;
  box-sizing: border-box;
  margin-bottom: 10px;
  font-family: Alegreya Sans;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  border: 1px solid #dfe4e6;
  border-bottom-color: #cdd0d2;
  border-right-color: #cdd0d2;
}

.message .input-group {
  display: flex;
  align-items: center;
}

    .message .input-group-prepend {
      padding: 10px 11px 13px;
      background-color: #f7f7f7;
      border: 1px solid #dfe4e6;
      border-right: none;
      border-radius: 4px 0 0 4px;
      margin-top: -9px;
    }

.message .input-group-text {
  color: #999;
  font-size: 14px;
}

a {
  font-style: normal;
  text-decoration-line: none;
}

a.lien-classique {
  color: #0f334b;
}

abbr {
  border-bottom: 1px dotted #333;
  text-decoration: none;
}

.centered {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--ck-sample-base-spacing);
}

textarea {
  resize: none;
  width: 100%;
  padding: 10px;
  font-size: 18px;
  box-sizing: border-box;
  margin-bottom: 10px;
  font-family: Alegreya Sans;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  border: 1px solid #dfe4e6;
  border-bottom-color: #cdd0d2;
  border-right-color: #cdd0d2;
}

/* --------- HEADER ---------------------------------------------------------------------------- */

header .centered {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  min-height: 8em;
}

header h1 {
  margin: 0;
  font-size: 1em;
  display: inline-block;
}

header h1 a {
  display: inline-block;
  line-height: 0;
}

header h1 img {
  height: 3em;
}

header nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

header nav ul li {
  display: inline-block;
  margin-left: 1em;
}

header nav ul li a {
  text-decoration: none;
  color: #0f334b;
  font-size: 1.2em;
}

/* --------- FOOTER ---------------------------------------------------------------------------- */

footer {
  background-color: var(--ck-sample-color-green);
  color: var(--ck-sample-color-white);
  padding: 2em 0;
  text-align: center;
}

footer p {
  margin: 0;
}

/* --------- MEDIA QUERIES ---------------------------------------------------------------------------- */

@media only screen and (max-width: 768px) {
  #Navigation {
    font-size: 14px;
  }

  main {
    width: 90%;
    margin: 5% auto;
  }

  .message {
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  header .centered {
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
  }

  header h1 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
  }

  header nav ul li {
    display: block;
    margin: 0.5em 0;
  }
}

button {
  appearance: none;
  background-color: white;
  border: 0.125em solid #cdd0d2;
  border-radius: 0.9375em;
  box-sizing: border-box;
  color: grey;
  cursor: pointer;
  display: inline-block;
  font-family: Alegreya Sans;
  font-size: 16px;
  margin: 0;
  min-height: 3.75em;
  min-width: 0;
  outline: none;
  padding: 1em 2.3em;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  will-change: transform;
}

button:disabled {
  pointer-events: none;
}

button:hover {
  color: #fff;
  background-color: #41b26a;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
  border: 0.125em solid transparent;
}

button:active {
  box-shadow: none;
  transform: translateY(0);
}

.button-container {
  display: flex;
  justify-content: center;
}

.error-message {
  color: red;
  text-align: center;
  font-weight: bold;
}


.menu {

	border-radius: 0 0 20px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	left: 5%;
	position: fixed;
	top: 0;
	left: 5%;
	width: 90%;
	background-color: #fff;
	padding: 10px 0;
	z-index: 1000;
	border-radius: 0 0 20px 20px;
}

.global
{
    height: fit-content;
}

.resum-auteur {
	color: white;
	padding: 30px;
	text-align: justify;
}

.logo {
	height: 50px;
	margin-left: 20px;
}

.logo img {
	height: 40px;
}

.menu ul {
	list-style-type: none;
	margin-right: 30px;
	padding: 0;
	display: flex;
}

.menu ul li {
	margin-right: 20px;
}

.menu ul li:last-child {
	margin-right: 0;
}

.menu ul li a {
	color: #000;
	text-decoration: none;
	font-size: 1.5em;
}

.menu ul li a:hover {
	background-color: #777;
}