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

html {
    font-size: 6px;
}

body {
    font-family: 'Noto Sans JP',
        sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    background-color: white;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    font-family: 'Ubuntu',
    sans-serif;
}

a {
    text-decoration: none;
}

ul {
    list-style-type: none;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.col {
    float: left;
    width: 100%;
    padding: 1rem;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: .5rem;
    padding-right: .5rem;
}

@media (min-width: 576px) {
    .container {
        max-width: 100%;
    }

    html {
        font-size: 7px;
    }

}

@media (min-width: 768px) {
    .container {
        max-width: 100%;
    }

    html {
        font-size: 8px;
    }

    .col{
        width: 50%;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 100%;
    }

    html {
        font-size: 9px;
    }

    .col {
        width: 33.3333%;
    }

}

@media (min-width: 1200px) {
    .container {
        max-width: 100%;
    }

    html {
        font-size: 10px;
    }
}

.text-uppercase {
    text-transform: uppercase;
}

section {
        padding-top: 10rem;
        padding-bottom: 10rem;
        text-align: center;
}

.btn-large {
    font-size: 2rem;
    padding: 2.4rem 1.6rem;
}

.btn {
    margin-top: 4rem;
    font-weight: 400;
    display: inline-block;
    border: 2px solid transparent;  
    border-radius: .4rem;
    transition: all .5s ;
}

.btn-social {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 2rem;
}

.btn-outline {  
    color: white;
    border: 2px solid white;
    background-color: transparent;
}

.btn-outline:hover {
    color: #101d27;
    background-color: white;
    cursor: pointer;
}

.btn-primary {
    font-size: 2rem;
    padding: 1rem 3rem;
    background-color: #2C3E50;
    border-color: #2C3E50;
    color: white;
}

.btn-primary:hover {
    border-color: #101d27;
    background-color: #101d27;
    cursor: pointer;
}

/**** Nav Bar ****/

nav {
    font-family: 'Ubuntu',
    sans-serif;
    width: 100%;
    background-color: #2C3E50;
    color: white;
    padding-bottom: 2.4rem;
    padding-top: 2.4rem;
    position: fixed;
    z-index: 500;
}

.nav-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: .5rem;
    padding-right: .5rem;
}

#logo-box {
    float: left;
    padding-top: .5rem;
}

#logo-box .logo {
    color: white;
    font-weight: 700;
    font-size: 3.2rem;
}

#nav-links {
    float: right;
}

#nav-links .nav-item {
    float: left;
    margin: .4rem;
}

#nav-links .nav-link {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
    padding: 1rem;
    letter-spacing: .1rem;
    font-family: 'Noto Sans JP',
    sans-serif;
    transition: color .3s;
}

#nav-links .nav-link:hover {
    color: #E0B500;
}

#nav-links .nav-icon {
    display: none;
}

@media(max-width: 992px) {
    #logo-box{
        float: none;
        text-align: left;
    }

    #nav-links {
        float: none;
    }

    #nav-links.responsive li:not(:first-child) {
        display: none;
    }

    #nav-links .nav-link {
        font-size: 2rem;
        padding-left: 0;
    }

    #nav-links .nav-item {
        float: none;
        text-align: left;
    }

    #nav-links .nav-icon {
        display: block;
        position: absolute;
        top: 12px;
        right: 5px;
        font-size: 3rem;
    }
}

/**** Nav Bar End ****/

/**** Header ****/

header {
    background-color: #101d27;
    padding-top: calc( 112px + 10rem);
    padding-bottom: 112px;
    text-align: center;
    height: 100%;
}

header h1 {
    color: white;
    font-size: 7.6rem;
}

header h2 {
    font-family: 'Noto Sans JP',
    sans-serif;
    font-weight: 300;
    color: white;
}

hr.star-light {
    border-color: white;
}

hr.star-dark {
    border-color: #2C3E50;
}

.star-light, .star-dark {
    border: none;
    border-top: .4rem solid;
    max-width: 25rem;
    margin: 3rem auto;
    padding: 5px;
    overflow: visible;
    height: 0;
}

.star-light::after {
    background-color: #101d27;
    color: white;
}

.star-dark::after{
    background-color: white;
    color: #2C3E50;
}

.star-light::after, .star-dark::after {
    content: "\f005";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 3rem;
    position: relative;
    top: -2.5rem;
    padding: 0 8px;
}

/**** Header End ****/

/**** Portfolio ****/

#portfolio h2 {
    font-size: 4.8rem;
    color: #2C3E50;
}

.portfolio-item {
    position: relative;
}

.portfolio-item img {
    display: block;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #E0B500;
    opacity: 0;
    transition: opacity .5s ease-in;
}

.img-overlay .icon {
    color: white;
    font-size: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.portfolio-item:hover 
.img-overlay {
opacity: .7;
}

/**** Portfolio End ****/

/**** About ****/

#about {
    background-color: #101d27;
    color: white;
}

#about h2 {
    font-size: 4.8rem;
}

#about-text {
    text-align: center;
}

#about-text .left {
    float: none;
    width: 100%;
    padding-right: 5px;
    padding-left: 25px;
}

#about-text .right {
    width: 100%;
    float: none;
    padding-right: 5px;
    padding-left: 25px;
}

#about-text .text {
    font-size: 2rem;
}

@media(min-width: 992px){
    #about-text .left {
        float: left;
        width: 50%;
        padding-right: 10px;
        padding-left: 210px;
    }

    #about-text .right {
        width: 50%;
        float: right;
        padding-right: 210px;
        padding-left: 10px;
    }   

    #about-text {
        text-align: justify;
    }

}

/**** About End ****/

/**** Contact ****/


#contact h2 {
    font-size: 4.8rem;
    color: #2C3E50;
}

#contact-form {
    width: 70%;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    border-bottom: 1px solid #c7c8c9;
    padding-bottom: 3rem;
    margin-bottom: 4rem;
}

.form-group input, .form-group textarea {
    border: none;
    width: 100%;
    display: block;
    font-size: 2.4rem;
}

.form-group input:focus, .form-group textarea:focus {
        outline: 0;
}

/**** Contact End ****/

/**** Footer ****/

footer {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: #2C3E50;
    color: white;
    text-align: center;
}

footer h4 {
    font-size: 2.4rem;
    font-family: 'Ubuntu',
    sans-serif;
}

footer p {
    font-size: 1.6rem;
    margin-top: 1rem;
}

footer li {
    display: inline-block;
    margin-right: 1rem;
}

.copyright {
    background-color: #101d27;
    color: white;
    text-align: center;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
}
