#membership-header {
    width: 100%;
    height: 100vh;
    position: relative;
}

#image-container {
    width: 100%;
    height: 100vh;;
    background-image: url("./../assets/membership/bruce-mars-y0SMHt74yqc-unsplash.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 2;
    position: absolute;
}

#membership-header-shade {
    width: 100%;
    height: 100vh;
    background-color: black;
    opacity: .5;
    z-index: 3;
    position: absolute;
}

#membership-header-text-hold {
    top: 60%;
    left: 35%;
    transform: translate(-50%, -50%);
    position: absolute;
    z-index: 4;
}

.membership-header-text {
    color: var(--main-text-color);
    font-family: var(--font-family);
    font-size: 1.5rem;
    margin-bottom: 1vh;
}

#membership-plans {
    width: 100%;
    min-height: 150vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#plan-one-background {
    background-color: rgb(95, 184, 154);
}
#plan-one-background:hover {
    background-color: rgb(111, 196, 167);
}
#plan-two-background {
    background-color: rgb(95, 176, 198);
}
#plan-two-background:hover {
    background-color: rgb(104, 186, 209);
}
#plan-three-background {
    background-color: rgb(184, 94, 101);
}
#plan-three-background:hover {
    background-color: rgb(199, 99, 108);
}

#plan-one-title {
    color: rgb(95, 184, 154);
}
#plan-two-title {
    color: rgb(95, 176, 198);
}
#plan-three-title {
    color: rgb(184, 94, 101);
}

.membership-plan {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0 1vw;
    position: relative;
    padding: 7vh 0;
    max-width: 20%;
    min-width: 20%;
    min-height: 50vh;
    max-height: 50vh;
}

.membership-plan:hover {
    cursor: pointer;
}

.membership-plan-name {
    padding: 10% 0;
    align-self: center;
    background-color: white;
    width: 70%;
    display: flex;
    justify-content: center;
    position: absolute;
    left: 15%;
    top: -10%;
    border-radius: 10px;
    /* color: rgb(105, 203, 170); */
    font-family: var(--font-family);
    font-size: 1.3rem;
}

.membership-plan-price {
    padding: 0 5%;
    width: 50%;
    color: white;
    font-family: var(--font-family);
    font-size: 1rem;
}

.membership-plan-line {
    width: 100%;
    border-bottom: 1px white solid;
    margin: 5% 0;
}

.membership-plan-desc {
    width: 75%;
    padding: 2vh 0;
    color: white;
    font-family: var(--font-family);
    font-size: 0.8rem;
}

.membership-plan-items {
    width: 60%;
    color: white;
    font-family: var(--font-family);
    font-size: 0.8rem;
}

.membership-plan-items li {
    margin-bottom: 5%;
}

/* this is the stuff for the popup */
#membership-form {
    background-color: transparent;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    /* display: flex;  */
    display: none; 
    justify-content: center;
    align-items: center;
}

#membership-form-background {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100vh;
    z-index: 101;
    position: absolute;
    top: 0;
    right: 0;
    /* backdrop-filter: blur(2px); */
}

#membership-form-background:hover {
    cursor: pointer;
}

#membership-form-box {
    background-color: rgba(0, 0, 0, 0.5);
    width: 50%;
    height: 50vh;
    z-index: 105;
    border-radius: 5px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    border: 1px solid var(--main-text-color);
    backdrop-filter: blur(2px);
}

#membership-form-box-title {
    color: var(--main-text-color);
    font-family: var(--font-family);
    font-size: 1.3rem;
    margin-top: 6%;
    width: 70%;
}

#membership-form-box-text {
    margin-top: 3%;
}

.input-membership {
    margin-top: 2%;
    width: 60%;
    padding: 1%;
    color: var(--main-text-color);
    background-color: black;
    border: none;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.input-membership:focus {
    outline: none !important;
    box-shadow: 0 0 10px black;
}

#membership-form-box-submit-container {
    margin-top: 5%;
    width: 60%;
    display: flex;
    justify-content: space-between;
}

#membership-form-box-cancel {
    width: 30%;
    min-width: 50px;
    max-width: 200px;
    padding: 1% 0;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--main-text-color);
    background-color: black;
    border: none;
    border-radius: 5px;
}

#membership-form-box-cancel:hover {
    cursor: pointer;
    background-color: white;
    color: black;
}

#membership-form-box-submit {
    width: 30%;
    min-width: 50px;
    max-width: 200px;
    padding: 1% 0;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--main-text-color);
    background-color: black;
    border: none;
    border-radius: 5px;
}

#membership-form-box-submit:hover {
    cursor: pointer;
    background-color: white;
    color: black;
}

@keyframes fadeIn {
    0% {
        transform: translateY(100%);
        opacity: 0; 
    }
    100% { 
        transform: translateY(0%);
        opacity: 1; 
    }
}

@media screen and (min-width: 2000px) {
    .membership-plan {
        max-width: 17%;
        min-width: 17%;
    }

    .membership-plan-name {
        left: 16%;
        top: -3%;
    }

    .membership-plan-price {
        font-size: 1.1rem;
    }

    .membership-plan-desc {
        font-size: 0.9rem;
    }

    .membership-plan-items {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 2000px) {
    .membership-plan-name {
        left: 16%;
        top: -4%;
    }
    .membership-plan-price {
        font-size: 1.1rem;
    }

    .membership-plan-desc {
        font-size: 0.9rem;
    }

    .membership-plan-items {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 1440px) {
    .membership-plan {
        max-width: 21%;
        min-width: 21%;
    }
}

@media screen and (max-width: 1000px) {
    .membership-plan {
        max-width: 26%;
        min-width: 26%;
    }
    .membership-plan-name {
        font-size: 1.1rem;
    }
    .membership-plan-price {
        font-size: 1rem;
    }

    .membership-plan-desc {
        font-size: 0.8rem;
    }
    .membership-plan-items {
        font-size: 0.8rem;
    }
    #membership-form-box {
        width: 70%;
    }
    #membership-form-box-title {
        width: 75%;
    }
    .input-membership {
        width: 70%;
    }
    #membership-form-box-submit-container {
        width: 70%;
    }
}

@media screen and (max-width: 600px) {
    #membership-plans {
        flex-direction: column;
        padding: 10vh 0;
    }
    .membership-plan {
        margin-top: 5vh;
        max-width: 85%;
        min-width: 85%;
        margin-bottom: 5vh;
        min-height: 40vh;
        max-height: 40vh;
    }
    .membership-plan-name {
        font-size: 1.1rem;
        top: -5%;
    }
    .membership-plan-price {
        font-size: .9rem;
    }

    .membership-plan-desc {
        font-size: 0.7rem;
    }
    .membership-plan-items {
        font-size: 0.7rem;
    }
    #membership-form-box {
        width: 90%;
    }
    #membership-form-box-title {
        margin-bottom: 10%;
    }
    .input-membership {
        margin-top: 7%;
        width: 80%;
    }
    #membership-form-box-submit-container {
        width: 80%;
        margin-top: 10%;
    }
    #membership-form-box-cancel {
        width: 40%;
    }
    #membership-form-box-submit {
        width: 40%;
    }
}

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

}