.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* Optional stagger */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

#everything{
	width: 100vw;
	background-color: #400606;
}

#container_all{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

h1{
	width: 85%;
	margin-top: 150px;
	max-width: 1400px;
}

#title_showcase{
	font-family: "Playfair Display", serif;
	font-weight: 700;
	font-style: italic;
	font-size: 120px;
	letter-spacing: 0em;
	color: #FFFBE9;
	hyphens: none;  
}

#title_work{
	font-family: "Archivo", sans-serif;
	font-weight: 700;
	font-size: 120px;
	line-height: 100px;
	letter-spacing: 0em;
	color: #FFFBE9;
}

#categories_buttons_container_parent{
	margin-top: 40px;
	display: flex;
	width: 100vw;
	justify-content: center;
	align-items: center;
}

#categories_buttons_container{
	width: 90%;
	max-width: 1440px;
}

.categories_button{
	font-family: "Archivo", sans-serif;
	font-weight: 300;
	color: #ffffff;
	font-size: 22px;
	line-height: 30px;
	letter-spacing: 1px;
	transition: transform 0.3s ease-out;
	border: 0;
	background-color: transparent;
	margin-left: 40px;
	text-decoration: underline;
	width: auto;
	text-align: left;
	padding-top: 20px;
	cursor: pointer;
}

.active{
	font-weight: 700;
}

.categories_button:hover{
	transform: scale(1.05);
	color: #A3C5F3;
}

.categories_button:active{
	transform: scale(1);
	color: #A3C5F3;
}

#projects_container{
	display: flex;
	flex-wrap: wrap;
	flex-direction: flex-start;
	width: 90%;
	max-width: 1440px;
}

#projects_container_parent{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	flex-direction: flex-start;
	padding-bottom: 200px;
	padding-top: 80px;
}

.project_item img {
	 transition: transform 0.5s ease, filter 0.4s ease;
}

.project_item:hover img {
    transform: scale(1.05) translateY(-5px);
}

.project_item:active img {
    transform: scale(1) translateY(-5px);
}

.project_item_links{
	width: 31%;
	padding-left: 2%;
	padding-top: 2%;
}

.project_item_links a{
	width: 100%;
}

.project_item_links a img{
	width: 100%;
}

.project_item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.project_item.show {
    opacity: 1;
    transform: translateY(0);
}

@media only screen and (max-width: 1100px) {
	#title_showcase{
		font-size: 120px;
		line-height: 125px;
		letter-spacing: 0em;
		color: #FFFBE9;
		text-align: center;
	}

	#title_work{
		font-size: 120px;
		text-align: center;
	}

	#categories_buttons_container{
		width: 93%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
	}

	#categories_buttons_container_parent{
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
}

@media only screen and (max-width: 1000px) {
	.project_item_links{
		width: 46%;
		padding-left: 2%;
		padding-top: 2%;
	}
}

@media only screen and (max-width: 800px) {
	#categories_buttons_container{
		width: 90%;
		margin-left: -5%;
	}
}

@media only screen and (max-width: 670px) {
		h1{
		text-align: center;
	}
	#title_showcase{
		font-size: 90px;
		line-height: 80px;
		letter-spacing: 0em;
		color: #FFFBE9;
	}

	#title_work{
		font-size: 90px;
	}

	#categories_buttons_container{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	#projects_container{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.project_item_links{
		width: 92%;
		padding-top: 8%;
		padding-left: 0;
	}
	.categories_button{
		font-size: 20px;
		text-align: center;
		margin-left: 0;
	}
}

@media only screen and (max-width: 450px) {
	#title_showcase{
		font-size: 70px;
		line-height: 70px;
		letter-spacing: 0em;
		color: #FFFBE9;
	    hyphens: auto;          /* enable automatic hyphenation */
	    -webkit-hyphens: auto;  /* Safari */
	    -ms-hyphens: auto;      /* older Edge */
	    overflow-wrap: break-word;
	    word-break: break-word;
	}

	#title_work{
		font-size: 70px;
	}
}