* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    width: 100%;
    position: relative;
    background: #1d1c1c;
    color: #ffffff;
    font-family: 'roboto' sans-serif;
  }
  /* bootstrap nav*/
  .navbar-custom {
    background-color: #1b1b1b !important;
    
    }
   
  
  .navbar {
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #1b1b1b;
    padding: 0 10vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9; 
  }
  .profile-image {
    border-radius: 100%;
    width: 50%;
    height: 30%;
  
  } 
  /* header section */
  
  .header {
    width: 100%;
    min-height: calc(100vh -60px);
    height: auto;
    margin-top: 60px;
    padding: 0 10vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  
  }
  .main-content {
    width: 50%;
  
  
  }
  .main-heading {
    font-size: 6rem;
    text-transform: capitalize;
    font-weight: 600;
  
  
  }
  .marker {
    color: orangered;
    
  
  }
  
  
  .job {
    width: fit-content;
    display: block;
    margin: 10px 0 20px;
    margin-left: auto;
    text-transform: capitalize;
    position: relative;
    padding: 10px 20px;
    color: black;
    z-index: 2;
  
  }
  .job::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e0dcdc;
    z-index: -1;
    transform: skew(10deg);
  
  
  
  }
  .job::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 100px;
    height: 2px;
    background: #e3e3e3;
  }

  /* about section */
  .about-me {
    width: 100%;
    height: auto;
    padding: 50px 10vw;
  
  
  }
  h1 {
    text-align :center;
  }
  
  .about-me-h {
    text-align: center;
    font-weight: 500;
    font-size: 4rem;
  }
  .s-heading {
    text-align: center;
    font-weight: 300;
    text-transform: capitalize;
    font-size: 1.5rem;
  }
  .medium-divider {
    border-top: 4px solid #464343;
    border-radius: 3px;
    width: 30%;
    margin: 20px auto;
    position: relative;
  }
  /* Projects section*/
  .projects-heading {
    font-size: 6rem;
    text-transform: capitalize;
    font-weight: 600;
    text-align: center;
  }
  
  .container-with-grid {
    display: grid;
    width: 100%;
    height: 800px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
      "firstProject firstProject secondProject"
      "thirdProject fourProject fiveProject";
      grid-gap: 10px;
     padding: 20px;
     
  }
  .fourProject {
    grid-area: fourProject;
    background: url(../images/screen-post-rVcxGBT80j8-unsplash.jpg);
    background-size: cover;
    max-width: 100%;
    max-height: 100%;
    border-radius: 20px;
    border: solid white 5px;
    position: relative;
    cursor: pointer;
    display: block;
  
  }
  .fiveProject {
    grid-area: fiveProject;
    background: url(../images/lorenzo-herrera-p0j-mE6mGo4-unsplash.jpg);
    background-size: cover;
    max-width: 100%;
    max-height: auto;
    border-radius: 20px;
    border: solid white 5px;
    position: relative;
    cursor: pointer;
    display: block;
  }
  .secondProject {
    grid-area: secondProject;
    background: url(../images/marvin-meyer-SYTO3xs06fU-unsplash.jpg);
    background-size: cover;
    max-width: 100%;
    max-height: 100%;
    border-radius: 20px;
    border: solid white 5px;
    position: relative;
    cursor: pointer;
    display: block;
  }
  .thirdProject {
    grid-area: thirdProject;
    background: url(../images/michal-kubalczyk-WecngmAT-KY-unsplash.jpg);
    background-size: cover;
    max-width: 100%;
    max-height: 100%;
    border-radius: 20px;
    border: solid white 5px;
    position: relative;
    cursor: pointer;
    display: block;
  }
  .firstProject {
    grid-area: firstProject;
    background: url(../images/camera-4091991.svg);
    background-size: cover;
    max-width: 100%;
    max-height: auto;
    border-radius: 20px;
    border: solid white 5px;
    position: relative;
    cursor: pointer;
    display: block;
  }
  
  
  .container-with-grid img{  
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: solid white 5px;
  }
  .firstProject .content{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .7s;
    opacity: 0;
  
  }
  .secondProject .content{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .7s;
    opacity: 0;
  
  }
  .thirdProject .content{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .7s;
    opacity: 0;
  
  }
  .fourProject .content{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .7s;
    opacity: 0;
  
  }
  .fiveProject .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .7s;
    opacity: 0;
  
  }
  .firstProject:hover .content{
    opacity: 1;
  
  }
  .secondProject:hover .content{
    opacity: 1;
  
  }
  .thirdProject:hover .content{
    opacity: 1;
  
  }
  .fourProject:hover .content{
    opacity: 1;
  
  }
  .fiveProject:hover .content {
    opacity: 1;
  
  }
  .link-project {
    text-transform: capitalize;
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    padding: 10px;
    position: relative;
  
  }
  .link-project:hover {
    color: rgb(115, 13, 13);
  
  
  }
 
 
  
  
  
  @media (max-width: 996px) {
    html {
        font-size: 14px;
    }
    .header {
        flex-direction: column-reverse;
        height: fit-content;
        padding-bottom: 50px;
    }
    .header .profile-image {
        width: 250px;
        margin: 40px;
  
    }
  }
  
  @media (max-width: 500px) {
    html {
        font-size: 8px;
        overflow-x: hidden;
    }
    .profile-image {
        width: 90%;
        margin: auto;
        display: block;
  
    }
    .container-with-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 1fr);
        grid-template-areas: 
        "firstProject"
        "secondProject"
        "thirdProject"
        "fourProject"
        "fiveProject";
    }
   
    
    section#home.header {
        margin: 0 0 0 0;
        padding: 0 0 0 0;
    }
    section#about-me.about-me {
        padding: 10px;
    }
   
    
  }
  