/*==================================================
Recipe Hero Slider
==================================================*/

:root{
    --primary:#c62828;
    --white:#ffffff;
    --black:#111111;
    --transition:.45s ease;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

.recipe-slider{
    position:relative;
    width:100%;
    height:80vh;
    min-height:750px;
    overflow:hidden;
    background:#111;
}

/*============================
Background
=============================*/

.recipe-slider__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: translateX(100%);
    transition: transform 0.8s ease;
    z-index: 1;
}

.bg-slide.active {
    transform: translateX(0);
    z-index: 2;
}

.bg-slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

.recipe-slider__bg::after{

    content:"";

    position:absolute;

    inset:0;

    background:transparent;

}
/*============================
Red Shape
=============================*/

.recipe-slider__shape {
    position: absolute;
    left: 0;
    top: 0;
    width: 68%;
    height: 100%;
    background: linear-gradient(145deg, #000000 -20%, #E70909 108%);
    backdrop-filter: blur(12px);
    clip-path: polygon(0 0,82% 0,32% 248%,0 115%);
    z-index: 3;
}

/*============================
Overlay
=============================*/

.recipe-slider__overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
    90deg,
    rgba(0,0,0,.25),
    rgba(0,0,0,.05)
    );

    z-index:3;

}

/*============================
Container
=============================*/

.recipe-slider__container{
    position:relative;
    z-index:20;
    width:100%;
    max-width:1450px;
    height:100%;
    margin:0 auto;
    padding:0 80px;

    display:grid;
    grid-template-columns:52% 48%;
    align-items:center;
}
/*============================
Left Side
=============================*/

.recipe-slider__content{

    display:flex;
    align-items:flex-start;

    gap:50px;

    margin-top:80px;

    color:#fff;

}

/*============================
Numbers
=============================*/

.recipe-slider__numbers span {
    cursor: pointer;
    color: #ffffff;
    font-size: 18px;
    transition: .3s;
    font-weight: 600;
    border: 1px solid #fff;
    border-radius: 100px;
    width: 55px;
    height: 55px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.recipe-slider__numbers span.active{

    color:#fff;

    font-size:22px;

}

/*============================
Text
=============================*/

.recipe-slider__text{

    max-width:560px;

}

.recipe-slider__subtitle{

    font-size:14px;

    letter-spacing:4px;

    margin-bottom:20px;

    display:block;

    text-transform:uppercase;

    opacity:.9;

}

.recipe-slider__text h1 {
    font-size: 65px;
    line-height: 70px;
    margin-bottom: 30px;
    font-family: 'QuotesScript-Regular' !important;
    color: #fff !important;
    border-left: 5px solid #fff;
    padding-left: 25px;
}

.recipe-slider__text h1 span {
    -webkit-text-stroke: 1px #ffffff;
    color: transparent;
    font-family: 'QuotesScript-Regular' !important;
}
.recipe-slider__text p {
    width: 470px;
    font-size: 18px;
    line-height: 2;
    color: #ffffff;
    font-family: 'gotham-book';
}

.recipe-slider__buttons{
    display:flex;
    gap:22px;
    margin-top:25px;
}

.recipe-slider__buttons a {
    height: 58px;
    min-width: 170px;
    border-radius: 10px;
    font-family: 'Gotham Bold' !important;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
	font-size: 18px;
}

.btn-primary{

    background:#fff;

    color:#000;

}

.btn-primary:hover{

    background:#c62828;

    color:#fff;

}

.btn-secondary{

    border:2px solid rgba(255,255,255,.8);

    color:#fff;

}

.btn-secondary:hover{

    background:#fff;

    color:#000;

}
/*=========================================
RIGHT SIDE
=========================================*/

.recipe-slider__image{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

    height:100%;

}

.recipe-slider__image img{


    max-width:none;

    position:relative;

    z-index:10;

    animation:bookFloat 5s ease-in-out infinite;

    filter:drop-shadow(0 50px 70px rgba(0,0,0,.45));

}

.recipe-slider__image img:hover{
    transform:translateY(-10px) scale(1.01);
}

/*============================
Book Glow
=============================*/

.recipe-slider__image::before{

    content:"";

    position:absolute;

    width:380px;
    height:380px;

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(255,255,255,.28),
    rgba(255,255,255,0));

    filter:blur(30px);

    z-index:1;

}

/*============================
Book Animation
=============================*/

@keyframes bookFloat{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-18px);
    }

    100%{
        transform:translateY(0);
    }

}

/*============================
Background Zoom
=============================*/

@keyframes backgroundZoom{

    0%{
        transform:scale(1);
    }

    100%{
        transform:scale(1.08);
    }

}

.recipe-slider__bg img{

    animation:backgroundZoom 12s linear infinite alternate;

}

/*============================
Fade Animation
=============================*/

.recipe-slider__bg img.fade-out{

    opacity:0;

}

.recipe-slider__bg img.fade-in{

    opacity:1;

}

/*============================
Button Hover Shine
=============================*/




.recipe-slider__bg img{
    width:100%;
    height:100% !important;
    object-fit:cover;
    transition:opacity .8s ease,transform 8s ease;
    transform:scale(1);
}
.recipe-slider__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: end;
    height: 100%;
    flex-direction: column;
    gap: 20px;
}
.recipe-slider__image {
    position: absolute;
    right: -12%;
}
.recipe-slider__image img {
    width: 85px;
}
.recipe-slider__numbers {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    left: -12% !important;
    font-family: 'gotham-book';
}

/*============================
Responsive
=============================*/

@media(max-width:1600px){
.recipe-slider__numbers {
	left: -2% !important;
}
.recipe-slider__numbers span {
	font-size: 15px;
	width: 40px;
	height: 40px;
}	
.recipe-slider__numbers span.active {
	font-size: 17px;
}	
.recipe-slider__image {
	right: 0%;
}	
	
}


@media(max-width:1500px){
.recipe-slider__image {
	right: 1%;
}
.recipe-slider__numbers {
	left: 1% !important;
}
.recipe-slider__text h1 {
	font-size: 55px;
	line-height: 65px;
}
.recipe-slider {
	height: 70vh;
	min-height: 600px;
}
.recipe-slider__text h1 {
	font-size: 45px;
	line-height: 55px;
}
.recipe-slider__content {
	margin-top: 0;
}
}

@media(max-width:1200px){
.recipe-slider__text h1 {
	font-size: 40px;
	line-height: 50px;
}
.recipe-slider__text p {
	width: 370px;
	font-size: 16px;
}
.recipe-slider__buttons a {
	height: 50px;
	min-width: 140px;
	font-size: 16px;
}
.recipe-slider__image img {
	width: 60px;
}
.recipe-slider {
	height: 65vh;
	min-height: 500px;
}
}

@media(max-width:991px){

    .recipe-slider{

        height:auto;
        min-height:auto;
        padding:100px 0;

    }

    .recipe-slider__container{

        flex-direction:column;
        gap:70px;

    }

    .recipe-slider__content{

        width:100%;
        flex-direction:column;
        gap:30px;

    }

.recipe-slider__numbers{
        flex-direction:row;
}

.recipe-slider__shape{
        width:100%;
        clip-path:none;
        opacity:.85;
}

.recipe-slider__text p{
        margin:auto;
 }

	
.recipe-slider__numbers {
	flex-direction: row;
	bottom: -70px;
	left: 20% !important;
}
.recipe-slider__numbers span {
	font-size: 12px;
}
}

@media(max-width:767px){
.recipe-slider__image {
	display: none;
}
 .recipe-slider__buttons{
        flex-direction:column;
}
.recipe-slider__buttons a{
        width:100%;
}
.recipe-slider__container {
	padding: 0 20px;
	gap: 10px;
}
.recipe-slider__text {
	max-width: 100%;
}	
.recipe-slider__text h1 br {
	display: none !important;
}
.recipe-slider__container {
    grid-template-columns: 100%;
}
.recipe-slider__text h1 {
    font-size: 34px;
    line-height: 44px;
    padding-left: 15px;
	border-left: 3px solid #fff;
}
.recipe-slider__text p {
    width: 100%;
}
.recipe-slider__numbers {
	left: 25% !important;
}
}




















