@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Lexend+Deca:wght@200;300;400;500;600;700;800&display=swap");

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

:root {
	--Inter: "Inter", sans-serif;
	--Lexend: "Lexend Deca", sans-serif;

	--purple-light: #182454;
	--white: #fefbfb;
	--white200: #c4c4c4;
	--gray200: #a4dcdc;
	--dark: #13131f;
}

/* html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}

body {
	background-color: var(--dark);
	display: flex;
	align-items: center;
	justify-content: center;
} */

/* a {
	text-decoration: none;
} */

/* SCROLLBAR */
::-webkit-scrollbar {
	width: 0.1rem;
}

::-webkit-scrollbar-track {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: var(--purple-light);
}

/* SUPPORT SCROLLBAR */
@supports (scrollbar-color: gray purple) {
	* {
		scrollbar-color: var(--purple-light) var(--gray200);
		scrollbar-width: auto;
	}
}

/* ALL IMGS BUTTON */
/* .img-btn {
	width: 6rem;
	min-height: 2.5rem;
	position: absolute;
	top: 1rem;
	left: 1rem;
	border: none;
	text-align: center;
	border-radius: 0.3rem;
	color: var(--white);
	font-family: var(--Lexend);
	font-size: 1.4rem;
	background: var(--purple-light);
} */

/* IMAGE HOVER EFFECT */
.scroll-img {
	transition: all 0.3s ease;
	filter: brightness(0.6);
}

.scroll-img:hover {
	filter: brightness(1);
}

/* SCROLL IMAGES CONTAINER */
.scroll-imgs-container {
	margin-top: 0;
    margin-left:-25px;
	max-height: 15rem;
	overflow-y: scroll;
	display: flex;
    align-items: flex-start;
	flex-wrap: wrap;
	gap: 1.6rem 0;
	flex: 0 1 420px;
}

/* PAIN IMG */
/* .scroll-img {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 20rem;
	min-height: 15.1rem;
	background: url("https://i.imgur.com/PGeufpt.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
} */

/* DEADPOOL IMG
.scroll-img-item:nth-child(2) .scroll-img {
	background: url("https://i.imgur.com/3L128HY.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

/* MINECRAFT IMG */
/* .scroll-img-item:nth-child(3) .scroll-img {
	background: url("https://i.imgur.com/yLKf4nz.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
} */

/* HARRY P. IMG */
/* .scroll-img-item:nth-child(4) .scroll-img {
	background: url("https://i.imgur.com/If644nP.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
} */

/* SUPERNATURAL IMG */
/* .scroll-img-item:nth-child(5) .scroll-img {
	background: url("https://i.imgur.com/XLEp4MO.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
} */

.scroll-img-item:nth-child(7) .scroll-img {
	background: url("https://i.imgur.com/If644nP.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.scroll-img-item {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	position: relative;
}

.scroll-img-item:nth-child(5) .img-btn {
	top: 1.6rem;
}

.scroll-img-texts {
	display: flex;
	width: 100%;
	height: 100%;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: space-between;
	padding: 0.5rem 1.5rem 0.5rem 1.5rem;
	align-items: flex-start;
}

.scroll-img-title {
	color: grey;
	font-family: var(--Lexend);
	font-size: 1.1rem;
	line-height: 1.5rem;
}

.scroll-img-text {
	font-family: var(--Inter);
	color: #a4dcdc;
	font-size: 1rem;
	line-height: 1.5rem;
}

.scroll-img-date {
	font-family: var(--Inter);
	font-weight: 600;
	color: var(--white200);
	line-height: 2rem;
}

.scroll-btn {
	background: var(--purple-light);
	border: none;
	border-radius: 0.3rem;
	width: 6rem;
	min-height: 2.5rem;
	transition: all 0.2s;
	cursor: pointer;
}

.scroll-btn:hover {
	transform: scale(0.9);
}

.scroll-btn a {
	font-family: var(--Inter);
	font-weight: 400;
	font-size: 0.8rem;
	color: var(--white);
}

/* MEDIAS */
@media (max-width: 500px) {
	.scroll-imgs-container {
		padding-right: 0.5rem;
		row-gap: 3rem;
	}

	.scroll-img-item {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.scroll-img {
		max-width: 100%;
	}

	.scroll-img-item:nth-child(5) .img-btn {
		top: 1rem;
	}
}
