
header {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    display: flex;
    gap: 1em;
}

body {
    margin: 0;
    font-size: 16px;
    font-family:"Roboto" ;
}

header .logo {
    padding: 2em 0;
}

.top {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-top: 2em;
    height: 76px;
}

.top::after {
    content: ' ';
    height: 3px;
    width: 0;
    position: absolute;
    bottom: -3px;
    background-color: #6aad48;
    transition: 3s cubic-bezier(0, 0, 0, 1.02);
}

.top.animate::after{
    width: 100%;
}

header .right {
    width: 100%;
} 

.top-menu {
    /* font-family: "Playfair"; */
    display: flex;
    gap: 1em;
    margin-top: 0.5em;
    font-weight: 300;
}

.top-menu li {
    list-style: none;
    font-size: 1.2em;
}

.top-menu a {
    text-decoration: none;
    color: #1a1a1a;
    transition: .2s;
}

.top-menu a:hover {
    color: #6aad48;
    transition: .2s;
}

main {
    max-width: 1200px;
    margin: auto;
}

h2 {
    font-family: "Playfair";
    font-size: 3em;
    margin: .5em 0;
    color: #6aad48;
}

.content {
    line-height: 1.5;
    font-weight: 300;
}


.catalog-item {
    max-width: 300px;
    background-color: #d0e9d1;
    padding: 25px;
    position: relative;
}

.catalog-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}

.catalog-item img {
    width: 250px;
    display: block;
    margin: 1em auto;
}

.catalog-item .title {
    font-size: 1.4em;
    text-align: center;
}

.catalog-item .buttons {
    position: absolute;
    bottom: 0;
    right: 0;
}

.catalog-item .buttons a {
    display: block;
    text-decoration: none;
    background-color: #6cad4e;
    color: white;
    width: fit-content;
    margin: auto;
    padding: 8px 16px;
}

.top .contacts {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.top .contacts a {
    font-size: 1.4em;
    color: #6aad48;
    font-weight: 400;
    text-decoration: none;
}


footer {
    margin-top: 1em;
    height: 50px;
    background-color: #d1e9d2;
}

@media (max-width:500px){
	.logo img {
    height: 78px;
}

header {
    flex-wrap: wrap;
}

.logo img {
    margin: auto;
    display: block;
}

header .logo {
    margin: auto;
}
}