@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700");
@import url("https://fonts.googleapis.com/css2?family=Cardo:ital@1");

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.2rem;
  height: 100%;
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-weight: bold;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

html {
  height: 100%;
}

main {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

p + p,
p + h3 {
  margin-top: 2rem;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 40rem;
  min-height: 100%;
  padding: 0 2rem;
}

section > div:only-child {
  margin: auto;
}

table {
  margin: 2rem 0;
}

td {
  padding-bottom: 1rem;
}

td + td {
  padding-left: 1rem;
}

#contact {
  overflow-x: auto;
}

#hero {
  align-items: flex-start;
  background-image: url("https://cdn.dxomark.com/wp-content/uploads/medias/post-34763/11_SamsungGalaxyNote10Plus5G-4_ref.jpg");
  background-position: right center;
  background-size: cover;
  display: flex;
  margin-top: 0;
  max-width: none;
}

#hero h1,
#hero h2 {
  color: #fff;
  font-weight: bold;
  margin: 0;
  text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000,
    1px 1px 1px #000;
}

#hero h1 {
  font-size: 3.5rem;
  line-height: 1.125;
}

#hero h2 {
  font-size: 2rem;
  font-style: italic;
}

#hero p {
  background-color: #fff;
  color: #000;
  font-weight: bold;
}

#tarifs td:first-child {
  width: 80%;
}

.animate {
  opacity: 1;
  transition: opacity 3s, transform 3s;
}

.animate.invisible {
  opacity: 0.2;
}

.animate-right.invisible {
  transform: translateX(4rem);
}

.animate-left.invisible {
  transform: translateX(-4rem);
}

.big-image {
  background-position: center;
  background-size: cover;
  height: 20rem;
}

.big-image.dunes {
  background-image: url("https://c.pxhere.com/photos/41/4c/north_sea_away_dunes_dune_landscape_path-1083643.jpg!d");
}

.big-image img {
  width: 100%;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  padding: 1.5rem;

}

.menu a {
  color: #000;
  font-weight: bold;
  line-height: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}

.menu a:hover {
  color: #777;
}

.no-wrap {
  white-space: nowrap;
}

.portrait {
  float: right;
  margin: 0 0 1rem 1rem;
  max-width: 18rem;
}

.quote {
  display: block;
  font-family: "Cardo", serif;
  font-size: 1.125rem;
  font-style: italic;
  margin: 3rem auto;
  max-width: 40rem;
}

.quote::before {
  content: "“";
}

.quote::after {
  content: "”";
}

.scrim {
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 1rem;
  box-shadow: 0 0 1rem 1rem rgba(0, 0, 0, 0.25);
}
