

.press-start-2p-regular {
  font-family: "Press Start 2P", system-ui;
  font-weight: 400;
  font-style: normal;
}

h1,h2{
  font-family: "Press Start 2P",arial,sans-serif;
}
h3,h4,p{
  font-family: Arial, Helvetica, sans-serif;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
  }
  /* SECTION NAV */
  nav {
    background-color: #3b0f19;
    color: white;
    padding: 20px 0;
    text-align: center;
  }
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
  }
  nav ul li {
    margin: 0 10px;
  }
  nav ul li a {
    color: white;
    text-decoration: none;
  }
  nav ul li a:hover {
    color: #f26779;
    text-decoration: underline;
  }
  /* hide borger*/
  .menu-toggle {
    display: none;
  }

  /* HERO BANNER */
  h2 {
    text-align: center;
  }
  #hero {
    background-image: url("../img/background-hero-portfolio.png");
    text-align: center;
    padding: 30vh 5vw;
    color: #f26779;
  }
  /* SECTION A PROPOS */
  #about {
    padding: 0 5vw;
  }
  /* SECTION MES PROJETS */
  /* container cards */
  .project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
  }
  /* card */
  .project-card {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
  }
  .project-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  .project-card p {
    padding: 5px 10px;
  }
  .project-card h3 {
    padding: 5px 10px;
  }
  .project-card .btn {
    display: block;
    text-align: center;
    padding: 10px;
    background-color: #333;
    margin: 15px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  .project-card .btn:hover {
    background-color: rgb(80, 80, 80);
  }
  /* SECTION MES COMPETENCES */
  #skills {
    padding: 50px;
    background-color: #3b0f19;
    color: white;
    text-align: center;
  }
  /* skills container */
  .skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }
  /* skill */
  .skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    text-align: center;
  }
  .skill img {
    background-color: white;
    border-radius: 100%;
    background-position: center;
    background-size: 100%;
    width: 70px;
    height: 70px;
  }

  form {
    border-radius:8px ;
    margin: 0 auto;
    max-width: 600px;
    padding: 20px;
    background-color: #3b0f19;
    color: white;
  }

  form input,form textarea {
    background-color: white;
    max-width: 100%;
    min-width: 100%;
    padding: 10px 5px;
    border: 1px solid #555;
    border-radius: 4px;
    box-sizing: border-box;
  }

  form textarea{
    min-height: 100px;
  }

  form div {
    margin-bottom: 15px;
  }

  form label{
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  form button{
    padding: 10px 0;
    border-radius: 4px;
    width: 100%;
    background-color: #f26779;
    color:#fff ;
    border: none;
    
    font-weight: bold;
    transition: backgroud-color 0.3s;
    cursor:pointer;
    font-size: 16px;
  }
  form button:hover{
    background-color: #6b0206;
  }

  @media (max-width: 768px) {
    .menu-toggle{display: block;
      cursor:pointer;}
    nav  { position: sticky;
    top:0;
    height: 45px;
    background-attachment: fixed;}

    #nav-links{display: none;
    } 

    #nav-links.show {
      display: flex;
      flex-direction:column ;
      background-color: #3b0f19;
      width: 100%;
      gap: 30px;
      padding:30px 0;
    }
   
  }