body {
    margin: 0 auto;
    max-width: 1024px;
    padding: 0;
}

#white_bg {
    width: 50%;
    background-color: white;
    position: absolute;
    min-width: 60.5%;
    height: 1000px;
    top: 0;
    left: 0;
    z-index: -2;
    transform: skewX(-14deg);
    transform-origin: top right;
}

.football_graphic {
    position: absolute;
    top: 16px;
    left: calc((100vw - 1024px)/2 + 140px);
    z-index: -1;
}

h1 {
    line-height: 58px;
}

.content {
    margin: 96px auto 64px 64px;
    max-width: 410px;
}

.top_features {
    margin-top: 16px;
}

.feature {
    display: flex;
    margin: 10px 0px;
    max-width: 400px;
    height: 54px;
}

.feature_text {
    margin: auto 0;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-size: 18px;
    line-height: 24px;
    max-width: 310px;
}

.circle {
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    margin: auto 24px auto 0;
}

.circle i {
    line-height: 48px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature:nth-of-type(1) .circle {
    background-color: var(--green400);
    color: var(--green100);
    font-size: 26px;
}
.feature:nth-of-type(2) .circle {
    background-color: var(--teal400);
    color: var(--teal100);
    font-size: 20px;
}

.feature:nth-of-type(3) .circle {
    background-color: var(--yellow500);
    color: var(--yellow100);
    text-shadow: 0 2px 4px rgba(0,0,0,0.16);
}

.signup_btn {
    margin: 30px 0px;
    max-width: 300px;
}

.member_text {
    color: var(--grey600);
    font-size: 16px;
    letter-spacing: 1px;
}

.flex-container {
    display: flex;
    min-height: 800px;
}

#col_1 {
    margin-right: 20px;
}

#col_2 {
/*    background-color: red;*/
    margin-left: auto;
    margin-right: 0;
/*    text-align: right;*/
/*    justify-content: flex-end;*/
}

.footer_content {
/*    margin-top: 40px;*/
/*    position: absolute;*/
/*    height: 100px;*/
/*    width: 100%;*/
/*    left: 0;*/
    background-color: var(--grey900);
    min-height: 180px;
    width: 100vw;
    margin-left: calc((1000px - 100vw) / 2);
    left: 0;
}

footer {
    background-color: white;
/*    padding-bottom: calc(vh120px;*/
}

#week_num {
    height: 0px;
}

.dark {
    background-color: var(--grey900) !important;
}
.iphone {
    background-color: black;
    padding: 16px 9px;
    border-radius: 20px;
    overflow: hidden;
    margin-left: auto;
    margin-right: 0;
}
.iphone > img {
    max-width: 360px;
}

/* SIGN UP */
#sign_up_card {
    max-width: 600px;   
    min-width: 320px;
    max-height: 480px;
    padding: 20px;
    margin: 90px auto 0 auto;
    z-index: 10;
    display: none;
    opacity: 0;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

.tab-container {
    display: flex;
    color: var(--grey500);
    cursor: pointer;
}
.tab {
    width: calc(50% + 20px);
    text-align: center;
    font-size: 18px;
    padding: 20px 0px 13px 0px;
    margin-top: -20px;
    background-color: var(--grey200);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;  
    user-select: none;
}
.tab:hover {
    background-color: var(--green200);
    cursor: pointer;
}
.tab:hover .tab_label {
    width: 80px;
    padding-bottom: 4px;
    margin: auto;
    border-bottom: 3px solid var(--grey400);
}
.tab-selected .tab_label, .tab-selected:hover .tab_label {
    width: 80px;
    padding-bottom: 4px;
    margin: auto;
    border-bottom: 3px solid var(--green400);
}

.tab-container .tab:nth-child(1) {
    border-top-left-radius: 12px;
    margin-left:-20px;
}
.tab-container .tab:last-child {
    border-top-right-radius: 12px;
    margin-right: -20px;
}
.tab-selected {
    color: var(--grey900);
    background-color: var(--grey100);
}

.form-container {
    font-size: 16px;
    margin: 0px;
    color: var(--grey700);
}

.form-container h2 {
    margin: 16px 0px 4px 0px;
    font-size: 25px;
    text-align: center;
    color: var(--grey900);
}

.g-recaptcha {
    display: inline-block;
}

#login-container #user_field, 
#login-container #l_pwd {
    margin-left: auto;
    margin-right: auto;
    display: block;
}
#login-container #l_pwd {
    min-width: 250px;
    max-width: 250px;
    width: 60%;
}
#login-container #user_field {
    width: 75%;
    min-width: 270px;
    max-width: 500px;
}

form .invalid {
    border: 2px solid red;
}

form .btn {
    margin: 10px auto;
    max-width: 66%
}

.conditions a {
    margin-left: 7px;
    color: var(--green500);
    text-decoration: underline;
}
.conditions {
    display: flex;
    line-height: 40px;
    color: var(--grey400);
}

.forgot {
    font-size: 14px;
    color: var(--grey400);
}

.half_width_field:nth-child(1) {
    margin-right: 8px;
}
.half_width_field:nth-child(2) {
    margin-left: 8px;
}
.no_account {
    float: left;
    position: relative;
    bottom: 40px;
    color: var(--grey400);
    cursor: pointer;
}
.no_account:hover {
    color: var(--green400);
}

/*------------------ Checkbox  */

#checkbox {
    background-color: var(--grey200);
    border: 1px solid var(--grey300);
    margin: 10px 20px;
    border-radius: 7px;
    width: 31px;
    height: 31px;
    cursor: pointer;
    color: #5F5F5F;
    font-size: 20px;
    position: relative;
    bottom: 4px;
     -webkit-box-shadow: inset 0 2px 4px 0 var(--shadow);
    box-shadow: inset 0px 2px 4px 0 var(--shadow);
}
#checkbox:hover {
    background-color: var(--green200);
}
#checkbox i {
    font-size: 16px;
    line-height: 32px;
    position: relative;
    left: 7px;
    text-align: center;
    color: var(--grey900);
}

#password_field-container {
    display: flex;
}

@media screen and (max-width: 1024px) {
    #white_bg {
/*        background-color: var(--red200);   */
    }
    .football_graphic {
        left: calc(20% + 10px);
    }
    #white_bg {
        min-width: calc(60% + (1060px - 100vw));
    }
    .content {
        margin-left: 5vw;        
    }
    body {
        margin: auto 20px;
    }
}

@media screen and (max-width: 800px) {
 #col_2 {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    body {
        background: none;
        margin: auto 10px;
    }
    .content {
        margin: 60px 0px 20px 0px;
    }
    h1 {
        font-size: 38px;
        line-height: 48px;
    }
    .feature_text {
        font-size: 14px;
        line-height: 20px;
        max-width: 240px;
    }
    #col_1 {
        margin: 0;
    }

    #password_field-container {
        display: block;
    }

    .half_width_field {
        margin-left: 0px !important;   
        margin-right: 0px !important;
    }

    .no_account {
        bottom: 60px;
    }

    .form-container h2 {
        margin-top: 32px;
    }

    #login-container #user_field,
    #login-container #l_pwd {
        width: 100%;
        max-width: 100%;
    }
    
    #sign_up_card {
        max-height: 500px;
    }
    #col_2 {
        display: none;
    }
}

@media screen and (max-width: 350px) {
    .btn_topbar {
        margin-right: 16px;
    }
    .conditions {
        line-height: 20px;
    }
}