@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Prata&display=swap');
@import url('https://fonts.googleapis.com/css?family=Courier+Prime&display=swap');
html {
    scroll-behavior: smooth;
}

body {
    margin: 0% !important;
    font-family: 'Montserrat', sans-serif;
    background-image: url(asset/greetings.jpg);
    background-color: #000000b4;
    background-blend-mode: darken;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    background-repeat: no-repeat;
}

body::-webkit-scrollbar {
    width: 7px;
    background-color: rgb(43, 43, 43);
}

body::-webkit-scrollbar-thumb {
    background-color: rgb(54, 167, 196);
}


/* bootstrap copy */


/* bootstrap copy */


/* general use */

.container {
    margin-left: 30%;
    margin-right: 30%;
}

.container-small {
    margin-left: 10%;
    margin-right: 10%;
}

.center {
    text-align: center;
}

.justify {
    text-align: justify;
}

.content {
    padding-top: 1%;
    padding-bottom: 1%;
    font-size: 120%;
    letter-spacing: 0.1em;
    line-height: 35px;
}

.title {
    font-family: 'Prata', serif;
}

.btn-inline {
    margin-top: 4%;
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid rgb(172, 238, 255);
    color: rgb(172, 238, 255);
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 110%;
    font-weight: 600;
    border-radius: 3px;
    letter-spacing: 0.2em;
}

.btn-inline:hover {
    background-color: rgb(172, 238, 255);
    color: #2E3445;
    cursor: pointer;
}

.separator {
    color: rgb(172, 238, 255);
    border-bottom-color: rgb(172, 238, 255);
    border-bottom-width: 3px;
    border-bottom-style: solid;
}

.quote {
    color: rgb(172, 238, 255);
    font-size: 200%;
    padding-top: 2%;
    padding-bottom: 2%;
    font-weight: 500;
}

.clear {
    clear: both;
}


/* general use */

#top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    border: none;
    outline: none;
    background-color: rgb(54, 167, 196);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 100%;
    background-image: url(asset/arrow-up.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    height: 50px;
    width: 50px;
}


/* navbar */

nav {
    position: fixed;
    top: 0%;
    width: 100%;
}

#nav {
    padding: 2%;
    text-align: right;
    font-size: 120%;
}

nav a {
    padding-left: 0.5%;
    padding-right: 0.5%;
    color: white;
    text-decoration: none;
}

.active {
    padding-bottom: 1%;
    color: rgb(172, 238, 255);
    border-bottom-color: rgb(172, 238, 255);
    border-bottom-width: 4px;
    border-bottom-style: solid;
}


/* navbar */


/* section home */

#home {
    padding-top: 11%;
    padding-bottom: 11%;
}

.profile {
    width: 10%;
    border-radius: 100%;
    background-color: rgba(255, 255, 255, 0.411);
}

#home .title {
    margin: 2%;
    color: rgb(201, 201, 201);
    font-size: 300%;
    font-weight: 100;
    letter-spacing: 0.125em;
}

#home .subtitle {
    color: rgb(172, 238, 255);
    font-size: 150%;
    font-weight: 100;
    letter-spacing: 0.125em;
}

#home .content {
    color: rgb(201, 201, 201);
}


/* section home */


/* section about */

#about {
    background-color: ivory;
    color: rgb(112, 112, 112);
    padding-top: 6%;
    padding-bottom: 10%;
}

#about .title {
    padding-top: 2%;
    font-size: 300%;
    font-weight: 100;
    letter-spacing: 0.125em;
}

#about mark {
    background-color: rgb(172, 238, 255);
}

#about img {
    padding-top: 5%;
    width: 70%;
    transition: transform .2s;
}

#about img:hover {
    transform: scale(1.1);
}


/* section about */


/* section project */

#project {
    background-image: linear-gradient(to top, #48c6ef 0%, #6f86d6 100%);
    color: rgb(112, 112, 112);
    padding-top: 6%;
    padding-bottom: 2%;
}

#project .row {
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 2%;
}

#project .title {
    color: rgb(223, 223, 223);
    font-size: 300%;
    font-weight: 100;
    letter-spacing: 0.125em;
    padding-bottom: 2%;
    padding-top: 2%;
}

#project img {
    border-radius: 10px 10px;
    padding-bottom: 5%;
    width: 100%;
}

#project .col {
    display: inline-block;
    vertical-align: middle;
    margin-left: 1%;
    margin-right: 1%;
    width: 25%;
}

#project .card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 10px 10px;
    background-color: white;
    transition: transform .2s;
    cursor: pointer;
}

#project .card:hover {
    transform: scale(1.075);
}

#project .card .title {
    font-family: 'Montserrat', sans-serif;
    font-size: 100%;
    text-align: left;
    font-weight: 600;
    color: rgba(56, 56, 56, 0.719);
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 1%;
}

#project .card .content {
    font-size: 80%;
    text-align: left;
    color: rgba(56, 56, 56, 0.719);
    line-height: 15px;
    letter-spacing: 0.05em;
    font-family: 'Montserrat', sans-serif;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 5%;
    text-align: justify;
}

#project .more-project {
    color: white;
    padding-top: 5%;
    padding-bottom: 1%;
    font-size: 120%;
    letter-spacing: 0.1em;
}

#project .more-project a {
    text-decoration: none;
    font-weight: 600;
}


/* section project  */


/* section footer */

footer {
    background-color: ivory;
    padding-top: 6%;
    color: rgb(112, 112, 112);
}

footer .title {
    padding-top: 2%;
    font-size: 300%;
    font-weight: 100;
    letter-spacing: 0.125em;
    ;
}

footer .content a {
    text-decoration: none;
    color: rgb(112, 112, 112);
}

.footer {
    padding-top: 5%;
    line-height: 27px;
}

footer .footer-img {
    padding-top: 2%;
    width: 100%;
    vertical-align: bottom;
}


/* section footer */


/* mobile css */

@media (max-width: 769px) {
    #nav {
        text-align: center;
        padding: 3% !important;
    }
    .active {
        padding-bottom: 3%;
    }
    #home {
        padding-top: 25% !important;
    }
    nav a {
        font-size: 85%;
        padding-left: 2%;
        padding-right: 2%;
        color: white;
        text-decoration: none;
    }
    .profile {
        width: 30%;
    }
    .container {
        margin-left: 7%;
        margin-right: 7%;
    }
    .content {
        letter-spacing: 0em;
    }
    #home .title {
        font-size: 200% !important;
        margin-top: 5% !important;
    }
    #home .subtitle {
        font-size: 120%;
        font-weight: 500;
        margin-left: 7%;
        margin-right: 7%;
        line-height: 30px;
    }
    .btn-mobile {
        text-align: center;
    }
    #about,
    #project {
        padding-top: 15%;
    }
    #contact {
        padding-top: 7%;
    }
    #about .title {
        font-size: 200%;
    }
    #project .title {
        font-size: 200%;
        text-align: left;
    }
    #contact .title {
        font-size: 200%;
    }
    #project .row {
        margin-left: 7%;
        margin-right: 7%;
    }
    #project .col {
        display: block;
        width: 100%;
        margin-bottom: 7%;
    }
    #project .card .content {
        font-size: 90%;
    }
    #project .card:hover {
        transform: scale(1);
    }
    #about img {
        width: 100%;
    }
}


/* mobile css */