/* colors */
:root {
  --primary: #292920;
  --secondary: #92866c;
  --ternary: #ddd8ca;
  --white: #ffffff;
}
/* fonts*/
html {
  font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
}
h1,
h2,
h3,
p {
  color: var(--primary);
}

h1 {
  font-weight: 700;
  color: var(--white);
  text-shadow: 5px 4px 4px rgba(0, 0, 0, 0.25);
  line-height: 3.5rem;
  position: relative;
  top: -15vh;
}

h2 {
  font-weight: 700;
}
h3 {
  font-weight: 600;
}
/* layouts */
section {
  padding: 2rem 0;
}

#hero {
  background-image: url("./images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#logo {
  float: left;
  margin-right: 1rem;
  position: relative;
  top: 1rem;
}

nav {
  background-color: var(--primary);
  color: var(--ternary);
  width: 100%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
  height: 5.5rem;
  line-height: 5.5rem;
}
nav ul {
  display: flex;
  gap: 1rem;
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: relative;
  top: 1.6rem;
}
nav a {
  font-weight: 400;
  color: var(--ternary);
}
.active {
  color: white;
  font-weight: 600;
}
.module {
  background-color: var(--ternary);
}

.module img {
  width: 100%;
  height: auto;
}

.module p {
  padding: 0 1rem;
}

.fondateur img {
  float: left;
  margin-right: 2rem;
  margin-bottom: 2rem;
  width: calc(25% - 1.6rem);
}

blockquote {
  background-color: var(--ternary);
  position: relative;
  margin-inline-start: 0;
  margin-inline-end: 0;
  margin: 0;
  padding: 1rem;
}

.avatar {
  float: left;
  margin-right: 1rem;
  margin-bottom: 1rem;
  width: 4rem;
}

q {
  display: block;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.job {
  display: inline;
}
#contact {
  background-color: var(--ternary);
}
label {
  margin-bottom: 0.5rem;
}
textarea,
input {
  border: 2px solid var(--primary);
  width: 100%;
}
textarea {
  height: 8rem;
}
input {
  height: 2.5rem;
  margin-bottom: 1rem;
}
input[type="submit"],
button {
  border: 1px solid var(--primary);
  color: var(--ternary);
  background-color: var(--primary);
  padding: 0.5rem 1rem;
}
input[type="submit"]:hover,
button:hover {
  background: var(--ternary);
  color: var(--primary);
}
footer {
  background-color: var(--primary);
  color: var(--ternary);
  padding: 1rem 0;
}
