/* colors */
:root {
  --primary: #292920;
  --secondary: #92866c;
  --ternary: #ddd8ca;
  --white: #ffffff;
}
/* fonts*/
html {
  font-family: 'Montserrat', 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;
}

nav,
nav ul {
  background-color: var(--primary);
}

nav a {
  font-weight: 600;
  color: var(--secondary);
}
.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);
  height: 100vh;
}
form label {
  margin-bottom: 0.75rem;
}
textarea,
input {
  border: 2px solid var(--primary);
  width: 100%;
  box-sizing: border-box;
}
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;
}
#more-info {
  color: var(--secondary);
}

/* Hide default checkbox */
input#burger[type="checkbox"] {
  display: none;
}

/* Style for custom checkbox */
.checkbox-icon {
  background-color: var(--primary);
  cursor: pointer;
}

/* Icon styles */
.check-icon::before {
  content: url(./images/close.svg);
}

.menu-icon::before {
  content: url(./images/menu.svg);
}

#navigation-links {
  background-color: var(--primary);
}
