* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

:root {
    --primary-color: #d40072;
    --text-color: #000000;

    --border-color: #E4E4E4;
}

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: #F5F8F9;
    font-size: 14px;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.logo {
    position: absolute;
}

.logo img {
    width: 40px;
    opacity: 0.5;
}

.form-control {
    margin-bottom: 10px;
}

#test-form {
    align-self: center;
}

#ekyc-container {
    align-self: center;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/*     Modal      */

.modal {
    top: 0%;
    left: 0%;
    max-width: 100vw;
    max-height: 100vh;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.modal.hide {
    display: none !important;
}

.modal-header {
    border-color: var(--border-color);
}

.child {
    box-shadow: 0 4px 8px #333b401a;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    top: 50%;
    left: 50%;
    min-width: 300px;
    max-width: 500px;
    max-height: 500px;
    background: white;
    position: absolute;
    transform: translate(-50%, -50%);
}

.modal-footer {
    justify-content: center !important;
    border: none !important;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    font-size: 28px;
}

button.close span {
    width: 32px;
}

@media only screen and (max-width: 800px) {

    .container {
        padding: 0px;
    }

    #ekyc-container {
        width: 100%;
        height: 100%;
    }

    .logo img {
        display: none;
    }
}

@media (max-width: 1024px) and (orientation:landscape) {
    #ekyc-container {
        width: 100%;
        height: 100%;
    }
}