/* General style */

*,
*:after,
*:before {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Kirang Haerang', cursive;
}

.container {
    width: 83%;
    margin: auto;
}

/* nav bar */

.navbar {
    overflow: hidden;
    background-color: rgba(255, 230, 153, 0.8);
    padding: 10px 0 15px 0;
    z-index: 5;
    width: 100%;
    position: fixed;
}

.navbar .logo {
    color: #ff8000;
    text-transform: uppercase;
    font-size: 22px;
    width: 40%;
    float: left;
}

.navbar input,
.navbar label {
    position: absolute;
    top: 18px;
    right: 45px;
}

.navbar input {
    display: none;
}

.navbar label {
    display: block;
    width: 15px;
    height: 15px;
    background-image: url(../images/open.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 8px;
    cursor: pointer;
}

.navbar input:checked ~ .links {
    /* ~ is next */
    display: block;
}

.navbar input:checked ~ label {
    /* ~ is next */
    background-image: url(../images/close.png);
}

.navbar .links {
    text-transform: capitalize;
    font-size: 18px;
    width: 60%;
    float: left;
    margin-top: 10px;
}

.navbar .links .nav_list {
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.navbar .links .nav_list .list a {
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease-in-out;
}

.navbar .links .nav_list .list a:hover {
    color: #ff8000;
}

/* media nav bar */

@media (max-width: 767.98px) {
    .navbar .logo {
        width: 100%;
        float: none;
    }

    .navbar .links {
        width: 100%;
        float: none;
        margin-top: 20px;
        display: none;
    }

    .navbar .links .nav_list {
        display: block;
        text-align: center;
    }

    .navbar .links .nav_list .list {
        margin-bottom: 10px;
    }
}

@media (min-width: 767.98px) {
    .navbar label {
        display: none;
    }
}

/* home */

.home {
    background-image: url(../images/home-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
    background-position: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    margin: auto;
}

.home .content h2 {
    color: #ff8000;
    font-size: 40px;
}

.home .content p {
    margin: 20px 0;
    font-size: 16px;
}

.home .content button {
    padding: 5px 20px;
    font-size: 18px;
    font-family: 'Kirang Haerang', cursive;
    text-transform: capitalize;
    background-color: #ff8000;
    border: 0;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
    color: #fff;
    cursor: pointer;
}

.home .content button:hover {
    background-color: rgb(255, 230, 153);
    color: #000;
}

/* work */

.work {
    padding: 20px 0;
    overflow: hidden;
}

.work .title {
    text-transform: uppercase;
    font-size: 30px;
    margin: 30px 0;
}

.work .title span {
    color: #ff8000;
}

.work .w-content {
    overflow: hidden;
    width: 100%;
    margin: auto;
    text-align: center;
    margin-bottom: 20px;
}

.work .w-card {
    width: 30%;
    display: inline-block;
    border: 1px solid #ff8000;
    box-sizing: border-box;
    text-align: center;
    padding: 40px 10px;
    margin: 10px 9px;
}

.work .w-card i {
    font-size: 30px;
    margin: 10px 0;
}

.work .w-card h3 {
    font-size: 20px;
    color: #ff8000;
    margin: 10px 0;
    text-transform: uppercase;
}

.work .w-card p {
    margin: 20px 15px 10px 15px;
}

/* media work */

@media (max-width: 767.98px) {
    .work .w-card {
        width: 40%;
        margin: 10px 8px;
    }
}

@media (max-width: 575.98px) {
    .work .title {
        text-align: center;
    }

    .work .w-card {
        width: 60%;
    }
}

/* portfolio */

.portfolio {
    padding: 20px 0 30px 0;
    background-color: #f8f8f8;
    overflow: hidden;
}

.portfolio .title {
    text-transform: uppercase;
    font-size: 30px;
    margin: 30px 0;
    text-align: center;
}

.portfolio .title span {
    color: #ff8000;
}

.portfolio .buttons ul {
    list-style: none;
    text-align: center;
}

.portfolio .buttons ul li {
    background-color: #ff8000;
    display: inline-block;
    text-transform: uppercase;
    padding: 5px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
    color: #fff;
    cursor: pointer;
}

.portfolio .buttons ul li:hover {
    background-color: rgb(255, 230, 153);
    color: #000;
}

.portfolio .images div {
    width: 25%;
    float: left;
    font-size: 0;
    position: relative;
}

.portfolio .images div:hover .i-overlay {
    opacity: 1;
}

.portfolio .images div img {
    width: 100%;
}

.portfolio .images .i-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(255, 230, 153, 0.5);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.portfolio .images .i-overlay span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px;
    text-align: center;
    color: #fff;
}

/* media work */

@media (max-width: 840.98px) {
    .portfolio .images div {
        width: 50%;
    }
}

@media (max-width: 560.98px) {
    .portfolio .images div {
        width: 100%;
    }
}

/* profile-skills */

/* profile */

.profile-skills {
    overflow: hidden;
    padding: 10px 0 20px 0;
}

.profile,
.skills {
    width: 50%;
    float: left;
}

.profile-skills .title {
    text-transform: uppercase;
    font-size: 30px;
    margin: 20px 0;
}

.profile-skills .title span {
    color: #ff8000;
}

.profile-skills .data {
    font-size: 18px;
    text-transform: capitalize;
}

.profile-skills .data span {
    color: #ff8000;
    font-size: 19px;
    text-transform: capitalize;
    width: 100px;
    display: inline-block;
}

/* skills */

.profile-skills .skills .bar {
    margin: 20px 0;
    overflow: hidden;
}

.profile-skills .skills .bar .s-title {
    float: left;
    text-transform: capitalize;
    font-size: 14px;
    color: #ff8000;
    margin-bottom: 5px;
}

.profile-skills .skills .bar .percent {
    float: right;
    font-size: 14px;
    color: #ff8000;
    margin-bottom: 5px;
}

.profile-skills .skills .main-bar {
    clear: both;
    height: 3px;
    background-color: rgb(255, 230, 153);
    position: relative;
    display: block;
}

.profile-skills .skills .main-bar span {
    background-color: #ff8000;
    position: absolute;
    height: 3px;
    display: none;
}

.profile-skills .skills .main-bar .sp1 {
    width: 95%;
}

.profile-skills .skills .main-bar .sp2 {
    width: 80%;
}

.profile-skills .skills .main-bar .sp3 {
    width: 65%;
}

/* media profile-skills */

@media (max-width: 860.98px) {
    .profile,
    .skills {
        width: 100%;
    }
}

/* creative */

.creative {
    background-image: url(../images/about-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    padding: 30px 0;
}

.creative .c_content {
    width: 50%;
    float: right;
}

.creative .c_content h3 {
    margin: 10px 0;
    text-transform: uppercase;
    font-size: 25px;
}

.creative .c_content h3 span {
    color: #ff8000;
}

.creative .c_content h2 {
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 30px;
    color: #ff8000;
}

/* media creative */

@media (max-width: 767.98px) {
    .creative .c_content {
        width: 100%;
        float: none;
        text-align: center;
    }
}

/* social */

.social {
    overflow: hidden;
    cursor: pointer;
}

.social .so {
    width: 33.3%;
    float: left;
    padding: 30px 0;
    margin: auto;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}

.social .fb {
    background-color: #3b5999;
}

.social .tw {
    background-color: #55acee;
}

.social .pin {
    background-color: #bd081c;
}

/* media social */

@media (max-width: 575.98px) {
    .social .so {
        width: 100%;
        float: none;
    }
}

/* link */

.link {
    overflow: hidden;
    background-color: rgba(255, 230, 153, 0.5);
}

.link .title {
    text-transform: uppercase;
    font-size: 30px;
    margin: 30px 0;
    text-align: center;
}

.link .title span {
    color: #ff8000;
}

.link form {
    overflow: hidden;
    width: 80%;
    margin: auto;
    text-align: center;
}

.link form input {
    padding: 7px;
    border: 1px solid #ff8000;
    margin-bottom: 15px;
    box-sizing: border-box;
    outline: 0;
}

.link form .input-form input:first-child {
    width: 49%;
    float: left;
}

.link form .input-form input:last-child {
    width: 49%;
    float: right;
}

.link form .sub {
    width: 100%;
}

.link form textarea {
    padding: 7px;
    width: 100%;
    height: 100px;
    border: 1px solid #ff8000;
    box-sizing: border-box;
    outline: 0;
}

.link form button {
    padding: 5px 20px;
    font-size: 18px;
    font-family: 'Kirang Haerang', cursive;
    text-transform: capitalize;
    background-color: #ff8000;
    border: 0;
    margin: 20px 0 30px 0;
    transition: all 0.3s ease-in-out;
    color: #fff;
    cursor: pointer;
}

.link form button:hover {
    background-color: rgb(255, 230, 153);
    color: #000;
    border: 1px solid #ff8000;
}

.link p {
    color: #ff8000;
    text-align: center;
    margin: 10px 0 30px 0;
}

/* media social */

@media (max-width: 767.98px) {
    .link form {
        width: 90%;
    }
}


@media (max-width: 575.98px) {
    .link form {
        width: 100%;
    }

    .link .title {
        font-size: 25px;
    }
}
