
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');


body {
	background-color: #f9f3ff;
}

.img-list:hover {
	transform: rotate(2deg);
	transition: 0.3s all ease-in-out;
}

.card:hover {
	transform: rotate(2deg);
}

.event-img > img:hover {
	scale: 1.2;
	transition: all 0.5s ease;
}

.containers {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #f9f3ff;
}

.header {
	z-index: 1;
	position: sticky;
	top: 0;
	display: flex;
	flex-direction: column;
	padding-top: 5px;
	align-items: cetner;
	justify-content: center;
	width: 100%;
	background-color: #f9f3ff;
    justify-content: center;
}

.logo {
	width: calc(50px + (81 / (1024 - 450)) * (100vw - 350px));
	height: calc(40px + (40 / (1024 - 450)) * (100vh - 350px));
	object-fit: contain;
	max-width: 130px;
	max-height: 70px;
	min-width: 70px;
	min-height: 50px;
	transition: width 0.3s ease, height 0.3s ease;
	width: 20%;
	margin-left: 30px;
}

/* 
.logo > img{
	width: calc(50px + (81 / (1024 - 450)) * (100vw - 350px));
	height: calc(40px + (40 / (1024 - 450)) * (100vh - 350px));
	object-fit: contain;
	max-width: 115px;
	max-height: 65px;
	min-width: 70px;
	min-height: 50px;
	transition: width 0.3s ease, height 0.3s ease;
	width: 20%;
	margin-left: 30px;
} */

.header-content {
	width: 80%;
	display: flex;
	justify-content: center;
}

.header-content > p {
	font-size: 18px;
	font-weight: 800;
	color: #7f5e9f;
    font-family: 'Dancing Script';
}

main {
	margin: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	width: 90%;
    background-color: #f9f3ff !important;
}

.card{
    position: relative;
    width: 90%;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;

}

.event-img{
    width: 100%;
    object-fit: cover;
}



.card-details{
    padding-left: 10px;
    padding-right: 10px;
    height: 50px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to bottom, #ffffff00, #0000004f, #000000);
}

/* sm */
@media (min-width: 640px) {
	.header-content > p {
		font-size: 32px;
		margin-top: 20px;
	}

	main {
		flex-direction: row;
		flex-wrap: wrap;
	}
    .card{
        width: 255px;
        height: 250px;
    }
}

/* md */
@media (min-width: 768px) {
	.header {
		flex-direction: row;
         
	}

	.header-content {
		margin-left: -10%;
	}
}

/* xl */
@media (min-width: 1280px) {
	.header-content > p {
		font-size: 42px;
	}
	main {
		width: 75%;
	}
}
