@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/*Header*/

html {
    font-family: "Inter", serif;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
   
    
}

body {
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
}

header {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    background-color: #ffff;
}

.nav {
    margin-top: 38px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    font-weight: 400;
}

header {
    position: static;
}

.main-image {
    width: 100%;
    height: auto;
    z-index: 1;
    aspect-ratio: 3 / 1;
}

.logo {
    height: 60px;
    width: 120px;
    margin-top: -25px;
}

a:link {
    /*color: #000000;*/
    text-decoration: none;
}

li > a:last-child {
    margin-right: 5.5rem;
    color: #000000;
}

li > a:hover {
    color: red;
    transition: all 0.5s ease;
}
h1{
    display: flex;
    align-items: center;  
    justify-content: flex-start;  
    margin-left: 70px;
    margin-bottom: 20px;
    font-size: 3rem;
    /*color: #696666;*/
    color: #aa0000
}

.contenedor{
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);;
    margin: 3% 15%;
    
}

.contenedor > p {
    font-size: 16px;
    color: #333; 
    line-height: 1.6; 
    text-align: justify; 
    letter-spacing: 0.5px;
    word-spacing: 2px; 
    padding: 10px 15px; 
    border-left: 4px solid #c21010;

}
.contenedor > p > span{
    font-weight: bold;
}

.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    background-color: #cfd6cf;
    height: max-content;
    padding-bottom: 20px;
}

.footer-card:first-child {
    align-content: center;
}

.footer-card:not(:first-child) {
    margin-top: 50px;
}

.footer-card h3 {
    font-weight: 800;
    font-size: 25px;
    text-align: center;
}

.footer-card p {
    font-size: 20px;
}

.social-media {
    display: flex;
    font-size: 30px;
    gap: 60px;
	align-items: center;
	justify-content: center;
}

.social-media:last-child {
    flex-direction: column;
    gap: 15px;
    font-size: 35px;
}

.social-media:last-child p {
    margin-top: 5px;
    margin-bottom: 5px;
}

.sub-pages li {
    list-style: none;
    margin-bottom: 20px;
}

.additional-services {
    width: 100%;
    height: 500px;
}
i {
    color: #000000;
}

a {
    color: rgb(19, 19, 19);
}


/*Reponsive*/

@media (max-width: 768px) {
    /* General fix for any container overflow */
    body,
    .hero,
    .seacher,
    .main-image,
    .car-gallery {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Header and Navbar */
    .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0;
        margin-top: 1rem;
    }

    .nav li {
        margin: 0.5rem;
        padding: 0 0 0 5rem;
        width: 100%;
        text-align: center;
    }

    h1 {
        display: block;
        margin-left: 0;
        text-align: center;
    }

    .contenedor {
        width: 80%;
        margin: 3% 5.5%;
    }

    /*footer*/
    .footer {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }

    .sub-pages {
        padding-left: 80px;
    }

    .footer-card {
        margin-top: 1rem;
        margin-left: -20px;
        text-align: center;
    }

    .footer-card:not(:first-child) {
        margin-top: 0;
    }

    .footer-card h3 {
        font-size: 1.5rem;
    }

    .footer-card p {
        font-size: 1rem;
        line-height: 0;
        text-align: center;
        padding: 0;
    }

    .social-media {
        font-size: 24px;
        display: flex;
        justify-content: space-evenly;
        width: 20rem;
        gap: 20px;
    }


}