@import url("assets/register/webfonts.css");
@import url("assets/register/base.css");
@import url("assets/register/create.css");

html,
body {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

body {
    margin: 0;
    background-color: #231e1e;
    position: fixed;
    inset: 0;
    overflow: hidden;
}

header,
footer,
.cookie-container,
.popup,
.popup_overlay {
    display: none !important;
}

.stable {
    background-image: url("assets/create/hcc_bg.jpg") !important;
    height: 100vh;
    min-height: 56vw;
    max-height: 100vh;
    overflow: hidden;
}

.grass {
    background-image: url("assets/create/grass.png") !important;
}

#application-wrapper {
    height: 100%;
    min-height: 720px;
    max-height: 100vh;
    overflow: hidden;
}

#application-canvas {
    display: block;
    width: 100%;
}

#application-splash img {
    display: block;
    width: 112px;
    max-width: 42%;
    margin: 0 auto 18px;
}

#application-splash-wrapper {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, rgba(34, 54, 58, 0.18), rgba(16, 20, 24, 0.56)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
    transition:
        opacity 240ms ease,
        visibility 240ms ease;
}

body:not(.creator-loading) #application-splash-wrapper {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.tab-container,
.stage-container,
.actions-container {
    display: block;
}

body.creator-loading .tab-container,
body.creator-loading .stage-container,
body.creator-loading .actions-container {
    opacity: 0.2;
    pointer-events: none;
}

.hidden {
    display: none !important;
}

#horse_name_input,
#username,
#password {
    width: 100%;
}

#horse_name_input {
    text-align: center;
}

.save-status {
    min-height: 20px;
    margin-top: 8px;
    color: #27647a;
    font-size: 13px;
    text-align: center;
}

.save-status.error {
    color: #c80000;
}

.save-status.ok {
    color: #006079;
}

.names-container {
    min-height: 28px;
}

@media all and (max-width: 1242px) {
    #application-wrapper {
        min-height: 460px;
    }
}

@media all and (max-width: 875px) {
    #application-wrapper {
        min-height: 360px;
    }
}

@media all and (min-width: 1243px) {
    .grass {
        bottom: -5%;
    }

    .actions-container {
        bottom: calc(17% + 18px);
        z-index: 4;
    }
}
