*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "VT323", monospace;
    font-weight: 400;
}

body {
  margin: 0;
  min-height: 100vh;
  flex-direction: column;
  display: flex;
  background-image: url(./img/fond.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-color:#ffcc8e;
  text-align:center;

  animation: scrollDiagonal 30s infinite alternate;
}
/*ANimation*/
@keyframes scrollDiagonal {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100% 100%;
  }
}

header{
    background-color:#f7cd89;
    width: 100vw;
    height: 150px;
    padding: 0 40px;
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.4);

}

header ul {
    display: flex;
    gap: 40px;
    align-items: center;
    font-size: 1.7rem;
}


header li {
    list-style: none;
    font-weight: 600;
}

header ul li a {
    text-decoration: none;
    color: black;
}


/*Sous menu*/
header #sous-menu {
    height: 0;
    width: 100%;
    background-color: #f4f0f0;
    overflow: hidden;
    text-align: left;
    transition: all ease 0.3s;
    position: absolute;
}

header li:has(#sous-menu) {
    position: relative;
}

header li:hover #sous-menu {
    display: block;
    height: auto;
    width: auto;
    overflow: visible;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    
}

header #sous-menu li {
    padding: 10px;
}
/*navigation*/
.navbar {
    height: 150px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-around;
    
}

.left{
    display: flex;
    align-items: center;
    gap: 90px;
}

#loupe{
    width: 45px;
    height: 45px;
}

#search-input {
  width: 0;
  opacity: 0;
  border: none;
  outline: none;
  transition: all 0.4s ease;
}

/* Quand actif */
#search-input.active {
  width: 200px;
  border-radius: 9px;
  opacity: 1;
  border: 4px solid #a3cfdb;
  padding: 7px;
  font-size: 15px;
}


#logo{
    width: 460px;
    height: 160px;
    
    
    
}


#icon{
    display: flex;
    gap: 20px;
}

/*Main*/


.star {
  cursor: pointer;
  font-size: 20px;
  float: right;
}

/*Animation étoile*/.star {
  cursor: pointer;
  font-size: 52px;
  float: right;
  transition: transform 0.2s;
}

.star.active {
  transform: scale(1.5) rotate(20deg);
}
/* CARD */
.card {
  background: rgb(255, 200, 155);
  width: 800px;
  height: 770px;
  margin: 50px auto;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  font-size: 20px;
}

.card img {
  width: 250px;
  height: 250px;
  margin: 20px auto;
  display: block;
  

}

.type {
    display: flex;
  justify-content: center;
  gap: 40px;
  margin: 10px 0;
  padding: 9px 10px;
  border-radius: 10px;
  background: #ddd;
}
button{
  
  background: none;
  border: black 2px solid;
  color: white;
  padding: 15px 72px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 20px;
  
}


/*button que j'ai pris sur internet*/
.button{
  position:relative;
  display:block;
  margin:20px;
}


.button{
  position:relative;
  display:inline-block;
  margin:20px;
}

.button button{
  color:white;
  font-family:Helvetica, sans-serif;
  font-weight:bold;
  font-size:36px;
  text-align: center;
  text-decoration:none;
  background-color:#FFA12B;
  display:block;
  position:relative;
  padding:20px 40px;
  
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-shadow: 0px 1px 0px #000;
  filter: dropshadow(color=#000, offx=0px, offy=1px);
  
  -webkit-box-shadow:inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;
  -moz-box-shadow:inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;
  box-shadow:inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;
  
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.button button:active{
  top:10px;
  background-color:#F78900;
  
  -webkit-box-shadow:inset 0 1px 0 #FFE5C4, inset 0 -3px 0 #915100;
  -moz-box-shadow:inset 0 1px 0 #FFE5C4, inset 0 -3pxpx 0 #915100;
  box-shadow:inset 0 1px 0 #FFE5C4, inset 0 -3px 0 #915100;
}

.button:after{
  content:"";
  height:100%;
  width:100%;
  padding:4px;
  position: absolute;
  bottom:-15px;
  left:-4px;
  z-index:-1;
  background-color:#2B1800;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}


/* .hidden {
  display: none;
}

/*Footer*/
footer{
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    background-color:#f7cd89;
    width: 100vw;
    height: 150px;
    padding: 0 40px;
    box-shadow: 0 5px 8px 8px rgba(0, 0, 0, 0.4);
     margin-top: auto;

}


.ico-foot{
    display: flex;
    gap: 20px;
} 


