body {
    font-size: 10px;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

#navbar {
    box-sizing: border-box;
    width: 100%;
    height: 90px;
    padding: 20px;
    background-color: #000000b6;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

#navbar ul{
    display: flex;
    list-style-type: none;
    justify-content: flex-end;
    padding-right: 30px;
}

#navbar a{
    text-decoration: none;
    color: #ffffff;
    font-size: 1.3rem;
    margin-left: 30px;
    text-align: center;
    padding: 3px;
    transition: 1s;
}

#navbar a:hover {
    background-color: #ffffff;
    color: #000000;
}

#welcome-section {
    height: 100vh;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    top: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #aa4b6b;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #3b8d99, #6b6b83, #aa4b6b);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #3b8d99, #6b6b83, #aa4b6b); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: 200% 200%;
    background-position: 200%;
    animation: gradient 6s ease infinite;
}

#welcome-section p {
    font-size: 1.8rem;
    font-weight: 500;
    margin: 5px 0;
}

h1 {
    font-size: 10rem;
    color: #ffffff;
    font-weight: 900;
    margin: 0;
}

h2 {
    font-size: 5rem;
    margin: 0;
}

#projects {
    background-color: #30717a;
    color: #ffffff;
    padding: 20px 5px;
    text-align: center;
}

#projects h2 {
    margin: 100px 5px 30px 5px ;

}

.projects-grid {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 600px));
    grid-gap: 20px;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
}

.project-tile {
    background-color: #000000;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 3px;
    box-shadow: 0 10px 20px #00000054;
}

.project-title {
    color: #ffffff;
    font-size: 1.3rem;
}

.img-project {
    display: block;
    width: 100%;
}

#contact {
    height: 80vh;
    width: 100%;
    box-sizing: border-box;
    background-color: #aa4b6b;
    text-align: center;
    padding: 30px 5px;
}

#contact p {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.link-icons {
    list-style-type: none;
    width: 70%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0 auto;
    padding-left: 0;
}

.profile-link {
    text-decoration: none;
    display: flex;
    font-size: 1.8rem;
    color: #ffffff;
    text-shadow: 0 10px 20px #00000054;
    transition: .8s;
    margin: 10px;
}

.profile-link:hover {
    color: #fcb4cc;
    text-shadow: none;
    opacity: .4;
}

.icon {
    margin-right: 8px;
    transition: .8s;
}

.icon:hover {
    transform: rotateY(360deg);
}

footer {
    background-color: #000000;
    color: #ffffff;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 20px 10px;
}

footer p {
    margin: 0;
    font-size: 0.8rem;
}

/* animation */

/* #welcome-section */
.tracking-in-expand {
	-webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
	        animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@-webkit-keyframes tracking-in-expand {
    0% {
      letter-spacing: -0.5em;
      opacity: 0;
    }
    40% {
      opacity: 0.6;
    }
    100% {
      opacity: 1;
    }
  }

  @keyframes tracking-in-expand {
    0% {
      letter-spacing: -0.5em;
      opacity: 0;
    }
    40% {
      opacity: 0.6;
    }
    100% {
      opacity: 1;
    }
  }

  @keyframes gradient {
    0% {
        background-position: 0%;
    }
    50% {
        background-position: 100%;
    }
    100% {
        background-position: 0%;
    }
}
  
/* animation .project-tile */

.pulsate-fwd:hover {
	-webkit-animation: pulsate-fwd 0.8s ease-in-out both;
	        animation: pulsate-fwd 0.8s ease-in-out both;
}

@-webkit-keyframes pulsate-fwd {
    0% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    50% {
      -webkit-transform: scale(1.01);
              transform: scale(1.01);
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }

@keyframes pulsate-fwd {
    0% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    50% {
      -webkit-transform: scale(1.01);
              transform: scale(1.01);
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }
  

  /* responsive */

@media (max-width: 900px) {
    h1 {
        font-size: 8.0rem;
    }
    h2 {
        font-size: 4.3rem;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 5.0rem;
    }

    h2 {
        font-size: 2.3rem;
    }

    .profile-link {
        font-size: 1.5rem;
    }

    #welcome-section p {
        font-size: 1.5rem;
        
    }
}

@media (max-width: 415px) {
    h1 {
        font-size: 3.9rem;
    }
    h2 {
        font-size: 2.2rem;
    }

    #navbar ul{
        justify-content: space-around;
        padding: 0;
    }

    #navbar a {
        margin: 0;
        padding: 0;
    }

    #welcome-section p {
        font-size: 1.2rem;
    }
    
    .profile-link {
        font-size: 1.3rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        width: 90%;
        align-items: center;
        margin: 0 auto;
    }    

    .project-title {
        font-size: 1.1rem;
    }

    #contact p {
        font-size: 1.2rem;
    }
}

