﻿body {
    background-color: black;
}

.container {
    max-width: 512px;
    background-image: url('../img/darker_bg.png');
    background-size: cover;
    margin: 0 auto;
    height: 100dvh;
    text-align: center;
    padding: 0 !important;
}

#cash-advisor-logo {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.6em;
    z-index: 1000;
    left: 0;
    right: 0;
    text-align: center;
    width: 298px;
}


#holder .choice-btn {
    display: block;
    background-color: #0000FF;
    color: white;
    margin: 1.5em auto;
    border: none;
    font-size: 17px;
    border-radius: 37px;
    padding: 1em 1em 1em 1em;
    text-decoration: none;
}

#step-1 .choice-btn {
    width: 61%;
}

.overlay p {
    color: white;
    font-size: 28px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1em;
    padding-top: 20%;
}

#copyright {
    z-index: 9999;
    position: sticky;
    margin: 0 auto;
    margin-top: -89px;
    width: 100%;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1.5em 0;
    text-align: center;
}

#credit-basics-flow .choice-btn, #credit-cards-flow .choice-btn, #credit-recovery-flow .choice-btn, #housing-grants-flow .choice-btn {
    width: 78%;
    border-radius: 65px;
}

video {
    height: 100dvh;
    position: absolute;
    z-index: 999;
}

#back-btn {
    position: absolute;
    z-index: 999;
    right: 37.5%;
    bottom: 105px;
}

    #back-btn img {
        width: 60px;
    }


.dropdown-toggle::after {
    display: none;
}

.btn-group {
    position: absolute;
    z-index: 9999;
    right: 37.5%;
}

.dropdown-toggle {
    padding: 8px 8px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    margin-top: 0.9em;
}

    .dropdown-toggle:hover, .dropdown-toggle:active, .dropdown-toggle:focus {
        background-color: rgba(0, 0, 0, 0.5) !important;
    }

    .dropdown-toggle img {
        width: 31px;
    }

a {
    text-decoration: none;
}

@media only screen and (max-width: 1600px) {
    #back-btn {
        right: 38.2%;
    }

    .container {
        max-width: 391px;
    }

    #holder .choice-btn {
        margin: 1em auto;
    }

    #cash-advisor-logo {
        width: 251px;
    }

    .btn-group {
        right: 38%;
    }

    .dropdown-toggle {
        margin-top: 0.6em;
        padding: 4px 7px 8px 7px;
    }

        .dropdown-toggle img {
            width: 24px;
        }
}

@media only screen and (max-width: 426px) {
    .btn-group {
        position: absolute;
        right: 1em;
        margin-right: 0;
    }

    .dropdown-toggle img {
        width: 23px;
        height: 23px;
    }

    .dropdown-toggle {
        padding: 3px 6px 6px 6px;
    }

    .container {
        width: 100%;
        max-width: unset;
    }

    #back-btn {
        right: 17px;
    }

    video {
        object-fit: cover;
        width: 100%;
    }

    #cash-advisor-logo {
        width: 270px;
    }

    .overlay p {
        padding-top: 22%;
        font-size: 22px;
    }

    #credit-basics-flow .choice-btn, #credit-cards-flow .choice-btn, #credit-recovery-flow .choice-btn, #housing-grants-flow .choice-btn {
        width: 81%;
        border-radius: 65px;
        font-size: 16px;
    }
}

@media only screen and (max-width: 375px) {
    #step-1 .choice-btn {
        width: 67%;
    }

    .overlay p {
        padding-top: 25%;
        font-size: 18px;
    }

    #cash-advisor-logo {
        width: 238px;
    }

    #credit-basics-flow .choice-btn, #credit-cards-flow .choice-btn, #credit-recovery-flow .choice-btn, #housing-grants-flow .choice-btn {
        width: 89%;
        font-size: 15px;
    }
}

@media only screen and (max-width: 320px) {
    .dropdown-toggle {
        padding: 0px 5px 3px 5px;
        margin-top: 0.5em;
    }

        .dropdown-toggle img {
            width: 19px;
        }

        .btn-group{
            right:0.5em;
        }
        
    .overlay p {
        padding-top: 22%;
    }

    #step-1 .choice-btn {
        width: 84%;
        font-size: 16px;
    }

    #cash-advisor-logo {
        width: 207px;
    }

    #credit-basics-flow .choice-btn, #credit-cards-flow .choice-btn, #credit-recovery-flow .choice-btn, #housing-grants-flow .choice-btn {
        width: 91%;
        font-size: 13px;
    }

    #copyright{
        margin-top: -78px;
        font-size: 13px;
    }

    #back-btn {
        bottom: 91px;
        right:14px;
    }

        #back-btn img {
            width: 47px;
        }
}
