:root {
  --primary: #10415c;
  --primaryLighter: #1f719c;
  --sideMargin: 10rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Ubuntu", sans-serif;
  overflow-x: hidden;
}

main {
  flex-grow: 1;
  padding: 3rem var(--sideMargin);
}

footer {
  width: 100vw;
  padding: 1.5rem;

  background-color: var(--primary);
  color: #d1d1d1;

  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

footer nav {
  display: flex;
  gap: 3rem;
  margin: 0 auto;
}

footer nav a {
  color: #d1d1d1;
}

nav a {
  text-decoration: none;
  color: inherit;
}

nav a:hover {
  text-decoration: underline;
}

nav a:visited {
  color: inherit;
}

footer nav a:hover {
  text-decoration: underline;
}

footer > a {
  color: inherit;
  text-decoration: none;
}

footer > a:hover {
  color: #fff;
}

header {
  background-color: var(--primary);
  color: white;
  padding: 2rem var(--sideMargin);
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

header nav {
  display: flex;
  gap: 2rem;
}

header > a {
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

header > a:visited {
  color: inherit;
}

header > a:hover {
  transform: scale(1.05);
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.1);
}
.container {
  position: relative;
  text-align: center;
  color: black;
  margin: 1.25em;
}

.hotel {
  display: flex;
  margin: auto;
  border: 3px solid grey;
  padding: 10px;
  background-color: burlywood;
}

.txt-right {
  text-align: right;
}

.div-images {
  grid-template-columns: 10vw 10vw;
  grid-template-rows: 20vh 20vh;
  width: 50vw;
}
.div-img {
  display: flex;
  width: 100%;
  height: 50%;
}
.div-text {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}
.espace {
  margin: 2px;
}

a {
  color: #10415c;
  font-weight: 500;
  -webkit-transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  display: inline-block;
  text-decoration: none;
  position: relative;
}
a:hover {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
}
a::before {
  position: absolute;
  top: -2px;
  left: -7px;
  box-sizing: content-box;
  padding: 0 5px;
  width: 100%;
  height: 100%;
  border: 2px solid #10415c;
  content: "";
  opacity: 0;
  -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
  transition: opacity 0.2s, transform 0.2s;
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
}
a:hover::before {
  opacity: 1;
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
