@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    color: #fcfcfc;
    font-family: "Black Ops One", system-ui;
    font-size: 65px;
    line-height: 1;
}


.texte .bouton {
    display: inline-block;
    color: rgb(3, 3, 3);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    padding: 10px 20px;
    margin-top: 20px;
    margin-inline:15px;
    margin-left: 0px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    background-color: #fff;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 15px;
}



p {
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bolder;
    font-size: 20px;
}

.sst p {
    color: #fff;
    opacity: 80%;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bolder;
    font-size: 20px;
}

.petit-titre {
    font-size: 20px;
    font-family: 'Press Start 2P', monospace;
}

.bouton:hover {
    background-color: #e9eaeb;
}

img
{
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;
	width: 550px;
    height: auto;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: auto;
    min-height: 90vh;
}

.quiz {
    display: flex;
    padding: 50px;
    justify-content: space-between;
    margin: auto;
    min-height: 90vh;  
}

.quiz1 {
    display: inline-block;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    padding: 10px 20px;
    margin-top: 5px;
    border-radius: 8px;
    transition: 0.3s;  
}

form {
    padding-inline: 200px;
}

.quiz1 p {
    color: rgb(0, 0, 0);
    font-family: 'Times New Roman', Times, serif;
}

.texte {
    width: 50%;
}

.image {
    width: 50%;
    display: flex;
    justify-content: center;
}

.image img {
    width: 550px;
    height: auto;
}

body {
    background: linear-gradient(rgb(255, 0, 0), rgb(27, 16, 147));
    margin: 0;
    min-height: 100vh;
    font-family: Arial;
    color: rgb(0,0,64);
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  background-color: #fafbfd;
}

.navbar > ul {
    display: flex;
    justify-content: right;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1.5rem;
}

.navbar li {
    margin: 0;
}

.navbar a {
    display: block;
    color: rgb(5, 5, 5);
    text-decoration: none;
    padding: 20px 30px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    transition: 0.3s;
}

.navbar a:hover {
    background-color: #d7d7d7;
    border-radius: 10px;
}

.navbar .logofond a {
    background-color: none;
    padding: 8px;

}

.navbar .logofond a:hover {
    background-color: #e10000;
    text-decoration: none;
}

.logo {
    color: white;
    border: 4px solid white;
    padding: 5px 15px;
    border-radius: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

    font-weight: bold;
}


.logofond {
    background-color: #e10000;
    border-radius: 0px;
    width: auto;
    background-size: auto;
    font-size: 1.5rem;
    padding: 7px 15px;
}

footer i {
    text-align: right;
    padding-right: auto;
    margin-left: 80%;
}

footer {
    color: #fff;
    background-color: #a70303;
    padding: 20px 0;
    margin-top: 0px;
    margin-bottom: 0px;
}

.footer-logo {
    color: white;
    border: 4px solid white;
    border-radius: 20px;
    padding: 5px 15px;
    display: inline-block;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
}

.dropdown {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 275px;
    background-color: white;
    padding: 10px 0;
    margin: 0;
    border-radius: 0 0 20px 20px;
    z-index: 100;
    flex-direction: column;
}

.dropdown:hover .submenu {
    display: block;
}

.submenu li {
    display: block;
    width: 100%;
    list-style: none;
}

.submenu a {
    display: block;
    width: 100%;
    color: rgb(0, 0, 64);
    padding: 20px 25px;
    white-space: nowrap;
}

.submenu a:hover {
    background-color: #eeeeee;
    border-radius: 0;
    border: 4px solid rgb(4, 4, 4);
    animation: 0s;
}

.quiz .texte {
     width: 100%; 
}
.quiz1 { 
    display: block; 
    margin-bottom: 20px; 
    padding: 20px; 
}
.quiz1 label { 
    font-family: 'Times New Roman', Times, serif;
    font-size: 25px; 
    margin: 8px 0; 
    cursor: pointer; 
}
.quiz1 p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
}


.page { 
    width: 90%; 
    margin: auto; 
    padding: 40px 0; 
}
.page h1 { 
    margin: 10px 0 30px; 
}
.page h2 { 
    color: #fff; 
    font-family: 'Press Start 2P', monospace; 
    font-size: 33px; 
    margin: 50px 0 20px;
}
.grille { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
}

.carte { 
    background: #fff;
    opacity: 97%;
    border-radius: 12px; 
    padding: 20px; 
}

.grille .carte {
    background-color: rgba(255, 255, 255, 0.95);
}

.grille .carte img { 
    width: 100%; 
    height: 200px; 
    object-fit: contain; 
    margin: 0 0 15px; 
}



.carte h3 { 
    font-family: 'Press Start 2P', monospace; 
    font-size: 18px; color: #000; 
}
.carte .annee { 
    font-family: 'Press Start 2P', monospace; 
    font-weight: bold; color: #e10000; 
    margin: 5px 0 10px; 
        font-size: 14px
}
.carte p { 
    color: #000; 
    font-family: 'Times New Roman', Times, serif; 
    font-size: 18px; 
}


.quiz .image {
    display: flex;
    align-items: center;
    width: auto;
    gap: 50px;
}

.quiz .image img {
    width: 200px;
    margin: 0 100px 0 auto;
} 

.center {
    text-align: center;
}

.quiz1 p span{
    color: #e10000;
    font-family: 'Press Start 2P', monospace; 
    font-size: 19px;
}

.carousel {
  width: 100%;
  max-width: auto;
  margin: 0 auto;
  overflow-x: auto;
  cursor: all-scroll;
}

.carousel::-webkit-scrollbar {
  display: none;
}
.carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-track {
  display: flex;
  gap: 16px;
}

.carousel img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}


.page .image {
  position: absolute;
  top: 100px;
  right: 0px;
}

.page .image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}


.carousel:active {
  cursor: grabbing;
}

.quiz .carousel img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  max-width: 300px;
margin: 0 100px 0 auto;
}

.quiz .carousel {
    max-width: 450px;  
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: defilement-titre 12s linear infinite;
}

.marquee-content h1 {
  display: inline-block;
  margin: 0;
  padding-left: 250px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes defilement-titre {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.carousel .carte {
    flex: 0 0 425px;
    text-align: center;
}

.carousel .carte img {
    width: 100%;
    height: 250px;
    max-width: none;
    object-fit: contain;
    margin: 0 0 15px;
}

.grille .carte {
    text-align: center;
}

.grille .carte h3 {
    margin-bottom: 15px;
}