@font-face {
	font-family: "Tex";
	src: url('/tex/texgyreadventor-regular.otf');
}

body {
	font-family: "Tex", sans-serif;
	letter-spacing: 1.5px;
	background-color: rgb(0, 8, 37);
	margin: 0;
    color: white;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

:root {
	--pointerX: 50vw;
	--pointerY: 50vh;
}

.page-content {
	width: 1900px;
	max-width: 1900px;
	display: flex;
	gap: 2rem;
	position: relative;
}

.header {
	width: 40%;
	padding: 10rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	position: fixed;
	height: calc(100vh - 20rem);
}

.content {
	width: 55%;
	display: flex;
	position: absolute;
	right: 0;
	top: 0;
	flex-direction: column;
}

.paragraph-about {
	padding: 10rem 7rem 5rem 5rem;
	color: rgba(255, 255, 255, 0.4);
	font-size: 20px;
	line-height: 1.8rem;
}

.paragraph-exp {
	padding: 0 7rem 5rem 5rem;
	color: rgba(255, 255, 255, 0.4);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	line-height: 1.6rem;
}

.exp-item {
	display: flex;
	gap: 5rem;
	border: 1px solid transparent;
	border-radius: 5px;
	background-color: transparent;
	transition: 0.25s;
	padding: 1rem;
}

.exp-item:hover {
	border: 1px solid rgba(255, 255, 255, 0.1);
	background-color: rgba(255, 255, 255, 0.033);
	color: white;
}

.exp-item-date {
	text-wrap: nowrap;
	width: 200px;
	margin-top: 0.1rem;
}

.exp-item-data {
	width: 100%;

	h4 {
		margin: 0 0 0.25rem;
		font-size: 20px;
		color: white;
	}

	h5 {
		margin:0;
	}
}

.exp-item-techs {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.exp-item-single-tech {
	border-radius: 20px;
	border: 1px solid rgba(0, 89, 95, 0.5);
	background-color: rgba(0, 89, 95, 0.5);
	color: rgba(98, 211, 219, 0.9);
	padding: 0.2rem 1rem;
	cursor: default;
}

.title {
	font-size: 70px;
	font-weight: 700;
	margin: 0;
}

.subtitle {
	font-size: 25px;
	margin-top: 0;
}

.anchor-container {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	margin: 5px 0;
	gap: 1rem;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.4);
	text-transform: uppercase;
}

.anchor-container:hover {
	color: white;
	cursor: pointer;

	.anchor-line {
		width: 50px;
	}
}

.anchor-container-active {
	color: white;

	.anchor-line {
		width: 50px;
	}
}

.anchor-line {
	width: 30px;
	height: 1px;
	background-color: white;
	transition: 0.1s;
}

.anchor {
	text-wrap: nowrap;
}

.logo-container {
	display: flex;
	gap: 2rem;
	margin-top: auto;
}

.logo {
	height: 2rem;
	width: 2rem;
	opacity: 50%;
	cursor: pointer;
	transition: 0.1s;
}

.logo a img {
	height: 3rem;
	width: 3rem;
	opacity: 50%;
	cursor: pointer;
	transition: 0.1s;
}

.logo:hover {
	opacity: 100%;
}

.mover {
  width: 2000px;
  height: 2000px;
	background: rgb(255,255,255);
	background: radial-gradient(circle, rgba(49, 67, 135, 0.35) 0%, rgba(49, 67, 135,0) 50%);
	border-radius: 50%;
  position: fixed;
  left: var(--mouse-x);
  top: var(--mouse-y);
	pointer-events: none;
}

.paragraph-projects {
	padding: 0 7rem 5rem 5rem;
	color: rgba(255, 255, 255, 0.4);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	line-height: 1.6rem;
}

.project-item {
	display: flex;
	gap: 2rem;
	border: 1px solid transparent;
	border-radius: 5px;
	background-color: transparent;
	transition: 0.25s;
	padding: 1rem;
	cursor: pointer;
}

.project-item h4 {
	margin: 0;
}

.project-item:hover {
	border: 1px solid rgba(255, 255, 255, 0.1);
	background-color: rgba(255, 255, 255, 0.033);
	color: white;
	transition: 0.25s;

	.project-logo {
		opacity: 1;
	}
}

.project-logo {
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 5px;
	width: 192px;
	height: 108px;
	opacity: 0.5;
	transition: 0.25s;
}

.project-item-logo {
	display: flex;
	align-items: center;
}

.project-item-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.paragraph-tech {
	padding: 0 7rem 5rem 5rem;
	color: rgba(255, 255, 255, 0.4);
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.tech-item {
	display: flex;
}

.tech-item-title {
	margin: 0;
	min-width: 240px;
	text-wrap: nowrap;
}

.tech-item-data {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.language-box {
	width: 6rem; 
	height: 6rem; 
	border-radius: 50%; 
	background-color: rgba(255, 255, 255, 0.3); 
	position: fixed; 
	top: -3rem; 
	right: -3rem;
	transition: opacity 0.1s ease-out, height 0.1s ease-out, width 0.1s ease-out, top 0.1s ease-out, right 0.1s ease-out;
	z-index: 2;

	.en-icon,
	.pl-icon {
		opacity: 0;
	}
}

.language-box:hover {
	width: 15rem; 
	height: 15rem; 
	top: -7.5rem; 
	right: -7.5rem;

	.language-icon {
		display: none;
	}

	.en-icon,
	.pl-icon {
		opacity: 1;
	}
}

.language-icon {
	position: absolute;
	top: 3.5rem;
	right: 3.5rem;
	width: 1.5rem;
	height: 1.5rem;
	filter: invert(1);
	display: block;
}

.pl-icon {
	transition: none;
	position: absolute;
	bottom: 3rem;
	left: 4rem;
	width: 1.7rem;
	height: 1.1rem;
	transition: 0.5s;
	cursor: pointer;
}

.en-icon {
	transition: none;
	position: absolute;
	bottom: 5rem;
	left: 4rem;
	width: 1.7rem;
	height: 1.1rem;
	transition: 0.5s;
	cursor: pointer;
}

.pl-icon:hover,
.en-icon:hover {
	transform: scale(1.3);
}

.paragraph-contact {
	padding: 2rem 7rem 9rem 5rem;
	color: rgba(255, 255, 255, 0.4);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.form {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.form div {
	display: flex;
	flex-direction: column;
}

.input-label {
	display: inline-block;
	width: 265px;
	font-size: 18px;
	margin-bottom: 0.5rem;
}

label:focus-within {
	color: white;
}

.input {
	font-family: "Tex", sans-serif;
	width: 100%;
	background-color: transparent;
	outline: none;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	color: white;
	padding: 0.2rem 0.5rem 0.2rem 0;
	font-size: 18px;
}

.input:focus {
	border-bottom: 1px solid rgb(255, 255, 255);
}

.input-error-message {
	color: red;
	font-size: 14px;
	width: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

.input-error {
	border-bottom: 1px solid red !important;
}

.textarea {
	height: 8rem;
	resize: none;
}

.button-container {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	margin-bottom: 1rem;
}

.button {
	padding: 1rem;
	text-transform: uppercase;
	outline: none;
	color: rgba(255, 255, 255, 0.7);
	transition: 0.2s;
	cursor: pointer;
	width: 200px;
	border-radius: 5px;
	font-size: 20px;
	letter-spacing: 1.5px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background-color: rgba(255, 255, 255, 0.033);
}

.button:hover {
	border: 1px solid rgba(255, 255, 255, 0.5);
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
}

footer {
	position: absolute;
	text-align: center;
	width: 100%;
	bottom: 0.4rem;
	left: -40%;
	color: rgba(255, 255, 255, 0.667);
	font-size: 15px;
	letter-spacing: 2px;
}

.paragraph-title {
	margin-bottom: 0.5rem;
}

.onestar {
	height: 0.7rem;
	width: 0.7rem;
	position: relative;
	top: -2px;
	right: 6px;	
}

.twostars {
	height: 0.6rem;
	width: 1.2rem;
	position: relative;
	top: -2px;
	right: 6px;
}

.threestars {
	height: 1rem;
	width: 1.1rem;
	position: relative;
	top: 1px;
	right: 6px;
}

.hidden {
	visibility: hidden;
}

.message-sent-fail {
	position: relative;
	top: 1rem;
	color: red;
	text-align: center;
}

.message-sent-success {
	width: 100%;
	position: absolute;
	top: 0;
	color: green;
	text-align: center;
}

.mail-link {
	color: white;
}

@media screen and (max-width: 1370px) {	
	.anchor-container-active {
		color: rgba(255, 255, 255, 0.4);
	
		.anchor-line {
			width: 30px;
		}
	}
	
	.header {
		padding: 5rem;
		height: calc(100vh - 10rem);
	}

	.paragraph-about,
	.paragraph-exp,
	.paragraph-tech,
	.paragraph-projects,
	.paragraph-contact {
		padding: 5rem;
	}

	.paragraph-exp {
		text-align: center;
	}

	.exp-item-date {
		align-self: center;
	}

	.exp-item {
		flex-direction: column;
		gap: 0;
		padding: 1rem 0.5rem 2rem;
	}

	.project-item {
		flex-direction: column;
		gap: 0.5rem;
		padding: 1rem 0.5rem;
	}

	.project-item-logo {
		justify-content: center;
	}

	.project-item-text {
		text-align: center;
	}
	
	.exp-item-techs {
		justify-content: center;
	}

	.tech-item {
		flex-direction: column;
		gap: 0.5rem;
		text-align: center;
	}

	.tech-item-data {
		justify-content: center;
	}

	.paragraph-title {
		text-align: center;
	}

	.logo-container {
		margin-top: 3rem;
	}
}

@media screen and (max-width: 1370px) {	
	.page-content {
		flex-direction: column;
	}

	.anchor-container {
		font-size: 20px;
	}

	.header {
		position: static;
 	}

	.content {
		position: static;
		width: 100%;
	}

	.paragraph-contact {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	footer {
		position: static;
		margin-bottom: 1rem;
	}
}

@media screen and (max-width: 650px) {	
	.header,
	.paragraph-about,
	.paragraph-exp,
	.paragraph-tech,
	.paragraph-projects,
	.paragraph-contact {
		padding: 2rem;
	}

	.title {
		font-size: 50px;
	}
}