@charset "utf-8";

/* CSS Document */
html,
body {
	height: 100%;
	font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
	font-size: 20px;
	line-height: 1.375;
}

body {
	min-height: 100vh;
	background-color: #e6ecf9;
	color: #202020;
}

body>div {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	text-align: center;
	align-items: center;
}

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

h1,
h2,
p,
ul,
nav {
	margin-top: 20px;
	margin-bottom: 20px;
}

h1 {
	line-height: 1.275;
}

ul {
	margin: 20px auto;
	width: auto;
	text-align: left;
}

nav h2,
nav ul.list-custom {
	margin-top: 10px;
	margin-bottom: 10px;
}

nav h2 {
	margin-bottom: 20px !important;
}

nav ul li {
	padding: 5px 25px !important;
	border: 0 none !important;
	border-right: 2px solid #903030 !important;
	border-radius: 0 !important;
	font-weight: 700;
	font-size: 1.1rem;
}

nav ul li:last-child {
	border-right: 0 none !important;
	border-bottom: 0 none !important;
}

nav a {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 15px;
	gap: 10px;
	color: #b959f9;
	background-color: #dcdcdc;
	border-radius: 4px;
	text-align: center;
	text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
	color: #00d8ff;
	background-color: #f0ffff;
	text-decoration: none;
}

img.logo-react-js,
img.logo-vue-js {
	width: auto;
	height: 120px !important;
}

img.logo-vue {
	width: auto;
	height: 55px !important;
}

img.logo-react {
	width: auto;
	height: 60px !important;
	animation: logo-rotate 5s infinite linear;
}

@keyframes logo-rotate {
	0% {
		transform: rotate(0);
	}

	100% {
		transform: rotate(360deg);
	}
}

a img {
	display: inline-block;
	transition: transform 0.25s ease-in-out;
}

a:hover img.logo-vue {
	transform: scale(1.1);
}

@media scren and (min-width: 450px) {
	a span code {
		text-wrap: nowrap;
		white-space: nowrap;
	}
}

.list-custom {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.list-custom li {
	background-color: transparent !important;
}

@media screen and (max-width: 1199.98px) {
	.list-custom {
		flex-direction: column;
		align-items: stretch;
	}

	.list-custom li {
		padding: 25px 5px !important;
		border-right: 0 none !important;
		border-bottom: 2px solid #903030 !important;
	}
}

@media screen and (min-width: 1200px) and (max-width: 1799.98px) {
	nav a span {
		text-align: center;
	}

	nav a span code {
		display: block;
	}
}

@media screen and (max-width: 639.98px) {
	nav a span {
		text-align: center;
	}

	nav a span code {
		display: block;
	}
}