@import url(./normal.css);
@import url(./box.css);
@import url(./header.css);
@import url(./footer.css);

:root {
    --max-width: 1400px;
    --shadow: 0px 3px 2px 0px #e5e5e5;
    --main-color: #ff500e;
    --color: #b6b6b6;
    --dark-color: #999999;
}

.block {
    max-width: var(--max-width);
    width: 100%;
}

.block-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.block-title_span {
    font-size: 30px;
    font-weight: bold;
}

.block-title_menu {
    min-width: 70px;
    position: relative;
}

.swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.swiper-btn.left {
    left: 0;
}

.swiper-btn.right {
    right: 0;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
}

.common-swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
    padding-bottom: 16px;
}

.view {
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    width: 68px;
    padding: 5px 0;
    background-color: #f5f5f5;
    color: var(--main-color);
    font-size: 12px;
    font-weight: bold;
    border-radius: 999px;
    transition: all 100ms;
    text-align: center;
}

.ad {
    width: 100%;
    text-align: center;
    font-size: var(--s-fontsize);
    margin: 15px auto 25px auto;
    padding: 5px;
    background-color: #fff;
    max-width: var(--max-width);
    min-height: 250px;
    color: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.ad-wrapper {
    width: 100%;
    margin: 0 auto;
}

.ad span {
    color: #c9c9c9;
    font-size: 12px;
}

.ad-wrapper > div {
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 768px) {
    .view:hover {
        color: #fff;
        background: linear-gradient(180deg, #FF9A46 0%, #FF4F00 100%);
        box-shadow: 0px 2px 10px 0px #ff4f00;
    }
}