@font-face {
    font-family: 'Bienalle';
    src: url("../../fonts/Biennale-Regular.otf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Bienalle';
    src: url("../../fonts/Biennale-SemiBold.otf");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Bienalle';
    src: url("../../fonts/Biennale-Bold.otf");
    font-weight: 700;
    font-style: normal;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #fff;
}

::-webkit-scrollbar-thumb {
    background: #18C554;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #21e063;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
}

html{
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #353C47;
    font-family: 'Bienalle', sans-serif;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

ul, nav {
    list-style: none;
}

ul, ol {
    padding: 0;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

@media (max-width: 767px) {
    h2 {
        font-size: 2rem;
    }
}

.uppercase {
    text-transform: uppercase;
}

.text-white {
    color: #FFFFFF;
}

.text-green {
    color: #18C554;
}

.text-orange {
    color: #FF6C1D;
}

.text-bold {
    font-weight: 700;
}

.text-semibold {
    font-weight: 600;
}

.text-lead {
    font-size: 22px !important;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 36px;
    height: 60px;
    padding: 0 32px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: all .3s;
}

.btn:hover {
    cursor: pointer;
    opacity: 0.8;
}

.btn-lg {
    height: 72px;
    padding: 0 48px;
    font-size: 1.5rem;
}

.btn-sm {
    height: 40px;
    padding: 0 24px;
    font-size: 1rem;
}

@media (max-width: 1199px) {
    .btn-lg {
        height: 60px;
        padding: 0 40px;
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    .btn-lg {
        height: 48px;
        padding: 0 32px;
        font-size: 1rem;
    }
}

.btn-primary {
    background-color: #FF6C1D;
    color: #FFFFFF;
}

.btn-transparent {
    background-color: transparent;
    color: #353C47;
    border: 1px solid #353C47;
}

.section {
    padding: 150px 0;
}

.section-container {
    width: 1440px;
    margin: 0 auto;
}

@media (max-width: 1499px) {
    .section-container {
        width: 100%;
        padding: 0 24px;
    }
}

@media (max-width: 1199px) {
    .section {
        padding: 100px 0;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 64px 0;
    }
}

main {
    margin-top: 88px;
}

@media (max-width: 1199px) {
    main {
        margin-top: 70px;
    }
}

footer {
    text-align: center;
    padding: 32px;
    color: #9C9C9C;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #FFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
    width: 100%;
    height: 88px;
    z-index: 10;
}

header ul {
    padding: 0;
}

.header-logo {
    display: block;
    height: 20px;
    width: auto;
    margin-right: auto;
}

.header-logo img {
    display: block;
    height: 100%;
}

.header-nav {
    padding: 0 48px;
    display: flex;
    flex: auto;
    background-color: #FFFFFF;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    gap: 72px;
}

@media (max-width: 1199px) {
    header {
        height: 70px;
    }

    .header-nav {
        width: 100%;
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        gap: 24px;
        align-items: center;
        padding-bottom: 24px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all .3s ease;
    }

    .header-nav.visible {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
    }
}

.lang-btn,
.nav-link {
    color: #353C47;
    text-decoration: none;
    transition: all .3s;
}

.lang-btn:hover,
.nav-link:hover {
    opacity: 0.6;
}

.lang-switcher {
    display: flex;
}

.lang-switcher li:not(:first-child) {
    border-left: 1px solid #CACACA;
}

.lang-btn {
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding: 0 16px;
}

.lang-btn.active {
    color: #3C9754;
}

.burger-btn {
    cursor: pointer;
    display: none;
    flex-wrap: wrap;
    width: 24px;
    position: relative;
    margin-right: 24px;
    z-index: 10;
}

.burger-btn span {
    border: 1px solid #353C47;
    border-radius: 2px;
    display: block;
    height: 0;
    transition: all .3s ease;
    width: 100%;
}

.burger-btn span:first-child {
    margin-bottom: 6px;
}

.burger-btn span:last-child {
    margin-top: 6px;
}

.burger-btn.active span:nth-child(2) {
    display: none;
}

.burger-btn.active span:first-child {
    transform: rotate(135deg) translateY(-4px) translateX(4px);
}

.burger-btn.active span:last-child {
    transform: rotate(-135deg) translateY(6px) translateX(6px);
}

@media (max-width: 1199px) {
    header {
        padding: 0 16px;
    }

    .header-logo {
        height: 14px;
    }

    .burger-btn {
        display: flex;
    }
}

/* BANNER */
.banner {
    padding: 72px 8%;
    aspect-ratio: 12/5;
    background-image: url("/images/promo/gopro/banner.webp"), linear-gradient(105.06deg, #3C9754 -3.39%, #000000 100%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    color: #FFFFFF;
    display: flex;
    align-items: center;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 32px;
    max-width: 66%;
}

.banner h1 {
    font-size: 4rem;
    line-height: 1.3;
}

.banner p {
    font-size: 1.5rem;
}

.banner-tabs {
    display: flex;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;
}

.banner-tab {
    line-height: 30px;
    padding: 0 16px;
    color: #FFFFFF;
    font-size: 0.875rem;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

.banner-tab:first-child {
    border: 0;
    background-color: #18C554;
    font-weight: 600;
}

@media (orientation: portrait) {
    .banner {
        aspect-ratio: unset;
        height: calc(100vh - 70px);
        max-height: 800px;
        flex-direction: column;
    }
}

@media (orientation: portrait) and (max-width: 991px) {
    .banner {
        background-image: url("/images/promo/gopro/banner-sm.webp"), linear-gradient(105.06deg, #3C9754 -3.39%, #000000 100%);
    }
}

@media (max-width: 1599px) {
    .banner h1 {
        font-size: 3rem;
    }
}

@media (max-width: 1199px) {
    .banner {
        padding: 64px 6%;
    }

    .banner h1 {
        font-size: 2rem;
    }

    .banner p {
        font-size: 1rem;
    }

    .banner-content {
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .banner-content {
        max-width: unset;
    }
}

@media (max-width: 767px) {
    .banner h1 {
        font-size: 1.5rem;
    }

    .banner-content {
        gap: 16px;
    }
}

/* SECTION 2 */
.section-two .section-container {
    display: flex;
    flex-direction: column;
    gap: 72px;
    align-items: center;
}

.section-two h2 {
    text-align: center;
}

.section-two-list {
    display: flex;
    justify-content: center;
    gap: 64px;
}

.section-two-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

.section-two-item p {
    font-size: 22px;
}

.section-two-subtitle {
    display: flex;
    align-items: end;
    gap: 32px;
}

.section-two-subtitle span {
    font-size: 128px;
    line-height: 1;
    color: #18C554;
    font-weight: 700;
    display: inline-block;
    position: relative;
    top: 10px;
}

@media (max-width: 1199px) {
    .section-two-list {
        flex-direction: column;
        gap: 48px;
    }
}

/* SECTION 3 */
.section-three {
    background-color: #151C11;
    padding-bottom: 0;
}

.section-three h2 {
    margin-bottom: 128px;
}

.section-three-content {
    background-image: url("/images/promo/gopro/iphone.webp");
    background-size: 56% auto;
    background-repeat: no-repeat;
    background-position: bottom right;
    min-height: 466px;
}

.section-three-content .section-text {
    width: 43%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.section-three-title p:first-child {
    font-size: 2.5rem;
}

.section-three-title p:last-child {
    font-size: 6rem;
    line-height: 1;
}

@media (max-width: 1199px) {
    .section-three h2 {
        margin-bottom: 64px;
    }

    .section-three-title p:last-child {
        font-size: 4rem;
    }
}

@media (max-width: 767px) {
    .section-three-content {
        min-height: 580px;
    }

    .section-three-content .section-text {
        width: 100%;
    }

    .section-three-content {
        background-size: 100% auto;
    }
}

/* SECTION 4 */
.section-four {
    background-color: #150F0B;
    padding: 0;
}

.section-four-content {
    background-image: url("/images/promo/gopro/laptop.webp");
    background-size: 53% auto;
    background-repeat: no-repeat;
    background-position: bottom left;
}

.section-four-content .section-text {
    width: 43%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 32px;
    margin-left: auto;
    padding: 150px 0;
}

.section-four-title p:first-child {
    font-size: 2.5rem;
}

.section-four-title p:last-child {
    font-size: 6rem;
    line-height: 1;
}

@media (max-width: 1199px) {
    .section-four h2 {
        margin-bottom: 64px;
    }

    .section-four-content .section-text {
        padding: 100px 0;
    }

    .section-four-title p:last-child {
        font-size: 4rem;
    }
}

@media (max-width: 767px) {
    .section-four-content .section-text {
        width: 100%;
    }

    .section-four-content {
        min-height: 760px;
        background-size: 80% auto;
        background-position: bottom center;
    }
}

/* SECTION 5*/
.section-five {
    background-color: #F8F8F8;
}

.section-five h2 span {
    color: #18C554;
}

.section-five h3 {
    margin-bottom: 24px;
}

.section-five .section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.section-five .first-block,
.section-five .second-block {
    font-size: 20px;
}

.section-five .first-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-five .second-block {
    display: flex;
    gap: 72px;
}

@media (max-width: 991px) {
    .section-five .second-block {
        flex-direction: column;
        gap: 36px;
    }
}

.section-five .second-block > div {
    flex: 1;
}

.section-five a {
    align-self: center;
}

.icon {
    position: relative;
    padding-left: 64px;
}

.icon::before {
    content: "";
    display: block;
    width: 48px;
    height: 48px;
    position: absolute;
    left: 0;
    bottom: 0;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom left;
}

.icon-1::before {
    background-image: url("/images/promo/gopro/icon-1.svg");
}

.icon-2::before {
    background-image: url("/images/promo/gopro/icon-2.svg");
}

.icon-3::before {
    background-image: url("/images/promo/gopro/icon-3.svg");
}

.icon-4::before {
    background-image: url("/images/promo/gopro/icon-4.svg");
}

/* SECTION FORM*/
.section-form {
    background-image: url("/images/promo/gopro/form-bg.webp");
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
}

.form-input {
    position: relative;
}

.form-input input {
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.23);
    padding: 16px 12px;
    color: #353C47;
    width: 100%;
    font-size: 1rem;
}

.form-input input:focus-visible {
    border-color: #18c554;
    outline: 0;
}

.form-input label {
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    background-color: #FFFFFF;
    padding: 0 6px;
    z-index: 5;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
    max-width: 740px;
}

.form .fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    width: 100%;
}

.form .name-fields {
    display: flex;
    gap: 24px;
}

.form .name-fields div {
    flex: 1;
}

.form h2 {
    text-align: center;
    color: #18C554;
}

.form h2 > span {
    color: #FF6C1D;
    white-space: nowrap;
}

@media (max-width: 1599px) {
    .section-form {
        background-size: auto 70%;
        background-position: bottom right;
    }
}

@media (max-width: 1199px) {
    .section-form {
        background-image: none;
    }

    .form {
        margin: 0 auto;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    height: 100%;
    overflow-y: auto;
    background-color: #000000CC;
    z-index: 50;
}

.modal > div {
    width: 50%;
    max-width: 960px;
    margin: 5% auto;
    background-color: #FFFFFF;
    border-radius: 16px;
    position: relative;
    padding: 96px 64px;
}

.modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal-content p {
    margin-bottom: 4px;
}

.modal-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 16px;
    height: 16px;
    background-image: url("/storage/images/promo/gopro/close.svg");
    background-position: center;
    background-size: 100%;
    cursor: pointer;
    transition: opacity .3s;
}

.modal-close-btn:hover {
    opacity: 0.8;
}

@media (max-width: 1399px) {
    .modal > div {
        width: 80%;
        padding: 64px 48px;
    }
}

@media (max-width: 991px) {
    .modal > div {
        width: 90%;
        padding: 64px 12px 48px 24px;
    }
}

@media (max-width: 767px) {
    .modal > div {
        width: 96%;
        padding: 64px 8px 36px 12px;
    }
}

.winners-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.winner-tabs {
    display: flex;
    gap: 1px;
    width: 100%;
    padding: 0 1px;
    flex-wrap: nowrap;
}

.winner-tab {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 96px;
    height: 34px;
    color: #18C554;
    font-weight: 600;
    background-color: transparent;
    font-size: 0.875rem;
    white-space: nowrap;
    outline: 1px solid #18C554;
    margin: 0;
    cursor: pointer;
    transition: all .3s ease;
}

.winner-tab:first-child {
    border-radius: 17px 0 0 17px;
}

.winner-tab:last-child {
    border-radius: 0 17px 17px 0;
}

.winner-tab.active {
    border: 0;
    background-color: #18C554;
    color: #FFFFFF;
}

.winner-tab:hover {
    opacity: 0.7;
}

.winner-tables {
    margin-top: 40px;
}

.winner-table {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-size: 20px;
}

.winner-table.active {
    display: flex;
}

.winner-table > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 767px) {
    .winner-tables {
        margin-top: 24px;
    }

    .winner-tabs {
        flex-direction: column;
    }

    .winner-tab {
        width: 100%;
        flex: unset;
    }

    .winner-tab:first-child {
        border-radius: 8px 8px 0 0;
    }

    .winner-tab:last-child {
        border-radius: 0 0 8px 8px;
    }
}

.promotion-ended {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    font-size: 1.75rem;
}

.promotion-ended > div {
    max-width: 660px;
}

.promotion-ended-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

@media (max-width: 1199px) {
    .promotion-ended {
        gap: 1.5rem;
        font-size: 1.5rem;
    }

    .promotion-ended-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}
