* {
    margin: 0;
    padding: 0;
  }

  body {
    background-color: #282c34;
    color: white;
  }

  .container {
    width: 100%;
    display: block;
    padding: 0 15px;
    margin: 0 auto;
  }

  /* Entete style  */

  .header {
    width: 100%;
    font-size: 20px;
    text-transform: uppercase;
    display: flex;
    margin-top: 20px;
  }

  .header .logo{
    width: 65%;
  }

  .header .logo h3 {
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 10px;
  }

  .header .navbar {
    display: flex;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    width: 55%;
  }

  

  .header nav ul {
    display: flex;
    list-style: none;
    text-align: right;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .navbar ul li a {
    text-decoration: none;
    float: right;
    right: 0;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 18px;
    color: #707480;
    font-weight: bold;
  }

  .navbar ul li a:hover{
    color: white;
  }

  /* content style  */
  .content{
    width: 85%;
    height: 480px;
    display: flex;
    margin: 0 auto;
  }

  .content .profile{
    width: 40%;
    height: 100%;
  }

  .profile img{
    width: 100%;
    height: auto;
    /* border: 5px groove yellow; */
    margin-top: 50px;
    
  }

  .content .about{
    width: 50%;
    margin-left: 50px;
    margin-top: 50px;
  }

  .about h6{
    font-size: 1.6rem;
    color: white;
    margin-bottom: 0.5rem;
    font-family: "Poppins", sans-serif;
  }

  .active{
    color : yellow;
    
  }

  .about h1{
    font-size: 4rem;
    font-weight: 100;
    line-height: 1.2;
    margin-bottom: 2rem;
  }

  .about p{
    line-height: 1.9;
    margin-bottom: 2rem;
    text-align: justify;
  }

  .about .btn{
    padding: 0.6rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid yellow;
    background: transparent;
    color: yellow;
    outline: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
    text-decoration: none;
  }

  .about .btn:hover{
    background: yellow;
    color:#282c34;
  }

  .extends{
    width: 100%;
    margin-top: 100px;
    margin-bottom: 10px;
  }

  .extends h1{
    text-align: center;
    margin-bottom: 1rem;
    line-height: 0.5rem;
  }

  .extends p{
    font-family: "Lato", sans-serif;
    margin-bottom: 1rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
    
  }

  .extends .card-grid{
    display: flex;
    width: 90%;
    margin: 0 auto;
  }

  .card-grid .card{
    background: transparent;
    width: 20%;
    padding: 0.5rem 2rem;
    margin-left: 50px;
    position: relative;
    text-align: center;
    transition: all 0.2s ease;
    /* color : white; */
    border: 1px solid yellow;
}


.card-grid .card:hover{
background: yellow;
color: #282c34;
}

.contact{
width: 70%;
margin: 0 auto;
padding: 20px;
text-align: center;
}
/* 
.contact a i:hover{
color: yellow;
} */


@media (max-width: 500px) {
*{
  margin: 0;
  padding: 0;
}

.container{
  padding: 0;
}

.header .logo{
  width: 40%;
}

.header .logo h3{
  font-size: 15px;
}

.header .navbar{
  width: 60%;
  margin-left: 10px;
}


.header .navbar ul li a{
  font-size: 10px;
  margin-left: 4px;
}

.content{
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.content .profile{
  width: 20%;
  height: auto;
  margin: 0 auto;
}

.content .profile img{
  width: 100%;
  border-radius: 100%;
}

.content .about{
  width: 100%;
  max-width: 60%;
  margin: 0 auto;
  padding: 3px;
}

.about h6{
  font-size: 1rem;
}

.about h1{
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.about p{
  font-size: 10px;
  text-align: justify;
}

.about .btn{
  padding: 5px 5px;
  font-size: 5px;
  border: 1px solid yellow;
}

.extends{
  margin-top: 60px;
}

.extends p{
  font-size: 12px;
}

.extends .card-grid{
  width: 100%;
  display: block;
}

.card-grid .card{
  width: 90%;
  margin-left: 10px;
  margin-top: 10px;
  padding: 5px 5px;
}

.card i{
  font-size: 30px!important;
}

.card h2{
  font-size: 15px;
}

.card p{
  font-size: 10px;
  text-align: left;
}

footer p{
  font-size: 10px
  
  
  ;
}
}
