.main-content{
	margin: auto;
    width: 80%;
	max-width: 1400px;
	display: flex;
	flex-direction: column;
	margin: auto;
	padding: 2rem;
	position: relative;
}

.main-content-item{
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: left;
	gap: 1rem;
	padding: 1rem;
}

.grid-card-container{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 2rem;
	padding: 10px;
	align-items: start; /* Aliniere implicită sus */
}

 .card-w-icon{
	background-color: #fff;
	position: relative;
	height: 280px;
	color: #000;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	box-shadow: 2px 2px 6px 2px  #e78e4e;
 }


 .card-w-icon img{
	width: 50px;
	height: 50px;
 }

 .card-title{
	font-size: 1.2rem;
	font-weight: bold;
 }

 .card-title a{
	font-size: 1.2rem;
	font-weight: bold;
	color: #000;
	transition: .3s;
 }
 
 .card-title a:hover{
	color: #e78e4e;
 }

 .card-content{
	max-height: 120px;
	overflow: hidden; 
	display: -webkit-box; 
	-webkit-line-clamp: 5; 
	line-clamp: 5;
	-webkit-box-orient: vertical; 
	text-overflow: ellipsis; 
 }

.main-content-service-i-t{
	font-size: 1.5rem;
	color: #7c7b7b
}

.card-w-image{
	background-color: #fff;
	position: relative;
	height: auto;
	color: #000;
	padding: 15px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: calc(33.33% - 20px);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 450px;
}

.info {
    padding: 15px;
    background-color: #fff;
    color: #333;
}

.info p {
    font-size: 1em;
	text-align: left;
	font-weight: bold;
    color: #666;
}

.floating-message-bottom-arrow{
	position: absolute;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 18px;
	bottom: 5%;
	right: 3%;
	transition: .3s;
	padding: 5px;
	overflow: hidden;
}

.floating-message-top-arrow{
	position: absolute;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 18px;
	top: 2%;
	right: 2%;
	transition: .3s;
	padding: 5px;
	overflow: hidden;
}

.floating-message-bottom-arrow img,
.floating-message-top-arrow img{
	width: 30px;
	height: 30px;
}

.floating-message-bottom-arrow:hover img,
.floating-message-top-arrow:hover img{
	animation: a1 .3s linear;  
}

.floating-message-top-arrow:hover{
	background-color: #f2f2f2;
}

a .floating-message-bottom-arrow, 
a .floating-message-top-arrow, 
a:visited .floating-message-bottom-arrow{
	color: #000;
	font-size: 1.1rem;
}

.main-content-about{
	display: flex;
	flex-direction: column;
	justify-content: left;
	align-items: left;
	gap: 2rem;
}

.about-i{
	color: #144584;
	font-style: italic;
	text-align: center;
}

 

@keyframes a1 {
	90%,100%{transform: translateX(120%)}
}

@media (max-width: 1300px) {
    
    .gallery-item {
        width: calc(50% - 20px); 
    }
}

@media (max-width: 900px) {
    .gallery-item {
        width: calc(100%); 
    }
    
	.floating-message-top-arrow{
	    position: relative;
	}
}

 @media only screen and (max-width: 600px) {	 
	.main-content{
		width: 100%;
	}
	
	.gallery-item img {
        height: 350px;
    }
}

@media only screen and (max-width: 440px) {	 
	.grid-card-container{
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		padding: 0;
		margin: 0;
	}
}
 
 