#info{
    width: 100%;
    height: auto;
    background-color:black;
    padding: 20px;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.flex{

    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-around;
    row-gap: 4rem;
    flex-wrap: wrap;
}
.flex-card{
    max-width: 550px;
    height: auto;
    background-color: white;
    padding: 2rem;
    letter-spacing: 1px;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    border-radius: 10px;

}

.flex-card img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.flex-text h1{
    font-size: 1.5rem;
    color: black;
    margin-bottom: 10px;
}

.flex-text p{
    font-size: 1rem;
    color: rgb(0, 0, 0);
    text-align: justify;
}

.carousel-container {
    position: relative;
    max-width: 35rem;
    height: 20rem;
    margin: auto;
    overflow: hidden;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    border-radius: 10px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-container input[type="radio"] {
    display: none;
}

.navigation {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    bottom: 10px;
}

.navigation label {
    cursor: pointer;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #bbb;
    transition: background-color 0.3s ease-in-out;
}

.carousel-container input:checked + .navigation label {
    background-color: #333;
}

#slide1:checked ~ .slides {
    transform: translateX(0);
}

#slide2:checked ~ .slides {
    transform: translateX(-100%);
}

#slide3:checked ~ .slides {
    transform: translateX(-200%);
}

#slide4:checked ~ .slides {
    transform: translateX(-300%);
}

.flex-card-1{
    background-image: url(https://airtribe-strapi.s3.ap-south-1.amazonaws.com/Frame_5184_1_1_a36614561d.png);
    background-size: cover;

}

.flex-card-1 h1, .flex-card-1 p, .flex-card-2 p, .flex-card-2 h1{
    color: white;
}

.flex-card-2{
    background-color: black;
    background-image: url(https://airtribe-strapi.s3.ap-south-1.amazonaws.com/Frame_5185_1_1_f6eda8a04c.png);
    background-size: cover;
    max-width: 31rem;
}

.flex-card-3{
    background-image: url('imgs/info3.png');
    padding-right: 14rem;
    background-size: cover;
    max-width: 37rem;
    padding-bottom: 4rem;
}


.flex-card-3 h1{
    color: rgb(92, 2, 92);
}





@media (max-width:920px){
    .flex{
        flex-direction: column;
        gap: 30px;
        align-items: center;

    }

}
@media(max-width:550px){
    .flex-card{
        width: 90%;
    }

    .flex-card-3{
        background-image: url('imgs/infosmall3.png');
        background-size: 600px;
        padding-right: 2rem;
    }
}