/* COMMON */
body {
    margin: 0;
    background: var(--off-white-background);
}

.orange {
    color: var(--orange) !important;
}

.section {
    position: absolute;
    left: 0;
    width: 100%;
}

.section span {
    position: relative;
}

.section-text {
    width: 40%;
    z-index: 10;
}

.section-sign-up-buttons > a {
    width: 20rem !important;
}

.bolder {
    font-weight: 600;
}

.larger {
    font-size: 1.5rem;
}

/* ----------------------------- SECTION 1 ------------------------------- */

/* Css in web/core/static/landing_page/home_section_1.css */

@media screen and (max-width: 1200px) {

    .plan {
        top: 2rem !important;
    }

}

@media screen and (max-width: 895px) {
    #section-1-buttons {
        top: 0;
    }

    .section-sign-up-buttons > a {
        margin: auto;
        left: 0 !important;
        width: 75% !important;
    }

    #no-credit-card {
        top: 0 !important;
    }

}

@media screen and (max-width: 377px) {

    #section-1-buttons {
        top: 1rem;
    }

    #no-credit-card {
        top: 3rem !important;
    }

}

/* ----------------------------- SECTION 2 ------------------------------- */

#section-2 {
    top: 31rem;
    width: 100%;
    z-index: 0; /* It is needed to show the orange shadow */
    background: var(--off-white-background);

}

#section-2 .title {
    left: 2%;
}

#section-2 span {
    color: var(--dark-blue);
    top: -1rem;
}

#section-2 h2 {
    color: var(--dark-blue);
}

.plan {
    position: relative;
    top: 5rem;
    margin-left: 1.8%;
    margin-top: 2%;
    display: inline-grid;

    background: var(--off-white-background);
    border: 5px solid var(--dark-blue);
    border-radius: 25px;

    height: 42rem;
    width: 17%;
    text-align: center;

    line-height: 1.5rem;
}

#plan-1 {
    height: 28rem;
}

#vat-not-included {
    color: var(--orange);
    position: relative;
    top: 7rem;
    left: 4rem;
}

.section-2-arrow {
    display: none;
}

.buy-btn {
    top: 1rem;
    font-weight: 600;
}

.yearly-price {
    position: relative;
    top: 1rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.pricing.circle {
    top: 3rem;
    width: 7rem;
    height: 7rem;
    font-weight: 600;

    color: var(--dark-blue);
    box-shadow: 0.5rem 0.5rem 0.15rem var(--shadow);
}

.price.icon {
    position: relative;
    top: 1rem;
    width: 3rem;
    height: auto;
    display: block;
    margin-left: 45%;
    cursor: pointer;
}

.orange-shadow {
    position: absolute;
    margin-top: -3rem;
    margin-left: -0.3rem;
    z-index: -10;

    padding-top: 1rem;
    padding-left: 0.6rem;
    background: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 25px;

    height: 31rem;
    width: 99%;

    text-align: center;
    line-height: 3rem;

    font-weight: 600;
}

.orange-shadow > span {
    color: var(--dark-blue) !important;
}

.plan-footer {
    top: 8rem;
    position: relative;
    text-align: center;
}

#custom-plan {
    position: relative;
    top: 14rem;
    left: 6.5%;
    width: 85%;

    text-align: center;

    background: var(--off-white-background);
    border: 4px solid var(--dark-blue);
    border-radius: 25px;
    padding: 1rem;
    font-size: 1.5rem;
}

#custom-plan span {
    color: var(--dark-blue);
}

#custom-plan .orange-shadow {
    top: -1rem;
    height: 6rem;
    left: 0.1rem;

    padding-right: 0.6rem;
    padding-left: 0.45rem;
}

.sing-up-icon .general-button {
    background: var(--dark-blue);
    color: var(--orange);
    border-radius: 15px;
}

.sing-up-icon .general-button:hover {
    background: var(--light-blue) !important;
    color: var(--dark-blue) !important;
}

#plan-buttons {
    position: relative;
    top: 2rem;
    display: flex;
    justify-content: center;
}

.plan-slider-buttons {
    position: relative;
    background: transparent;
    border: none;
    display: none;

    scale: 0.7;
}

#vat-not-included-custom-plan {
    font-size: 0.9rem;
}

@media screen and (max-width: 1200px) {

    #section-2 {
        top: 33rem;
    }

    .plan {
        display: none;

        width: 80%;
        height: 35rem;
        left: 10%;
        top: 1rem !important;

        margin-left: 0;
    }

    #plan-1 {
        height: 30rem;
    }

    .plan.active-plan {
        display: inline-grid;;
    }

    .plan-footer {
        top: 4rem;
    }

    #next {
        display: unset;
    }

    .visible-plan-button {
        display: unset !important;
    }

    .hidden-plan-button {
        display: none !important;
    }

    #custom-plan {
        top: 8rem;
        line-height: 1.6rem;
        font-size: 1rem;
    }

}

@media screen and (max-width: 460px) {

    #section-2 {
        top: 35rem;
    }

    #custom-plan {
        left: 1%;
        width: 87%;
    }

    #custom-plan .orange-shadow {
        padding-left: 0;
    }
}

/* ----------------------------- SECTION 3 ------------------------------- */

#section-3 {
    position: relative;
    top: 79rem;
    width: 100%;
    z-index: 0; /* It is needed to show the orange shadow */
    background: transparent;
}

#section-3 h2 {
    text-align: center;
}

.section-3-chevron {
    cursor: pointer;
}

.hidden-chevron {
    display: none !important;
}

#plan-table {
    position: relative;
    width: 80%;
    left: 10%;

    border-collapse: collapse;
    display: none;

    color: var(--dark-blue);
}

#plan-table td:first-child {
    text-align: left;
}

#plan-table th, td {
    text-align: center;
    padding: 8px;
}

#plan-table td:first-child {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

#plan-table td:nth-child(6) {
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

#plan-table tr {
    height: 2rem;
}

#section-3 tr:nth-child(even) {
    background: var(--light-blue);
    border-radius: var(--light-blue);
}

@media screen and (max-width: 1200px) {

    #section-3 {
        top: 67rem;
    }
}

@media screen and (max-width: 680px) {

    #section-3 {
        top: 70rem;
    }
}

@media screen and (max-width: 460px) {

    #section-3 {
        top: 80rem;
    }
}

@media screen and (max-width: 350px) {

    #section-3 {
        top: 86rem;
    }
}

@media screen and (max-width: 320px) {

    #section-3 {
        top: 86rem;
    }
}

/* ----------------------------- SECTION 4 ------------------------------- */

#section-4 {
    position: relative;
    top: 83rem;
}

#payment-method {
    position: relative;
    left: 8%;
    width: 80%;
    padding: 0.5% 2% 2% 2%;

    background: var(--dark-blue);

    border-radius: 25px;
    line-height: 2rem;
    font-size: 1.2rem;
}

#payment-method * {
    color: var(--light-blue);
}

@media screen and (max-width: 1200px) {

    #section-4 {
        top: 73rem;
    }
}

@media screen and (max-width: 460px) {

    #section-4 {
        top: 86rem;
    }

    #payment-method {
        top: 1rem;
        font-size: 1rem;
    }
}

/* ----------------------------- SECTION 5 ------------------------------- */

#section-5 {
    position: relative;
    top: 86rem;

    text-align: center;
    font-weight: 900;
}

#section-5 .section-sign-up-buttons {
    top: 3rem !important;
}

@media screen and (max-width: 1200px) {

    #section-5 {
        top: 76rem;
    }

    #section-5 .section-sign-up-buttons {
        top: 3rem;
    }
}

@media screen and (max-width: 460px) {

    #section-5 {
        top: 87rem;
    }
}

/* ----------------------------- SECTION 7 ------------------------------- */

#section-7 {
    top: 92rem !important;
}

@media screen and (max-width: 1200px) {

    #section-7 {
        top: 84rem !important;
    }
}

@media screen and (max-width: 460px) {

    #section-7 {
        top: 93rem !important;
    }
}
