* {
  outline: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-family: "Montserrat", sans-serif;
  font-size: 62.5%;
  font-weight: normal;
}
@media only screen and (max-width: 75em) {
  html {
    font-size: 56.25%;
  }
}

@media only screen and (max-width: 56.25em) {
  html {
    font-size: 50%;
  }
}
body {
  background-image: url("../img/bg-left.png"), url("../img/bg.png");
  background-position: left 15vh, right 50vh;
  background-repeat: no-repeat, no-repeat;
  background-size: 30em, 60em;
  background-color: #f0f0f0;
}
.min-height {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.section-root,.section-contact {
  min-height: 60vh;
}
a {
  text-decoration: none;
  color: #000;
}
ul {
  list-style: none;
}
section {
  max-width: 990px;
  margin: 0 auto;
  width: 100%;
}
header {
  padding: 1em;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 4em;
}
.header {
  width: 100%;
  max-width: 990px;
  margin: 0 auto;
}
header,
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__menu {
  font-size: 1.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
.header__menu li {
  margin: 0 1em;
}
.header--root {
  justify-content: center;
}
.flags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.country-title {
  text-align: center;
  font-weight: bold;
  font-size: 3em;
}
.flags__link {
  display: block;
  text-align: center;
  max-width: 160px;
  margin: 1em 0;
}
.flag__name {
  font-size: 2em;
}
img {
  max-width: 100%;
  height: auto;
  margin: 0;
}
footer {
  background-color: #c13a33;
  color: #fff;
  text-align: center;
  font-size: 14px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
.index {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
}
.index__texts {
  width: 60%;
}
.index__title {
  font-size: 3em;
  line-height: normal;
  text-transform: uppercase;
}
.index__underTitle {
  font-size: 3.4em;
  margin: 1em 0;
}
.index__paragraphe {
  font-size: 1.7em;
  font-weight: 300;
}
.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
}
.section__title {
  font-size: 3em;
  text-transform: uppercase;
  font-weight: bold;
}
.section__img {
  max-width: 200px;
}
.content {
  font-size: 1.7em;
  font-weight: 300;
  padding: 1em;
}
.bold {
  font-weight: 600;
  margin: 1em 0;
}
#menu-toggle {
  display: none;
}
.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #c13a33;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}
.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #c13a33;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}
.menu-button::before {
  content: "";
  margin-top: -8px;
}
.menu-button::after {
  content: "";
  margin-top: 8px;
}
#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}
#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}
#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}
@media (max-width: 767px) {
  .flags__link {
    max-width: 100px;
  }
  .index,
  .section__header {
    flex-direction: column-reverse;
  }
  .index__texts {
    width: 100%;
  }
  .header__menu {
    position: absolute;
    top: 0;
    margin-top: 50px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 3;
  }
  #menu-toggle ~ .header__menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
  }
  #menu-toggle:checked ~ .header__menu li {
    border: 1px solid #333;
    height: 50px;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 1;
    align-items: center;
  }
  .menu-button-container {
    display: flex;
  }
  label.menu-button-container {
    order: 3;
  }
  .header__menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: #fff;
    background-color: #222;
  }
  .header__menu li a {
    color: #ffffff;
    font-size: 15px;
  }
  .index__img {
    max-width: 350px;
    margin: 0 auto;
}
}
