* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Alata', sans-serif;
    font-size: 14px;
    background: #1c2f3e;
    color: #1c2f3e;
}

a {
    color: #dc143c;
}

.title-text {
    font-size: 66px;
    font-weight: bold;
    color: #1c2f3e;
}

.md-form .form-control,
.md-form label {
    color: #1c2f3e
}

.login-container,
.signup-container {
    width: 100%;
    min-height: 100vh;
}

.login-wrapper,
.signup-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: #fff;
    padding: 1em;
    border-radius: 10px;
    box-shadow: -2px -2px 8px #000000,
        -2px -2px 12px #00000080,
        inset 2px 2px 4px #0000001a,
        2px 2px 8px #16161626;
}

.signup-wrapper.edit-profile {
    margin-top: 1em;
    width: 600px;
}

.edit-profile-container .image-wrapper {
    height: 130vh;
}

.login-wrapper .hv-account a,
.signup-wrapper .hv-account a {
    text-decoration: underline;
}

.avatar-upload {
    position: relative;
    max-width: 205px;
    margin: 10px auto;
}

.avatar-upload .avatar-edit {
    position: absolute;
    right: 42px;
    z-index: 1;
    top: 10px;
}

.avatar-upload .avatar-edit input {
    display: none;
}

.avatar-upload .avatar-edit label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 100%;
    background: #FFFFFF;
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all .2s ease-in-out;
}

.avatar-upload .avatar-edit label:hover {
    background: #f1f1f1;
    border-color: #d6d6d6;
}

.avatar-upload .avatar-edit label:after {
    content: "\f040";
    font-family: 'FontAwesome';
    color: #757575;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}

.avatar-preview {
    width: 102px;
    height: 102px;
    margin: auto;
    position: relative;
    border-radius: 100%;
    border: 6px solid #F8F8F8;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.avatar-preview>div {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.image_section {
    height: 100vh;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.image_section .image-wrapper {
    width: 200px;
    height: 200px;
    margin: auto;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.barcode_wrapper img {
    top: 50%;
    height: 200px;
    width: 200px;
}

.download-qr-btn {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-mastery {
    background: #dc143c;
}

.custom-select,
.custom-select:focus {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ced4da;
    border-radius: 0;
    padding-left: 0;
    color: #757575;
    outline: none;
}

.custom-select>option {
    padding: 1em auto;
}

@media (max-width:768px) {

    .signup-form-section,
    .login-form-section {
        height: auto;
        padding: 0;
    }
}

@media (max-width:450px) {

    .login-container .image_section,
    .signup-container .image_section {
        display: none;
    }

    .signup-container.edit-profile-container .image_section {
        display: block;
        height: 50vh;
    }

    .barcode_wrapper img {
        top: -55%;
    }

    .download-qr-btn {
        position: relative;
        left: auto;
        transform: none;
    }

    .signup-form-section,
    .login-form-section {
        height: auto;
        padding: 0;
    }

    .login-wrapper,
    .signup-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        top: auto;
        left: auto;
        transform: none;
        box-shadow: none;
        padding-top: 50px;
    }

    .signup-wrapper {
        height: auto;
        padding-bottom: 10vh;
    }

    .signup-wrapper.edit-profile {
        width: 100%;
    }
}

.custom-file-label {
    background-color: transparent !important;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #ced4da;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    text-align: left;
    padding-left: 0;
}

.custom-file-input {
    background-color: transparent !important;
    border: none;
    border-radius: 0;
}

.select-wrapper span.caret {
    position: absolute;
    top: .8rem;
    right: 0;
    font-size: .63rem;
    color: #ced4da;
}

.md-form input:focus {
    background: #fff;
}