@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
	margin: 0;
	padding: 0;
	box-sizing:content-box;
	color: white;
}

body{
	background-color: black;
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

.content{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.logo{
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 10px 0;
}
.logo img{
	width: 60%;
	max-width: 400px;
	height: auto;
}

.text{
	display: flex;
	flex-direction: column;
	align-items: center;
}
.text h1{
	font-size: 2.5rem;
}
.text h3{
	font-size: 1.5rem;
}

.cards{
	max-width: 800px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: calc(100% - 100px);
	padding: 50px;
	gap: 20px;
}

.overlay{
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
}
.overlay.show{
	display: block;
}

.card{
	transition: 0.2s;
}

.card:not(.open):hover{
	transform: scale(1.1);	
}

.card > img{
	width: 140px;
	height: auto;
}

.card .details{
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	height: 600px;
	overflow: hidden;
	z-index: 100;
	border-radius: 20px;
}

.card .details > span{
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 1.7rem;
	cursor: pointer;
	z-index: 110;
}

.card .details img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(.5);
}

.card .details .content{
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 101;
}


.contact h4{
	opacity: .7;
	font-weight: 400;
	margin-bottom: 20px;
}

/* minus than 482px width */
@media screen and (max-width: 482px){
	.card .details{
		width: 100%;
		height: 100%;
		border-radius: 0;
	}
	
}