.main-wrap {
    position: relative;
    z-index: 5;
    background: #fff;
}

[data-theme=dark] .main-wrap {
    background: #1f1f1f;
}


.relative {
    position: relative;
    z-index: 0;
}

.curve {
    position: absolute;
    z-index: 1;
    top: -30px;
}

.curve img {
    width: 100vw;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(321deg) brightness(104%) contrast(101%);
}

[data-theme=dark] .curve img {
    width: 100vw;
    filter: invert(9%) sepia(21%) saturate(0%) hue-rotate(172deg) brightness(100%) contrast(93%);
}

.space-between {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    position: relative;
    background: linear-gradient(to bottom right, #323232, #212121);
    padding: 50px 40px 25px 40px;
}

footer .row {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 56px;
    margin-bottom: 0;
    width: 100%;
}

.link-column {
    padding: 0;
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.link-column .heading {
    color: #aaaaaa;
    letter-spacing: 0.32px;
    font-weight: 600;
    display: block !important;
}

.links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.links a {
    letter-spacing: 0.32px;
    color: white;
    line-height: 21.6px;
}

.first-column-footer,
.second-column-footer {
    display: flex;
    flex-direction: row;
}

.first-column-footer a,
.second-column-footer a {
    letter-spacing: 0.32px;
    color: white;
    line-height: 21.6px;
}

.banner {
    background: #591ff8;
    border-radius: 16px;
    padding: 32px 36px;
    min-width: 308px;
    height: 115px;
    margin-top: 26px;
    z-index: 12;
    cursor: pointer;
}

.banner:hover {
    background: #7c4dff;
}

.banner .heading {
    font-size: 18px;
    font-weight: 800;
    color: white;
    width: max-content;
    letter-spacing: normal;
    line-height: normal;
    margin: 0 !important;
}

.banner .subheading {
    color: white;
}

.copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 16px;
}

.language-theme-selector {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.language-theme-selector .m-toggle-darkmode {
    margin-left: 0;
    margin-right: 8px;
}

.other-links {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 8px;
    line-height: 21.6px;
}

.copyright p {
    color: #cccccc;
    letter-spacing: 0.32px;
}

.side-borders {
    color: #cccccc;
    letter-spacing: 0.32px;
    height: 23px;
    padding: 0 12px;
}

.socials {
    margin-top: 24px;
}

.socials img {
    margin-right: 8px;
}

.language-selector {
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.initial-box {
    background: #606060;
    border-radius: 50px;
    padding: 12px 16px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.initial-box:hover {
    background: #777777;
}

.language-selector.active {
    z-index: 13;
}

.language-selector.active .initial-box {
    background: #777777;
}

.date {
    color: #cccccc
}

.language-selector.active .dropdown-menu-footer {
    transition: 0.2s;
    transform: scale(1);
    visibility: visible;
    opacity: 1;
    pointer-events: all;
    box-shadow: 0px 1px 3px #77777729;
    height: 100%;
    width: 180px;
    padding: 8px;
    border-radius: 8px;
    background: white;
}

.language-selector.active .dropdown-menu-connector-footer {
    pointer-events: all;
}

.dropdown-menu-footer {
    transform: scale(0.9);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: relative;
}

.dropdown-menu-connector-footer {
    position: absolute;
    bottom: 60px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    cursor: initial;
    z-index: -1;
}

.dropdown-opt-label {
    display: flex;
    justify-content: space-between;
    border-radius: 8px;
    margin-top: 8px;
    padding: 12px;
    width: 100%;
    cursor: pointer;
}

.dropdown-opt-label:nth-child(2) {
    margin-top: 0;
}

.dropdown-opt-label a {
    color: black;
}

.dropdown-opt-label .checkmark {
    display: none;
}

.dropdown-opt-label:hover {
    background-color: black;
}

.dropdown-opt-label:hover img {
    filter: invert(1);
}

.dropdown-opt-label:hover a {
    color: white;
}

.dropdown-opt-label.current-lang .checkmark {
    display: block;
}

.initial-value {
    color: white;
    letter-spacing: 0.32px;
    margin-right: 12px;
}

.wedio-dropdown-content {
    z-index: 10;
    border-radius: 16px;
}



@media (min-width: 1024px) {
    .mode-toggle {
        display: flex;
        margin-right: 14px;
    }
    .dark-mode-text {
        color: white;
        cursor: pointer;
    }
    .curve {
        top: -118px;
    }

    .space-between {
        flex-direction: row;
        justify-content: space-between;
    }

    footer {
        padding: 105px 80px 50px 80px;
    }

    footer .row {
        flex-direction: row;
        margin-top: 40px;
    }

    .link-column:first-child {
        margin-right: 78px;
    }

    .links {
        justify-content: flex-start;
    }

    .links a {
        margin-top: 24px;
        width: 100%
    }

    .first-column-footer {
        margin-right: 72px;
    }

    .first-column-footer,
    .second-column-footer {
        flex-direction: column;
    }

    .first-column-footer a,
    .second-column-footer a {
        margin-top: 24px;
    }

    .copyright {
        margin-top: 42px;
        flex-direction: row;
    }

    .other-links {
        flex-wrap: nowrap;
        margin-top: 0;
    }

    .copyright p {
        margin-right: 24px;
    }

    .side-borders {
        border-left: 1px solid #707070;
    }

    .side-borders:last-child {
        border-right: 1px solid #707070;
    }

    .socials {
        margin-left: 24px;
        margin-top: 0;
    }

    .is-hidden-desktop {
        display: none;
    }
}

@media (max-width: 1024px) {
    .language-theme-selector {
        position: relative;
        margin-top: 24px;
    }
    .language-theme-selector .m-toggle-darkmode {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0px;
        margin: 0;
    }
    .dark-mode-text {
        color: #cccccc;
        margin-left: 30px;
    }
    .is-hidden-touch {
        display: none
    }

    footer .wedio-logo-small {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
    }

    .link-column .heading {
        text-align: center;
        margin-bottom: 8px;
    }

    .academy {
        margin-top: 16px;
    }

    .links a {
        white-space: nowrap;
        margin-right: 16px;
        margin-bottom: 8px;
    }

    .links a:last-child {
        margin-right: 0;
    }

    .first-column-footer a,
    .second-column-footer a {
        white-space: nowrap;
        margin-right: 16px;
        margin-bottom: 8px;
    }

    .first-column-footer a:last-child,
    .second-column-footer a:last-child {
        margin-right: 0;
    }

    .banner {
        margin-bottom: 16px;
    }

    .side-borders:first-child {
        padding-left: 0;
    }

    .side-borders:last-child {
        padding-right: 0;
    }

    .socials img {
        width: 30px;
        height: 30px;
    }

    .language-selector {
        margin-top: 16px;
    }
}
@media (min-width: 1550px) {
    .curve {
        top: -173px
    }
}