main {
    position: absolute;
    top: 0px;
    left: 0px;

    z-index: 5;

    width: 100%;
    height: 100%;

    box-sizing: border-box;
    padding: 5vh;
}

input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
}
input[type="color"]::-webkit-color-swatch {
	border: none;
}

img {
    max-width: 100%;
    max-height: 100%;

    padding: 10px;
    box-sizing: border-box;
}

body:not(:hover) .action-control-element
{
    opacity: 0;
    transition: 0.3s all ease-out;
}

body:hover .action-control-element
{
    opacity: 1;
    transition: 0.5s all ease-out;
}

button:has(img)
{
    border: 0px;
    cursor: pointer;
    border-radius: 5px;
}

.board {
    position: relative;

    box-sizing: border-box;
    padding: 20px;

    width: 100%;

    z-index: 10;
}

.board .teams {
    position: relative;

    box-sizing: border-box;
    width: 100%;
}

.teams-list {
    display: flex;
    width: 100%;
    flex-direction: column;

    gap: 30px;
}

.team {
    position: absolute;

    display: flex;
    flex-direction: row;
    gap: 5px;

    background: #fffa;
    backdrop-filter: blur(10px);

    box-sizing: border-box;

    height: 90px;
    padding: 15px;

    transition: all 0.2s ease-out;
}

.team.real-team {
    width: 100%;
}

.team .space {
    flex-grow: 1;
}

.team input {
    font-size: 30px;
    font-weight: bold;
    background: transparent;
}

.team input[type="number"] {
    width: 4em;
    text-align: right;

    border: 1px solid black;
    border-radius: 3px;
    background: #eee;
    transition: 0.3s all ease-out;
}

.team input[type="color"] {
    height: 100%;
    padding: 0px;
    aspect-ratio: 1;
    border-radius: 100px;
    box-sizing: border-box;
    cursor: pointer;
}

.team input:not([type="number"]) {
    border: 0px;
    outline: none;
}

.team.create-team {
    align-self: center;
}

.real-team {
    border: 5px solid;
    border-radius: 10px;
}

body:not(:hover) .real-team input[type="number"] {
    border-color: transparent;
    background: transparent;
}

section#background {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    right: 0px;
    bottom: 0px;

    z-index: 0;

    background: url("images/background.png");
    background-size: cover;
    background-position: center center;
}

.real-team .team-controls {
    display: flex;
    flex-direction: row;
    gap: 5px;
    max-height: 100%;
    max-width: 100vw;
    overflow: hidden;
}

body:not(:hover) .real-team .team-controls {
    max-width: 0px;
}

main .center-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10vh;
}

.center-screen .centered-prompt {
    display: flex;
    flex-direction: column;
    background: #FFFa;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    padding:40px;
    border-radius: 6px;
}

.center-screen .input-prompt {
    display: flex;
    flex-direction: row;
    height: 50px;
    gap: 10px;
    width: 100%;
}

.center-screen .input-prompt input {
    border: 0px;
    border-radius: 4px;
    outline: none;
    padding: 2px;
    flex: 1;
}
