/*home css*/

/*main projets*/

.apparition {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 1.2s ease-out;
}
.apparition.visible {
    opacity: 1;
    transform: translateY(0);
}

#intro{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
    color: white;
   
}


.barre-titre{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    
}

.barre{
    border: 3px solid;
    width: 40%;
    margin-bottom: 30px;
    background-color: white;
   
}

.contenu{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}



.block {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    width: 50%;


}



.hidden-text {
  display: none;
}

.block.expanded .hidden-text {
  display: inline;
}

.voir-plus {
  color: #f5f6f7;
  cursor: pointer;
  font-weight: bold;
  display: inline-block;
  margin-top: 5px;
}

aside img {
   
    border-radius: 50%;
    width: 400px;
    height: 400px;
    object-fit: cover;

}

.block p {
    font-size: 1.5em;

}

h2 {
    text-align: center;
    color: #ffffff;
    font-size: 2em;
    margin: 25px 0 25px 0px;


}

/* Projets en cours */
#travaux{
    width: 100%;
    height: 100%;

}
#Travaux a {
    text-decoration: none;
    color: #ffffff;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-view {
  display: flex;
  transition: transform 1s ease-in-out;
    margin:0 auto;
}

.carousel-item {
  min-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; 
  gap: 40px; 
  padding: 40px;
  box-sizing: border-box;
}

p{
    color: aliceblue;
}

.media img {
  max-width: 300px;
  border-radius: 10px;
  object-fit: cover;
  height: auto;

}


.description {
  flex: 1;
  color: aliceblue;
  font-size: 1rem;
}


.carousel-dots {
  text-align: center;
  margin-top: 10px;
}

.carousel-dots a span {
  width: 15px;
  height: 15px;
  background-color: whitesmoke;
  border-radius: 50%;
  display: inline-block;
  margin: 5px;
  transition: all 0.3s ease;
}

.carousel-dots a.active span,
.carousel-dots a:hover span {
  width: 30px;
  height: 15px;
  border: 2px solid white;
  background-color: transparent;
  border-radius: 5px;
}

.carousel-container button {
  display: flex;
  justify-content: center;
  margin:  0 auto; 
  padding: 12px 24px;
  border-radius: 15px;
  background-color: white;
  color: black;
  border: 1px solid white;
  font-weight: bold;
  cursor: pointer;
  
}

/*gaming*/
#Game h3 {
    text-align: center;
    font-size: 2em;
    margin: 25px 0 25px 0px;
  
}
.card {
    display: flex;
    align-items: center; 
    gap: 30px; 
    max-width: 800px;
    margin: 0 auto;
}

.card img {
    width: 320px;
    height: 320px;
    border-radius: 5px;
    object-fit: cover; 
}

.card p {
    text-align: left;
    font-size: 1em;
    line-height: 1.5;
    flex: 1; 
}


.buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.Btn {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.Btn:hover {
    background-color: #0056b3;
}

.Btn.secondary {
    background-color: #6c757d;
}

.Btn.secondary:hover {
    background-color: #5a6268;
}

/*librairie*/
#Librairie h3{
    text-align: center;
    font-size: 2em;
    margin: 25px 0 25px 0px;

}

.Card-library {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
}

.library {
  width: 450px;
  height: 450px;
  border-radius: 10px;
  overflow: hidden; 
}

.library video {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

.button {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.Btn-reach {
  width: 100px;
  height: 32px;
  text-align: center;
  text-decoration: none;
  color: black;
  background: white;
  padding: 12px 24px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}



#langage h3 {
    text-align: center;
    font-size: 2em;
    margin: 25px 0px 25px 0px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}



.cards-content {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.cards-content-left,
.cards-content-right {
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.card-tools {
    display: flex;
    align-items: center;
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 10px 15px;
    width: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-tools img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
}

.card-tools p {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #0F0F0F;
}






.container a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-bottom: 1px solid gray;
    border-top: 1px solid gray;
    text-align: center;
    width: 100%;
    height: 100px;
    text-decoration: none;

}
