* {
    margin: 0;
    padding: 0;
    font-family: "Arial";
}

html,
body {
    overflow: hidden;
    background-color: black;
}

.webgl {
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
}

.text2d {
    pointer-events: none;
    user-select: none;
    position: absolute;
    inset: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    z-index: 1;
    opacity: 0;
    transition: all 100ms;
    background-color: white;
    padding: 10px;
    height: 320px;
    width: 290px;
    overflow-y: auto;
    transition: all 2000ms;
    border-radius: 5px;
    border: 3px solid;
    border-color: #FF384A;
    box-shadow: 0px 0px 2px rgba(10, 10, 10, 0.3);
    margin-right: 80px;
}

.text2d.visible {
    pointer-events: all;
    user-select: none;
    margin-right: 80px;
}

@media screen and (max-width: 481px) {
    .text2d {
        margin-right: auto !important;
        height: 120px;
        margin-bottom: 100px;
    }
}

.loading-screen {
    pointer-events: none !important;
    width: 100%;
    height: 100%;
    inset: 0;
    margin: auto;
    position: absolute;
    z-index: 98;
    transition: all 1000ms ease-in-out;
    opacity: 1;
}

.loading-bar {
    background-color: #FF384A;
    border-radius: 20px;
    width: 90%;
    height: 10px;
    position: absolute;
    z-index: 99;
    inset: 0;
    margin: auto;
    transform-origin: top left;
    transition: all 100ms ease-in-out;
    opacity: 1;
    transform: scaleX(0);
}
.preview {
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden;
    background-color: transparent;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    inset: 0;
    margin: auto;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.preview .top .logo{
    height: 100px;
}
.preview .top .logo img{
    height: 5vw;
    width: auto;
    min-height: 50px;
}

.fadeOut {
    animation: fadeOut 1s forwards ease-in-out;
}

.top,
.bot {
    position: relative;
    height: 10vh;
    background-color: transparent;
}

@media screen and (max-height: 800px) {
    .top,
    .bot {
        height: 12vh;
    }
}

@media screen and (max-height: 660px) {
    .top,
    .bot {
        height: 15vh;
    }
}

@media screen and (max-height: 500px) {
    .top,
    .bot {
        height: 20vh;
    }
}

.top-bar {
    animation: fade-from-top 1s forwards ease-in-out;
    animation-delay: 200ms;
}
.bot-bar {
    animation: fade-from-bot 1s forwards ease-in-out;
}

.top-bar,
.bot-bar {
    position: absolute;
    z-index: 1;
    background-color: white;
    height: 175%;
    width: 120%;
}

.top-bar {
    border-bottom: 2px solid #FF384A;
    transform: rotateZ(-3deg) translateY(-90px);
    box-shadow: 0px -2px 6px #aaa;
}

.bot-bar {
    border-top: 2px solid #FF384A;
    transform: rotateZ(-3deg) translateY(30px);
    box-shadow: 0px -2px 6px #aaa;
}

.logo {
    position: absolute;
    margin: auto;
    width: 170px;
    z-index: 3999;
    left: 10px;
    top: 10px;
    transition: width 400ms;
}

@media screen and (min-width: 700px) {
    .logo {
        width: 230px;
    }
}
@media screen and (min-width: 1000px) {
    .logo {
        width: 270px;
    }
}

.logo * {
    animation: fadeIn 2s forwards ease-in-out;
}

.preview .top .logo * {
    animation-delay: 500ms !important;
    animation: fadeIn 2s forwards ease-in-out;
}

.content {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 300px;
    height: 300px;
    background-color: white;
    border: 1px solid #aaa;
    box-shadow: 0px 0px 6px #aaa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
    color: #959595;
    animation: fadeIn 1s forwards ease-in-out;
}

.content .title {
    font-size: 2rem;
}

.content .subtitle {
    margin-top: 10px;
}

.content .buttons {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 10px;
}

.content .btn {
    background-color: #FF384A;
    padding: 10px;
    width: 50px;
    color: white;
    font-size: 2rem;
}
.d-none {
    display: none !important;
}

@keyframes fade-from-top {
    0% {
        transform: rotateZ(-3deg) translateY(-100%);
    }

    100% {
        transform: rotateZ(-3deg) translateY(-90px);
    }
}

@keyframes fade-from-bot {
    0% {
        transform: rotateZ(-3deg) translateY(100%);
    }

    100% {
        transform: rotateZ(-3deg) translateY(30px);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.lang-select {
    background-color: white;
    position: absolute;
    z-index: 1000;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    background-color: white;
}

.lang-select .logo {
    background-color: white;
    width: 80%;
    max-width: 500px;
    height: fit-content;
    inset: 0;
    margin: auto;
    top: -5%;
    animation: logoAnimation 1s ease-in-out forwards;
}

.lang-select .logo img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.lang-select .lang-buttons {
    background-color: white;
    margin: auto;
    max-width: 300px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;

    position: absolute;
    inset: 0;
    margin: auto;
    top: 20%;
    z-index: 4;
    height: fit-content;
}

.lang-buttons div {
    transform: translateY(122200%);
    animation: langAnimation 1s forwards ease-in-out, fadeIn 1s forwards ease-in-out;
}

.lang-buttons div:nth-of-type(2) {
    animation-delay: 400ms;
}

@keyframes langAnimation {
    0% {
        transform: translateY(1200%);
    }
    100% {
        transform: translateY(0%);
    }
}

@keyframes logoAnimation {
    0% {
        transform: translateX(-100%);
    }
    100% {
        text-replace: translateX(0%);
    }
}

.lang-select .bars {
    height: 100%;
    position: relative;
}

.lang-select .bars .top {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 99;
    animation: barTopAnimation 1s ease-in-out forwards;
    animation-delay: 100ms;
}

.lang-select .bars .bot {
    position: absolute;
    bottom: 43%;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 99;
    animation: barBotAnimation 1s ease-in-out forwards;
}

.lang-select .top-bar,
.lang-select .bot-bar {
    animation: none !important;
    box-shadow: none;
}

.lang-select .top .logo {
    box-shadow: none;
}

@keyframes barTopAnimation {
    0% {
        opacity: 0;
        top: 40%;
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        top: 0%;
    }
}

@keyframes barBotAnimation {
    0% {
        opacity: 0;
        bottom: 43%;
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        bottom: 0%;
    }
}

.background-animation {
    animation: backgroundAnimation 1s forwards ease-in-out;
}
@keyframes backgroundAnimation {
    0% {
        background-color: white;
    }
    80% {
        background-color: white;
    }
    100% {
        background-color: transparent;
    }
}

.canvas-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.canvas-overlay .logo {
    animation: fadeIn 1s forwards ease-in-out;
}
.no-animation {
    animation: none !important;
}
.no-animation * {
    animation: none !important;
}

.canvas-overlay .btn {
    pointer-events: all;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: white;
    width: 100px;
    height: 30px;
    background-color: #FF384A;
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: 20px;
}

.canvas-overlay .top-bar {
    border-bottom: 2px solid #FF384A;
    transform: rotateZ(-3deg) translateY(-90px);
    box-shadow: 0px -2px 6px #aaa;
    animation: fade-from-top 1s forwards ease-in-out;
    animation-delay: 200ms;
}
.canvas-overlay .bot-bar {
    border-top: 2px solid #FF384A;
    transform: rotateZ(-3deg) translateY(30px);
    box-shadow: 0px -2px 6px #aaa;
    animation: fade-from-bot 1s forwards ease-in-out;
}

.btn:hover {
    cursor: pointer;
    background-color: #89011E;
}

.lang-select .lang-buttons {
    transition: all 200ms;
}
.lang-select .lang-buttons div:hover {
    cursor: pointer;
    filter: brightness(1.1);
}

.btn {
    transition: all 200ms;
}

.d-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.close {
    color: #959595;
    padding: 3px;
    padding-top: 0;
    padding-bottom: 1px;
    transition: all 200ms;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.close:hover {
    background-color: #959595;
    color: white;
    cursor: pointer;
}


/*# sourceMappingURL=main.css.map*/