@import url("footer.css");

@font-face {
    font-family: "SFUI Display";
    src: local("SFUI Display"),
         url("../font/sfuidisplay-thin-webfont.woff2") format("woff2"),
         url("../font/sfuidisplay-thin-webfont.woff") format("woff");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SFUI Display";
    src: local("SFUI Display"),
         url("../font/sfuidisplay-light-webfont.woff2") format("woff2"),
         url("../font/sfuidisplay-light-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SFUI Display";
    src: local("SFUI Display"),
         url("../font/sfuidisplay-medium-webfont.woff2") format("woff2"),
         url("../font/sfuidisplay-medium-webfont.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: local("Open Sans"),
         url("../font/opensans-regular-webfont.woff2") format("woff2"),
         url("../font/opensans-regular-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    background: #fff;
    color: #354052;
    font-family: "SFUI Display", "Open Sans", Tahoma, sans-serif;
    font-size: 14px;
}

.base-page {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.site-header {
    display: flex;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 10px;
    align-items: center;
    font-family: "Open Sans", Tahoma, sans-serif;
    font-size: 13px;
}

.home-logo {
    display: block;
    width: 40px;
    height: 40px;
}

.home-logo img {
    display: block;
    width: 40px;
    height: 40px;
}

.header-navigation {
    flex: 1;
}

.header-link {
    margin-left: 55px;
    color: #354052;
    text-decoration: none;
}

.header-link:hover {
    color: #078ceb;
}

.header-link.selected {
    border-bottom: 1px solid #078ceb;
}

.language-menu {
    position: relative;
}

.language-menu summary {
    min-width: 76px;
    padding: 8px 18px 8px 8px;
    color: #078ceb;
    cursor: pointer;
    list-style: none;
    text-align: right;
}

.language-menu summary::-webkit-details-marker {
    display: none;
}

.language-menu summary::after {
    position: absolute;
    top: 14px;
    right: 5px;
    width: 0;
    height: 0;
    border-top: 4px solid #078ceb;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: "";
}

.language-options {
    position: absolute;
    z-index: 2;
    top: 38px;
    right: 0;
    min-width: 110px;
    border: 1px solid #dce5ec;
    background: #fff;
    box-shadow: 0 4px 12px rgb(53 64 82 / 14%);
}

.language-options a {
    display: block;
    padding: 9px 12px;
    color: #354052;
    text-decoration: none;
}

.language-options a:hover {
    background: #f2f9fe;
    color: #078ceb;
}

main {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 10px 60px;
    flex: 1;
}

h1 {
    margin: 30px 0 38px;
    font-size: 45px;
    font-weight: 100;
    text-align: center;
}

.subscription-notice {
    box-sizing: border-box;
    width: min(100%, 930px);
    min-height: 44px;
    padding: 5px 32px;
    margin: 0 auto 16px;
    border: 0;
    background: #fff2ce;
    color: #000;
    font-size: 17px;
    font-weight: 400;
    line-height: 33px;
    text-align: left;
}

.plans-comparison {
    display: flex;
    width: 100%;
    margin-bottom: 60px;
    justify-content: center;
}

.feature-labels {
    display: flex;
    min-width: 250px;
    padding-bottom: 2px;
    margin-bottom: -1px;
    flex: 0 1 390px;
    flex-direction: column;
    justify-content: flex-end;
}

.plans-grid {
    display: flex;
    flex-direction: row;
}

.plan-card {
    display: flex;
    flex-direction: column;
    width: 270px;
    border: 1px solid #078ceb;
    background: #fff;
    text-align: center;
}

.plan-free {
    margin-top: 50px;
    border-color: rgb(127 201 241 / 30%);
}

.plan-free.plan-free-without-badge {
    margin-top: 0;
}

.popular-badge {
    height: 50px;
    margin: -1px -1px 0;
    border-right: 1px solid #03acea;
    border-left: 1px solid #078ceb;
    background-color: #078ceb;
    background-image: linear-gradient(90deg, #078ceb 0%, #03acea 100%);
    color: #fff;
    font-size: 22px;
    line-height: 50px;
}

.plan-top {
    padding: 30px 0;
    flex: 1;
}

.plan-top h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 400;
}

.under-title {
    height: 0;
    margin-top: 12px;
}

.price {
    margin: 50px 0;
    color: #078ceb;
    font-size: 33px;
    font-weight: 500;
}

.plan-pro .price {
    margin-bottom: 0;
}

.price sup {
    font-size: 16px;
}

.price .fractions {
    font-size: 16px;
}

.price .period {
    margin-left: 2px;
    font-size: 13px;
    font-weight: 400;
}

.plan-button {
    display: inline-flex;
    width: 190px;
    height: 48px;
    padding: 6px 12px;
    border: 0;
    border-radius: 30px;
    outline: none;
    background-color: #078ceb;
    background-image: linear-gradient(
        125deg,
        #078ceb 0%,
        #078ceb 33%,
        #02afea 66%,
        #02afea 100%
    );
    background-position: 0;
    background-size: 300% 60px;
    background-repeat: repeat;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 22px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-button:hover {
    background-position: 50%;
}

.plan-button:active {
    background-position: 100%;
    transition-duration: 0.15s;
}

.plan-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.plan-button:disabled:hover,
.plan-button:disabled:active {
    background-position: 0;
}

.plan-button-light {
    border: 1px solid #078ceb;
    background-color: transparent;
    background-image: none;
    color: #078ceb;
}

.plan-button-light:hover {
    border-color: #078ceb;
    background-color: #078ceb;
    color: #fff;
}

.plan-button-light:active {
    border-color: #02afea;
    background-color: #02afea;
    color: #fff;
}

.annual-switch {
    display: flex;
    min-height: 44px;
    padding: 15px 0 14px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.annual-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.toggle-track {
    position: relative;
    display: block;
    width: 33px;
    height: 13px;
    border-radius: 16px;
    background: #e2e2e2;
    transition: background-color 160ms ease;
}

.toggle-cursor {
    position: absolute;
    top: -3px;
    left: -2px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 4px rgb(1 1 1 / 19%);
    transition: transform 160ms ease;
}

.annual-switch input:checked + .toggle-track {
    background: #7fc8f1;
}

.annual-switch input:checked + .toggle-track .toggle-cursor {
    transform: translateX(18px);
    background: #008fe4;
}

.annual-switch input:focus-visible + .toggle-track {
    outline: 2px solid #078ceb;
    outline-offset: 3px;
}

.annual-billing-text {
    margin: 0 0 3px 7px;
    font-family: "Open Sans", Tahoma, sans-serif;
    white-space: nowrap;
}

.time-free {
    color: #00b16a;
}

.feature-row {
    display: flex;
    height: 40px;
    border-bottom: 1px solid rgb(127 201 241 / 30%);
    align-items: center;
    justify-content: center;
    font-family: "Open Sans", Tahoma, sans-serif;
}

.feature-labels .feature-row {
    justify-content: flex-start;
}

.feature-row-last {
    border-bottom: 0;
}

.feature-row img {
    width: 12px;
    height: 12px;
}

.plan-features {
    flex: 0 0 auto;
}

.mobile-feature {
    display: none;
    padding-right: 15px;
    text-align: left;
}

@media only screen and (max-width: 1230px) {
    .feature-labels {
        display: none;
    }

    .plan-card {
        width: 31vw;
        padding: 0 15px;
    }

    .popular-badge {
        margin-right: -16px;
        margin-left: -16px;
    }

    .mobile-feature {
        display: flex;
        align-items: center;
    }

    .feature-row {
        height: 45px;
        justify-content: space-between;
    }
}

@media only screen and (min-width: 901px) and (max-width: 1150px) {
    .feature-row {
        height: 72px;
    }
}

@media only screen and (max-width: 900px) {
    main {
        padding-right: 0;
        padding-left: 0;
    }

    h1 {
        margin-bottom: 30px;
        font-size: 38px;
    }

    .plans-grid {
        width: 100%;
        align-items: center;
        flex-direction: column;
    }

    .plan-card {
        width: min(75vw, 560px);
        padding: 0 25px;
        margin: 0 20px 40px;
    }

    .popular-badge {
        margin-right: -26px;
        margin-left: -26px;
    }

    .feature-row {
        min-height: 50px;
        height: auto;
        padding: 8px 0;
    }

    .feature-row img {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
    }

    .feature-row-last {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 560px) {
    .site-header {
        padding-right: 14px;
        padding-left: 14px;
    }

    .header-link {
        margin-left: 18px;
    }

    .plan-card {
        width: calc(100vw - 28px);
        margin-right: 14px;
        margin-left: 14px;
    }

    .plan-top {
        padding-right: 8px;
        padding-left: 8px;
    }

    .annual-switch {
        align-items: flex-start;
    }

    .annual-billing-text {
        max-width: 190px;
        text-align: left;
    }

}
