body {
    background-color: white;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    overflow: hidden;
}

body > .center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

body.end {
    height: fit-content;
    justify-content: center;
    overflow-y: auto;
}


/*
.logo-header {
    position: absolute;
    top: 200px;
}
*/

.logo-header > * {
    position: absolute;
    transform: translate(-50%, -50%);
}

.lh2 {
    width: 1800px;
    max-width: 90vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.lh2 > * {
    position: relative;
    transform: translate(0, 0);
}

h1 {
    color: black;
    font-family: 'Space Mono', monospace;
    font-size: 4em;
    text-align: center;
    padding: 0px 10px;
}

h2 {
    margin-top: 0px;
    color: rgb(50,50,50);
    text-align: center;
    padding: 0px 10px;
    font-size: 2em;
}

h3 {
    margin-top: 0px;
    color: rgb(50,50,50);
    text-align: center;
    padding: 0px 10px;
    font-size: 1.3em;
}

.btn-start {
    margin-top: 20px;
    padding: 10px 80px;
    height: 70px;
    background-color: rgb(50,50,50);
    color: white;
    font-family: 'Space Mono', monospace;
    font-size: 1.4em;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    position: relative;
}

.btn-start::before {
    content: "";
    position: absolute;
    top: 0px;
    left: calc(100% - 2px);
    width: 3px;
    height: 0%;
    background-color: var(--color5);
    transition: height 0.5s, top 0.5s;
}

.btn-start::after {
    content: "";
    position: absolute;
    top: 98%;
    left: 0px;
    width: 0%;
    height: 3px;
    background-color: var(--color5);
    transition: height 0.5s, width 0.5s;
}

.btn-start:hover::before {
    height: 100%;
}

.btn-start:hover::after {
    width: 100%;
}


.welcome-img {
    max-width: 80vw;
}

.welcome-frame {
    position: relative;
}

.welcome-group {
    position: relative;
}

.welcome-frame, .welcome-group {
    width: 100px;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100vw;
    z-index:-1;
}

.footer > img {
    width: 100vw;
    position: absolute;
    bottom: 0px;
    object-fit: cover;
}

.end-left {
    display: none;
    width: 70px;
    position: relative;
    right: 620px;
    bottom: 450px;
    margin-bottom: -250px;
}

.end-planet {
    display: none;
    width: 70px;
    position: relative;
    left: 620px;
    bottom: 900px;
    margin-bottom: -200px;
}

.end-planet2 {
    display: none;
    width: 70px;
    position: relative;
    left: 820px;
    bottom: 250px;
    margin-bottom: -200px;
}

.overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.name-prompt {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 300px;
}

.name-prompt > h3 {
    color: black;
}

.name-prompt > input {
    outline: none;
    border: none;
    border-bottom: 1px solid black;
    padding: 5px;
    font-size: 1em;
    color: black;
}

.name-prompt > .btn-start {
    background-color: var(--color7);
    padding: 0px;
    font-size: 1em;
    height: 40px;
}

.share-button {
    padding: 10px;
    background-color: var(--color7);
    color: white;
    font-size: 1em;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.aws {
    display: flex;
    flex-direction: row;
    padding-bottom: 20px;
}

.aws > div {
    margin: 0px 20px;
}

.aws > div > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.aws > div > div > a {
    color: black;
    text-decoration: none;
    font-size: 1em;
    font-family: 'Space Mono', monospace;
}

.aws > div > div > a:hover {
    text-decoration: underline;
}

h3 {
    margin-bottom: 0px;
}

h4 { 
    color: black;
    font-size: 1.1em;
    padding-left: 5px;
    margin-left: -5px;
    border-left: 2px solid var(--color6);
}

.aws-logo {
    height: 20px;
    margin-left: 10px;
}

.aws {
    flex-direction: column;
}

.aws > div > div {
    flex-direction: row;
    overflow-y: hidden;
    overflow-x: auto;
    /*width: calc(100vw - 40px);*/
    width: 500px;
    max-width: calc(100vw - 40px);
    /*flex-wrap: wrap*/
    gap: 10px;
}

.aws > div > div > a {
    font-size: 0.8em;
    background-color: var(--color6);
    padding: 5px 10px;
    max-width: 130px;
    min-width: fit-content;
    height: 40px;
    border-radius: 5px;
    flex-grow: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ocl {
    margin-top: 30px;
    opacity: 0.8;
    font-size: 14px;
}

@media screen and (max-width: 1000px) {
    .welcome-frame {
        right: 0px;
        bottom: 0px;
        display: none;
    }
    .welcome-group {
        left: 0px;
        bottom: 0px;
        display: none;
    }
    .footer > img {
        width: 100vw;
    }

    .lh2 {
        top: 50px;
    }

    h1 {
        font-size: 3em;
        margin: 0px;
    }

    h2 {
        font-size: 1.5em;
    }

    .btn-start {
        padding: 0px 40px;
        height: 60px;
        font-size: 1.2em;
    }

    .logo-header {
        height: 50px;
    }

    .logo-header img {
        height: 50px;
    }

    .center {
        gap: 10px !important;
    }

    .welcome-img.done {
        height: 100px;
    }

    .welcome-img.bg {
        height: 100px;
    }
}

@media screen and (max-width: 1800px) {
    .end-left {
        right: 0px;
        bottom: 0px;
        display: none;
    }

    .end-planet {
        left: 0px;
        bottom: 0px;
        display: none;
    }

    .end-planet2 {
        left: 0px;
        bottom: 0px;
        display: none;
    }
}

@media screen and (max-height: 1000px) {

    .lh2 {
        margin-top: 40px;
    }

    .center.end {
        position: relative;
        top: 0px;
        left: 0px;
    }

    .aws-header {
        margin-top: 40px;
    }
}