:root {
  --main-color: #675c4c;
  --accent-primary: #D4A373;
  --accent-dark: #2F3E46;
  --background-light: #F8F5F2;
  --text-dark: #1C1C1C;
  --text-light: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* HEADER */

header {
    background: var(--main-color);
    color: white;
    text-align: center;
    padding: 4% 0;
    width: 100%;
}

/* MAIN */

main {
    max-width: 85%;
    margin: 5% auto;
    padding: 0 3%;
}

/* COMPANY CARD */

.company {
    background: white;
    padding: 4%;
    margin-bottom: 4%;
    border-radius: 2%;
    color: var(--text-dark);
    box-shadow: 0 0.5% 2% rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.company:hover {
    transform: translateY(-1%);
    box-shadow: 0 1% 3% rgba(0,0,0,0.1);
}

/* BUTTON */

.btn {
    display: inline-block;
    padding: 1% 3%;
    background-color: var(--accent-primary);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    margin-top: 2%;
}

.btn:hover {
    background-color: var(--accent-dark);
}

/* FOOTER */

footer {
    text-align: center;
    padding: 2%;
    background-color: var(--main-color);
    color: var(--text-light);
    margin-top: 5%;
    width: 100%;
}

/* LOGO */

.logo {
    width: 30%;
}

.logoheader {
    width: 30%;
    height: auto;
}

/* HEADER FLEX */

.headerCompagnie {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* LIST */

ul {
    padding-left: 5%;
    padding-bottom: 3%;
}

/* HERO */

.hero {
  height: 100vh;
  background: linear-gradient(
      rgba(47,62,70,0.75),
      rgba(47,62,70,0.75)
    ),
    url("https://images.unsplash.com/photo-1502005229762-cf1b2da7c5d6?auto=format&fit=crop&w=1600&q=80")
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  flex-direction: column;
  padding: 5%;
}

.hero p {
    margin-top: 2%;
}

/* HERO BUTTON */

.btn-hero {
  padding: 2% 4%;
  background-color: var(--accent-primary);
  color: var(--text-light);
  text-decoration: none;
  font-weight: bold;
  border-radius: 1%;
  transition: 0.3s;
  margin: 2%;
  border-radius: 5px;
}
