@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #ed0c39;
    --secondary-color: black;
    --tertiary-color: white;
    --tertiary-shadow-color: #e4e4e4;
}

* {
	margin: 0;
	padding: 0;
    font-family: 'Roboto Mono', monospace;
	font-weight: 400;
    font-size: 1em;
}

body {
    --margin-size: 20px;
    margin: var(--margin-size);
    min-height: calc(100svh - (var(--margin-size) * 2));
    display: flex;
    flex-direction: column;
    gap: 20px;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: var(--tertiary-color);
    box-shadow: 10px 10px 10px var(--tertiary-shadow-color);
    border: solid 2px var(--tertiary-shadow-color);
    border-radius: 500px;
}

a.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 28px;
    color: var(--primary-color);
    text-decoration: none;
}

a.logo img {
    max-width: 60px;
    border-radius: 50%;
}

nav {
    display: flex;
    flex-direction: row;
    gap: 100px;
}

nav a {
    font-weight: 500;
    font-size: 20px;
    color: var(--secondary-color);
    text-decoration: none;
}

nav a.selected {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

header a.server-panel {
    padding: 16px 28px;
    font-weight: 700;
    font-size: 20px;
    color: var(--tertiary-color);
    background-color: #2164f0;
    border: none;
    border-radius: 500px;
    text-decoration: none;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

iframe.app {
    flex-grow: 1;
    margin: 0 5%;
    border: none;
    border-radius: 20px;
}