@media(min-width: 768px){
	.header .nav{
	    display: block!important;
    }
}

@media(max-width: 991px){
	.gallery-section .gallery-item,
	.people-section .people-item,
	.event-section .event-item{
	   flex: 0 0 50%;
	   max-width: 50%;
    }
}

@media(max-width: 767px){
	.header .logo{
		padding: 8px 15px;
	}
	.header .hamburger-btn{
		display: flex;
		margin-right: 15px;
	}
	.header .nav{
		flex: 0 0 100%;
		max-width: 100%;
		background-color: #ffffff;
		border: 1px solid #cccccc;
		display: none;
	}
	.header.fixed .nav{
		border-top: 1px solid #cccccc;
	}
	.header .nav ul li{
		display: block;
		margin-left: 0;
	}
	.header .nav ul li a{
		color: #000000;
		padding: 10px 0;
	}
	.home-section .home-contentn h1{
		font-size: 60px;
	}
	.message-section .message-card{
		padding: 26px 20px;
		margin: 0 15px;
	}
	.message-section .message-card p{
		font-size: 16px;
	}
	.message-section .message-card h3{
		font-size: 22px;
	}
	.formation-section .formation-card{
		margin: 0 15px;
		padding: 22px 18px;
	}
	.formation-section .formation-card h3{
		font-size: 22px;
	}
	.formation-section .formation-card p,
	.formation-section .formation-list li{
		font-size: 15px;
	}
	.couple-section .couple{
		flex: 0 0 100%;
		max-width: 100%;
		padding: 0 15px;
	}
	.couple-section .couple:nth-child(2){
		margin-top: 50px;
	}
	.couple-section .couple:nth-child(2):before{
		content: none;
	}
	.couple-section .couple i.fa-cross{
		display: none;
	}
	.story-section .program-card{
		padding: 26px 20px;
		margin: 0 15px;
	}
	.story-section .program-card h3{
		font-size: 22px;
	}
	.story-section .program-list li,
	.story-section .program-sublist li{
		font-size: 15px;
	}
	.event-section .event-item:nth-child(2){
		transform: translateY(0px);
	}
	.event-section .event-item{
		flex: 0 0 100%;
		max-width: 100%;
	}
	.countdown-grid{
		grid-template-columns: repeat(2, minmax(120px, 1fr));
	}
	.countdown-section .countdown-card{
		padding: 28px 18px;
	}
	.countdown-section h3{
		font-size: 28px;
	}
}


@media(max-width: 574px){
	.rsvp-section .form{
		padding:  10px 0 0 ;
	}
	.home-section .home-contentn h1{
		font-size: 40px;
	}
	.rsvp-section .form .input-group.w50,
	.gallery-section .gallery-item,
	.people-section .people-item{
		flex: 0 0 100%;
		max-width: 100%;
	}
	.footer .footer-content .couple-name{
		width: 290px;
		height: 290px;
	}
	.footer .footer-content p,
	.footer .footer-content .couple-name h2{
		font-size: 32px;
	}
	.map-section iframe {
		height: 300px;
	}
	.countdown-value{
		font-size: 30px;
	}
	.countdown-note{
		font-size: 14px;
	}
}