*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1, h2, h3, a{
    font-family: 'Cabin Sketch', cursive;
}
p{
    font-family: 'Kalam', cursive;
}
nav{
    width: 100%;
    height: 80px;
    display: grid;
    grid-template-columns: 190px 3fr;
    
    background-color: #ff7300d5;
    background: linear-gradient(#ff7300, #ffd740);
}

.logo img{
    position: absolute;
    width: 250px;
}
.menu {
    display: flex;
    align-items: center;
}
.menu a{
    padding:0 20px;
    text-decoration: none;
    color: black;
}
.menu a:hover{
    text-decoration: underline;
    color: rgb(255, 255, 255);
}

/* -----------Hero--------- */


.hero {
    text-align: center;
    height: 650px;
    background-image: url('../img/assiduitescolaire.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1{
    border-radius: 5px;
    background-color: rgba(247, 247, 247, 0.555);
    padding: 100px;
    font-size: 3.2em;
}

/* --------------- section ---------------- */
section{
    margin: 10px;
    text-align: center;
    display: flex; 

}
.lastArticle{
    background-color: rgba(243, 220, 201, 0.5);
    padding: 20px;
    width: 80%;
    height: auto;
    border: 1px solid black;
    
    
}
.lastArticle a{
    text-decoration: none;
    color: black;
}
.lastArticle a:hover{
    text-decoration: underline;
    
}
.lastArticle h2 {
    padding: 20px;
    background-color: #ff7300d5;
    background: linear-gradient(#ff7200, #ffd740);
}

.articleP{
    background-color: #fff;
    margin: 15px;
    padding: 20px;
    width: 100%;
    height: auto;
}


/* -----------aside-------------- */
section .aside{
    width: 40%;
    margin: 0;
    margin-left: 15px;
    display: flex;
    flex-direction: column;
}

aside{
    background-color: rgba(243, 220, 201, 0.5);

}

aside h3{
    padding: 20px;
    margin-bottom: 10px;
    background-color: #ff7300d5;
    background: linear-gradient(#ff7200, #ffd740);
}
.articleA p{
    font-size: 12px;
}
.breve{
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid black;
    height: auto;

}
.partenaire{
    padding: 20px;
    border: 1px solid black;
    height: auto;
}
.partenaire img{
    
    width: 50%;
    height: 200px;
    object-fit: contain;
}
.img2{
    position: relative;
    bottom: 40px;
}

/* -----------footer ---------------- */

/* footer{
    border: 1px solid black;
    width: 100%;
    height: 100px;
} */

  #footer{
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff7300d5;
    background: linear-gradient(#FF7300, #FFD740);
   
  }
  .footer2{
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  
   .footer2 a{
      text-decoration: none;
  }
  .div{
      color: white;
      display: flex;
      flex-direction: row;
  }
  #footer3{
      display: flex;
      justify-content: center;
      align-items: center;
     /*  padding: 10px; */
      color: white;
      /* font-family: 'Kalam'cursive ; */
  }
  #footer4{
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      /* font-family: 'Kalam'cursive ; */
  }
  #footer5{
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      /* font-family: 'Kalam'cursive ; */
  } 

  @media screen and (max-width: 900px) and (min-width:300px) {
      nav{
          height: 100px;
          
      }
      .menu a {
        padding: 0 10px;
      }
  }

  /* ------------cursor animation------------- */

  .cursor{
    position: fixed;
    width: 50px;
    height: 50px;
    border: 1px solid #c6c6c6;
    border-radius: 50%;
    left: 0;
    top: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: .1s;
}

.cursor2{
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: #c6c6c6;
    border-radius: 50%;
    left: 0;
    top: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: .15s;
}

.content:hover ~ .cursor{
    transform:  translate(-50%, -50%) scale(1.5);
    background-color: #c6c6c6;
    opacity: 0.5;
}
.content:hover ~ .cursor2{

    opacity: 0;
}