* {
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #F7F7F7;
    /* background-image: url(/images/background.png); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}

.nav-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background: #49159b;
    color: #F7F7F7;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    box-sizing: border-box;
}

.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-logo {
    line-height: 0;
    margin: 0 10px;
}

.menu-logo img {
    max-height: 100px;
    max-width: 80px;
    flex-shrink: 0;
}

.nav-container a {
    text-decoration: none;
    color: #F7F7F7;
    transition: color 0.3s ease;
    width: 680px;
}

.nav-container a:hover {
    color: #000000;
}

.nav-container input {
    display: block;
    width: 35px;
    height: 25px;
    margin: 0;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    /* hide this */
    z-index: 2;
    /* and place it over the hamburger */
    -webkit-touch-callout: none;
}


/* Burger menu */

.nav-container span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: black;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
}

.nav-container span:first-child {
    transform-origin: 0% 0%;
}

.nav-container span:nth-child(3) {
    transform-origin: 0% 100%;
}

.nav-container input:checked~span {
    opacity: 1;
    transform: rotate(45deg) translate(3px, -1px);
    background: #232323;
}

.nav-container input:checked~span:nth-child(4) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

.nav-container input:checked~span:nth-child(3) {
    transform: rotate(-45deg) translate(-5px, 11px);
}

.menu ul {
    list-style: none;
    margin-left: -29px;
}

.menu li {
    padding: 10px 0;
    font-size: 17px;
}

.nav-btn-container {
    margin-bottom: 10px;
}

.nav-login-btn {
    margin: 10px 0;
    background-color: #F7F7F7;
    border-radius: 7px;
    width: 7rem;
    padding: 10px 25px;
    font-size: medium;
    color: #000000;
    /* transition: all 0.3s ease-in-out; */
    border: 2px solid #49159b;
    position: relative;
    z-index: 99;
    text-transform: capitalize;
    overflow: hidden;
    cursor: pointer;
}

.nav-login-btn:hover {
    background-color: #4b4a4a;
    color: #F7F7F7;
}


/* mobile styles */

@media only screen and (max-width: 1024px) {
    .nav-login-btn {
        display: none;
    }
    .nav-container {
        flex-direction: column;
        align-items: flex-end;
        position: fixed;
        top: 0;
        width: 100%;
        padding: 20px;
    }
    .menu-logo {
        position: absolute;
        /* left: 0; */
        top: 50%;
        transform: translateY(-50%);
    }
    .menu-logo img {
        max-height: 100px;
    }
    .menu {
        position: absolute;
        box-sizing: border-box;
        width: 307px;
        right: -300px;
        top: 85px;
        margin: -20px;
        padding: 10px 15px 120px 35px;
        background: #49159b;
        opacity: 0.96;
        -webkit-font-smoothing: antialiased;
        /* to stop flickering of text in safari */
        transform-origin: 0% 0%;
        transform: translateX(0%);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        height: 58vh;
        overflow-y: scroll;
    }
    .nav-container input:checked~.container .menu-container .menu {
        transform: translateX(-100%);
    }
    .hr-line {
        border: 0;
        border-top: 1px solid black;
        margin: 0;
    }
    .hero-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .hero-container--left {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: left;
        margin-top: 12rem;
    }
    .hero-container--right {
        margin-top: 6rem;
    }
    .hero-heading {
        font-size: 2rem;
        font-weight: 700;
        line-height: 1;
        color: #000000;
    }
    .hero-container--text {
        opacity: .8;
        text-align: center;
        color: #000000;
    }
    .hero-text--body {
        padding-top: 1rem;
        font-size: 1.96rem;
    }
    .hero-cta {
        align-items: center;
        margin-top: 3rem;
    }
    .cta-btn {
        background-color: #49159b;
        min-width: 22rem;
        height: 62px;
        color: white;
        /* border-radius: 25px; */
        margin-top: 10px;
        font-size: 2rem;
        border: 1px solid #49159b;
    }
    .cta-btn a {
        text-decoration: none;
        color: #F7F7F7;
    }
    .cta-btn:hover {
        background-color: #7450ad;
    }
    .hero-container--image {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .hero-container--lady {
        position: absolute;
        top: 30rem;
        right: 13rem;
    }
}


/* desktop styles */

@media only screen and (min-width: 1025px) {
    .nav-container {
        width: 100%;
    }
    .nav-container a {
        color: #F7F7F7;
    }
    .nav-container input {
        display: none;
    }
    /* Burger menu */
    .nav-container span {
        display: none;
    }
    .nav-login-btn a {
        text-decoration: none;
        color: white;
    }
    .menu {
        position: relative;
        /* width: 100%; */
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    }
    .menu ul {
        display: flex;
        padding: 0;
    }
    .menu li {
        padding: 0 10px;
    }
    .hero-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* background-image: url(/assets/img/backgroud.jpg);

height: 100%;

background-position: center;

background-repeat: no-repeat;

background-size: cover; */
    }
    .hero-container--left {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: left;
        margin-top: 9rem;
    }
    .hero-heading {
        font-size: 4.3rem;
        font-weight: 700;
        line-height: 1;
        color: #000000;
    }
    .hero-container--text {
        opacity: .8;
        color: #000000;
    }
    .hero-text--body {
        padding-top: 1rem;
        font-size: 1.96rem;
        width: 36rem;
    }
    .hero-cta {
        align-items: center;
        margin-top: 1rem;
    }
    .cta-btn {
        background-color: #49159b;
        min-width: 200px;
        height: 48px;
        color: white;
        /* border-radius: 25px; */
        margin-top: 10px;
        font-size: 25px;
        border: 1px solid #49159b;
    }
    .cta-btn a {
        text-decoration: none;
        color: white;
    }
    .cta-btn:hover {
        background-color: #7450ad;
    }
    .hero-container--image {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .hero-container--lady {
        position: absolute;
        top: 16rem;
        left: 25rem;
    }
}


/* * {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Roboto", sans-serif;
    background: #FFF url(https://source.unsplash.com/random) no-repeat center center;
    background-size: cover;
    font-size: 1em;
} */

#loginContainer {
    background: rgba(255, 255, 255, 0.62);
    height: 100vh;
}

.logo {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100px;
    text-align: center;
    margin-left: 25px;
    float: left;
}

.logo a {
    display: block;
    width: 174px;
    height: 54px;
    margin-top: 21px;
    background-repeat: no-repeat;
    background-image: url(http://logo.pizza/img/horse-mane/horse-mane.png);
    background-size: 30%;
}

.loginPage {
    width: 400px;
    margin: auto;
    text-align: center;
}

.loginPage .form {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    max-width: 395px;
    margin: 0 auto;
    padding: 45px;
    text-align: center;
    box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.2), 0 4px 4px 0 rgba(0, 0, 0, 0.22);
    transform: translateY(calc(50vh - 170px));
}

.loginPage .form input,
.loginPage .form textarea,
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    background-color: #ECF2F6;
    -webkit-box-shadow: 0 0 0 30px #ECF2F6 inset;
    -webkit-text-fill-color: rgba(0, 0, 0, 0.5) !important;
    width: 100%;
    border: none;
    outline: 0;
    margin: 0 0 16px;
    padding: 16px;
    box-sizing: border-box;
    font-size: 14px;
}

.loginPage .form button {
    text-transform: uppercase;
    background: #49159b;
    width: 100%;
    border: none;
    outline: 0;
    padding: 16px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    -webkit-transition: all 0.3 ease;
    transition: all 0.3 ease;
    cursor: pointer;
}

.loginPage .form button:hover,
.loginPage .form button:active,
.loginPage .form button:focus {
    background: #7450ad;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.loginPage .form .loginTitle {
    margin: 0px 0 30px 0;
    color: #49505b;
    font-size: 16px;
    cursor: default;
    font-weight: bold;
    letter-spacing: .1em;
}

.loginPage .container {
    position: relative;
    z-index: 1;
    max-width: 300px;
    margin: 0 auto;
}

.modal-header,
.modal-footer {
    border: none;
}

.modal-content {
    background: #c8b8e2;
}

#spinner {
    display: none;
}

#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #49159b;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}