
#searchInput{
	  background-color: rgb(131,143,139);
  position: relative;   
    border-radius: 100px;  
color: white;	
}
#resultBox{
		  background-color: rgb(131,143,139);
  position: relative;    
color: white;
}












#top-bar {
    width: 100%;
    height: 70px;
    background: black;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    transition: height 0.3s ease;
	

    justify-content: left;

}
#top-bar.shrink {
    height: 40px;
}
#bbc-logo {
    height: 55px;
	 width: auto;
	     border-radius: 100px;
}

#top-bar.shrink #bbc-logo {
    height: 30px;
}
#top-bar.shrink #portrait5 {
    height: 30px;
}
#top-bar.shrink #portrait7 {
    height: 30px;
}

.site-title {
    font-size: 35px;
    font-weight: bold;
    letter-spacing: 3px;
    transition: font-size 0.3s ease;
    font-family: Arial, sans-serif; 
 text-align: center;
  position: relative; 
}
#top-bar.shrink .site-title {
    font-size: 22px;
}


#main-nav {
    position: fixed;
    top: 70px;
    width: 100%;
    background: #222;
    transition: all 0.3s ease;
    z-index: 9998;
	left: 0;
    display: flex;
    justify-content: center;
}


#content {
    margin-top: 150px;
    padding: 20px;
}



#main-nav.shrink {
    top: 40px;              
    font-size: 14px;
    padding: 2px 0;
}


#main-nav .menu-title {
    transition: all 0.3s ease;
}

#main-nav.shrink .menu-title {
    padding: 6px 14px;
    font-size: 14px;
}


.submenu {
    transition: all 0.3s ease;
}

#main-nav.shrink .submenu {
    top: 30px;
}

#main-nav.shrink .submenu li a {
    padding: 6px 12px;
    font-size: 13px;
}









nav {
    top: 0;
    left: 0;
    z-index: 9998;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    transition: all 0.5s ease;
}

















ul, li {
    padding: 0;
    margin: 0;
    list-style: none;
}



.menu > li {
    position: relative;
    display: inline-block;
}

.menu-title {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}


.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}


.submenu {
    position: absolute;
    top: 40px;
    left: 0;
    background: white;
    border-radius: 6px;
 z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.submenu li a {
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    color: black;
}

.submenu li a:hover {
    background: #eee;
}


.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.dropdown:hover .arrow {
    transform: rotate(90deg);
}



body {
  margin: 0;
  background-image: url("monimage.jpg");
  background-size: cover;         
  background-repeat: no-repeat;  
  background-position: center;   
  background-color: black;  
}

section {
  background-color: rgb(1,170,148); 
  width: 1px;
  height: 1px;
}


#boite1 { 
  background-color: rgb(131,143,139);
  width: 500px; 
  height: 700px; 
  padding: 50px 20px 30px 0px; 
  top: 740px; 
  left: 130px; 
  z-index: 15;
  position: absolute; 
    border-radius: 100px;	
	color: #FDFEFE;
	  text-align: center;
	      display: flex;
} 

#boite2 { 
  background-color: rgb(131,143,139);
  width: 500px; 
  height: 400px; 
  padding: 50px 20px 30px 0px; 
  position: absolute; 
  top: 740px; 
  left: 700px; 
  z-index: 10;
  overflow: visible; 
    border-radius: 100px;  
color: #FDFEFE;	
} 

#boite3 {
  background-color: rgb(131,143,139);
    width: 600px; 
  height: 500px; 
  position: absolute;
  top: 200px;
  left:30px;
  z-index: 999;   
    border-radius: 100px;   
	color: #FDFEFE;
}

#boite4 { 
 position: absolute; 
  padding: 50px 20px 30px 0px; 
  top: 140px; 
  left: 300px;
  background-color: rgb(170,1,166);
  width: 205px; 
  height: 145px;  
  z-index: 5;
  overflow: visible;
  position: absolute; 
    border-radius: 200px;   
}
#boite5{ 
  background-color: rgb(131,143,139);
  width: 1200px; 
  height: 300px; 
  padding: 50px 20px 30px 0px; 
  position: absolute; 
  top: 80px; 
  left: 30px; 
  z-index: 10;
  border: 2px solid #000;
  overflow: visible; 
    border-radius: 100px;  
color: #6E0718;	
} 
#boite6{ 
  background-color: rgb(131,143,139);
  width: 700px; 
  height: 100px; 
  padding: 50px 20px 30px 0px; 
  position: absolute; 
  top: 280px; 
  left: 230px; 
  z-index: 10;
  border: 2px solid #000;
  overflow: visible; 
    border-radius: 100px;  
color: #6E0718;	
} 
#boite7{ 
  background-color: rgb(131,143,139);
  width: 700px; 
  height: 10px; 
  padding: 50px 20px 30px 0px; 
  position: absolute; 
  top: 180px; 
  left: 180px; 
  z-index: 10;
  border: 2px solid #000;
  overflow: visible; 
    border-radius: 100px;  
color: #FDFEFE;	
	  text-align: center;
}
#boite8 { 
  background-color: rgb(131,143,139);
  width: 500px; 
  height:200px; 
  padding: 50px 20px 30px 0px; 
  position: absolute; 
  top: 1200px; 
  left: 700px; 
  z-index: 10;
  overflow: visible; 
    border-radius: 80px;  
color: #FDFEFE;	
} 
#boite9{ 
  background-color: rgb(131,143,139);
  width: 1100px; 
  height: 15px; 
  padding: 50px 20px 30px 0px; 
  position: absolute; 
  top: 180px; 
  left: 180px; 
  z-index: 10;
  border: 2px solid #000;
  overflow: visible; 
    border-radius: 100px;  
color: #FDFEFE;	
	  text-align: left;
}
.text {
    position: absolute;
    top: 10px;    
    left: 280px;   
}
.big {
  width: 700;   
  height: auto;  
}



p:first-letter {
  font-size: 100%;
}

.p2:before {
  content: "#";
}

.p1{
  top: 5px; 
  left: 50px; 
  width: 300px; 
  height: 170px; 
  text-align: absolute;
}


.p2 { 
  color: #014BAA;
  background-color: white;
  position: relative; 
  top: 5px; 
  left: 50px; 
  width: 100px; 
  height: 70px; 
  border: 2px dashed #000;
  overflow: auto; 
  font-size: x-small;
  text-align: justify;
}





article {
  border: solid;
}

table {
  width: 500px; 
  border: solid;
  border-collapse: collapse; 
}

td, th {
  border: 2px solid black; 
}

#portrait {
  position: absolute;
  top:250px; 
  left: 55px; 
  border-radius: 100px; 
  width: 1400px; 
  height: 410px;
  z-index: 999;   
}
#portrait1 {
  position: absolute;
  top: -1000px; 
  left: 0%; 
  border-radius: 100px; 
  width: 820px; 
  height: 307px;
  z-index: 999;   
}
h1 {
  text-align: center;
}
#portrait2{
  position: absolute;
  top: 50px; 
  left: 2050px; 
  z-index:9999 ;
}
#portrait3{
  position: absolute;
  top: 100px; 
  left: 730px; 
    width: 400px; 
  height: 300px;
  z-index:999;
    border-radius: 300px; 
}
#portrait4{
  position: absolute;
  top: 50px; 
  left: 30px; 
    width: 400px; 
  height: 300px;
  z-index:999 ;
    border-radius: 300px; 
}
#portrait5{
  position: absolute;
  top: 5px; 
  left: 700px; 
  z-index:9999;
      transition: all 0.3s ease;
}
#portrait6{
  position: absolute;
  top: 500px; 
  left: 730px; 
    width: 400px; 
  height: 300px;
  z-index:999 ;
    border-radius: 300px; 
}
#portrait7{
  position: absolute;
  top: 5px; 
  left: 570px; 
  z-index:9999;
      transition: all 0.3s ease;
}


    .gallery {
        display: flex;
        gap: 20px;
    }

    .image-box {
        position: relative;
        text-align: center;
    }

    .image {
        width: 150px;
        height: 150px;
        cursor: pointer;
        border-radius: 10px;
        transition: transform 0.2s;
    }

    .image:hover {
        transform: scale(1.05);
    }

    .like-count {
		  position: absolute;
  top: -50px; 
  left: 200px;
    width: 100px; 
  height: 100px; 
        font-size: 20px;
        margin-top: 5px;
        font-weight: bold;
		color: #FDFEFE;	
    }

 
    .plus-one {
        position: absolute;
  top: 0px; 
  left: 550px; 
  height: 600px; 
        transform: translate(-50%, -50%);
        color: red;
        font-size: 50px;
        font-weight: bold;
        animation: floatUp 1s ease-out forwards;
		  z-index: 999; 
    }

    @keyframes floatUp {
        0% { opacity: 1; transform: translate(-50%, 0); }
        100% { opacity: 0; transform: translate(-50%, -40px); }
    }

    .image2 {
        width: 150px;
        height: 150px;
        cursor: pointer;
        border-radius: 10px;
        transition: transform 0.2s;
    }

    .image2:hover {
        transform: scale(1.15);
    }






    .image3 {
        width: 150px;
        height: 150px;
        cursor: pointer;
        border-radius: 10px;
        transition: transform 0.2s;
    }

    .image3:hover {
        transform: scale(1.15);
    }
	
	
	
	
	
	

	.box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgb(131,143,139);
	color: #FDFEFE;	
    padding: 20px;
    border-radius: 10px;
    width: 700px;
  position: absolute; 
  top: 200px; 
  left: 20%;
	height: 250px; 	
}

.box-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.box-content {
    flex: 1;
}

.box-content h2 {
    margin: 0;
    font-size: 22px;
}

.box-content p {
    margin-top: 10px;
    font-size: 16px;
}






	.box2 {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgb(131,143,139);
	color: #FDFEFE;	
    padding: 20px;
    border-radius: 10px;
    width: 700px;
  position: absolute; 
  top: 550px; 
  left: 20%;
	height: 250px;  
}

.box2-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.box2-content {
    flex: 1;
}

.box2-content h2 {
    margin: 0;
    font-size: 22px;
}

.box2-content p {
    margin-top: 10px;
    font-size: 16px;
}


	.box3 {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgb(131,143,139);
	color: #FDFEFE;	
    padding: 20px;
    border-radius: 10px;
    width: 700px;
  position: absolute; 
  top: 900px; 
  left: 20%;
	height: 250px; 	
}

.box3-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.box3-content {
    flex: 1;
}

.box3-content h2 {
    margin: 0;
    font-size: 22px;
}

.box3-content p {
    margin-top: 10px;
    font-size: 16px;
}



        #game {
            width: 600px;
            height: 400px;
            background: linear-gradient(#FDFEFE, #FDFEFE);
            border: 4px solid #003366;
            position: absolute;
            overflow: hidden;
            border-radius: 10px;
			  top: 300px; 
  left: 230px;
        }

        #plane {
            width: 60px;
            position: absolute;
            left: 50px;
            top: 180px;
            transition: 0.1s;
        }

        .missile {
            width: 40px;
            position: absolute;
            right: 0;
        }

        #score {
            position: absolute;
            top: 10px;
            left:500px;
            font-size: 22px;
            font-weight: bold;
            color: #003366;
            display: none; 
			z-index: 9999;
        }

        #gameOver {
            position: absolute;
            top: 40%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 30px;
            color: red;
            font-weight: bold;
            display: none;
        }

        #start, #restart {
            position: absolute;
            top: 55%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 12px 25px;
            background: #003366;
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 20px;
            cursor: pointer;
        }

        #restart {
            display: none;
        }

        #start:hover, #restart:hover {
            background: #001f40;
        }
	
		.card {
    width: 300px;
	  position: absolute;
  top: 1700px; 
  left: 30px;
    background: rgb(131,143,139);
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
}
.like-count {
    font-size: 18px;
    font-weight: bold;
    color: #444;
}
.card-img {
    width: 100%;
    display: block;
}

.card-content {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.like-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.like-btn:hover {
    transform: scale(1.2);
}

.card-text {
    margin: 0;
    font-size: 14px;
    color: #333;
}
		.card1 {
    width: 600px;
	  position: absolute;
  top: 300px; 
  left: 830px;
    background: rgb(131,143,139);
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif; 
}
.like1-count {
    font-size: 18px;
    font-weight: bold;
    color: #444;
}
.card1-img {
    width: 100%;
				height:225px;
    display: block;
}

.card1-content {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.like1-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.like1-btn:hover {
    transform: scale(1.2);
}

.card1-text {
    margin: 0;
    font-size: 14px;
    color: #333;
}
		.card2 {
    width: 600px;
	  position: absolute;
  top: 300px; 
  left: 30px;
    background: rgb(131,143,139);
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
}
.like2-count {
    font-size: 18px;
    font-weight: bold;
    color: #444;
}
.card2-img {
    width: 100%;
    display: block;
}

.card2-content {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.like2-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.like2-btn:hover {
    transform: scale(1.2);
}

.card2-text {
    margin: 0;
    font-size: 14px;
    color: #333;
}
		.card3 {
    width: 600px;
	  position: absolute;
  top: 600px; 
  left: 30px;
    background: rgb(131,143,139);
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
}
.like3-count {
    font-size: 18px;
    font-weight: bold;
    color: #444;
}
.card3-img {
    width: 100%;
    display: block;
}

.card3-content {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.like3-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.like3-btn:hover {
    transform: scale(1.2);
}

.card3-text {
    margin: 0;
    font-size: 14px;
    color: #333;
}
		.card4 {
    width: 600px;
	  position: absolute;
  top: 600px; 
  left: 830px;
    background: rgb(131,143,139);
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
}
.like4-count {
    font-size: 18px;
    font-weight: bold;
    color: #444;
}
.card4-img {
    width: 100%;
    display: block;
}

.card4-content {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.like4-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.like4-btn:hover {
    transform: scale(1.2);
}

.card4-text {
    margin: 0;
    font-size: 14px;
    color: #333;
}
		.card5 {
    width: 600px;
	  position: absolute;
  top: 900px; 
  left: 830px;
    background: rgb(131,143,139);
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
}
.like5-count {
    font-size: 18px;
    font-weight: bold;
    color: #444;
}
.card5-img {
    width: 100%;
    display: block;
}

.card5-content {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.like5-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.like5-btn:hover {
    transform: scale(1.2);
}

.card5-text {
    margin: 0;
    font-size: 14px;
    color: #333;
}
		.card6 {
    width: 600px;
	  position: absolute;
  top: 900px; 
  left: 30px;
    background: rgb(131,143,139);
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
}
.like6-count {
    font-size: 18px;
    font-weight: bold;
    color: #444;
}
.card6-img {
    width: 100%;
			height:225px;
    display: block;
}

.card6-content {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.like6-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.like6-btn:hover {
    transform: scale(1.2);
}

.card6-text {
    margin: 0;
    font-size: 14px;
    color: #333;
}
		.card7 {
    width: 600px;
	  position: absolute;
  top: 1200px; 
  left: 30px;
    background: rgb(131,143,139);
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
}
.like7-count {
    font-size: 18px;
    font-weight: bold;
    color: #444;
}
.card7-img {
    width: 100%;
    display: block;
}

.card7-content {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.like7-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.like7-btn:hover {
    transform: scale(1.2);
}

.card7-text {
    margin: 0;
    font-size: 14px;
    color: #333;
}
		.card8 {
    width: 600px;
	  position: absolute;
  top: 1200px; 
  left: 830px;
    background: rgb(131,143,139);
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
}
.like8-count {
    font-size: 18px;
    font-weight: bold;
    color: #444;
}
.card8-img {
    width: 100%;
    display: block;
}

.card8-content {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.like8-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.like8-btn:hover {
    transform: scale(1.2);
}

.card8-text {
    margin: 0;
    font-size: 14px;
    color: #333;
}	







* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header, nav, main, footer {
  padding: 20px;
  border: 1px solid black;
}

@media (min-width: 768px) {
  .container {
    flex-direction: row;
  }

  nav {
    width: 20%;
  }

  main {
    width: 80%;
  }
}
img, video {
  max-width: 100%;
  height: auto;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.menu a {
  flex: 1 1 120px;
  text-align: center;
}
@media (max-width: 768px) {

  /* Barres du haut */
  #top-bar {
    height: auto;
    flex-direction: column;
    padding: 10px;
  }

  .site-title {
    font-size: 20px;
  }

  #main-nav {
    top: auto;
    position: relative;
  }

  /* Enlever les positions absolues trop rigides */
  #boite1, #boite2, #boite3, #boite4, #boite5,
  #boite6, #boite7, #boite8, #boite9,
  .box, .box2, .box3,
  .card, .card1, .card2, .card3, .card4,
  .card5, .card6, .card7, .card8,
  #game {
    position: relative;
    top: auto;
    left: auto;
    width: 90%;
    margin: 20px auto;
  }

  /* Portraits */
  #portrait, #portrait1, #portrait2, #portrait3,
  #portrait4, #portrait5, #portrait6, #portrait7 {
    position: relative;
    top: auto;
    left: auto;
    width: 90%;
    height: auto;
    margin: 10px auto;
    display: block;
  }

  /* Gallery */
  .gallery {
    flex-direction: column;
    align-items: center;
  }

  /* Menu */
  .menu {
    flex-direction: column;
  }

  .menu-title {
    justify-content: center;
  }

  /* Jeux */
  #game {
    width: 95%;
    height: 300px;
  }

  #plane {
    width: 40px;
  }

  #score {
    left: 10px;
  }
}
@media (max-width: 1024px) {

  .box, .box2, .box3 {
    width: 90%;
    left: 5%;
  }

  .card, .card1, .card2, .card3, .card4,
  .card5, .card6, .card7, .card8 {
    width: 90%;
    left: 5%;
  }

  #game {
    width: 80%;
    left: 10%;
  }
}
@media (max-width: 768px) {

  body {
    background-size: cover;
    background-position: center;
  }

  /* Top bar */
  #top-bar {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .site-title {
    font-size: 18px;
    text-align: center;
  }

  #main-nav {
    position: relative;
    top: 0;
  }

  .menu {
    flex-direction: column;
    align-items: center;
  }

  .menu-title {
    padding: 8px;
  }

  /* Supprimer les placements rigides */
  #boite1, #boite2, #boite3, #boite4, #boite5,
  #boite6, #boite7, #boite8, #boite9,
  .box, .box2, .box3,
  .card, .card1, .card2, .card3, .card4,
  .card5, .card6, .card7, .card8,
  #game {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 90% !important;
    height: auto;
    margin: 20px auto;
  }

  /* Images */
  #portrait, #portrait1, #portrait2, #portrait3,
  #portrait4, #portrait5, #portrait6, #portrait7 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 95% !important;
    height: auto !important;
    margin: 10px auto;
    display: block;
  }

  /* Galerie */
  .gallery {
    flex-direction: column;
    align-items: center;
  }

  .image, .image2, .image3 {
    width: 90%;
    height: auto;
  }

  /* Jeu */
  #game {
    width: 95%;
    height: 300px;
  }

  #plane {
    width: 40px;
  }

  #score {
    left: 10px;
  }
}
