@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

:root{
	--fontePrincipal: 'Roboto', sans-serif;
	font-size: 16px;
}

*{
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}

::-webkit-scrollbar{
	width: 8px;
}

::-webkit-scrollbar-track{
	background-color: #2c2c31;
}

::-webkit-scrollbar-thumb{
	background-color: #9e9ea0;
}

@keyframes entering {
	from{
		opacity: 0;
		transform: translateX(200px);
	}
	to{
		opacity: 1;
		transform:translateX(0);
	}
}

@keyframes entering-reverse {
	from{
		opacity: 0;
		transform: translateX(-200px);
	}
	to{
		opacity: 1;
		transform:translateX(0);
	}
}

body{
	display: grid;
	grid-template-areas: "profile timeline";
	grid-template-columns:30% 70%;
	grid-template-rows: 100vh;
	background-color: #121215;
	color: #eaeaea;
	font-family: var(--fontePrincipal);
	height: 100vh;
}

nav{
	padding: 4rem;
	grid-area: "timeline";
	overflow-y: scroll;
	width: 100%;
	animation: entering 0.8s ease-in-out;
}

.memory{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 4rem;
}

.memory small{
	color: #bebebf;
	font-size: 0.75rem;
}

.memory h1{
	font-size: 2rem;
}

.memory img{
	width: 100%;
	height: 17rem;
	object-fit: cover;
	border-radius: 1rem;
	transition: transform 0.4s ease-in-out;
}

.memory div{
	width: 100%;
	height: 17rem;
	overflow: hidden;
	border-radius: 1rem;
}

.memory img:hover{
	transform: scale(1.1);
	transition: ;
}

.memory p{
	font-size: 1.13rem;
	color: #bebebf;
	line-height: 1.7rem;
}

aside{
	grid-area: "profile";
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-right: 1px solid;
	border-image: linear-gradient(#727275, #2c2c31) 1 ;
	gap: 1.2rem;
	background-image: url("/assets/background.svg");
	background-position: top right;
	background-repeat: no-repeat;
	background-size: auto 100%;
}

aside *{
	animation: entering-reverse 0.8s ease-in-out
}

aside .perfil{
	width: 15rem;
	border-radius: 50%;
	border: 0.5px solid transparent;
	background: linear-gradient(#d39e33, #ed5636, #633bbc) padding-box, linear-gradient(#d39e33, #ed5636, #633bbc) border-box;
}

aside p{
	font-size: 2rem;
	text-align: center;
}

aside span{
	font-size: 0.75rem;
	color: #9e9ea0;
}
