* {
    box-sizing: border-box;
}

h1 {
    margin: 0;
}

.debug-image {
    display: none;
    z-index: 1000;
    /*opacity: 0.5;*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100vw auto;
}

body {
    background-image: url("../img/hero-lg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

button, input[type=email], input[type=password] {
    width: 100%;
    height: 3.3em;
    border-radius: 0.5em;
    font-size: 1.6em;
    padding: 0.625em;
    border: 1px solid #E0E0E0;
}

button {
    cursor: pointer;
    color: white;
    font-weight: 600;
}

button .icon {
    padding-right: 1em;
    margin-right: 0.5em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.right-icon {
    position: absolute;
    height: 1.8em;
    width: 1.8em;
    top: calc(1.5em + 1px);
    right: calc(1.5em + 1px);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.right-icon.hide {
    background-image: url("../img/icons/actions/hide.svg");
}

button.register {
    background: #CA9CF4;
    border-color: #B289D6;
    width: 15em;
    height: 2.8em;
    margin-top: 0.5em;
    font-size: 1.8em;
}

.signup-holder {
    width: 100%;
    padding: 5em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.3vh;
    max-width: 1250px;
}

.signup-holder h1 {
    margin-bottom: 0.7em;
    text-align: center;
    font-size: 5.5em;
    color: white;
}

.signup-holder form {
    width: 40.5em;
    margin: 0 auto;
    height: 21em;
}

.signup-holder form .field-holder:not(:first-child) {
    margin-top: 1.4em;
}

.signup-holder .field-holder {
    position: relative;
    text-align: center;
}

.signup-holder .field-holder.error button {
    border-color: #FF1100;
}

.signup-holder .field-holder .error-msg {
    display: none;
    color: #FF1100;
    font-size: 1.3em;
    margin-top: 0.5em;
}

.signup-holder .link-holder {
    margin-top: 1.5em;
    text-align: center;
}

.signup-holder .fb-link {
    font-size: 1.6em;
    color: white;
}

.signup-holder .field-holder.error .error-msg {
    display: block;
}

@media (max-height: 500px) {
    .signup-holder {
        font-size: 1vw;
        top: 0;
        transform: translateX(-50%);
    }
}

@media (max-width: 650px) {
    .signup-holder {
        font-size: 2vw;
    }

    .signup-holder h1 {
        font-size: 2.75em;
        margin-bottom: 1.4em;
    }
}
