@import url('https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

.fx {
    display: flex;
}

.fx-1 {
    flex: 1;
}

.space-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.line-height {
    line-height: 20px;
}

.container {
    width: 1120px;
    margin: 0 auto;
}

.grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.grid h1 {
    margin: 4px 0;
}

.grid h2 {
    color: #bbb;
    font-size: 12px;
    margin-top: 8px;
}

.grid h3 {
    margin-bottom: 8px;
    font-size: 14px;
    color: #888
}

.grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: 1s cubic-bezier(0.19, 1, 0.22, 1);
    border: 10px solid #fff;
    box-shadow: 0 0 16px #ccc;
}

.grid img:hover {
    transform: scale(.98);
}

.grid.project-images {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.grid.project-images img {
    width: 100%;
    aspect-ratio: 256 / 256;
}

.breadcrumb {
    margin-bottom: 16px;
    font-size: 12px;
}

.project-id {
    opacity: .5;
}

.project-name {
    font-size: 36px;
    font-weight: bold;
    margin: 0 0 16px
}

.project-city {
    margin-bottom: 8px;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #fbfbfb;
    padding-top: 121.41px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
    background-color: #fff;
    z-index: 2;
}

#logo {
    width: 100px;
}

nav a {
    padding: 4px 24px;
    color: #888;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 6px;
}

nav a:last-child {
    padding-right: 0;
}

.slider {
    height: 400px;
}

.slider img {
    height: 400px;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    margin: 32px 0;
}

#about-text {
    line-height: 24px;
}

input,
select,
button,
textarea {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    padding: 8px 16px;
    outline: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 320px;
    font-size: 18px;
    transition: .5s cubic-bezier(0.075, 0.82, 0.165, 1);
    background-color: transparent;
    width: 100%;
    margin-bottom: 12px;
    font-size: inherit;
}

input:focus,
select:focus {
    border-color: #000;
}

button {
    cursor: pointer;
    transition: .5s cubic-bezier(0.075, 0.82, 0.165, 1);
    border: none;
    background-color: #222;
    color: #fff;
    font-size: inherit;
}

button:hover {
    transform: scale(.95);
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}

#contacts a {
    display: block;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

#contacts img {
    width: 48px;
    margin-right: 12px;
}

#contacts {
    padding-left: 32px;
}

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

    body {
        font-size: 12px;
        padding-top: 68px;
    }

    .container {
        width: 100%;
        padding: 0 4px;
    }

    #logo {
        width: 64px;
    }

    .grid {
        margin-top: 32px;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .grid h2 {
        font-size: 10px;
    }

    .grid h3 {
        font-size: 10px;
    }

    .grid.project-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .project-name {
        font-size: 24px;
    }

    #contacts-container {
        flex-direction: column;
    }

    #contacts {
        padding-left: 0;
        margin-top: 32px;
    }

    #contacts a {
        text-align: center;
        justify-content: center;
    }
    
    nav a {
        padding: 4px 12px;
        letter-spacing: 4px;
    }

}