@charset "uft-8";

html{
    font-size: 100%;
    margin: 0;
    padding: 0;
}

body{
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
}

li{
    list-style-type: none;
}

a{
    text-decoration: none;
    color: #000000;
}

img {
    max-width: 100%;
}

section{
    margin:0px 0 50px 0;
    padding:0px 100px;
}

h2{
    display: inline-block;
    font-size: 1.5rem;
    border-bottom: solid 3px #4f4f4f;
    margin-bottom: 30px;
}

h3{
    text-align: center;
}

/* header */
#header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    line-height: 1px;
    margin: 5px 100px;  
}

.logo{
    height: 40px;
    width: 120px;
}

.nav_link{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav_link li a{
    display: inline-block;
    padding: 20px 30px;
    margin: 5px;
    transition: all 0.5s ease-in-out;
}

.nav_link li a:hover{
    color: #ccc;
    background-color:#000000;
}

.contact a{
    color: #fff;
    border: solid 1px #4f4f4f;
    background-color: #4f4f4f;
}

/* mainvisual */
.mainvisual{
    position: relative;
    margin-bottom: 50px;
}

.mainvisual img{
    height:550px;
    width: 100%;
    object-fit: cover;
}

.main_text{
    position: absolute;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
}

.main_text h1{
    font-size: 2.5rem;
    margin-bottom: 10px;
}

i{
    color:#ffffff ;
    font-size: 25px;
    transition: all 0.3s ease-in-out;
}

i:hover{
    color: #5f5f5f;
}

/* about */
.about{
    position: relative;
    color: #fff;
    height: 400px;
}

.about img{
    position: absolute;
    height: 250px;
    width: 350px;
    margin-left: 15%;
    margin-top: 5%;
}

.about_text{
    position: absolute;
    margin-left: calc( 85% / 2 );
    background-color: #4f4f4f;
    height: 350px;
    width: 470px;
}

.about_text p{
    padding:125px;
    text-align: center;
}

.workplace{
    display: flex;
    flex-direction: row;
    width: 100%;
}

.workplace img{
    margin-top: 20px;
    width:100%;
    height: 300px;
    object-fit: cover;
    object-position:25% 70%;
}

.workplace_text{
    text-align: center;
    margin: 20px 0;
}

/* info */
.info{
    color: #fff;
    height: 80px;
    background-color: #5f5f5f;
    margin-bottom: 30px;
}

b{
    font-size: 1.5rem;
}

.info_text{
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.info_text p{
    font-size: 1.2rem;
}

/* project */
.project_title{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
}

.project_title li a{
    font-size: 0.7rem;
}

.project_title li a:hover{
    color: #4f4f4f;
}

.container {
    display: flex;
    flex-direction: row;
}

.container li{
    margin: 15px;
    width: 100%;
}

.container li a h3 {
    margin-top: 5px;
}

.container li a img{
    height: 400px;
    width: 100%;
}

.container li p{
    margin-top: 5px;
    text-align: center;
}

.container li a img{
    transition: all 0.5s ease-in-out;
}

.container li a img:hover{
    opacity: 0.7;
}

/* services */
.service_container li a img{
    width: 100%;
    height: 250px;
    border-radius: 5px;
}

.service_container li a img:hover{
    padding: 0;
    opacity: 1;
}

.service_container li h3{
    padding: 5px 5px 0 5px;
}

.service_container li p{
    padding: 5px 5px 5px 5px;
    font-size: 0.8rem;
}

.service_container li a img{
    object-fit: cover;
    object-position: left center;
}

.contact_sec{
    position: relative;
    height: 150px;
}

.contact_sec h2{
    margin-top: 50px;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    border-bottom: none;
}

.contact_sec a{
    color: #fff;
    position: absolute;
    background-color: #000000;
    display: inline-block;
    padding: 20px 30px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease-in-out;
}

.contact_sec a:hover{
    background-color: #4f4f4f;
    color: #fff;
}

/* footer */
footer{
    background-color: #000000;
    color: #fff;
    height: 230px;
}

.footer{
    margin: 50px 250px 10px 250px;
    text-align: center;
}

.footer_link{
    justify-content: space-around;
}

.footer_link li a{
    color: #fff;
    font-size: 0.7rem;
    padding: 10px;
}

.footer_link li a:hover{
    background-color:#000000;
}

.footer p{
    margin: 10px;
}

.footer p i{
    font-size: 15px;
}

.social_link{
    align-items: center;
    justify-content: center;
}

.social_link li a{
    padding: 10px;
}

.copyright{
    font-size: 0.7rem;
}

@media screen and (max-width:1023px) {

    section{
        padding:0px 50px;
    }

    .about img{
        margin-left: 7%;
    }

    .about_text{
        height: 330px;
    }

    footer{
        height: 250px;
    }
}

@media screen and (max-width:767px) {

    body{
        font-size: 0.9rem;
    }

    section{
        padding: 0px 20px;
    }

    b{
        font-size: 1.3rem;
    }

    #header{
        margin: 10px;
    }

    .nav_link li a{
        padding: 20px 15px;
    }

    .about img{
        margin:0;
        padding: 10px;
        width: 100%;
        height: 280px;
    }

    .about_text{
        margin-left: 0;
        width: 100%;
        height: 380px;
    }

    .about_text p{
        padding:300px 15px 10px 15px;
    }

    .workplace{
        flex-direction: column;
    }

    .workplace img{
        margin-top: 30px;
    }
    
    .info{
        height: 70px;
    }

    .info_text p{
        font-size: 1rem;
    }

    .container{
        flex-direction: column;
    }

    .container li{
        margin: 0;
        margin-bottom: 20px;
    }

    footer{
        height: 230px;
    }

    .footer{
        margin: 20px 10px;  
    }

    .footer_link li a,.social_link li a{
        padding: 10px;
    }
}

@media screen and (max-width:435px) {
    
    .about_text p{
        padding: 280px 5px 5px 5px
    }

    .about_text{
        margin-left: 0;
        width: 100%;
        height: 360px;
    }
    
    .about img{
        width: 100%;
        margin: 0;
    }
}

