body {
    font-family: "Pixelify Sans", sans-serif;
    position: relative;
    background-color: rgb(250, 249, 248);
  }
  
  .navbar{
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: rgba(0, 0, 0, 0.5);
      position: sticky;
      top: 0;
  }
  
  .navbar ul{
      display: flex;
      list-style: none;
      margin: 20px 0px;
  }
  
  .navbar ul li{
      font-family: "Pixelify Sans", sans-serif;
      font-size: 1.1rem;
      font-weight: 500;
  }
  
  .navbar ul li a{
      text-decoration: none;
      color: white;
      padding: 8px 25px;
      transition: all .5s ease;
      border-radius: 2px;
  }
  
  .navbar ul li a:hover{
      background-color: white;
      color: black;
  }
  
  
  #home{
      display: flex;
      flex-direction: column;
      background-color: rgb(95 172 209 / 50%);
      height: 100%;;
      justify-content: center;
      align-items: center;
      color: black;
  }
  
  .main{
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  


  .headings{
      font-family: "Pixelify Sans", sans-serif;
      font-size: 2rem;
      text-align: center;
      margin: 40px 0px;
      font-weight: 600;
  }
  
  .btn{
      padding: 10px 35px;
      background-color: #306082;
      border: 2px solid black;
      border-radius: 2px;
      color: white;
      outline: none;
      transition: .6s ease;
  }
  
  .btn:hover{
      cursor: pointer;
      background-color: #639BFF;
      color: black;
      font-weight: 500;
  }
  
  #about{
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
      padding: 20px;
      margin-bottom: 50px;
  }
  
  #pic{
      display: flex;
  }
  
  #pic img{
      width: 575px;
      height: 400px;
      margin-left: 120px;
      border-radius: 2px;
  }
  
  #intro{
      display:flex;
      flex-direction: column;
      text-align: justify;
      padding: 10px;
  }
  
  #intro h2{
      font-size:  1.5rem;
      margin-left: 40px;
      margin-bottom: 20px;
  }
  
  #about-paragraph {
      margin-left: 40px;
      margin-right: 120px;
  }
  
  #projects{
      display: flex;
      flex-direction: column;
      background-color: rgba(0, 0, 0, 0.9);
      color: white;
      align-items: center;
      padding: 20px;
  }
  
  #title-container {
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  #title-container h1 {
    font-size:  3rem;
    margin-bottom: 6px;
  }

  #title-container h3 {
    font-size:  2rem;
    margin-bottom: 6px;
    margin-top: 6px;
  }

  #resume-btn {
    align-self: end;
    text-decoration: none;
  }

  .gallery{
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      box-sizing: border-box;
  }
  
  .gallery img{
      width: 340px;
      height: 240px;
      margin: 10px;
  }
  
  .socials{
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px;
  }
  .socials img{
      width: 100px;
      padding: 10px;
  }
  
  .card {
    margin-bottom: 20px;
    font-size: 1rem;
    text-align: left;
    border: 2px solid black;
    border-radius: 8px;
    height: 200px;
    width: 300px;
   
  }

  .right-col {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  @media (max-width: 972px) {
    #pic {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    #pic img {
        width: 250px;
        margin: 0;
        padding: 16px;
    }

    #about-paragraph {
        padding: 16px;
        margin: 0;
    }

    .navbar ul li{
        font-size: 0.8rem;
    }

    .right-col {
        padding: 0 10px 10px 10px;
    }

    #title-container {
        padding: 10px 10px 40px 10px;
        flex-direction: column;
        width: 80%;
      }

    #title-container img {
        padding: 10px;
    }  
    
      #title-container h1 {
        font-size:  2.5rem;
        margin-bottom: 6px;
        margin-top: 0;
      }
    
      #title-container h3 {
        font-size:  1.6rem;
        margin-bottom: 10px;
      }

      .navbar ul li a {
        padding: 8px 14px;
      }

      .navbar ul {
        padding: 0;
      }
    
  }