@font-face {
    font-family: "VCR_OSD_MONO";
    src: url("/assets/vcr_osd_mono.woff") format('truetype');
}

::selection {
	background: gray;
}

html {
    background-color: black;

    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
}

p {
    padding: 0;
    margin: 0;
    line-height: 1.3;
}

#grayText {
    color: gray;
    flex: 1;
}

body {
    font-family: "VCR_OSD_MONO";
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    display: flex;
    font-size: 1.7rem;
    color: white;
    width: 100vw;
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

img {
    image-rendering: pixelated;
}

footer {
    color: gray;
    padding:15px;
    text-align:right;
    font-size:0.8rem;
    margin-top:5px;
}

footer img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

footer a {
    opacity: 0.9;
}

footer a:hover {
    opacity: 1;
    transition: 0.3s;
}

#mainMenu {
    width: 816px;
    height: 624px;
    display: grid;
    background-color: black;
    grid-template-columns: 40% 60%;
    grid-template-rows: 11.3% 88.7%;
}

a:not(:has(img)) {
	background: #A1A1A1;
	padding: 2px;
	border-bottom: 2px solid white;
	color: #1B1B1B;
	text-decoration: none;
}

a:not(:has(img)):hover, a:not(:has(img)):focus{
	background: #393939;
	padding: 2px;
	border-bottom: 2px solid #5B5B5B;
	color: white;
	text-decoration: none;
}

ul#members{
    list-style: none;

    li{
        margin-bottom: 1em;
        line-height: 1.5rem;

        b{
            font-size: 1.1em;
            text-transform: uppercase;
        }
    }

    li::before{
        content: "";
        height: 2em;
        width: 2em;
        margin-right: 0.5ch;
        display: inline-block;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        background-image: url("/assets/bonnie.png");
        transform: translateY(0.8ch);
    }

    li:nth-of-type(5n + 1)::before{
        background-image: url("/assets/siffrin.png");
        image-rendering: pixelated;
    }

    li:nth-of-type(5n + 2)::before{
        background-image: url("/assets/mirabelle.png");
        image-rendering: pixelated;
    }

    li:nth-of-type(5n + 3)::before{
        background-image: url("/assets/isabeau.png");
        image-rendering: pixelated;
    }

    li:nth-of-type(5n + 4)::before{
        background-image: url("/assets/odile.png");
        image-rendering: pixelated;
    }

    li div, li div + span{
        margin-left: 4.5ch;
    }

    li div{

        >*:first-child::after{
            content: " \2022 ";
        }
    }
}


.uiButton {
    position: relative;
    width: 219px;
    height: 38px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding-left: 10px;
  text-align: left;
	background: none;
	color: inherit;
	border: transparent 2px solid;
  border-radius: 2px;
	font: inherit;
	cursor: pointer;
	outline: inherit;

}

.uiButton.active,
.uiButton:hover,
.uiButton:focus {
    border: white 2px solid;
}

#cornerUIUpLeft {
    position: absolute;

    left: 1px;
    top: 1px;
}

#cornerUIUpRight {
    position: absolute;

    right: 1px;
    top: 1px;
}

#cornerUIDownLeft {
    position: absolute;

    bottom: 1px;
    left: 1px;
}

#cornerUIDownRight {
    position: absolute;

    bottom: 1px;
    right: 1px;
}

#topUIBar {
    background-color: white;

    position: absolute;

    top: 2px;
    left: 12px;
    margin: 0 auto;

    width: calc(100% - 24px);
    height: 4px;
}

#leftUIBar {
    background-color: white;

    position: absolute;

    top: 12px;
    left: 2px;
    margin: auto 0;

    height: calc(100% - 24px);
    width: 4px;
}

#bottomUIBar {
    background-color: white;

    position: absolute;

    bottom: 2px;
    left: 12px;
    margin: 0 auto;

    width: calc(100% - 24px);
    height: 4px;
}

#rightUIBar {
    background-color: white;

    position: absolute;

    top: 12px;
    right: 2px;
    margin: auto 0;

    height: calc(100% - 24px);
    width: 4px;
}

#topEndBarLeft {
    position: absolute;

    top: 2px;
    left: 8px;
}

#topEndBarRight {
    position: absolute;

    top: 2px;
    right: 8px;

    transform: scaleX(-1);
}

#bottomEndBarLeft {
    position: absolute;

    bottom: 2px;
    left: 8px;
}

#bottomEndBarRight {
    position: absolute;

    bottom: 2px;
    right: 8px;

    transform: scaleX(-1);
}

#leftEndBarTop {
    position: absolute;

    top: 8px;
    left: 2px;

    transform: rotate(90deg);
}

#leftEndBarBottom {
    position: absolute;

    bottom: 8px;
    left: 2px;

    transform: rotate(270deg);
}

#rightEndBarTop {
    position: absolute;

    top: 8px;
    right: 2px;

    transform: rotate(90deg);
}

#rightEndBarBottom {
    position: absolute;

    bottom: 8px;
    right: 2px;

    transform: rotate(270deg);
}

#cornerUpLeft, #cornerUpRight, #cornerDownLeft, #cornerDownRight {
    display: none;
}

.uiButton.active #cornerUpLeft,
.uiButton:hover #cornerUpLeft,
.uiButton:focus #cornerUpLeft {
    display: block;
    position: absolute;
    top: -10px;
    left: -10px;
    animation: moveupleft 0.5s infinite linear alternate;
}

.uiButton.active #cornerUpRight,
.uiButton:hover #cornerUpRight,
.uiButton:focus #cornerUpRight {
    display: block;
    position: absolute;
    top: -10px;
    right: -10px;
    transform: scale(-1);
    animation: moveupright 0.5s infinite linear alternate;
}

.uiButton.active #cornerDownLeft,
.uiButton:hover #cornerDownLeft,
.uiButton:focus #cornerDownLeft {
    display: block;
    position: absolute;
    bottom: -10px;
    left: -10px;
    animation: movedownleft 0.5s infinite linear alternate;
}

.uiButton.active #cornerDownRight,
.uiButton:hover #cornerDownRight,
.uiButton:focus #cornerDownRight {
    display: block;
    position: absolute;
    bottom: -10px;
    right: -10px;
    transform: scale(-1);
    animation: movedownright 0.5s infinite linear alternate;
}

#arrowUI {
    position: absolute;
    margin: auto 0;
    bottom: 0;

    animation-name: arrowanimation;
    animation-iteration-count: infinite;
    animation-duration: 0.7s;
}

@keyframes moveupleft {
    0% {
        top: -10px;
        left: -10px;
    }
    
    100% {
        top: -20px;
        left: -20px;
    }
}

@keyframes moveupright {
    0% {
        top: -10px;
        right: -10px;
    }
    
    100% {
        top: -20px;
        right: -20px;
    }
}
    
@keyframes movedownleft {
    0% {
        bottom: -10px;
        left: -10px;
    }
    
    100% {
        bottom: -20px;
        left: -20px;
    }
}

@keyframes movedownright {
    0% {
        bottom: -10px;
        right: -10px;
    }
    
    100% {
        bottom: -20px;
        right: -20px;
    }
}

@keyframes arrowanimation {
    0% {
        bottom: 4px;
    }

    49% {
        bottom: 4px;
    }

    50% {
        bottom: 0px;
    }

    100% {
        bottom: 0px;
  }
}