*{
    padding: 0;
    margin: 0;
}

.topbar{
    padding: 3px;
    height: 33px;
    background-color: darkblue;
}
.topbar a, .topbar p{
    color: white;
}
.topbar a{
    text-decoration: none;
}
.topbar a i{
    animation: shivering 5s ease-in-out .2s infinite backwards;
}
.topbar a:first-child i{
    animation: ringing 5s ease-in-out .2s infinite backwards;
}
@keyframes ringing {
    20% { transform: rotate(0deg); }
    21% { transform: rotate(10deg); }
    22% { transform: rotate(-10deg); }
    23% { transform: rotate(12deg); }
    24% { transform: rotate(-12deg); }
    25% { transform: rotate(12deg); }
    26% { transform: rotate(-12deg); }
    28% { transform: rotate(10deg); }
    30% { transform: rotate(-10deg); }
    32% { transform: rotate(5deg); }
    34% { transform: rotate(-5deg); }
    36% { transform: rotate(2deg); }
    38% { transform: rotate(0deg); }
}
@keyframes shivering {
	0% {	transform: translate(0, 0);}
	5% {	transform: translate(-3px, -0);}
	10% {	transform: translate(3px, 0);}
	15% {	transform: translate(-3px, -0);}
	20% {	transform: translate(3px, 0);}
	25% {	transform: translate(-3px, -0);}
	30% {	transform: translate(0, 0);}
	100% {	transform: translate(0, 0);}
}

.navbar-brand{
    color: crimson;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
}
.navbar-brand span{
    color: darkblue;
}
.navbar-brand p{
    font-size: 15px;
    text-align: center;
    letter-spacing: 5px;
    text-transform: uppercase;
}
.navbar-nav{
    padding-left: 180px;
}
.navbar-nav .nav-item{
    padding: 0px 10px;
}
.navbar-nav .nav-item a{
    color: darkblue;
    font-size: 18px;
    font-weight: 600;
}

.hero-form{
    padding: 1px 20px;
    border-top: 5px solid crimson;
    background-color: darkblue;
    color: white;
}
.hero-form span{
    font-size: 24px;
    font-weight: 600;
    color: white;
}
.hero-form label{
    font-weight: 500;
}
.hero-form input,
.hero-form select{
    border-color: darkblue;
}
.btn.btn-submit{
    background-color: crimson;
    color: white;
    font-weight: 600;
    transition: all 0.4s ease;
}
.btn.btn-submit:hover{
    background-color: white;
    color: crimson;
    letter-spacing: 3px;
    border-radius: 15px;
    box-shadow: rgba(240, 46, 170, 0.4) -2px 2px, rgba(240, 46, 170, 0.3) -4px 4px, rgba(240, 46, 170, 0.2) -6px 6px, rgba(240, 46, 170, 0.1) -8px 8px, rgba(240, 46, 170, 0.05) -10px 10px;
}
.hero-image{
    border-top: 5px solid crimson;
}

.section h1,
.section h2{
    color: darkblue;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section h1::before,
.section h2::before,
.section h1::after,
.section h2::after,
.section h3::before,
.section h3::before{
    display: block;
    content: "";
    background-color: crimson;
}
.section h1::before,
.section h2::before,
.section h3::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 30px;
    height: 8px;
    position: absolute;
    bottom: -10px;
}
.section h1::after,
.section h2::after,
.section h3::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 120px;
    height: 2px;
    position: absolute;
    margin-top: 5px;
}
.section p{
    font-size: 18px;
    font-weight: 500;
    text-align: justify;
}
.engines-case,
.transmissions-case {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.engine-card,
.transmission-card{
    color: black;
    width: 20%;
    padding: 5px;
}
.engine-card .card-content,
.transmission-card .card-content{
    padding: 10px;
    border: 1px solid lightgrey;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.engine-card p,
.transmission-card p{
    color: black;
    font-size: 16px;
    text-align: left;
}
.engine-card span,
.transmission-card span{
    color: black;
    font-size: 15px;
    font-weight: 400;
}
.engine-card span.price,
.transmission-card span.price{
    color: #008a00;
    font-size: 20px;
    font-weight: 700;
}
.btn.btn-deal{
    font-weight: 600;
    color: white;
    background-color: darkblue;
    border: 1px solid darkblue;
    border-radius: 5px;
}
.btn.btn-deal:hover{
    background-color: transparent;
    color: darkblue;
}
.btn.btn-cart{
    font-weight: 600;
    color: crimson;
    background-color: transparent;
    border: 1px solid crimson;
    border-radius: 5px;
}
.btn.btn-cart:hover{
    background-color: crimson;
    color: white;
}
.all-makes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
}
.all-makes a {
    text-decoration: none;
}
.make-wrapper p{
    font-weight: 400;
    font-size: 18px;
    margin: 0;
    padding: 0;
}
.the-make img{
    margin-right: 5px;
}
.section-content h3{
    color: darkblue;
}
.section-content a {
    color: crimson;
    text-decoration: none;
}
.feature{
    text-align: center;
    padding: 15px;
    height: 275px;
    border: 1px solid lightgrey;
    border-radius: 15px;
    transition: all 0.3s ease;
}
.feature h3{
    color: darkblue;
    font-size: 22px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 15px;
}
.feature p{
    font-size: 17px;
}
.process{
    position: relative;
    text-align: center;
    padding: 15px;
    height: 275px;
    border: 1px solid lightgrey;
    border-radius: 15px;
    transition: all 0.3s ease;
}
.process h3{
    color: darkblue;
    font-size: 22px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 15px;
}
.process p{
    font-size: 17px;
}
.process::after {
    position: absolute;
    border-radius: 45%;
    content: attr(data-label);
    top: -22px;
    right: 30%;
    padding: 0.5rem;
    width: 7rem;
    background: #3949ab;
    color: white;
    text-align: center;
    box-shadow: 4px 4px 15px rgba(26, 35, 126, 0.2);
}
.cta{
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    opacity: 1;
    padding: 25px;
    background: #2930b4;
    background: -webkit-linear-gradient(left, darkblue, #2096a8);
    background: linear-gradient(to right, darkblue, #2096a8);
    background-repeat: repeat-x;
}
.cta h3{
    color: white;
    font-size: 33px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 15px;
}
.cta p{
    color: white;
    font-size: 20px;
}
.btn.btn-call{
    margin-top: 25px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    background-color: crimson;
    border: 1px solid crimson;
    border-radius: 15px;
    padding: 15px 25px;
    transition: all 0.3s ease;
}
.btn.btn-call:hover{
    background-color: transparent;
    border-color: white;
}
.why{
    position: relative;
    text-align: center;
    padding: 15px;
    height: 275px;
    border: 1px solid darkgrey;
    background-color: rgb(247, 244, 244);
    border-radius: 15px;
    transition: all 0.3s ease;
}
.why h3{
    color: darkblue;
    font-size: 22px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 15px;
}
.why p{
    font-size: 17px;
}
.accordion {
    width: 90%;
    max-width: 1000px;
    margin: 2rem auto;
} 
.accordion-item {
    background-color: #fff;
    color: #111;
    margin: 1rem 0;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);
} 
.accordion-item-header {
    padding: 0.5rem 3rem 0.5rem 1rem;
    min-height: 3.5rem;
    line-height: 1.25rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
} 
.accordion-item-header::after {
    content: "\002B";
    font-size: 2rem;
    position: absolute;
    right: 1rem;
} 
.accordion-item-header.active::after {
    content: "\2212";
} 
.accordion-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
} 
.accordion-item-body-content {
    padding: 1rem;
    line-height: 1.5rem;
    border-top: 1px solid;
    border-image: linear-gradient(to right, transparent, #34495e, transparent) 1;
}
.small-banner{
    display: flex;
    justify-content: space-around;
    padding: 25px;
}
.small-banner.one{
    background-color: #ce282c;
}
.small-banner.two{
    background-color: #eeedbf;
}
.small-banner.one h3,
.small-banner.one p{
    color: white;
}
.small-banner a{
    text-decoration: none;
}
.small-banner.one a{
    background-color: white;
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
}
.small-banner.two a{
    background-color: #ce282c;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}
.small-banner .banner-image{
    max-width: 40%;
}

.about-content h3{
    color: #00008b;
    font-size: 22px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 15px;
}
.policy h3{
    color: crimson;
    font-size: 22px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 15px;
}
.policy ul li{
    font-size: 18px;
    font-weight: 500;
    text-align: justify;
}

.footer{
    background-color: #fff;
    opacity: 1;
    padding: 70px 30px 20px 30px;
    background: #2930b4;
    background: -webkit-linear-gradient(left, darkblue, #2096a8);
    background: linear-gradient(to right, darkblue, #2096a8);
    background-repeat: repeat-x;
}
.footer p,
.footer p a,
.footer h3,
.footer ul li a{
    color: white;
}
.footer ul li{
    margin-bottom: 10px;
}
.footer p a,
.footer ul li a{
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer p a:hover,
.footer ul li a:hover{
    letter-spacing: 1px;
}
.footer-logo{
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
}
a.footer-logo{
    text-decoration: none;
    color: white;
}
.footer-logo p{
    font-size: 15px;
    text-align: center;
    letter-spacing: 5px;
    text-transform: uppercase;
}
.footer hr{
    height: 2px;
    color: white;
}

@media only screen and (max-width: 1365px) {
    .navbar-nav{
        padding-left: 90px;
    }
    .navbar-nav .nav-item{
        padding: 0px 5px;
    }
    .hero-image{
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .feature{
        height: 350px;
        padding: 5px;
    }
    .all-makes {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}
@media only screen and (max-width: 1024px) {
    .navbar-nav{
        padding-left: 0px;
    }
    .navbar-nav .nav-item a{
        font-size: 16px;
    }
    .hero-image{
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 70px;
        padding-bottom: 70px;
    }
    .all-makes {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .process{
        padding: 10px;
        height: 320px;
    }
    .engine-card,
    .transmission-card{
        width: 33.33%;
    }
}
@media only screen and (max-width: 900px) {
    .navbar-brand p{
        text-align: left;
    }
    .hero-image{
        padding: 10px;
    }
    .feature{
        height: 250px;
        padding: 15px;
    }
    .make-wrapper p{
        padding: 5px;
    }
    .process{
        padding: 10px;
        height: 250px;
    }
    .engine-card,
    .transmission-card{
        width: 33.33%;
    }
}
@media only screen and (max-width: 768px) {
    .feature{
        height: 260px;
        padding: 15px;
    }
    .engine-card,
    .transmission-card{
        width: 33.33%;
    }
}
@media only screen and (max-width: 600px) {
    .topbar a span{
        display: none;
    }
    .feature{
        height: 240px;
        padding: 25px;
    }
    .all-makes {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .process{
        padding: 10px;
        height: 220px;
        margin-bottom: 25px;
    }
    .process::after {
        right: 40%;
    }
    .cta{
        justify-content: center;
        flex-direction: column;
    }
    .engine-card,
    .transmission-card{
        width: 50%;
    }
    .make-wrapper p {
        font-size: 16px;
    }
}
@media only screen and (max-width: 430px) {
    .topbar a span{
        display: none;
    }
    .feature{
        height: 260px;
        padding: 25px;
    }
    .all-makes {
        grid-template-columns: 1fr 1fr;
    }
    .process::after {
        right: 35%;
    }
    .cta{
        justify-content: center;
        flex-direction: column;
    }
    .engine-card,
    .transmission-card{
        width: 100%;
    }
    .make-wrapper p {
        font-size: 16px;
    }
}