 body {
     margin: 0;
     padding: 0;
     font-family: "Poppins", sans-serif;
     scroll-behavior: smooth;
 }

 nav {
     display: flex;
     flex-direction: row;
     justify-content: space-around;
     align-items: center;
     margin-top: 50px;
     width: 100vw;
 }

 .name-container {
     display: flex;
     flex-direction: column;
 }

 .name {
     font-size: 20px;
     font-weight: bold;
     letter-spacing: 1px;

 }

 .sur-name {
     margin: 0;
     margin-top: -5px;
     font-size: 12px;
     letter-spacing: 1px;

 }

 span {
     color: blue;
     font-weight: bold;
 }

 ul {
     display: flex;
     flex-direction: row;
     list-style: none;
 }

 ul li {
     padding: 20px;
     font-size: 13px;
     color: darkgrey;
     transition: 0.2s ease-in-out;

 }

 ul a {
    text-decoration: none;
 }

 ul li:hover {
     color: blue;
 }


 header {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 10%;
     text-align: center;
 }

 .upper-text {
     font-size: 13px;
     margin: 0;
 }

 h1 {
     font-size: 54px;
     width: 70%;     
     letter-spacing: 1px;
     line-height: 50px;


 }

 h2 {
     font-size: 15px;
     width: 60%;
     font-weight: 200;
 }

 .lets-talk {
     background-color: black;
     padding: 2% 5%;
     color: white;
     text-decoration: none;
     font-weight: bold;
     letter-spacing: 2px;
     margin-top: 25px;
     transition: 0.2s ease-in-out;
 }

 .lets-talk:hover {
     background-color: blue;
 }

 .projects-container {
     display: flex;
     flex-direction: row;
     flex-wrap: wrap;
     align-items: center;
     justify-content: center;
     margin: 0;
 }

 .project {
     background-color: darkgrey;
     width: 400px;
     height: 400px;
     position:relative;
 }

  .project-image-container {
     width: 100%;
     height: 100%;
     object-fit: contain;

 } 

 .project-image-container::after {
    content:"";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    
}


 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .text-hover-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: .2s ease-in-out;
    background: rgba(0, 0, 255, 0.671);
    color: white;
  }
  
  .project:hover .text-hover-container {
    opacity: 1;
  }
  
  .title {
    color: white;
    font-weight: bold;
    font-size: 28px;
    position: absolute;
    top: 30%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }



 .type {
    color: white;
    font-weight: 100;

    font-size: 23px;
    position: absolute;
    top: 55%;
    left: 50%;
    width: 80%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;

 }

 .fa-arrow-right {
    color: white;
    font-weight: lighter;
    font-size: 28px;
    position: absolute;
    top: 75%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
 }


 h3 {
     font-size: 60px;
 }

 .methods-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

 }

 .method-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    margin: 1px;
    padding: 2% 5%;
 }

 .method-container p {
    width: 300px;
    height: 300px;
    margin-top: 40px;


 }

 .method-title-container {
     display: flex;
     flex-direction: column;
     align-items: left;
     justify-content: left;
 }

.fas {
    color: blue;
    padding-right: 10px;
    font-size: 20px;

}

h3 {
    text-align: center;
    padding: 2%;
}

.services-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.service-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    margin: 1px; 
    padding: 0% 5%;
    width: 300px;
    height: 300px;
}

.service-container p {
    margin-top: 40px;
    
}

h4 {
    font-size: 30px;
}

.skills-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.skills-container img {
    width: 70px;
    padding: 2%;
}

.skill-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5%;
}


.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    padding: 15% 5%;
    background-color: black;
    color: white;
}

.contact h4 {
    font-weight: 100;
}

.mail {
    font-size: 60px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    /* margin: 0; */
}

.mail:hover {
    color: blue;
}

h4 {
    margin: 0;
    margin-bottom: -10px;
}


.contact-links a {
    padding: 10px;
    color: grey;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}


.contact-links a:hover {
    color: blue;
}
.contact-links {
    margin-left: -10px;
    margin-top: 10px;
}



  


@media screen and (max-width: 900px) {

    .title {
        top: 40%;
    }
      
    h1 {
        font-size: 30px;
        line-height: 40px;
    }
    .mail {
        font-size: 20px;
    }

    .service-container p {
        width:auto;
    }

    .contact h4 {
        font-size: 14px;
        margin-bottom: 2px;
    }

    
  }

  @media screen and (max-width: 480px) {
      ul {
          display: none;
      }

      .name-container {
          text-align: center;
      }
      .upper-text {
          display: none;
      }

      .project {
          width: 350px;
          margin: 2px;
      }

  }