
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
hr,
figure,
blockquote,
dl,
dd {
    margin: 0;
     font-family: "Poppins", sans-serif;
}

#card-details{
    margin: 0 auto;
    width: 90%;
    padding: 3em 1em;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.caard{
    width: 300px;
    height: 375px;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 4px 4px 10px 4px rgba(6, 27, 27, 0.173);
}

.caard-header{
    /* background-color: antiquewhite; */
    padding: 0.8em 0.8em 0.3em;
    line-height: 1.5em;
}
.car-name{
    letter-spacing: 0.25em;
    font-size: 1.75rem;
    font-weight: 900;
}
.car-type{
    letter-spacing: 0.05em;
}
.car-img{
    margin: 0.3rem auto;
}

.car-details{
    display: flex;
    justify-content: center;
}

.car-desc{
    background-color: rgba(6, 27, 27, 0.173);
    width:100%;
    text-align: center;
    padding: 0.5em;
    font-size: 14px;
    font-weight:700;
    /*letter-spacing: 0.1rem;*/
}

.caard-footer{
    display: flex;
    justify-content: center;
    padding: 1rem 0.6rem;
}

.car-price{
    width: 90%;
    padding:5px;
}

.caard-btn{
    width:50%;
    height:45px;
    padding:0px;
}

.caard-btn > a{
    color:#fff;
    display: block;
    padding: 5px;
}
.book-button{
     color:#fff;
    display: block;
    padding: 5px;
}


.car-price{
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1em;
    
}
.caard-btn{
    background-color: #2196f3;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
}
.car-distance {
    font-size: 0.8em;
}

hr{
    width: 80%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(18, 117, 195, 1) 100%, rgba(8, 111, 193, 1) 100%);
    height: 5px;
    border-radius: 10px;
    border: none;
}

/*card section*/

.intro {
    margin: 0 auto;
    width: 90%;
    padding: 3em 1em;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.intro-1 img, .intro-1, .intro-2 img, .intro-2{
    width:490px;
}

.intro-1, .intro-2{
    position: relative;
}

.intro-title{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
   

    width: 284px;
    height: 144px;
    
    flex: none;
    order: 0;
    flex-grow: 0;

    padding: 20px;
    position: absolute;
    top: 0;
}

.intro-title > h2 {
    /* The Best Platform for Car Rental */


    width: 276px;
    height: 76px;

    /*font-family: 'Plus Jakarta Sans';*/
   
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 120%;
    /* or 38px */

    display: flex;
    align-items: center;
    letter-spacing: -0.01em;

    color: #ffffff;


    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 0;
}

.intro-title > p {
    /* Ease of doing a car rental safely and reliably. Of course at a low price. */

 max-width:22ch;
    width: 220px;
    height: 52px;
    
    /*font-family: 'Plus Jakarta Sans';*/
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 130%;
    /* or 26px */

    display: flex;
    align-items: center;
    letter-spacing: 0.02em;

    color: #ffffff;


    /* Inside auto layout */

    flex: none;
    order: 1;
    flex-grow: 0;
}

.intro-title > .intro-2-btn {
    /* Button Rent */


    /* Auto layout */

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 10px;
    gap: 8px;

    width: 120px;
    font-weight: 600;
    height: 44px;
    color: #ffffff;
    background: #5CAFFC;
    border-radius: 4px;
    border: none;
    margin-top: 10px;
    /* Inside auto layout */

    flex: none;
    order: 1;
    flex-grow: 0;
}

.intro-title > .intro-1-btn {
    /* Button Rent */


    /* Auto layout */

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 10px;
    gap: 8px;
    font-weight: 600;
    width: 120px;
    height: 44px;
    color: #ffffff;
    background: #3563E9;
    border-radius: 4px;
    border: none;
    margin-top: 10px;
    /* Inside auto layout */

    flex: none;
    order: 1;
    flex-grow: 0;
}


.info {
    margin: 0 auto;
    width: 80%;
    padding: 2rem 1rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.info > p{
    text-align:justify;
}

.info ul > li{
    margin: 10px;
}







@media screen and (max-width:425px) {

}



@media screen and (max-width: 600px) {
.intro-2{
    display:none;
}

.intro-1 img, .intro-1{
    width:320px;
    height: 220px;
}
.intro-title > h2 {
    width: 250px;
    height: 70px;
    font-size: 24px;
    line-height: 120%;
}

.intro-title > p {
    /* Ease of doing a car rental safely and reliably. Of course at a low price. */
    max-width: 18ch;
    width: 240px;
    height: 40px;
    font-size: 15px;
    line-height: 120%;

}

.intro-title > .intro-1-btn {
    font-size: 12px;
    width: 100px;
    height: 36px;
 
}




}
    




