@font-face {
    font-family: 'Qalogre';
    src: url('https://westbuckland.com/wp-content/themes/WestBuckland-new/fonts/Qalogre.eotQalogre.eot');
    src: url('https://westbuckland.com/wp-content/themes/WestBuckland-new/fontsQalogre.eot?#iefix') format('embedded-opentype'),
        url('https://westbuckland.com/wp-content/themes/WestBuckland-new/fonts/Qalogre.woff2') format('woff2'),
        url('https://westbuckland.com/wp-content/themes/WestBuckland-new/fonts/Qalogre.woff') format('woff'),
        url('https://westbuckland.com/wp-content/themes/WestBuckland-new/fonts/Qalogre.ttf') format('truetype'),
        url('https://westbuckland.com/wp-content/themes/WestBuckland-new/fonts/Qalogre.svg#Qalogre') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


.swiper-wrapper {
	transform: translate3d(0px, 0, 0) !important;
}

.modules-container .module--hero .hero__slider {
    width: 101%;;
}


.christmas-heading {
	background: rgba(135, 1, 0, 0.5);
	color: #fff;
	padding: 10px 40px 20px 40px;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    position: absolute;
    bottom: 0;
    left: 0;
    animation: slideInFromRight 1.5s ease-out forwards;
}

@keyframes slideInFromRight {
    from {
        transform: translate(-100vw, -50%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.christmas-heading h1 {
	font-family: 'Qalogre';
	font-size: 47px;
    margin-top: 0;
    margin-bottom: 0;
	line-height: 1.3;
}

.christmas-heading span {
	font-size: 30px;
}


.christmas-heading h1 span {
	display: block;
}

/* background */

.christmas-backdrop-top {
	background-repeat: repeat-x;
	background-position: top;
	background-size: 1448px 535px;
	background-color: #fff;
}

.christmas-wrapper {
	padding-top: 60px;
}

.christmas-grid-bg {
	background: rgba(255, 255, 255, 0.84);
	box-shadow: 6px 6px 12px #00000029;

}

.christmas-grid-bg.container-fluid {
	max-width: 1304px;
	padding: 60px 40px 60px 40px;
	;
}

.christmas-grid-bg__title {
	display: flex;
	justify-content: space-between;
	padding-bottom: 40px;
}

.christmas-grid-bg__text h2 {
	font-size: 75px;
	   font-family: 'Qalogre';
	   color: #052971
}

.christmas-grid-bg__text p {
	font-size: 20px;
	   color: #052971
}

/* Christmas grid */
.christmas-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	padding: 40px 20px;
	background-size: cover;
}

.christmas-grid div {
/* 
	border: 2px solid #fff; */
	/* border-bottom: 3px solid #fff; */
	/* border-radius: 8px; */
	/* height: 150px; */
		width: 237px;
	height: 237px;
    margin: 0 auto;
}

.back-door {

	position: relative;
	display: block;
	width: 237px;
	height: 237px;
	margin: 0 auto;

}

.door {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 237px;
	height: 237px;
	transform-origin: left;
	/*Speed of the Door animation*/
	transition: all 0.5s ease-in-out;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.door:hover {
    cursor: pointer;
}

.door span {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	font-size: 70px;
	color: #052971;
	background-color: rgba(255, 255, 255, 0.6);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	/* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */

	border: 5px solid #fff;

    box-shadow:
    inset 5px 0 5px -5px rgba(0, 0, 0, 0.4), 
    inset 0 5px 5px -5px rgba(0, 0, 0, 0.4);
}

.door-open {
	transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-105deg);
	box-shadow: inset 8px 0 12px -4px rgba(0, 0, 0, 0.4),
		inset 0 8px 12px -4px rgba(0, 0, 0, 0.3);
}

.door-reveal {
	display: flex;
	flex-direction: column;
	height: 100%;
	align-items: center;
	justify-content: space-evenly;
	background-color: rgba(255, 255, 255, 0);
	-webkit-backdrop-filter: blur(0px);
	backdrop-filter: blur(0px);
	opacity: 0;
	transition: all 0.5s ease-in-out;
    border: 5px solid #fff;
}

/* Show background when door is open */
.back-door:has(.door-open) .door-reveal {
	background-color: rgba(255, 255, 255, 0.6);
	opacity: 1;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.door-reveal a {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}


.door-reveal p {
	color: #052971;
	margin-bottom: 0;
	font-weight: 700;
	text-align: center;
}

.door-reveal img {
	max-width: 100%;
}


.christmas-footer {
	height: 280px;
	background-repeat: repeat-x;
	background-position: top;
	background: #fff;
	position: relative;
	z-index: 1;
	top: 75px;
}

.text__image-container {
	position: relative;
	z-index: 2;
}

#modules {
	background: #fff;
}

@media (max-width: 600px) {
    .christmas-heading {
     position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    }

	.christmas-grid-bg__title {
		flex-direction: column;
	}

	.christmas-grid-bg__text h2 {
		font-size: 55px;
	}
}

@media (min-width: 600px) {
    .christmas-heading {
        left: 220px
    }

	.christmas-grid-bg__text p {
	font-size: 30px;
	
}
}

/* Medai Quries */
@media (min-width: 992px) {

    .christmas-grid {
        grid-template-columns: 1fr 1fr 1fr;
	    gap: 40px;
	 
    }
}

/* Medai Quries */
@media (min-width: 1024px) {

    .christmas-grid {
        grid-template-columns: 1fr 1fr 1fr;
	    gap: 50px;
	    /* padding: 200px 130px; */
    }
}

/* Medai Quries */
@media (min-width: 1200px) {

    .christmas-grid {
        grid-template-columns: 1fr 1fr 1fr;
	    gap: 80px;
	    padding: 200px 130px;
    }
}
