:root {
    --text-color: #16C60C;
}

@keyframes intro {
	from{
		opacity: 0%;
	}
	to{
		opacity: 100%;
	}
}

@media (max-width: 600px) {
    .header-container {
        display: flex;
        flex-direction: column;
    }

    .home-link {
        display: flex;
        flex-direction: column;
    }

    #unity-canvas {
        width: 80vw !important;
        height: 25vh !important;
    }

    #unity-warning {
        width: 70vw !important;
    }
}

* {
    margin: 0%;
    padding: 0%;
}

button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 16px;
    font-size: 13px;
    font-family: "Jersey 20", sans-serif;
	cursor: pointer;
}

#unity-container {
    animation: intro 1s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 5%;
    position: relative;
    width: 100vw;
}

#unity-canvas-border {
    width: min(80vw, calc(80vh * (16 / 9)));
    height: min(80vh, calc(80vw * (9 / 16)));
    aspect-ratio: 16 / 9;
    border: 10px solid rgba(255, 255, 255, 1);
}

#unity-container.unity-desktop {
    position: relative;
    display: flex;
    flex-direction: column;
    left: auto;
    top: auto;
    transform: none;
    align-items: center;
    justify-content: center;
}

#unity-canvas-container {
    width: min(80vw, calc(80vh * (16 / 9)));
    height: min(80vh, calc(80vw * (9 / 16)));
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    flex-direction: column;
}

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


#unity-warning {
    margin: 0 auto;
    margin-bottom: 5%;
    display: block;
    z-index: 1;
    background: none;
}

#unity-footer {
    color: rgba(255, 255, 255, 1);
    margin-left: auto;
}

body {
    font-family: "Jersey 20", sans-serif;
    font-weight: lighter;
    background-color: black;
}

.header-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    background-color: #222220;
    background-image: url(../../images/header.png);
    background-size: 40% 100%;
}

.header-title {
    display: flex;
    align-items: center;
    margin-left: 50px;
}

.logo {
    height: 100px;
    width: 100px;
}

.home-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.background {
	background-color: black;
	color: black;
	position: fixed;
	bottom: 0%;
    left: 0%;
    width: 100vw;
	height: 100vh;
	z-index: -1;
}

.intro {
    position: relative;
    color: var(--text-color);
    text-align: center;
    font-size: 72px !important;
    margin-top: 0%;
    margin-bottom: 0%;
}

#authBanner {
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 50px;
}

#loginState {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 25px;
    padding-right: 25px;
    margin-left: 10%;
    font-family: "Jersey 20", sans-serif;
    font-weight: lighter;
}

#userAvatar {
    height: 36px;
    border-radius: 50%;
}

#profileSection {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 25px;
    padding-right: 25px;
    margin-left: 10%;
}

#profileSection img {
    border: 2px solid white;
}


.hidden {
    display: none !important;
}

.game-title {
    position: relative;
    color: var(--text-color);
    animation-name: intro;
    animation-duration: 3s;
    text-align: center;
    font-size: 72px !important;
    margin-top: 0%;
    margin-bottom: 0%;
}

.game-link {
    position: relative;
    color: white;
    text-decoration: none;
}
