/* fonts */
@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,200;0,400;0,500;0,800;0,900;1,500&family=Bodoni+Moda:wght@700&display=swap");

/* variables */
:root {
	--primary: rgb(208, 108, 79);
	--primary50: rgba(208, 108, 79, 0.5);
	--secondary: rgb(25, 56, 61);
	--secondary50: rgba(25, 56, 61, 0.5);
	--accent: rgb(191, 162, 70);
	--accent50: rgba(191, 162, 70, 0.5);
	--accent2: rgb(234, 229, 199);
	--accent250: rgba(234, 229, 199, 0.5);
	--gray100: rgb(242, 248, 246);
	--gray300: rgb(206, 215, 212);
	--gray500: rgb(129, 139, 136);
	--gray700: rgb(86, 95, 92);
	--gray900: rgb(32, 38, 36);
}

/* fonts settings */
h1 {
	font-size: 64px;
	font-style: regular;
	font-weight: 400;
	color: var(--secondary);
	font-family: "Bodoni Moda", serif;
	margin: 1em 0em;
	display: flex;
	justify-content: center;
	align-items: center;
}
h2 {
	font-size: 52.5px;
	font-weight: 900;
	line-height: 25px;
	color: var(--secondary);
}
h3 {
	font-size: 32px;
	font-weight: 500;
	font-style: italic;
	line-height: 50px;
	color: var(--secondary);
}
p {
	font-size: 20px;
	font-weight: 400;
	/* color/line height changes  */
}

/* button settings */
button {
	font-size: 20px;
	line-height: 30px;
	text-transform: uppercase;
	color: var(--accent2);
	background-color: var(--secondary);
	border: 3px solid var(--accent2);
	border-radius: 5px;
	padding: 5px 12px;
	transition: background-color 0.5s;
}
button:hover {
	background-color: var(--accent2);
	color: var(--secondary);
	border-color: var(--secondary);
}

/* back button settings */
html {
	scroll-behavior: smooth;
}
.back-btn a {
	font-size: 30px;
	color: var(--primary);
}
.back-btn {
	position: fixed;
	right: 20px;
	bottom: 20px;
	display: none;
	z-index: 1000;
}
.back-btn a:hover {
	color: var(--accent);
}

/* document settings */
body {
	font-family: "Archivo", sans-serif;
	background-color: var(--gray100);
}
.container {
	width: 1440px;
	margin: 0 auto;
}

/* navigation */
.navigation {
	height: 100px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 3em;
}
nav {
	padding-left: 5em;
}
nav li,
footer li {
	list-style-type: none;
	justify-content: center;
	font-size: 20px;
	font-weight: 500;
	font-style: italic;
	text-transform: uppercase;
	margin: 30px;
}
nav a {
	color: var(--gray900);
	text-decoration: none;
}
nav ul {
	display: flex;
}

/* navigation hover state */
nav a:hover {
	border-bottom: 10px solid var(--primary50);
}
.site-map a:hover {
	color: var(--primary);
}

/* name title */
.hero {
	position: relative;
	background: url(img/better-hero-crop.png);
	height: 75vh;
	background-size: cover;
	background-position: center;
}
.hero-title {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
}
.hero-title img {
	height: 100%;
}
.hero-img {
	background-image: cover;
}

/* hero boxes/subtitle */
.box1 {
	background-color: var(--primary50);
	width: 332px;
	height: 240px;
	position: absolute;
	left: 440px;
	top: 158px;
}
.box2 {
	background-color: var(--accent50);
	width: 204px;
	height: 220px;
	position: absolute;
	left: 740px;
	top: 390px;
}
.box3 {
	background-color: var(--accent250);
	width: 633px;
	height: 290px;
	position: absolute;
	right: 30px;
	bottom: 50px;
}
.hero-subtitle {
	text-align: right;
	padding: 5.5em 2em 1.5em 0;
}
.hero-subtitle p {
	line-height: 1.5em;
}

/* road to fame section */
img {
	display: block;
}
.road-to-fame {
	width: 1152px;
	margin: 0 auto;
}
.road-to-fame > div {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 5em;
}
.section1 {
	background-color: var(--accent250);
	height: 386px;
	position: relative;
	left: -7em;
}
.section1::before {
	content: "";
	display: block;
	z-index: -1000px;
	width: 189px;
	height: 224px;
	background: var(--primary50);
	position: absolute;
	top: 0px;
	right: -300px;
}
.section2 {
	background-color: var(--primary50);
	height: 346px;
	position: relative;
	right: -7em;
}
.section2::before {
	content: "";
	display: block;
	z-index: -1000px;
	width: 189px;
	height: 346px;
	background: var(--secondary50);
	position: absolute;
	top: 0px;
	left: -270px;
}
.section3 {
	background-color: var(--secondary50);
	height: 506px;
	position: relative;
	left: -7em;
}
.section3::before {
	content: "";
	display: block;
	z-index: -1000px;
	width: 219px;
	height: 264px;
	background: var(--accent250);
	position: absolute;
	top: 0px;
	right: -270px;
}
.section3::after {
	content: "";
	display: block;
	z-index: -1000px;
	width: 80px;
	height: 506px;
	background: var(--accent50);
	position: absolute;
	top: 0px;
	right: -270px;
}
.section4 {
	background-color: var(--accent50);
	height: 386px;
	position: relative;
	right: -7em;
}
.section4::before {
	content: "";
	display: block;
	z-index: -1000px;
	width: 138px;
	height: 224px;
	background: var(--secondary50);
	position: absolute;
	top: 0px;
	left: -270px;
}
.section4::after {
	content: "";
	display: block;
	z-index: -1000px;
	width: 159px;
	height: 386px;
	background: var(--primary50);
	position: absolute;
	top: 0px;
	left: -180px;
}
.info {
	justify-content: left;
	line-height: 2em;
	gap: 0em;
	padding: 2em;
}

/* music section */
.pic-info {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8em;
	position: relative;
	margin: 5em 0;
}
.music-pic {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.music-pic::before {
	content: "";
	display: block;
	z-index: -1;
	width: 250px;
	height: 250px;
	background: var(--primary50);
	position: absolute;
	top: -25px;
	left: -25px;
}
.music-info {
	position: relative;
	width: 25%;
	gap: 17px;
}
.music-info h3 {
	line-height: 35px;
}
.music-info p {
	line-height: 30px;
}

/* chopin-section */
.info-part {
	display: flex;
	justify-content: center;
	margin: 6em;
	gap: 4em;
}
.last-info p {
	line-height: 40px;
	color: var(--gray700);
	padding-top: 2.5em;
}
.photo {
	position: relative;
}
.photo::before {
	content: "";
	position: absolute;
	display: block;
	width: 80px;
	background: var(--secondary50);
	z-index: -1000;
	top: 0;
	bottom: 0;
	left: -100px;
}

/* footer */
footer {
	background-color: var(--secondary);
	height: 336px;
	padding: 2em 6em 2em 3em;
	text-align: center;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
footer a {
	text-decoration: none;
	color: var(--gray100);
}
.site-map p {
	line-height: 70px;
	color: var(--gray100);
}
.contact-info {
	display: inline-block;
	justify-content: center;
	align-items: center;
}
.connect p {
	align-items: center;
}
.contact-info p {
	font-size: 24px;
	font-weight: 500;
	color: var(--gray100);
}
.icons {
	display: flex;
	justify-content: center;
	gap: 4em;
}
.copyright p {
	font-size: 20px;
}

/* form within footer */
form p {
	font-size: 22px;
	font-weight: 500;
	font-style: italic;
	color: var(--gray100);
}
.icons {
	margin: 3em 0;
}
form input {
	width: 200px;
	padding: 1em;
	justify-content: center;
	border-radius: 5px;
}
form > button {
	margin: 1.5em 0.5em;
}
