body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: linear-gradient(122deg, #f5f7fa, #dbe2ee 46%, #c3cfe2);
}

header, .links {
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.33;
}

.links div {
    margin-left: 32px;
    cursor: pointer
}

.links div:hover
 {
    color: #4F48EC;
    cursor: pointer
 }

header {
    padding: 10px 138px;
}

.cta {
    margin-left: 493.353px;
}
.profile {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: #94a4b1;
    text-align: center;
}

.profile-pic {
    margin-top: 4px;
}
.title-image {
    width: 100%;
    height: auto;
    display: flex;
}

.title{
    width: 423px;
    height: 100%;
    padding-top: 72px;
    padding-left: 138px;
}

.name {
    font-size: 40px;
    margin: 0;
}

.landing-img {
    width: 300px;
    height: auto;
    margin-top: 25px;
    margin-left: 100px
}

.description {
  width: 286px;
  font-size: 18px;
  line-height: 1.33;
  text-align: left;
  margin: 8px 0 0 0;
}

.hire-me {
  width: 150px;
  height: 40px;
  border-radius: 24px;
  background-color: #4F48EC;
  border-style: none;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.33;
  text-align: center;
  color: #ffffff;
  margin-top: 24px;
}

.hire-me:hover {
    opacity: .7;
}
.skills {
    display: flex;
    justify-content: space-around;
    padding-left: 138px;
    padding-right: 138px;
    margin: 30px 0;
}

.skills div {
  max-width: 200px;
  max-height: 200px;
  padding: 16px;
  background-color: #fafdff;
}

.skills h3 {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.09;
    text-align: left;
    color: #40484e;
}

.skills p {
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    color: #40484e;
}
.credit-legend {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
}

.link-github {
    text-decoration: none;
    color: #40484E;
}

.link-github:hover {
    color: #4F48EC;
}

.skills img {
    width: 38px;
    height: 38px;
    display:block;
    margin:auto;
    border-radius: 25px;
}

.skills img:hover {
    opacity: .7;
}

/* About me section */
.aboutme {
    width: auto;
    height: 100%;
    margin: 0 138px;
    display: flex;
}

.div-aboutme, .img-aboutme {
    width: 50%;
    height: auto;
    padding-top: 40px;
}

.aboutme-pic {
    width: 356px;
    height: auto;
    display: block;
    margin: auto;
}

.title-aboutme {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.content-aboutme {

}

/* Resume section */

.resume {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.resume img {
    margin-top: 40px;
}

.resume button {
    margin-top: 28px;
}

.title-resume {
    margin-top: 24px;
    font-weight: 600;
}

.resume a {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
li {
    list-style-type: none;
    display: inline-flex;
    margin: 0 5px;
}

/* Responsive for tablet */
@media screen and (max-width: 768px) {
    .title-image {
        width: 100vw;
        margin: 40px auto;
    }
    .title {
        width: 50%;
        padding: 0;
        margin: auto;
        padding-left: 40px;
    }

    .image {
        width: 50%;
    }

    .landing-img {
        width: 80%;
        margin: 0;
    }

    .skills {
        padding: 0;
    }
}

/* Responsive for mobile */
@media screen and (max-width: 500px) {
    /* Home section */
    header, .links {
        flex-direction: column;
        width: 100vw;
        padding: 0;
    }

    .links {
        margin-top: 10px;
        /* color: #f5f7fa;
        background-color: #4F48EC;
        opacity: .7; */
    }

    .links div {
        display: flex;
        align-items: center;
        margin: auto;
        height: 30px;
    }

    .profile {
        margin-top: 20px;
    }

    .title-image {
        flex-direction: column-reverse;
    }

    .title {
        width: 100vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .image {
        width: 80%;
        margin: auto;
    }

    .landing-img {
        display: block;
        margin: 40px auto;
    }

    .skills {
        width: 100vw;
        flex-direction: column;
        padding: 0;
    }

    .skills div {
        max-width: 80%;
        margin: 10px auto;
    }

    .description {
        text-align: center;
    }

    /* About me section */
    .aboutme {
        display: flex;
        justify-content: center;
        flex-direction: column-reverse;
        margin: auto;
        padding: 0;
    }

    .div-aboutme, .img-aboutme {
        width: 80%;
        text-align: center;
        margin: auto;
    }

    .div-aboutme div {
        margin-bottom: 30px;
    }

    .aboutme-pic {
        width: 100%;
    }
    /* Resume section */
    .resume {
        height: 100vh;
    }
    
    .title-resume {
        text-align: center;
        margin-bottom: 40px;
    }

    .resume img {
        width: 100%;
        display: block;
        margin: 40px auto;
    }

    .resume button {
        margin: 20px 0;
    }
}