body,
html {
  border: 0;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
  position: relative;
}
.svg {
  position: absolute;
  top: 50%;
  left: 40%;
}
.svg-test{
    position: absolute;
    left:39%
}
.navig {
  position: fixed;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
}

nav.scrolled {
  background-color: white;
}

.logo {
  text-align: center;
}
.menu-button {
  position: absolute;
  right: 2%;
}
.div_logo {
  max-width: 120px;
  margin-top: 20px;
}

.log1 {
  width: 300px;
}

.logo-small {
  width: 100%;
}

.menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: #333;
  transition: right 0.4s ease;
  z-index: 2;
}

.menu.open {
  right: 0;
}

.menu ul {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.menu ul li {
  margin-bottom: 15px;
}

.menu ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
}

.bar {
  width: 35px;
  height: 3px;
  background-color: #002e59;
  margin: 6px 0;
}
.bar2 {
  width: 25px;
  height: 3px;
  background-color: #002e59;
  margin: 0;
}
.bar3 {
  width: 15px;
  height: 3px;
  background-color: #002e59;
  margin: 6px 0;
}
.button {
  position: absolute;
  right: 5%;
}
/* CSS */
.button-1 {
  background-color: #225378;
  border-style: none;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-family: "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 20px;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 10px 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  vertical-align: baseline;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-2 {
  background-color: #39aaf1;
  border-style: none;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-family: "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 20px;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 10px 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  vertical-align: baseline;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.menu-open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-open .bar:nth-child(2) {
  opacity: 0;
}

.menu-open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-sec {
  background: url("duval-bg-clair.png") no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.svg-container {
  width: 25%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 1;
}

svg {
  width: 100%;
  height: auto;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text {
  font-family: "Playfair Display";
  font-weight: 600;
  font-size: 18px;
  color: white;
  letter-spacing: 3px;
  text-decoration: none;
}

.text-container {
  position: absolute;
  text-align: center;
  bottom: 20px;
  width: 100%;
}

.space {
  height: 800px;
}

@font-face {
  font-family: Playfair;
  src: url(Playfair_Display/static/PlayfairDisplay-Regular.ttf);
  font-weight: bold;
}

#cookie-button {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 2%;
  cursor: pointer;
  z-index: 1000;
  background-color: #ffffff00;
  padding: 8px;
  transition: background-color 0.3s, transform 0.3s;
}

#cookie-button:hover {
  transform: scale(1.55);
}
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: rgb(255 255 255);
  color: black;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 1001;
  width: 20%;
}

.cookie-content {
  text-align: center;
}

.cookie-content p {
  margin: 0 0 10px;
}

.cookie-content button {
  background-color: #225378;
  color: white;
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 4px;
}

.cookie-content button:hover {
  background-color: #002e59;
}
