h1,
h2,
h3,
h4,
h5,
figure,
p,
ol,
ul {
	margin: 0;
}

ol[role="list"],
ul[role="list"] {
	list-style: none;
	padding-inline: 0;
}

h1,
h2,
h3,
h4,
h5 {
	font-size: inherit;
	font-weight: inherit;
}

html{
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
*::selection{
        background-color: var(--background-color);
        color: var(--light);
    }
img {
	display: block;
	max-inline-size: 100%;
}
:root{
    --background-color: #221F20;
    --bg-color-grey:#D9D9D9;
    --tx-color:#A5A5A5;
    --light: #f5f5f7;
    --container-padding-inline: 13%;
	--footer-padding-inline: 10%;
    @media (max-width: 768px) {
        --container-padding-inline: 6%;
        --footer-padding-inline: 6%;
    }
    @media (max-width: 576px) {
        --container-padding-inline: 15px;
        --footer-padding-inline: 15px; 
    }
}

.container{
    padding: 0 var(--container-padding-inline);
}

.promo{
    position: relative;
    min-height: 100vh;
    background: url(../images/bg/rose.jpg) center center / cover no-repeat;
    padding-top: 75px;
    @media (max-width: 768px){
        & {
            background: url('../images/bg/tablet_bg.jpg')
        }
    }
    @media (max-width: 576px) {
        min-height: 500px;
        padding-top: 50px;
        background: url(../images/bg/rose.jpg) center center / cover no-repeat;
    }
}

.promo__title{
    font-weight: 400;
    font-size: 60px;
    line-height: normal;
    text-transform: uppercase;
    color: var(--light);
    @media (max-width: 768px){
        font-size: 48px;
    }
    @media (max-width: 576px) {
        font-size: 26px;
    }
}

.promo__subtitle{
    font-weight: 100;
    font-size: 32px;
    color: var(--light);
    line-height: normal;
    margin-top: 124px;
    @media (max-width: 768px){
        & {
            margin-top: 80px;
        }
    }
    @media (max-width: 576px) {
        margin-top: 30px;
        font-size: 16px;
    }
}
.btn{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 2 px 10px;
    width: 160px;
    min-height: 38px;
    font-weight: 100;
    font-size: 16px;
    color: var(--light);
    border: 1px solid var(--light);
    background-color: var(--background-color);
    cursor: pointer;
    text-decoration: none;
    transition: all, 0.3s, easy-out;
    @media (max-width: 576px) {
        font-size: 14px;
        width: 120px;
        min-height: 30px;
    }
}

.btn:hover{
    font-weight: 500;
    box-shadow: 5px 5px 10px 0px rgba(255, 255, 255, 0.62);

}

.promo__address{
    position: relative;
    margin-top: 100px;
    font-weight: 100;
    font-size: 16px;
    color: var(--light);
    address{
        font-style: normal;
    }
    a{
        color:inherit;
        text-decoration: none;
    }
    &::before {
        content: "";
        display: block;
        position: absolute;
        background: url(../images/bg/Vector.svg ) center center/cover no-repeat;
        width: 40px;
        height: 40px;
        left: -45px;
        top: -17px;
    }
    @media (max-width: 1440px) {
        margin-top: 50px;
    }
    @media (max-width: 768px){
        & {
            margin-top: 80px;
        }
        &::before{
            left: -40px;
        }
    }
    @media (max-width:750px) {
        &::before {
            display: none;
        }
    }
    @media (max-width: 576px) {
        margin-top: 233px;
    }

}

.keywords {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	bottom: 0;
	padding: 0 360px;
	width: 100%;
	height: 20px;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.04) 0%,
		rgba(255, 255, 255, 0.12) 50%,
		rgba(255, 255, 255, 0.2) 100%);
	li {
		list-style-type: none;
		color: var(--light-color, #f5f5f7);
		font-size: 10px;
		font-weight: 100;
		line-height: normal;
	}
    @media (max-width: 1440px){
        & {
            padding: 0 20px;
        }
    }
    @media (max-width: 768px){
        & li:nth-last-child(-n + 6){
            display: none;
        }
    }
    @media (max-width: 576px) {
        & {
            margin-top: 10px;
        }
        & li:nth-last-child(-n + 11){
            display: none;
        }
    }
}

.about{
    background-color: var(--light);
    padding-top: 80px;
    @media screen and (max-width: 576px) {
		padding-top: 50px;
	}
}

.about__title{
    color: var(--background-color);
    font-style: italic;
    font-weight: 400;
    font-size: 12px;
}

.about__text{
    width: 1100px;
    margin-top: 20px;
    font-weight: 400;
    font-size: 40px;
    span{
        color: var(--tx-color);
    }
    @media (max-width: 1440px) {
        width: 100%;
    }
    @media (max-width:768px){
        
        font-size: 24px;
    
    }
    @media screen and (max-width: 375px) {
		font-size: 16px;
	}

}

.services{
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 10px;
    margin-top: 80px;
    @media (max-width:768px) {
        margin-top: 40px;
        display: block;
    }
    @media screen and (max-width: 375px) {
		margin-top: 20px;
		row-gap: 20px;
	}
}

.services__items{
    width: 50%;
    ul{
        margin-top: 20px;
        padding: 0;
    }
    li{
        position: relative;
        margin-top: 10px;
        font-weight: 400;
        font-size: 16px;
        list-style-type: none;
        &:first-child::before{
            content: "";
            display: block;
            position: absolute;
            width: 15px;
            height: 15px;
            background: url(../icons/camera.svg) center center/cover no-repeat;
            left: -30px;
            top: 2px;
        }
        &:nth-child(3)::before{
            content: "";
            display: block;
            position: absolute;
            width: 15px;
            height: 15px;
            background: url("../icons/edit.svg") center center/cover no-repeat;
            left: -30px;
            top: 2px;
        }
        
    }
    @media (max-width:768px){
        width: 100%;
    }
    @media screen and (max-width: 375px) {
		& li {
			font-size: 14px;
			margin-top: 5px;
		}
	}
    
}
.services__items-subtitle{
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    @media screen and (max-width: 375px) {
		font-size: 12px;
	}
}

.services__text{
    width: 50%;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0.02em;
    br {
        display: none;
    }
    @media (max-width:768px) {
        margin-top: 40px;
        width: 100%;
        br {
            display: block;
        }
    }
    @media (max-width:375px){
            margin-top: 20px;
            font-size: 12px;
    }
}
.title{
    font-weight: 400;
    font-size: 40px;
    color: var(--dark);
    text-align: center;
    span{
        position: relative;
    }
    span::after{
        content: "";
        position: absolute;
        display: block;
        width: 75px;
        height: 2px;
        background-color: var(--background-color);
        bottom:0;
        right: 0;
        
    }
    @media screen and (max-width: 768px) {
        font-size: 36px;
    }
    @media screen and (max-width: 576) {
        font-size: 24px;
    }
}
.works{
    padding-top: 80px;
    background-color: var(--light);
    @media screen and (max-width:768px){
        padding-top: 50px;
    }
}
/* .works__grid{
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr) 1.5fr;
    column-gap: 30px;
    row-gap: 50px;
    img{
        width: 100%;
    }
} */

.works__grid{
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr) 1.5fr;
    column-gap: 30px;
    row-gap: 50px;
    img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.25);
    }
    @media (max-width: 768px) {
        margin-top: 40px;
        column-gap: 20px;
        row-gap: 30px;
    }
    @media (max-width: 576px) {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr) 1.5fr;
        column-gap: 0px;
        row-gap: 30px;
    }
}

.inspiration{
    padding-top: 80px;
    background-color: var(--light);
    @media (max-width: 768px) {
        padding-top: 50px;

    }
}

.inspiration__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 30px;
	margin-top: 50px;
	img {
		width: 100%;
        height: 100%;
		box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.25);
	}
    @media (max-width: 1200px) {
        grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(4, 1fr);
        gap: 25px;
    }
    @media (max-width: 768px) {
        
        margin-top: 40px;
       
    }
    @media (max-width: 576px) {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr) 2.1fr 1fr 0.5fr;
        column-gap: 0px;
        row-gap: 20px;
    }
}

#tenement {
	grid-row: 1/3;
	grid-column: 4/5;
    height: 100%;
    @media (max-width: 1200px) {
        grid-row: 2/4;
	    grid-column: 2/3;
    }
    @media (max-width: 576px) {
        grid-row: auto;
        grid-column: auto;
    }
}

#sky {
	grid-column: 2/4;
    @media (max-width: 1200px) {
	    grid-column:1/3;
    }
    @media (max-width: 576px) {
        grid-column: auto;
    }
}

.customers{
    padding: 90px 0;
    background-color: var(--light);
    @media (max-width: 768px) {
        padding: 50px 0;
    }
}

.customers__wrapper{
    margin-top: 53px;
    display: flex; 
    flex-wrap: wrap;
    gap: 30px;
    img {
		width: calc((100% - 90px) / 4);
		box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.25);
	}
    @media (max-width:1440px) {
        gap: 25px;
    }
    @media (max-width: 768px) {
        margin-top: 40px;
        gap: 20px;
    }
    @media (max-width: 576px) {
        margin-top: 30px;
        gap: 36px;
        img {
		width: calc((100% - 36px) / 2);
	    }
    }
}

.footer{
    padding: 90px var(--footer-padding-inline);
    background-color: var(--background-color);
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    @media (max-width: 768px) {
        padding: 30px var(--footer-padding-inline) 40px;
        flex-direction: column;
        align-items: start;
        gap: 30px;
    }
    @media (max-width:576px) {
        align-items: center;
    }
}

.footer__links{
    display: flex;
    padding-left: 0;
    column-gap: 30px;
    a{
        display: flex;
        justify-content: center;
        align-items: center;

        border: 1px solid var(--light);
        width: 32px;
        height: 32px;
        color: #fff;
        
    }
    @media (max-width: 768px) {
        font-size: 16px;    
    }
    /* span{
        height: 80%;
        width: 80%;
        object-fit: contain;
    } */
}

.footer address{
    color: var(--light);
    font-style: normal;
    font-weight: 400;
    font-size: 20px;

    @media (max-width: 1440px) {
        font-size: 15px;
    }
    @media (max-width: 768px) {
        font-size: 16px;    
    }
    @media screen and (max-width: 375px) {
		order: 3;
	}
}

.footer > a:last-child{
    
    color: var(--light);
    text-decoration: none;
    font-weight: 400;
    font-size: 20px;
    @media (max-width:1440px) {
        font-size: 15px;
    }

}


@media(max-width:375px){

    .footer address{
        order: 1;
    }

    .footer > a{
        order: 2;
    }

    .footer__links{
        order: 3;
    }

}
