.main_head {
    text-align: center;
    margin-bottom: 10rem;
}

.main_head h1 {
    font-size: 6.4rem;
    margin-bottom: 1.4rem;
}

.main_head p {
    line-height: 3rem;
    color: #6A717F;
    margin-bottom: 1.4rem;
}

.search {
    width: 70rem;
    margin: 0 auto;
}

.search form {
    display: flex;
    justify-content: space-between;
    height: 5rem;
    background: #FCFCFC;
    border: .1rem solid #ECEBEB;
    border-radius: 1rem;
    overflow: hidden;
}

.search form input,
.search form button {
    background: none;
    border: none;
    outline: none;
    font-size: 1.4rem;
    color: #6A717F;
}

.search form input {
    flex: 1;
    padding: 0 1rem;
}

.search form button {
    width: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
}

.searchkeys {
    margin: 2rem 0;
    color: #6A717F;
}

.searchkeys a {
    padding: .4rem;
}

.filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tabs {
    display: flex;
    background: #FCFCFC;
    border: .1rem solid #ECEBEB;
    border-radius: 1rem;
    overflow: hidden;
}

.tabs button {
    padding: 1rem 1rem;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: #6A717F;
}

.tabs .active {
    background: #6A717F;
    color: #FCFCFC;
}

.categories {
    flex: 1;
    text-align: left;
    color: #6A717F;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.categories a {
    color: #6A717F;
}

.sorts {
    display: flex;
    background: #FCFCFC;
    border: .1rem solid #ECEBEB;
    border-radius: 1rem;
    overflow: hidden;
    padding: 1rem 1rem;
    cursor: pointer;
    font-size: 1.4rem;
}

.sorts button {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #6A717F;
}

.categories .active {
    background: #FCFCFC;
    border: .1rem solid #ECEBEB;
    border-radius: 1rem;
    overflow: hidden;
    padding: 1rem 1rem;
    cursor: pointer;
    font-size: 1.4rem;
}

.examples .max_wraper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.works_item {
    flex-basis: calc((100% - 2rem * 3) / 4);
    height: 30rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    overflow: hidden;
    background: #ECEBEB;
}

.works_item picture {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pager {
    width: var(--max-width);
    margin: 8rem auto;
    position: relative;
}

.pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.pages a {
    color: #6A717F;
    border-radius: .6rem;
    padding: .4rem 1rem;
}

.pages a:hover {
    background: var(--hover-color);
}

.pages .active {
    background: #6A717F;
    color: #FCFCFC;
}

.dashline {
    width: 6rem;
    height: .2rem;
    background: #6A717F;
}

.loading {
    position: absolute;
    right: 0;
    top: .4rem;
}