@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');
.myybanner {
    position: relative;
    width: 100%;
    height: 135vh;
    overflow: hidden;
}

.myybanner-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0);
    z-index: 0;
}

.myybanner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%); /* Initially off-screen to the right */
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.myybanner-slide.active {
    opacity: 1;
    transform: translateX(0); /* Slide into position */
    z-index: 2; /* Ensure it's in front of other slides */
}

.myybanner-slide.slide-out {
    transform: translateX(-100%); /* Slide out to the left */
    z-index: 1; /* Ensure it's behind the next slide */
}

.myybanner-slide.slide-in {
    transform: translateX(0); /* Sliding in from right */
    z-index: 3; /* Bring in front of previous slide */
}

.myybanner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

.myybanner-text {
    position: relative;
    color: #fff;
    text-align: right;
    top: -20px;
    width: 85%;
    margin-left: 0%;
}

.myybanner-text h2 {
     font-family: "Comfortaa", sans-serif;
    font-weight: 700;
    font-size: 63px;
    line-height: 70px;
	width: 100%
}

.myybanner-text p {
   	font-family: 'Poppins ', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
	color:rgba(255, 255, 255, 0.5);
	width: 46%;
	margin-top: -40px
}

.myybanner-text .zigo {
    width: 100%;
    height: 30px;
    background-image: url(../sour/zigzig.png);
    background-repeat: no-repeat;
    background-position: center center;
    margin-top: -20px;
}

@media all and (max-width: 500px) {
    .myybanner {
        height: 679px;
    }
    .myybanner-text {
    top: 80px;
    width: 85%;
    margin-left: 7.5%;
}

.myybanner-text h2 {
     font-family: "Cairo", sans-serif;
    font-weight: 700;
    font-size: 43px;
    line-height: 70px;
	width: 100%;
	text-align: right
}

.myybanner-text p {
   	font-family: 'Poppins ', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 30px;
	color:rgba(255, 255, 255, 0.5);
	width:100%
}
}

@media screen and (min-width: 501px) and (max-width: 1100px) {
    .myybanner {
        height: 825px;
    }
	  .myybanner-text {
    top: -250px;
    width: 85%;
    margin-left: 7.5%;
}
	.myybanner-text h2 {
     font-family: "Comfortaa", sans-serif;
    font-weight: 700;
    font-size:63px;
    line-height: 70px;
	width: 100%
}
}
