@import "resets.css";


:root {
	box-sizing: border-box;
	font-size: 16px;
	font-family: 'aktiv-grotesk', Helvetica, sans-serif;
	margin: 0;
	padding: 0;

	--accent-color: #962e20;
	--accent-color-secondary: #CA665F;
	--white: #ffffff;
	--black: #000000;

	--background-color: var(--white);
	--font-color: var(--black);
	--border-color: #9e9e9e;
	--input-color: #dadada;
	--element-background-color: #ffffffe6;
	--element-background-color-mobile: #fffffff3;
	--shadow-color: #00000040;
	
	
	--font-color-filter: invert(0) sepia(0) saturate(0) hue-rotate(0) brightness(0) contrast(100);
	
	--url-dot: url(../assets/dot-light.svg);
	--url-wave: url(../assets/waves-light.svg);
	
}

[data-theme="dark"] {
	--background-color: var(--black);
	--font-color: var(--white);
	--border-color: #575757;
	--element-background-color: #1e1e1ee6;
	--element-background-color-mobile: #1e1e1ef3;
	--shadow-color: #000000;


	--font-color-filter: brightness(100) contrast(100);

	--url-dot: url(../assets/dot-dark.svg);
	--url-wave: url(../assets/waves-dark.svg);
}

.display-none {
	display: none !important;
}

html {
	width: 100vw;
	overflow-x: clip;
}

body {
	padding: 40px 80px;
	box-shadow: 0 0 200px var(--shadow-color) inset;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: 100vw;
	overflow-x: clip;
	background: var(--background-color);
	color: var(--font-color);
}

.background-dots {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-image: var(--url-dot);
	background-size: 25px 25px;
	background-repeat: repeat;
	z-index: -100;
}



p,
a,
span {
	font-size: 1.5rem;
	font-weight: 300;
}

/* 	===============================================
	Header
	=============================================*/

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	position: relative;
	z-index: 15;
}

.logo span {
	font-weight: 700;
	font-size: 4rem;
	color: var(--font-color);
}

.logo img {
	height: 130px;
}


/* 	
	Nav
	=============================================*/

.icon-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.icon-container img {
	position: absolute;
	width: 100%;
	height: 100%;
}

.icon-container .second-icon {
	filter: var(--font-color-filter);
	opacity: 1;
	transition: 0.5s ease;
}

*:hover>.icon-container .second-icon {
	opacity: 0;
	transition: 0.25s ease;
}


nav {
	position: relative;
}

nav #burger-menu {
	width: 50px;
	height: 44px;
	z-index: 20;
	cursor: pointer;
	transition: 0.5s ease;
}


nav #burger-menu.open {
	transform: rotate(-90deg);
	transition: 0.5s ease;
}

nav #burger-menu.open .second-icon {
	opacity: 0;
	transition: 0.5s ease;
}

nav ul {
	position: relative;
	background: var(--element-background-color);
	border: 2px solid var(--border-color);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.25rem;
	position: absolute;
	top: 4rem;
	right: -1rem;
	padding: 30px;
	z-index: 10;
	opacity: 0;
	transition: opacity 0.5s ease;
}

nav ul li {
	list-style: none;
}

nav ul li a,
nav ul li span {
	color: var(--font-color);
	font-size: 24PX;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	display: flex;
	gap: 10px;
	transition: color 0.5s ease;
	cursor: pointer;
	user-select: none;
	align-items: center;
}

nav ul li a:hover,
nav ul li span:hover {
	color: var(--accent-color);
	transition: color 0.25s ease;
}

nav ul .icon-container {
	width: 32px;
	height: 32px;
}

nav ul li img {
	width: 2rem;
}

.nav-open {
	opacity: 1;
	transition: opacity 0.5s ease;
}


/* 	===============================================
	Main
	=============================================*/

	
.background-waves {
	position: absolute;
	top: 500px;
	left: 0;
	width: 100vw;
	height: 656px;
	background-image: var(--url-wave);
	z-index: -100;
}

section {
	width: calc(100% / 12 * 10);
	margin: auto;
}

.text-content {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.text-content article {
	display: flex;
	gap: 40px;
	align-items: center;
}

.text-content h2 {
	font-size: 3rem;
	font-weight: 700;

	margin-bottom: 30px;
}

.text-content article p {
	flex: 0 0 60%;
}

.text-content article .container-img {
	flex: 0 0 40%;
}

.container-img img {
	width: 100%;
}

.container-text-two {
	display: none;
}

.container-image-left {
	flex-direction: row-reverse;
}

/* 	
	Home
	=============================================*/


/* 	=== Record Player === */

.record-player {
	width: calc(100% / 12 * 8 * 1.05);
	aspect-ratio: 1412 / 1237;
	margin-bottom: 80px;
}

#chassie {
	width: 100%;
	height: 100%;
	position: relative;
	background-image: url('../assets/recordplayer-bg.webp');
	background-size: cover;
}

.record-shadow {
	box-shadow: 0 4px 50px black;
	position: absolute;
	width: 93%;
	height: 87%;
	top: 7%;
	left: 3%;
	z-index: -90;
}

#record,
#record-overlay {
	position: absolute;
	width: 70%;
	top: 14%;
	left: 2%;
	transform-origin: 50% 49.7%
}

#chassie div img {
	width: 100%;
}

#playnob {
	position: absolute;
	width: 15%;
	aspect-ratio: 1 / 1;
	border-radius: 100%;
	top: 57%;
	left: 81%;
	cursor: pointer;
}

#player-arrow {
	position: absolute;
	width: 30%;
	aspect-ratio: 1 / 1;
	border-radius: 100%;
	top: 50%;
	left: 60%;
	pointer-events: none;
}

#scroll-to-content {
	display: flex;
	justify-content: center;
	position: relative;
	top: -1rem;
}

#scroll-to-content a {
	width: 4rem;
}

#scroll-to-content img {
	width: 100%;
}

.playing {
	animation: record-playing 1110ms linear infinite;
}

.start-playing {
	animation: record-playing 2220ms ease-in;
}

.end-playing {
	animation: record-playing 2220ms ease-out;
}

@keyframes record-playing {
	from {
		transform: rotate(0);
	}
	to {
		transform: rotate(1turn);
	}
}

/* 	=== Record Player === */

.contact-me {
	display: flex;
	justify-content: center;
	padding: 80px 0;
}

.contact-me a {
	font-size: 6.125rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--font-color);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: color 0.5s ease;
	user-select: none;
}

.contact-me a:hover {
	color: var(--accent-color);
	transition: color 0.25s ease;
}

.contact-me .icon-container {
	width: 90px;
	height: 90px;
}

/* 	
	about
	=============================================*/

.about-waves {
	top: 350px;
}

.stats {
	width: calc(100% / 12 * 6);
	margin:  250px auto 120px;
	display: flex;
	justify-content: space-evenly;
	padding: 70px 0;
	background: var(--element-background-color);
	border: 4px solid var(--border-color);
	border-radius: 60px;
	box-shadow: 0 0 25px var(--shadow-color);
}

.stats div {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.stat-number {
	font-size: 6.125rem;
	font-weight: 700;
}

.stat-name {
	font-size: 2rem;
	font-weight: 700;
	text-transform: uppercase;
}

.portrait-img {
	border: 8px solid var(--white);
	box-shadow: 0 0 25px var(--shadow-color);
}

/* 	=== Impressum === */

 #impressum {
	margin-bottom: 160px;
 }

 #impressum a {
	font-weight: 500;
	color: var(--accent-color);
 }

 #impressum a:hover {
	color: var(--accent-color-secondary);
 }

 /* 	
	contact
	=============================================*/

.contact-waves {
	top: 560px;
}

.contact-form {
	display: flex;
	width: 100%;
	margin: 160px 0 80px;
}

.contact-form .contact-text {
	width: calc(100% / 12 * 4);
	margin: calc(100% / 12);
}

.contact-header {
	font-size: 5rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.contact-form form {
	width: calc(100% / 12 * 6);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 120px 40px;
	background: var(--element-background-color);
	border: 4px solid var(--border-color);
	border-radius: 60px;
	box-shadow: 0 0 25px var(--shadow-color);
}

.contact-form label {
	font-size: 2rem;
	font-weight: 700;
	text-transform: uppercase;
	margin: auto 10px;
}

.contact-form input,
.contact-form textarea {
	width: calc(100% / 6 * 4);
	height: 5.25rem;
	background: var(--input-color);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	margin-bottom: 1.375rem;
	font-size: 1.5rem;
	padding: 1rem;
	color: var(--black);
}

.contact-form textarea {
	width: 100%;
	min-height: 14.25rem;
	resize: none;
}

.contact-form .button {
	width: calc(100% / 6 * 2);
	font-size: 2rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--white);
	background: var(--accent-color);
	transition: background 0.25s ease;
	cursor: pointer;
}

.contact-form .button:hover {
	background: var(--accent-color-secondary);
}

/* 	===============================================
	Footer
	=============================================*/

footer {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

footer a {
	color: var(--font-color);
	text-decoration: none;
}

footer a:hover {
	color: var(--accent-color);
}



@media screen and (min-width: 2080px) {
	body {
		box-sizing: content-box;
		max-width: 1920px;
		padding: 40px calc((100vw - 1920px) /2);
	}
}






@media screen and (max-width: 1440px) {
	:root {
		font-size: 14px;
	}
	.stat-number {
		font-size: 4rem;
	}
	.stat-name {
		font-size: 1.5rem;
	}
	#impressum {
		margin-top: 4rem;
	}
}
@media screen and (max-width: 1200px) {
	.record-player {
		width: calc(100% / 12 * 10 * 1.05);
	}
	.text-content article .container-img {
	flex: 0 0 50%;
	}
	.contact-me a {
		font-size: 4rem;
	}
	.contact-me .icon-container {
		width: 65px;
	}
	.contact-form {
		flex-direction: column;
		gap: 4rem;
	}
	.contact-form .contact-text,
	.contact-form form {
  		width: calc(100% / 12 * 10);
		margin: auto;
	}
}

@media screen and (max-width: 950px) {
	.text-content article {
		flex-direction: column;
	}
	.text-extention {
		display: none;
	}
	.container-text-two {
		display: block;
	}
	.stats {
		width: calc(100% / 12 * 8);
	}
	.container-img img.portrait-img {
		width: 50%;
		margin: 0 25%;
	}
}

@media screen and (max-width: 760px) {
	body {
		padding: 20px 40px;
	}
	.background-waves {
		top: 150px;
	}
	.contact-waves {
		top: 300px;
	}
	.logo img {
		height: 70px;
	}
	.record-player {
		margin-top: 4rem;
	}
	.container-img img.portrait-img {
		width: 70%;
		margin: 0 15%;
	}
	nav ul {
		background: var(--element-background-color-mobile);
		position: fixed;
		border: none;
		border-radius: 0;
		top: 0;
		right: 0;
		padding: 80px;
		width: 100%;
		height: 100%;
		justify-content: center;
		gap: 2rem;
	}
	nav ul li a,
	nav ul li span {
		color: var(--font-color);
		font-size: 32PX;
		gap: 20px;
	}
	nav ul .icon-container {
		width: 48px;
		height: 48px;
	}
	.stats {
		width: calc(100% / 12 * 10);
		margin: 120px auto;
	}
	.contact-form form {
		padding: 60px 30px;
	}
	.contact-form input {
		width: 100%;
		height: 3rem;
	}
	.contact-form label {
  		font-size: 1.8rem;
	}
	.contact-form .button {
		width: 50%;
		height: 52px;
		align-self: center;
  		font-size: 1.8rem;
		padding: 0;
	}

}

@media screen and (max-width: 600px) {
	nav #burger-menu {
		width: 25px;
		height: 22px;
	}
	.logo span {
		font-size: 2.5rem;
	}
	section {
		width: 100%;
	}
	.record-player {
		width: calc(100% * 1.8);
		left: -75%;
		position: relative;
	}
	#scroll-to-content {
		width: 80%;
		align-self: end;
		left: 31%;
	}
	.contact-me a {
		font-size: 3rem;
	}
	.contact-me .icon-container {
		width: 40px;
	}
	.stats {
		width: 100%;
		padding: 30px 0;
		border-radius: 30px;
	}
	.stat-number {
		font-size: 3rem;
	}
	.stat-name {
		font-size: 1.2rem;
	}
	.container-img img.portrait-img {
		width: 100%;
		margin: 0;
	}
	#impressum {
		margin-bottom: 60px;
	}
	.contact-header {
		font-size: 4rem;
	}
	.contact-form .contact-text, 
	.contact-form form {
		width: 100%;
	}
}

@media screen and (max-width: 410px) {
	body {
		padding: 20px 20px;
	}
	nav ul {
		padding: 40px;
	}
	nav ul li a,
	nav ul li span {
		font-size: 26PX;
		gap: 16px;
  	}
	nav ul .icon-container {
		width: 36px;
		height: 36px;
	}
	.contact-me a {
		font-size: 2.5rem;
		white-space: nowrap;
	}
	.contact-me .icon-container {
		width: 35px;
	}
	.text-content h2 {
		margin-bottom: 15px;
	}
	.contact-header {
		font-size: 3rem;
	}
}

@media screen and (max-width: 350px) {
	.logo span {
		display: none;
	}
	.text-content h2 {
		font-size: 2rem;
	}
	.stat-number {
		font-size: 2rem;
	}
	.stat-name {
		font-size: 1rem;
		padding: 0 2px;
	}
	.contact-header {
		font-size: 2.5rem;
	}
	.contact-form form {
		border-radius: 30px;
		padding: 30px 15px;
	}
	.contact-form .button {
		width: 80%;
	}
}


@media screen and (max-height: 500px) {
	body {
		padding: 20px 40px;
	}
	.logo span {
		font-size: 2.5rem;
	}
	section {
		width: 100%;
	}
	.stats {
		margin: 60px auto;
	}
	.contact-form {
		margin: 80px 0;
	}
	.contact-form form {
		width: 100%;
	} 
}

@media screen and (max-width: 780px) and (max-height: 500px),
screen and (max-height: 400px) {
	.record-player {
		width: 100%;
		margin: auto;
		position: static;
	}
	nav #burger-menu {
		width: 25px;
		height: 22px;
	}
	.logo img {
		height: 70px;
	}
	nav ul {
		background: var(--element-background-color-mobile);
		position: fixed;
		border: none;
		border-radius: 0;
		top: 0;
		right: 0;
		padding: 120px 80px 40px;
		width: 100%;
		height: 100%;
		justify-content: center;
		gap: 1.25rem;
	}
	nav ul li a,
	nav ul li span {
		color: var(--font-color);
		font-size: 24PX;
		gap: 16px;
	}
	nav ul .icon-container {
		width: 32px;
		height: 32px;
	}
}