* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* shared style */

.font-open-sans {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
}

.color-orange {
    color: #FD6E0A;
}

.btn {
    padding: 18px 35px;
    background-color: #FD6E0A;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin-right: 30px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-heading {
    max-width: 827px;
    text-align: center;
    margin: 0 auto;
}

.section-heading h2 {
    font-size: 35px;
    font-weight: bold;
    color: #181818;
    margin-bottom: 30px;
}

.section-heading p {
    font-size: 18px;
    line-height: 30px;
    color: #757575;
    margin-bottom: 30px;
}

.text-center {
    text-align: center;
}


/* main style */

header {
    background-color: #FFF8F3;
    background: url(../images/developer.png), url(../images/header_bg.png), #FFF8F3;
    background-repeat: no-repeat;
    background-position: 23px 38px, bottom right;
    padding-top: 50px;
}

nav {
    width: 71%;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo h2 {
    font-size: 45px;
    font-weight: 800;
}

nav ul {
    display: flex;
    gap: 51px;
    list-style: none;
    align-items: center;
}

nav ul a {
    text-decoration: none;
    font-size: 20px;
    color: #474747;
}

#banner {
    margin: 46px 38px 0 230px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#banner .banner-content {
    max-width: 585px;
}

#banner .banner-content h2 {
    font-size: 45px;
    font-weight: 600;
    color: #474747;
}

#banner .banner-content h1 {
    font-size: 85px;
    color: #181818;
}

#banner .banner-content p {
    font-size: 18px;
    line-height: 30px;
    color: #757575;
    margin-bottom: 30px;
}

#banner .banner-image img {
    max-width: 585px;
    vertical-align: middle;
}

#about,
#skills,
#resume {
    padding-top: 130px;
}

#about .about-container {
    background-color: #FFF8F3;
    border-radius: 10px;
    width: 71%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 131px 0px;
    text-align: center;
}

#about .about-info {
    max-width: 782px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

#about .about-container .info-card p,
h4 {
    font-size: 20px;
    line-height: 30px;
    color: #757575;
}

#skills .skills-container {
    width: 71%;
    max-width: 1140px;
    margin: 0 auto;
}

#skills .skills-container .skill-box {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

#skills .skills-container .skill-box .skill-card {
    border-radius: 5px;
    box-shadow: 0 6px 50px 0 #0000002f;
    max-width: 267px;
    padding: 30px;
    margin-top: 20px;
}

.skill-box .skill-card img {
    max-width: 44px;
    margin-bottom: 30px;
}

.skill-box .skill-card h4 {
    font-size: 20px;
    color: #181818;
    margin-bottom: 20px;
}

.skill-box .skill-card p {
    font-size: 16px;
    line-height: 28px;
    color: #757575;
}

#resume .resume-container {
    width: 71%;
    max-width: 1140px;
    margin: 113px auto 0;
    display: flex;
    gap: 24px;
}

.resume-container hr {
    margin-bottom: 30px;
}

.resume-container .section-title {
    color: #474747;
    font-size: 30px;
    margin-bottom: 30px;
}

.resume-card {
    max-width: 511px;
    margin-right: 47px;
    margin-bottom: 30px;
}

.resume-card .card-title {
    font-size: 25px;
    color: #474747;
    margin-bottom: 10px;
}

.resume-card .card-info {
    font-size: 20px;
    font-weight: 600;
    color: #757575;
    margin-bottom: 20px;
}

.resume-card .card-text {
    font-size: 16px;
    color: #757575;
    line-height: 28px;
}

footer {
    margin-top: 113px;
    background-color: #FFF8F3;
    padding: 130px 0;
}

footer .footer-container {
    width: 71%;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    gap: 116px;
}

.footer-container h2 {
    font-size: 35px;
    color: #181818;
    margin-bottom: 20px;
}

.footer-container .social {
    max-width: 562px;
}

.footer-container .social p {
    font-size: 16px;
    line-height: 28px;
    color: #474747;
    margin-bottom: 30px;
}

.footer-container .icons a {
    margin-right: 24px;
}

.footer-container form input[type="text"],
.footer-container form textarea {
    width: 461px;
    padding: 18px 31px;
    margin-bottom: 24px;
    border: none;
    border-radius: 5px;

    color: #757575;
}

.hide {
    display: none !important;
}

/* responsive layout for smaller device */
@media screen and (max-width: 576px) {

    #skills .skills-container,
    #about .about-container,
    #resume .resume-container,
    footer .footer-container,
    nav {
        width: 95%;
    }

    .btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    header {
        background-color: #FFF8F3;
        background: url(../images/header_bg.png), #FFF8F3;
        background-repeat: no-repeat;
        background-position: bottom right;
        padding-top: 20px;
    }

    .banner-image img {
        width: 100%;
    }

    #banner {
        margin: 46px 38px 0 30px;
        align-items: center;
    }

    .logo {
        margin-bottom: 20px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    #about,
    #skills,
    #resume {
        padding-top: 60px;
    }

    #about .about-container {
        padding: 50px 10px;
    }

    #skills .skills-container .skill-box,
    #about .about-info,
    #resume .resume-container,
    footer .footer-container,
    nav,
    #banner {
        flex-direction: column;
    }

    #about .about-info {
        gap: 30px;
    }

    #skills .skills-container .skill-box .skill-card {
        max-width: 100%;
        margin-top: 0;
    }

    #resume .resume-container {
        margin: 50px auto 0;
    }

    footer {
        padding: 70px 0;
    }

    footer .footer-container {
        gap: 70px;
    }

    .footer-container form input[type="text"],
    .footer-container form textarea {
        width: 100%;
    }
}