@charset "UTF-8";

/* ---------------------------------------max all------------------------------------------------ */

#works-headervisual {
    background-image: url(../img/works-header.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 55vh;
    position: relative;
}

.works-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 160px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.works-content {
	width: 40%;
	min-width: 400px;
    display: block;
	padding: 40px 25px;
	margin: 25px;
    box-shadow: 0px 2px 10px 0px #bababa;
	position: relative;
}

.works-content h2 {
    font-size: 2.6rem;
    color: #EB6F6F;
}

.works-content h3{
	font-size: 1.3em;
	padding-left: 25px;
	margin-top: 20px;
	position: relative;
}
.works-content h3:before {
    content: '';
    position: absolute;
    top: 18px;
    left: 0;
    display: inline-block;
    width: 4%;
    height: 1px;
    background-color: #111111;
}

.works-content::after {
    bottom: 14px;
    right: 22px;
    border-bottom: 1px solid #111111;
    position: absolute;
    content: "";
    width: 90%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.lazyloaded {
    width: 100%;
}

.works-content li {
    width: 100%;
}

.works-content li img {
    width: 100%;
}


.pagenation{
    text-align: center;
    margin: 60px auto 0 auto;
}

.page-numbers{
    display: flex;
    justify-content: center;
    align-content: stretch;
	flex-basis: 100%;
}

.page-numbers li a{
    padding: 2px 10px;
    background-color: #111111;
    color: #ffffff;
    margin: 0px 7px;
}
.page-numbers li span{
    padding: 2px 10px;
    background-color: #ffffff;
    color: #111111;
    border: 1px solid #111111;
    margin: 0px 7px;
}


/* ---------------------------------------/max all------------------------------------------------ */

/* ---------------------------------------max 800px------------------------------------------------ */


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

    #works-headervisual {
        background-image: url(../img/works-header.jpg);
        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 30vh;
        position: relative;
    }

    .works-wrapper {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 4%;
        padding-bottom: 160px;
    }

    .works-content {
        /*display: grid;*/
        grid-template-columns: 1fr;
        gap: 60px 30px;
		width: 100%;
		min-width: auto;
		margin: 0px;
		margin-bottom: 50px;
	}
	.works-content:last-child {
		margin-bottom: 0;
	}

    .works-content li {
        width: 100%;
    }

    .works-content li img {
        width: 100%;
    }

    .pagenation{
        text-align: center;
        margin: 60px auto 0 auto;
    }
    
    .page-numbers{
        display: flex;
        justify-content: center;
        align-content: stretch;
    
    }
    
    .page-numbers li a{
        padding: 2px 10px;
        background-color: #111111;
        color: #ffffff;
        margin: 0px 7px;
    }
    .page-numbers li span{
        padding: 2px 10px;
        background-color: #ffffff;
        color: #111111;
        border: 1px solid #111111;
        margin: 0px 7px;
    }
   
}

/* ---------------------------------------/max 800px------------------------------------------------ */