#bmi .form {
    padding: 50px 0;
    background-image: url(../img/bmi_bg.jpg);
    background-size: cover;
    color: #fff;
}

#bmi .form .left h1 {
    font-family: 'Futura Std Condensed';
    font-size: 4rem;
    font-weight: 500;
}

#bmi .form .left h1 span {
    display: inline-block;
    background-color: #eaa524;
    padding: 5px;
}

#bmi .form .left p {
    margin-top: 30px;
}

#bmi .form .right label {
    font-size: 1rem;
    display: block;
    line-height: 1.5rem;
}
#bmi .form .right .form-check {
    display: flex;
    align-items: center;
    gap: 15px;
}
#bmi .form .right a {
    text-decoration: underline;
    color:#fff
}

#bmi .form .right .form-control {
    color: #fff;
    background: none;
    border: solid 1px rgba(255, 255, 255, .5)
}

#bmi .form .right .btn {
    margin-top: 30px;
    background-color: #eaa524;
}

#bmi .form .right .gender .form-control {
    text-decoration: none;
    color: #fff;
    width: auto;
    display: inline-flex;
    align-items: start;
    font-size: .8rem;
}

#bmi .form .error {
    margin-top: 5px;
    font-size: .8rem;
    color: #ff0000;
    display: block;
    background-color: #fff;
    padding: 5px
}

#bmi .form .error:empty {
    display: none;
}

#bmi .form .right .gender .form-control.active {
    background-color: #eaa524;
}

#bmi .form .right .gender .form-control img {
    height: 50px;
    margin-top: 15px;
    margin-left: 15px;
}

#bmi .result {
    background-color: #eff4d4;
    padding: 50px 0
}

#bmi .result h2 {
    font-family: 'Futura Std Condensed';
    color: #019c7c;
    font-weight: 700;
    font-size: 2rem
}

#bmi .result .details {
    margin-top: 30px;
}

#bmi .result .details .left h3 {
    font-family: 'Futura Std Condensed';
    color: #019c7c;
    font-weight: 700;
    font-size: 2.5rem
}

#bmi .result .details .left .data {
    display: flex;
    gap: 15px;
    color: #60605f;
    font-size: .8rem;
    margin-top: 15px;
}

#bmi .result .details .left .data>div:not(:first-child) {
    border-left: solid 1px #60605f;
    padding-left: 15px;
}

#bmi .result .details .left .data span {
    font-family: 'Futura Std Condensed';
    font-weight: 500;
    font-size: 2rem;
    display: block;
}

#bmi .result .details .center {
    color: #019c7c
}

#bmi .result .details .center h4 {
    font-family: 'Futura Std Condensed';
    font-weight: 700;
    font-size: 5rem;
    margin-top: 15px;
}

#bmi .result .details .right h3 {
    font-family: 'Futura Std Condensed';
    color: #019c7c;
    font-weight: 700;
    font-size: 2.5rem;
    display: flex;
    justify-content: space-between;
}

#bmi .result .details .right span {
    font-family: 'Futura Std Condensed';
    font-size: 1.5rem;
    font-weight: 500;
    color: #60605f
}

#bmi .result .details .right p {
    margin-top: 15px;
    color: #019c7c;
    line-height: 1.5rem;
}


@media (orientation: portrait) {
    #bmi .form .right {
        margin-top: 30px;
    }

    #bmi .result .details .center {
        margin-top: 30px;
    }

    #bmi .result .details .right {
        margin-top: 30px;
    }

    #bmi .form .left p {
        font-size: 1rem;
    }

    #bmi .result .details .center h4 {
        font-size: 3rem;
    }

    #bmi .result .details .right h3 {
        font-size: 1.5rem;
    }

    #bmi .result .details .right span {
        font-size: 1.2rem;
    }

    #bmi .result .details .right p {
        font-size: 1rem;
    }
}