@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
    --orange: rgba(249, 87, 17, 1);
    --blue: rgba(35, 150, 255, 1);
    --black-blue: rgba(1, 18, 64, 1);
    --gray-bg: rgba(236, 240, 247, 1);
    --gray-text: rgba(115, 128, 162, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    overflow-x: hidden;
}

body {
    background-color: #ECF0F7;
    position: relative;
    font-family: "Mulish", sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

h1 {
    font-size: 56px;
    font-weight: 1000;
    line-height: 64px;
    color: var(--black-blue);
}

h2 {
    font-size: 40px;
    font-weight: 1000;
    line-height: 48px;
    color: var(--black-blue);
}

h3 {
    font-size: 36px;
    font-weight: 800;
    line-height: 42px;
    color: var(--black-blue);
}

p {
    font-size: 16px;
    line-height: 24px;
}

.bg-shape {
    position: absolute;
    right: calc(170px - (1920px - 100vw) / 2);
    top: -44px;
    z-index: 10;
}

.bg-shape-bg {
    position: relative;
    display: flex;
    flex-direction: column;
}

.bg-shape-bg .shape {
    position: relative;
}

.bg-shape-bg .shape svg {
    position: absolute;
    opacity: 0;
}

.bg-shape-bg div:nth-of-type(1) {
    z-index: 2;
}

.bg-shape-bg div:nth-of-type(1) img {
    position: absolute;
    top: 0;
    right: 40px;
}

#line-1 {
    right: 40.5px;
    top: -38px;
    z-index: 2;
}

#line-2 {
    left: -14px;
    top: -26px;
    z-index: 3;
}

.shadow {
    position: absolute;
    transition: all 1s ease;
    opacity: 0;
    z-index: 1;
}

.bg-shape-bg div:nth-of-type(2) {
    z-index: 1;
    top: 995px;
    right: -72px;
}

.bg-shape-bg .circle {
    top: 0;
    position: absolute;
}

nav {
    position: fixed;
    top: 4px;
    width: 100%;
    z-index: 100;
}

button {
    outline: none;
    border: none;
    cursor: pointer;
    padding: 18px;
    border-radius: 16px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    min-width: 140px;
    transition: all 0.3s;
    font-family: "Mulish", sans-serif;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1248px;
    margin: 0 auto;
    padding: 8px 8px 8px 24px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0px 1px 5px 0px rgba(154, 181, 186, 0.1);
}

.menu-left,
.menu-right {
    display: flex;
    align-items: center;
    gap: 56px;
}

.menu-left {
    gap: 56px;
}

.menu-right {
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 162px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.menu-items {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.menu-items li {
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--black-blue);
    transition: all 0.3s;
}

.menu-items li:hover {
    color: var(--blue);
}

.white-btn {
    background-color: white;
    color: var(--blue);
}

.white-btn:hover,
.fair-bi-content-btns a:hover {
    background-color: rgba(0, 90, 195, 1);
    color: white;

}

.blue-btn {
    background-color: var(--blue);
    color: white;
}

.blue-btn:hover {
    background-color: rgba(0, 90, 195, 1);
}

main {
    position: relative;
    margin-top: 200px;
}

.ads-portal {
    width: 100%;
    position: relative;
    z-index: 11;
}

.ads-portal-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 624px;
}

.ads-portal-content h1 {
    position: relative;
    line-height: 58px;
}

.ads-portal-content-title {
    display: flex;
    flex-direction: column;
}

.ads-portal-content-title div {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    flex-wrap: wrap;
}

.ads-portal-content-title>div>div {
    background-color: white;
    padding: 8px;
    border-radius: 16px;
    transform: rotate(-2deg);
    width: fit-content;
}

.ads-portal-content-title>div>h1 {
    white-space: nowrap;
}

.ads-portal-content-title>div>div span:first-of-type {
    transform: rotate(2deg);
}

.ads-portal-content-title>div>div span:last-of-type {
    transform: rotate(2deg) translateY(4px);
}

.ads-portal-content-title>div>div>span {
    font-size: 56px;
    font-weight: 1000;
    line-height: 64px;
    color: var(--black-blue);
}

.ads-portal-content-title>div>div>span>span {
    transform: rotate(2deg);
    position: absolute;
    min-width: 290px;
    height: 75px;
}

.ads-portal-content-title>div>div>span:last-of-type {
    color: var(--blue) !important;
}

.ads-portal-content>span {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    color: var(--black-blue);
}

.ads-portal-items,
.ads-portal-items span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ads-portal-items {
    margin-top: 8px;
    flex-wrap: wrap;
}

.ads-portal-items span {
    padding: 8px 24px 8px 8px;
    border-radius: 30px;
    background-color: white;
}

.ads-portal-items span p {
    font-weight: 600;
    color: var(--black-blue);
}

.ads-portal-items span img {
    max-width: 34px;
    height: auto;
    border-radius: 100px;
}

.adds-btn {
    position: relative;
    width: fit-content;
}

.adds-btn button {
    padding: 18px 43px;
}

.ads-portal-content .adds-btn {
    margin-top: 24px;
}

.adds-btn>button {
    width: fit-content;
}

.adds-btn>span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -60%;
    padding: 15px 16px;
    background-color: var(--orange);
    border-radius: 100px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0px 0px 24px 0px rgba(249, 17, 85, 0.25);
    cursor: pointer;
    transition: all 0.3s;
}

.adds-btn>span>span {
    opacity: 0.5;
}

.ads-types {
    margin-top: 120px;
    background-color: white;
    border-radius: 80px;
}

.ads-types-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 80px;
    padding-bottom: 56px;
    position: relative;
    z-index: 12;
}

.ads-types-content > h2 {max-width: 561px;}

.ads-types-swiper {
    width: 100%;
}

/* .ads-types-swiper::-webkit-scrollbar {
    display: none;
} */

.ads-types-controls {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding: 4px;
    background-color: var(--gray-bg);
    border-radius: 16px;
    width: fit-content;
}

.swiper-container {
    width: 100%;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ads-types-controls {
    display: flex;
    white-space: nowrap;
}

.ads-types-control {
    flex: 0 0 auto;
    padding: 10px;
    cursor: pointer;
}

.ads-types-control {
    padding: 14.5px 16px;
    font-weight: 600;
    color: var(--gray-text);
    cursor: pointer;
    white-space: nowrap;
}

.ads-types-control.active {
    background-color: var(--orange);
    border-radius: 16px;
    color: white;
}

.ads-types-controls-content {
    margin-top: 16px;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ads-types-controls-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 82px;
}

.ads-types-controls-tags>span {
    background-color: var(--gray-bg);
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--black-blue);
    font-size: 16px;
    font-weight: 400;
    color: var(--black-blue);
}

.ads-types-controls-tags>span>span {
    opacity: 0.3;
}

.ads-types-controls-content-item {
    display: none;
    flex-direction: column;
    gap: 8px;
}

.ads-types-controls-content-item.active {
    display: flex;
}

.ads-types-controls-content-item p {
    color: var(--gray-text);
    font-weight: 400;
}

.ads-types-controls-content-item .adds-btn {
    margin-top: 16px;
}

.ads-types-banner {
    border-radius: 80px;
    overflow: hidden;
    background-image: url(../images/discount-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 800px;
    position: relative;
    z-index: 11;
}

.ads-types-banner-content {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(33, 36, 44, 0.2), rgba(33, 36, 44, 0.2)),
        radial-gradient(50% 50% at 50% 50%, rgba(33, 36, 44, 0) 0%, rgba(33, 36, 44, 0.3) 100%);
}

.ads-types-banner-popup {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 486px;
    background-color: white;
    border-radius: 40px;
    padding: 32px;
}

.ads-types-banner-popup h2 span {
    color: var(--blue);
}

.ads-types-banner-popup p {
    color: var(--gray-text)
}

.ads-types-banner-popup .adds-btn {
    margin-top: 32px;
}

.fair-bi {
    width: 100%;
    margin: 120px 0;
}

.fair-bi-content {
    display: flex;
    justify-content: space-between;
    gap: 126px;
    width: 100%;
}

.fair-bi-content-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 95px;
}

.fair-bi-content-info>h2>span {
    color: var(--blue);
}

.fair-bi-content-info>p {
    font-weight: 500;
}

.fair-bi-content-btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.fair-bi-content-btns a {
    text-decoration: none;
    color: var(--blue);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    padding: 18px;
    border-radius: 16px;
}

.fair-bi-img,
.fair-bi-content-info {
    width: 50%;
}

.fair-bi-img {
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    height: 500px;
    background-image: url(../images/fon.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.fair-bi-img img {
    position: absolute;
}

.blue-arc {
    z-index: 1;
    transform-origin: top right;
    left: 23px;
    top: 5%;
    transform: rotate(95deg);
    transition: all 1s ease-in-out;
}

.orange-arc {
    z-index: 3;
    transform-origin: bottom right;
    transform: rotate(40deg);
    transition: all 1s ease-in-out;
    top: -10%;
    right: -90%;
}

.fair-bi-img .main {
    width: 100%;
    height: 100%;
    background-image: url(../images/men.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    z-index: 2;
}

footer {
    background-color: var(--black-blue);
    padding: 32px 0 50px 0;
}

.footer {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-text);
}

.footer-links .left {
    display: flex;
    align-items: center;
    gap: 56px;
}

.footer-links .left span p,
.footer-links .right span,
.company-info>div p {
    color: white;
}

.footer-links .left span p {
    font-weight: 600;
}

.footer-links .left span {
    cursor: pointer;
    transition: all 0.3s;
}

.footer-links .left span:hover p {
    color: var(--gray-text);
}

.footer-links .right span {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.footer-links .right {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.company-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.company-info>div {
    display: flex;
    align-items: center;
    gap: 24px;
}

.company-info>div p {
    font-weight: 400;
}

.mobile,
.mob-f-logo {
    display: none;
}

.mob-f-logo {
    max-width: 198px;
    margin-bottom: 24px;
}

@media (max-width: 1280px) {
    .container {
        max-width: calc(100% - 80px);
        margin: 0 40px;
    }

    .menu {
        max-width: calc(100% - 32px);
        margin: 0 16px;
    }

    .fair-bi-content {
        gap: 24px;
    }

    .fair-bi-content-btns {
        flex-direction: column;
        align-items: start;
        gap: 52px;
    }

    .orange-arc {
        right: -100%;
    }

    .footer-links .left {
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .orange-arc {
        right: -130%;
    }

    .menu-right .blue-btn,
    .bg-shape {
        display: none;
    }

    .menu-right .white-btn {
        background-color: var(--blue);
        color: white;
    }

    .ads-types {
        margin-top: 80px;
    }

    .ads-types-banner {
        height: 600px;
    }

    .footer-links {
        flex-direction: column-reverse;
    }

    .footer-links .left {
        padding-top: 32px;
        flex-wrap: wrap;
    }

    .footer-links .right {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding-bottom: 30px;
        border-bottom: 1px solid var(--gray-text);
    }

    .fair-bi {
        margin-bottom: 80px;
    }
}

@media (max-width: 860px) {
    .orange-arc {
        right: -160%;
    }
}

@media (max-width: 768px) {
    .menu-items {
        display: none;
    }

    h1,
    h2,
    .ads-portal-content-title>div>div span {
        font-size: 32px;
        line-height: 40px !important;
    }

    h3 {
        font-size: 24px;
        line-height: 32px;
    }

    .ads-portal-content>span {
        font-size: 16px;
    }

    main {
        margin-top: 125px;
    }

    .menu-right button {
        min-width: 120px;
    }

    .ads-types-content {
        padding-top: 40px;
    }

    .ads-types-banner-content {
        padding-bottom: 40px;
        align-items: end;
    }

    .ads-types-banner-content .ads-types-banner-popup {
        max-width: 100%;
    }

    .ads-types-banner {
        height: 700px;
    }

    .fair-bi-content {
        flex-direction: column-reverse;
    }

    .fair-bi-content>div {
        width: 100%;
    }

    .orange-arc {
        right: -95%;
    }

    .company-info>img {
        display: none;
    }

    .company-info>div {
        flex-direction: column;
        align-items: start;
    }

    .mob-f-logo {
        display: block;
    }

    .fair-bi {
        margin-top: 80px;
    }
}

@media (max-width: 580px) {
    .orange-arc {
        display: none;
    }
}

@media (max-width: 460px) {
    .ads-types-banner-content .container {
        display: none;
    }

    .mobile {
        display: flex;
        max-width: 100%;
    }

    .ads-types-banner,
    .ads-types {
        border-radius: 24px;
    }

    .container {
        max-width: calc(100% - 32px);
        margin: 0 16px;
    }

    .ads-types-banner {
        height: 360px;
    }

    .ads-types-banner-main {
        background-color: #ECF0F7;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
    }

    .ads-types-banner-popup-main {
        background-color: #ECF0F7;
    }

    .ads-types-banner-popup {
        padding: 16px;
        border-radius: 24px;
    }

    .fair-bi-img {
        height: 360px;
    }

    .fair-bi-img .main {
        background-position: right -95px center;
    }

    .fair-bi-content-info {
        margin: 0;
    }
}

@media (max-width: 375px) {
    .menu-right button {
        padding: 8px;
    }

    .logo img {
        max-width: 108px;
    }

    .ads-types {
        margin-top: 56px;
    }

    .ads-portal-content .adds-btn {
        margin-top: 8px;
    }

    .ads-types-controls-tags {
        margin-top: 32px;
    }

    .footer-links .left {
        gap: 16px;
    }
    
    .footer-links {
        padding-bottom: 24px;
    }

    .footer-links .left {
        padding-top: 24px;
    }

    .footer {gap: 32px;}

    .ads-portal-content-title div {gap: 0;}
}