@font-face {
    font-family: "Barlow";
    src: url("./assets/BarlowCondensed-Regular.ttf");
}

* {
    box-sizing: border-box;
    font-family: "Barlow", sans-serif;
    color: white;
    user-select: none;
}

body {
    margin: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-image: url("./assets/background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: max(min(3rem, 5vmin), 2rem);
    text-align: center;
    position: relative;
}

body::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("./assets/server-background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.15;
    z-index: -1;
}

#logo {
    fill: white;
    width: min(80%, 1000px);
    max-height: 30vh;
}

p {
    margin: 1em;
}

.maxbutton {
	width: 100%;
	padding-left: 0px !important;
	padding-right: 0px !important;
}

.button {
	background-color: hsl(192, 45%, 15%);
	border-radius: 5px;
	padding: 0.3em;
	cursor: pointer;
	padding-left: 1em;
	padding-right: 1em;
	text-align: center;
	border: none;
	color: white;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	box-shadow: 0px 7px 1px #888888;
	transition: 0.2s;
	text-shadow: none !important;
	display: inline-block;
    font-size: 0.8em;

    &:not(:hover) {
        animation: button infinite alternate 2s
    }
}

.button:hover:not([_disabled="1"]) {
	filter: brightness(1.2);
	color: #d9d9d9;
	box-shadow: 0px 5px 1px #737373;
	transform: translateY(2px);
}

.button:active:not([_disabled="1"]) {
	box-shadow: 0px 2px 1px #737373;
	transform: translateY(5px);
	filter: brightness(1.4);
}

.button[_disabled="1"] {
	opacity: 0.8;
	cursor: not-allowed;
}

@keyframes button {
    35% {
        box-shadow: 0px 7px 1px #888888;
        color: white;
        filter: brightness(1);
        transform: translateY(0);
    }
    50% {
        filter: brightness(1.2);
        color: #d9d9d9;
        box-shadow: 0px 5px 1px #737373;
        transform: translateY(2px);
    }
    65% {
        box-shadow: 0px 7px 1px #888888;
        color: white;
        filter: brightness(1);
        transform: translateY(0);
    }
}