


body{
	background-color:#f5f5f5;
	margin:0;
	padding:0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}

#content{
    padding: 100px 0px;
}

h1 {
 text-align: center;
    font-size: 45px;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: normal;
    padding: 0px;
    margin-bottom: 10px;
}

h2{
text-align: center;
      font-family: "Montserrat", sans-serif;
  font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    
}

h2 span{
    color: #aa8b65;
    font-weight: 600;
    font-size: 16px;
}

p{
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    text-align: center;
    font-size:16px;
    width: 50%;
    margin: auto;
}


/* header*/

header{
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background: white;
    position: fixed;
    z-index: 20000;
}


.navigation{
    position: relative;
    width: 33%;
    height: 100%;
}
   
/* ===== bouton burger ===== */
.burger{
  width:30px;
  cursor:pointer;
  padding:15px;
    position: relative;
    z-index: 2000;
}

.burger span{
  display:block;
  height:1px;
  background:#004965;
  margin:8px 0;
  transition:0.3s;
}

/* ===== animation burger -> croix ===== */
.burger.actif span:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}

.burger.actif span:nth-child(2){
  opacity:0;
}

.burger.actif span:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}
/* ===== MENU LATERAL GAUCHE FULL HEIGHT ===== */
.menu{
  position:fixed;
  top:0;
  left:0;
  height:100vh;          /* full height */
  width:250px;           /* largeur du panneau */
  background:#fff;
    border-right: 1px solid #004965;
  transform:translateX(-100%);  /* caché sur la gauche */
  transition:0.3s;
  z-index:1000;
        font-family: "Montserrat", sans-serif;
}

/* quand actif → visible */
.menu.actif{
  transform:translateX(0);
}

.menu ul{
  margin:0;
  padding:60px 0 0 0; /* un peu d’espace sous le burger */
  list-style:none;
}

.menu li{
  border-bottom:1px solid #ddd;
}

.menu a{
  display:block;
  padding:15px;
  text-decoration:none;
  color:black;
}


/* ===== OVERLAY ===== */
.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0);
  opacity:0;
  pointer-events:none;
  transition:0.3s;
  z-index:100;
}

.overlay.actif{
  opacity:1;
  pointer-events:auto;
}

/* bloque le scroll en arrière-plan */
body.menu-ouvert{
  overflow:hidden;
}  
  


#logo{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 100%;
    padding: 20px;
    top: 0px;
    z-index: 3;
}

#logo img{
    width: 90%;
}


/* content */

#title{
    margin: 50px 0px;
}

#magazines{
    max-width: 1280px;
    width: 100%;
    display: flex;
    margin: auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 0px 0px 0px;;
    
}

#magazines .column{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    padding: 0px 0px;
}



#magazines .column a{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: #000000;
    width: 100%;
    transform: scale(0.9);
     transition: ease-in-out 300ms;

}

.couv{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.column-1 .couv{
    height: 250px;
}
.column-2 .couv{
    height:350px;
}

#magazines img{
position: absolute;
height: 100%;
margin: auto;
   
}

#magazines .column a:hover{
   transform: scale(1);
}


/* footer */

footer { 
    background: #004965  ;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    color: #fff;
}

footer a{
    text-decoration: none;
    color: #fff;
}

#nav-footer a:hover, #sous-footer a:hover{
    text-decoration: underline;
}

#nav-footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    max-width: 1140px;
}

#nav-footer .clfooter{
    width:25%;
   
}

#nav-footer ul  {
    list-style: none;
    padding: 10px 0px 0px 10px;
     border-left: 1px solid #fff;
}
#nav-footer ul li {
    list-style: none;
    padding-bottom: 5px;
}

#fnaim {display: flex;
flex-direction: column;
align-items: center;
padding: 40px 0px 0px 0px;}
#fnaim img{
    width: 70px;
    padding-bottom: 20px;
}


#rs{
    display: flex;
    flex-direction: row;
    padding: 20px 0px 40px 0px;
    width: 250px;
    justify-content: space-between;
}

#rs a{
    flex-shrink: 1;
    border:1px solid #fff;
    border-radius: 50px;
    padding: 5px 5px 0px 5px;
    transition: ease-in-out 300ms;
}

svg path, svg rect{
    fill: none; stroke: #ffffff; stroke-miterlimit: 10; stroke-width: 8px;
}


#rs a:hover{
    background: #fff;
}
#rs a:hover > svg path, #rs a:hover > svg rect{
    stroke: #004965;
}

hr{
    width: 100%;
    height: 1px;
    background-color: white;
    border: none;
}

#sous-footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1140px;
    margin-top: 20px;
}

#sous-footer a {
    padding: 0px 20px;
}


/* Petits Smartphones de moins de 480px */
@media (max-width: 750px) {
 
    
body{
	overflow:auto;
    height: auto;
    justify-content: flex-start;
    
}

    
    /* header*/

header{
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background: white;
    position: fixed;
    z-index: 2;
}
    
    .overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.4);
  opacity:0;
  pointer-events:none;
  transition:0.3s;
  z-index:100;
}

    
  h1 {
      margin-top: 80px;
      margin-bottom:20px;
    font-size: 40px;
      line-height: 1em;

}

h2{

    font-size: 16px;
margin-top:15px;
    
}

p{

    font-size:15px;
    width: 90%;
}
  
#magazines{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 0px 0px 0px;
    flex-direction: column-reverse;
    margin-top: 0px;
    margin-bottom: 100px;
    
}

#magazines .column{
flex-wrap: wrap-reverse;
    width: 100%;
    
}
    
.column-1 .couv {
    height: 250px;
} 
    
.column-2 .couv {
    height: 350px;
}  
    
    
#nav-footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 80%;
}

#nav-footer .clfooter{
    width:100%;
   
}    
    
}
