:root {
    --color-primary: #0073b7;
    --color-secondary: #fff;
    --orange: #f8533b;
    --grey: #808080;
    --font-main-bold: "Comfortaa";
    --font-main-normal: "Bahnschrift";
    --font-secondary: "Arial Rounded MT";
}

* {
    box-sizing: border-box;
    max-width: 100%;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    font-family: var(--font-main-normal);
    color: var(--color-secondary);
    /*todo: changed background-image*/
    background-image: url("../images/bg-main-03.png");
    background-size: cover;
    /*todo: changed from background-position center to left*/
    background-position: left;
    background-repeat: no-repeat;
    background-color: #4096d1;
}
/* todo:add  blood-wrap */
.blood-wrap {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 23rem;
    z-index: -1;
}
.text-xs {
    font-size: 0.9rem;
}

.text-md {
    font-size: 1.2rem;
}
.text-lg {
    font-size: 2rem;
}
.text-2xl {
    font-size: 4rem;
}
.font-secondary {
    font-family: var(--font-secondary);
}

/* header */
.header-wrap {
    max-width: 18rem;
}

.custom-control,
.custom-select {
    border-radius: 50px;
    background-color: transparent !important;
    border: 3px solid #fff;
    color: var(--color-secondary);
}

.custom-control:focus,
.custom-select:focus {
    color: black;
    background-color: transparent !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--color-secondary);
}

.custom-select {
    background-image: url("../images/arrow.svg");
    background-size: 0.9rem;
}
.btn-general {
    background-color: var(--color-primary);
    font-family: var(--font-secondary);
    border-radius: 0.5rem;
    color: var(--color-secondary);
    padding: 0.5rem 0.7rem;
    min-width: 10rem;
}

/* footer */
.logo-wrap {
    max-width: 7rem;
}

.invalid-feedback {
    color: #bd372b;
}
.thank-you {
    display: none;
}

@media only screen and (max-width: 700px) and (orientation: portrait) {
    html {
        font-size: 11px;
    }
    /* todo:add  blood-wrap media */
    .blood-wrap {
        width: 20rem;
    }
}
@media only screen and (max-width: 1025px) {
    html {
        font-size: 12px;
    }
}
@media only screen and (max-width: 1025px) and (orientation: landscape) {
    html {
        font-size: 9px !important;
    }
}

/* loader section*/
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #fff;
    z-index: 1001;
    animation: spin 2s linear infinite;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--color-primary);
    animation: spin 3s linear infinite;
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    right: 15px;
    left: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--orange);
    animation: spin 1.5s linear infinite;
}

#loader-wrapper .loader-section {
    position: fixed;
    top: 0;
    width: 51%;
    height: 100%;
    z-index: 1000;
    transform: translateX(0);
}

#loader-wrapper .loader-section.section-left {
    left: 0;
}

#loader-wrapper .loader-section.section-right {
    right: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loaded #loader-wrapper .loader-section.section-left {
    transform: translateX(-100%);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.loaded #loader-wrapper .loader-section.section-right {
    transform: translateX(100%);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.loaded #loader {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.loaded #loader-wrapper {
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.3s 1s ease-out;
    display: none;
}
