@font-face {
  font-family: quasimoda;
  src: url(../font/quasimoda.woff); 

}
@font-face {
  font-family: quasimoda_bold;
  src: url(../font/quasimoda-Bold.woff); 

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: quasimoda, sans-serif;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* padding: 20px; */
}

h2 {
	margin-top: 80px;
  text-transform: uppercase;
  font-weight: bold;
  padding-bottom: 20px;
	font-family: quasimoda-Bold, sans-serif;
}

p .ppresentation {
    font-size: 24px;
}
.header {
  max-width: 1300px;
  width: 100%;
  position: relative;
}

#slogan-small {
  display: none;
}

#bg-header {
  width: 100%;
  height: auto;
}
.hero {
  position: absolute;
  top: 20px;
  left: 20px;
}

.hero p {
  width: 30vw;
  padding-top: 80px;
}

#logo-header {
  width: 40vw;
  height: auto;
}
.container {
  max-width: 1000px;
  width: 100%;
  padding: 20px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.burger {
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
}

.burger div {
  width: 45px;
  height: 5px;
  background-color: black;
  margin: 10px;
  transition: all 0.3s ease;
}

.nav-links {
  position: fixed;
  right: 0px;
  height: 100vh;
  top: 0;
  background-color: rgb(252, 252, 252);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 50%;
  transform: translateX(100%);
  transition: transform 0.5s ease-in;
  font-size: 15px;
  z-index: 1000;
}
.nav-links li {
  color: black;
}
.nav-links li {
  list-style: none;
  opacity: 0;
}
nav a {
  text-decoration: none;
  color: black;
  font-size: 20px;
  text-transform: uppercase;
}

.nav-active {
  transform: translateX(0%);
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 16px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -16px);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

header {
  margin-bottom: 30px;
}
.video-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.video-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

.main-video {
  max-width: 600px;
  padding-bottom: 20px;
}

section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 30px;
  text-align: justify;
}
section2 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 25px;
  margin-bottom: 30px;
  text-align: justify;
}
.candidat {
  display: flex;
  flex-direction: column;
}
.img img {
  width: 100%;
  height: auto;
}
h3 {
  text-transform: uppercase;
  padding-top: 10px;
  padding-bottom: 15px;
}

section div {
  /* padding: 20px; */
  border-radius: 5px;
}

footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

footer img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 800px) {
  section {
    grid-template-columns: repeat(2, 1fr);
  }
  #logo-header {
    width: 55vw;
  }
  #slogan-big {
    display: none;
  }
  #slogan-small {
    display: block;
    padding: 0 20px 20px 20px;
  }
  header {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 550px) {
  section {
    grid-template-columns: repeat(1, 1fr);
  }
  .nav-links {
    width: 100%;
  }
  .hero p {
    width: 30vw;
    padding-top: 20px;
  }
}
