@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
:root {
	--color-text: #($color-text);
}

/* RESET */
html {
	box-sizing: border-box;
	scroll-behavior: smooth;
	margin: 0 auto;
	padding: 0;
	font-size: 1em;
	line-height: 1.5;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
	padding: 0;
	margin: 0;
}

a {
	text-decoration: none;
	color: inherit;
}
a:hover {
	color: --color-accent-primary;
}
a:active {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	transform: translateY(1px);
}

ol,
ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

button {
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	line-height: normal;
	overflow: visible;
	padding: 0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
button:focus {
	outline: none;
}

/* END RESET */
body {
	margin: 0 auto;
	background: #21282c;
	color: #dedede;
	font-family: "Roboto", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
	color: #b4ab6a;
}

h1 {
	margin: 0.8em 0;
	font-size: 2.2em;
}

h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.2em;
	margin-top: 1.4em;
}

p {
	margin: 0.4em 0;
}

ul {
	padding: 0;
}

/* SECTIONS */
.container {
	position: absolute;
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: column;
}

header {
	position: fixed;
	z-index: 9999;
	width: 100%;
	background-color: #21282c;
	flex-shrink: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
header nav {
	display: flex;
	position: relative;
}
header nav .mobile-nav {
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 1em;
	display: none;
}
@media only screen and (max-width: 600px) {
	header nav .mobile-nav {
		display: flex;
	}
}
header nav .mobile-nav span {
	display: block;
	height: 2px;
	width: 30px;
	margin: 3px;
	background: #dedede;
}
header nav .mobile-nav.active span {
	background: #dedede;
}
header nav .mobile-nav:hover {
	color: #b4ab6a;
}
header nav .mobile-nav:hover span {
	background: #b4ab6a;
}
header nav .mobile-nav:hover.active span {
	background: #dedede;
}
header nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	transition: all ease 0.4s;
}
@media only screen and (max-width: 600px) {
	header nav ul {
		opacity: 0;
		max-height: 0px;
		overflow: hidden;
		visibility: none;
		display: flex;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		background-color: #21282c;
		margin-left: -100%;
	}
	header nav ul.active {
		opacity: 1;
		max-height: 100vh;
		width: 100vw;
		margin-left: 0;
	}
	header nav ul.active li {
		display: block;
	}
	header nav ul.active li a {
		display: block;
	}
}
header nav ul li {
	display: inline-block;
}
header nav ul li a {
	display: inline-block;
	text-decoration: none;
	padding: 1em;
}
header nav ul li a:hover {
	background-color: #e1e1e1;
	color: #b4ab6a;
}

button {
	background-color: none;
	margin: 1em;
	border: 1px solid #b4ab6a;
	padding: 0.6em 1.2em;
	color: #b4ab6a;
	transition: all ease 0.3s;
}
button a {
	display: flex;
	align-items: center;
}
button:hover {
	background-color: #b4ab6a;
}
button:hover a {
	color: #dedede;
}

a:hover {
	color: #b4ab6a;
}
a.active {
	color: #b4ab6a;
	transform: translateY(1px);
	font-weight: bold;
}

main {
	flex-grow: 1;
	-ms-scroll-snap-type: mandatory;
	scroll-snap-type: mandatory;
}
main section {
	scroll-snap-align: start;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding-top: 56px;
}
main section#home {
	height: 100vh;
}
main section#home img {
	width: 200px;
	height: 200px;
	border-radius: 50%;
}
main section#home h1 {
	margin: 1em 0;
}
main section#home p {
	max-width: 720px;
	text-align: center;
	margin: 0 1em;
}
main section#portfolio {
	width: 100%;
	overflow: hidden;
}
main section#cv {
	display: flex;
	flex-direction: column;
}
@media only screen and (min-width: 600px) {
	main section#cv {
		margin: 0 auto;
		max-width: 70%;
		flex-direction: row;
		align-items: flex-start;
	}
	main section#cv .cv-left {
		text-align: right;
	}
	main section#cv .cv-left,
	main section#cv .cv-right {
		max-width: 50%;
		margin-top: 4em;
	}
}
main section#cv .cv-section {
	padding: 1em 2em;
}
main section#cv .skill-wrapper .skill-icon {
	height: 30px;
	color: #dedede;
	margin: 1em 0 0 1em;
}
main section#contact {
	height: 100vh;
}
main section#contact .social-nav ion-icon {
	font-size: 32px;
	padding: 1em 0.3em;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

footer {
	width: 100%;
	height: 50px;
	padding: 0.2em 1em;
	flex-shrink: 0;
	text-align: center;
}
footer p {
	font-size: 0.8em;
}

/* ICONS */
ion-icon {
	font-size: 24px;
}
ion-icon:active {
	transform: translateY(1px);
}

/* Mood-selector */
#mood-selector {
	display: flex;
	align-items: center;
}
#mood-selector p {
	font-size: 0.9em;
	margin-right: 1em;
	text-transform: uppercase;
}
#mood-selector div {
	margin: 0 0.5em;
}
#mood-selector .diamond {
	width: 0;
	height: 0;
	border: 10px solid transparent;
	position: relative;
	top: -10px;
}
#mood-selector .diamond:after {
	content: "";
	position: absolute;
	left: -10px;
	top: 10px;
	width: 0;
	height: 0;
	border: 10px solid transparent;
}
#mood-selector .diamond.diamond-dark-primary {
	border-bottom-color: #363636;
}
#mood-selector .diamond.diamond-dark-primary:after {
	border-top-color: #b4ab6a;
}
#mood-selector .diamond.diamond-dark-secondary {
	border-bottom-color: #363636;
}
#mood-selector .diamond.diamond-dark-secondary:after {
	border-top-color: #65b4b7;
}
#mood-selector .diamond.diamond-light-primary {
	border-bottom-color: #dedede;
}
#mood-selector .diamond.diamond-light-primary:after {
	border-top-color: #b4ab6a;
}
#mood-selector .diamond.diamond-light-secondary {
	border-bottom-color: #dedede;
}
#mood-selector .diamond.diamond-light-secondary:after {
	border-top-color: #65b4b7;
}

/* image slider (swiper.js)  */
.swiper-container {
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
}

.swiper-container img {
	width: 100%;
}

.swiper-container .swiper-button-next,
.swiper-container .swiper-button-prev {
	color: #dedede;
}
