@import 'https://fonts.googleapis.com/css?family=Open+Sans';
@import 'https://fonts.googleapis.com/css2?family=IBM+Plex+Mono';
@import 'https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap';

body {
	font-family: "Press Start 2P", system-ui;
	line-height: 1.75em;
	font-size: 16px;
	background-color: #111;
	color: #90dff6;
}

main {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	margin: 0;
	margin-top: 70px; /* leave space for the top navbar */
	padding: 0 12px;
	box-sizing: border-box;
}

.window {
	max-width: 60%;
    padding: 20px;
    border: 2px solid #90dff6;
    box-shadow: 0 0 10px #90dff6;
    border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 56px;
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	box-sizing: border-box;
	box-shadow: 0 0 10px #90dff6;
	border-bottom: 2px solid #90dff6;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
}

.nav-item {
	color: inherit;
	text-decoration: none;
	display: block;
}
.nav-logo {
	height: 40px;
	width: auto;
}


p {
	font-size: 14px;
	color: whitesmoke;
}

h1 {
	font-size: 30px;
	line-height: 34px;
}
#bonsoir span{
    display: inline-block;
	animation: wave 2s ease-in-out infinite;
}
#bonsoir span:nth-child(1) {
    animation-delay: 0s;
}
#bonsoir span:nth-child(2) {
    animation-delay: 0.2s;
}
#bonsoir span:nth-child(3) {
    animation-delay: 0.4s;
}
#bonsoir span:nth-child(4) {
    animation-delay: 0.6s;
}
#bonsoir span:nth-child(5) {
	animation-delay: 0.8s;
}
#bonsoir span:nth-child(6) {
	animation-delay: 1s;
}
#bonsoir span:nth-child(7) {
	animation-delay: 1.2s;
}
@keyframes wave {
    0%, 50%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-15px);
    }
}

h2 {
	font-size: 20px;
	line-height: 25px;
}

h3 {
	font-size: 16px;
	line-height: 27px;
}

.navbar .nav-item {
	color: #90dff6;
	transition: color 150ms ease, opacity 150ms ease;
}
.navbar .nav-item:visited {
	color: #90dff6;
}
.navbar .nav-click:hover,
.navbar .nav-click:focus {
	color: #d7fbff;
	text-decoration: underline;
	animation: updown 1s ease-in-out infinite;
}
@keyframes updown{
	0%, 50%, 100% {transform: translateY(0);}
	12% {transform: translateY(-1px);}
	25% {transform: translateY(-2px);}
	37% {transform: translateY(-1px);}
	62% {transform: translateY(1px);}
	75% {transform: translateY(2px);}
	87% {transform: translateY(1px);}
}

img {
	max-width: 100%;
}

li {
	line-height: 1.5em;
}

.mouse-trail {
    position: absolute;
    height: 6px; width: 6px;
    border-radius: 4px;
    background: #90dff6;
  }

@media (min-width: 1921px) {
	body {
		font-size: 18px;
	}
}