/* styles.css */
.cards-body {
    margin-bottom: 200px;
    font-family: Arial, sans-serif;
    height: 100%; /* Long enough for scroll effect */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* background-color: #f4f4f4; */
   margin-right:15%;
   margin-left:10%;
   
}

.container {
    width: 70%;
    /* max-width: 1200px; */
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    
}

.card{
    width: 100%;
    /* padding: 10px; */
    background-color: rgb(255, 255, 255);
    border-radius: 17px;
    box-shadow: 2px 4px 10px rgb(71, 71, 71);
    opacity: 0; /* Hidden initially */
    transform: translateX(0); /* Initial position */
    transition: transform 0.6s ease, opacity 0.6s ease;
    margin-left: 30px;
    /* border-width: 5px; */
   border-color: rgb(49, 49, 49);
}
.card1{
    width: 100%;
    /* padding: 10px; */
    background-color: rgb(255, 255, 255);
    margin-right: -30px;
    border-radius: 17px;
    /* border-width: 5px; */
   border-color: rgb(49, 49, 49);
    box-shadow: 2px 4px 10px rgb(71, 71, 71);
    opacity: 0; /* Hidden initially */
    transform: translateX(0); /* Initial position */
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Initial positions for sliding */
.left-slide {
    transform: translateX(-100%);
}

.right-slide {
    transform: translateX(100%);
}

/* Active class for animation */
.card.active {
    opacity: 1;
    transform: translateX(-40%); /* Slide to the center */
}
.card1.active{
    opacity: 1;
    transform: translateX(40%); /* Slide to the center */
}

.cardmedia{
    display: none;
}



@media only screen and (max-width:768px) {
    .container {
        width: 100%;
        margin: 0;
        display: none;
        padding-bottom: 20px;
    }    

    .cardmedia{
        width: 100%;
        /* max-width: 1200px; */
        margin: 15px;
        margin-top: -100px;
        padding-bottom: 20px;
        padding-top: 20px;
        display: flex;
        flex-direction: column;
        /* gap: 20px; */
    }

    .button {
        font-family: 'Open Sans', sans-serif, Arial, Helvetica;
        font-size:16px;
        color:#e4b424;
        border-color:#d2b356;
    }
    
    
    /* Button Color */
    
    
    
    
    /* Button Hover Color */
    
    #banner .button:hover {
        color:#e4b424;
        border-color:#e4b424;
    }
}

p{
    word-wrap: break-word;
    padding-right: 15px;
}





/* 
.card-block {
    font-size: 1em;
    position: relative;
    margin: 0;
    padding: 1em;
    border: none;
    border-top: 1px solid rgba(34, 36, 38, .1);
    box-shadow: none;
     
}
.democard {
    font-size: 1em;
    overflow: hidden;
    padding: 5;
    border: none;
    border-radius: .28571429rem;
    box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5;
    margin-top:20px;
} */