html {
	scroll-behavior: smooth;
}

body {
	background: rgb(18,51,98);
	background: radial-gradient(
		circle,
		rgba(18,51,98,1) 1%,
		rgba(6,24,51,1) 48%,
		rgba(3,9,18,1) 100%);
	color: #ffff;
	font-family: 'Inter';
	animation: bgColor 5s infinite;
}

header {
	position: absolute;
	height: 10vh;
	width: 100%;
	background-color: #ffffff08;
	border-bottom: 3px solid #fff1;
}

.header__div {
	display: flex;
	height: 100%;
	width: 100%;
}

.header__div a {
	margin: auto
}

#header__div__img {
	display: inline-block;
	height: 75%;
}

#header__div__img img {
	height: 100%;
	border: 3px solid #fff1;
	transition: border .4s;
}

#header__div__img img:hover {
	border: 2px solid #fff4;
}

#header__div__button {
	color: #fff;
	background-color: #ffffff12;
	font-size: 16px;
	font-weight: 500;
	padding: 15px 25px;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	transition: all .2s;
}

#header__div__button:hover {
	background-color: #ffffff09;
}

#header__div__button:active {
	color: rgb(23, 36, 54);
	background-color: #fff3;
}

.nav {
	z-index: 10;
	position: fixed;
	display: flex;
	top: 85%;
    left: 50%;
    transform: translate(-50%, 0);
	width: 100%;
}

.nav__ul {
	display: inline-flex;
	justify-content: space-evenly;
	align-items: center;
	background-color: #00000055;
	border-radius: 20px;
	margin: 0 auto;
	padding: 0 11px;
	height: 64px;
	overflow: hidden;
}

.nav__li {
	background-color: #5555;
	border-radius: 100%;
	display: inline-block;
	transition: background-color 0.2s;
	margin: 0 10px;
	margin: 0 min(2vw, 10px);
	width: 48px;
	height: 48px;
	line-height: 48px;
}

.nav__li a {
	display: inline-block;
	border-radius: 100%;
	width: 100%;
	height: 100%;
	color: #ffff;
	text-align: center;
}

.nav__li:hover {
	background-color: #fff5;
}

.content {
	max-width: 2000px;
	min-height: 100vh;
	margin: auto;
}

.section {
	display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
	padding: 50px 10px;
	max-width: 1500px;
	margin: 0 auto;
	min-height: 100vh;
}

#home-content {
	margin: 20px;
}

#home-title {
	font-family: 'Prompt';
	font-size: 55px;
	margin: 25px;
	text-align: center;
}

.content__p {
	font-family: sans-serif;
	font-size: 20px;
	margin: 20px 0;
}

#home-content span {
	font-size: 32px;
	display: block;
	font-family: monospace;
	letter-spacing: .1em;
	white-space: nowrap;
	border-right: 3px solid;
	width: 14.5ch;

	animation:
	typing 5s steps(12) infinite,
	blink .5s infinite step-end alternate;

	overflow: hidden;
}

@keyframes typing {
	0% { width: 0 }
	40% { width: 14.5ch; }
	60% { width: 14.5ch; }
	80% { width: 0; }
	100% { width: 0; }
}
@keyframes blink {
	50% { border-color: transparent; }
}

.home-social__ul {
	display: flex;
	overflow: hidden;
	padding: 10px;
}

.home-social__ul li {
	width: 45px;
	height: 45px;
	display: inline-block;
	border-radius: 100%;
	line-height: 45px;
	margin: 0 20px 0 0;

	transition: background-color 0.2s;
}

.home-social__ul li:hover {
	background-color: #0009;
}

.home-social__ul li a {
	display: inline-block;
	width: 100%;
	height: 100%;
	border-radius: 100%;
	font-size: 18px;
	color: #fff;
	text-align: center;
}

#zbyx-icon {
	width: 300px;
	margin: 20px;
	border-radius: 5px;
}

#about-me {
	min-height: 100vh;
}

#about-me__img {
	position: absolute;
	width: 100%;
	max-width: 500px;
	opacity: .25;
	z-index: -1;
}

#about-me-content {
	width: 100%;
	max-width: 700px;
	margin: 20px;
}

#about-me-languages {
	width: 100%;
	max-width: 400px;
	margin: 20px;
}

#about-me-languages__h3 {
	font-family: 'Prompt';
	font-size: 38px;
	margin: 25px;
	text-align: center;
}

#about-me-languages__div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.languages-div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 10px
}

.languages__div-img {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 50px;
	margin: 0 0 5px 0;
}

.languages__div-img img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	transition: .2s;
}
.languages__div-img img:hover {
	width: 100%;
}

.section__div {
	text-align: center;
	margin: 20px;
	flex: 1;
}

.projects__div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	margin: 30px;
}

.projects__div-project {
	display: flex;
    flex-direction: row;
    align-items: center;
	justify-content: center;
    flex-wrap: wrap;
	margin: 20px;
}

.projects__div-project__div-img {
	position: relative;
	display: inline-block;
	border-radius: 5px;
	width: 150px;
	height: 150px;
}

.projects__div-project__div-img img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 85%;
	border-radius: 5px;
	background-color: #ffffff05;
	box-shadow: rgb(0 0 0 / 5%) 0px 5px 15px;
	transition: width .2s;
}

.projects__div-project__div-img img:hover {
	width: 100%;
}

.projects__div-project-content {
	flex: 1;
	margin: 10px 20px;
	text-align: center;
}

.projects__div-project-content h4 {
	margin: 10px 0;
	font-size: 24px;
}

#end {
	flex-direction: row-reverse;
}

#end__div-end {
	flex: 3;
}

#mysterious-button {
	display: block;
	margin: 10px auto;
	color: #fff;
	background-color: #ffffff12;
	font-size: 22px;
	font-weight: 500;
	padding: 20px 30px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all .2s;
}

#mysterious-button:hover {
	background-color: #ffffff09;
}

#mysterious-button:active {
	color: rgb(23, 36, 54);
	background-color: #fff3;
}

#mysterious-div {
	display: inline-block;
	margin: 30px 0 0 0;
}

#mysterious-div img {
	max-height: 400px;
}

#end__div-links {
	flex: 2;
	display: flex;
	justify-content: center;
    flex-wrap: wrap;
	margin: 0 20px 0 0;
}

#end__div-links h2 {
	width: 100%;
}

#end__div-links div {
	flex: 1;
	max-width: 150px;
	margin: 15px;
}

.end__icon {
	display: inline-block;
	width: 60px;
	height: 60px;
	line-height: 60px;
	font-size: 25px;
	color: #fff;

	border-radius: 100%;
	background-color: #2ff1;

	transition: background-color 0.2s;
}

.end__icon:hover {
	background-color: #0009;
}

#end__div-links div h4 {
	margin: 15px 0 20px 0;
}

#end__div-links div h4 a {
	color: #fff;
	font-size: 18px;
}

h2 {
	font-family: 'Prompt';
	font-size: 44px;
	margin: 25px;
	text-align: center;
}

footer {
	width: 100%;
	padding: 15px;
	border-top: 2px solid #fff1;
	text-align: center;
}

/* 404 FILE */

#section-404 {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

#title-404, #title-oops {
	font-size: 120px;
	margin: 50px 0 0;
	font-family: 'Inter-400', sans-serif;
	color: #ffffff;
	display: block;
}
#title-oops {
	font-size: 23px;
	margin: 0.3em 0 50px;
	font-family: 'Inter-200', sans-serif;
	color: #ffffff;
	display: block;
}
#home-404 {
	text-decoration: underline 2px;
	color: #fff;
}
#home-404:hover {
	color: #fff8;
}