@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

* { /* reset */
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
    background: linear-gradient(135deg, #f0f6ed , #e6f4db);
    font-family: "Montserrat";
    width: 100%;
    height: 100vh;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 16px 16px 0;
}
.header__title {
    font-size: 56px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    color: #6EAC69;    
}
.header__instagram {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    text-decoration: none;
    color: inherit;
    transition: .3s ease;    
}
.header__instagram:hover {
    color: #558851;
    letter-spacing: 2px;
}
.header__instagram:hover .header__icon {
    background-color: #558851;
}
.header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: #6EAC69;
    border-radius: 100%;
    transition: .3s ease;    
}

.feed {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
    overflow: hidden;
}

.feed__item {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 435px;
    height: 500px;
    background-color: #FFF;
    box-shadow: 0 4px 40px -8px rgba(0,0,0,.15);
}

.feed__item > img {
    width: 100%;
}

@media(max-width: 768px) {
    .header__title {
        font-size: 40px;
    }
    .feed__item {
        flex-basis: 350px;
        height: 378px;
    }
}