body {
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
    background-color: var(--black);
    color: var(--white);
}
a {
    text-decoration: underline 0.15em rgba(0, 0, 0, 0);
    transition: text-decoration-color 300ms, text-underline-offset 300ms;
    color: var(--white);
}
a:hover {
    color: var(--blue);
    text-decoration-color: var(--blue);
    text-underline-offset: 0.4em;
}
#active {
    color: var(--blue);
    text-decoration: underline;
}
:root {
    --black: #0D0D0D;
    --blue: #299FBE;
    --white: #ffffff;
    --gray: #1E1E1E;
}
.nav-bar {
    display: grid;
    grid-template-columns: 10% 12% 12% 12% 12% 12% 12%;
    grid-template-rows: 50px;
    grid-column-gap: 2.5%;
    position: fixed;
    width: 99%;
    background-color: var(--black);
    border-radius: 30px;
    padding: 10px;
    box-sizing: border-box;
    align-content: center;
    align-items: center;
    border: 3px solid var(--blue);
    color: var(--white);
    opacity: 0.9;
    z-index: 10;
    font-size: x-small;
}
#nav-bar-item1{
    object-fit: contain;
    width: 50px;
    height: 50px;
}
.hero-main-text {
    margin-top: 100px;
    position: absolute;
    color: var(--white);
    width: 99%;
    text-align: center;
}
.hero-text {
    color: var(--white);
    text-align:center;
    padding: 50px;
    box-sizing: border-box;
    margin-top: -50px;
    font-size: larger;
}
.hero-car-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}
.hero-car-tiles-items img {
    object-fit: cover;
}
footer {
    width: 99.5%;
    height: auto;
    background-color: var(--black);
    border: 3px solid var(--blue);
    text-align: center;
    position: relative;
    border-radius: 40px 40px 40px 40px;
}


/* honda css  */
.main-text {
    margin-top: 100px;
    position: absolute;
    color: var(--white);
    width: 99%;
    text-align: center;
}
.blog-post {
    display: grid;
    grid-template-columns: 67% 32%;
    grid-column-gap: 1%;
    /* margin-top: -50px; */
}
.blog-post-text {
    padding: 15px;
    box-sizing: border-box;
    text-align:start;
}
.blog-post-text img {
    object-fit: contain;
    float: left;
    margin: 10px;
}
.blog-post-pic {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.nav-bar a.icon {
    display: none;
}



/* Responsive CSS */
@media only screen and (max-width: 600px) {
    .nav-bar {
        display: block;
        position: relative;
        height: 70px;
    }
    #nav-bar-item1{
        display: block;
        object-fit: contain;
        width: 50px;
        height: 50px;
        margin-left: 10px;
    }
    .nav-bar a.icon {
        display: block;
        position: absolute;
        right: 20px;
        top: 15px;
        font-size: 24px;
        cursor: pointer;
    }

    .nav-bar div{
        display: none;
    }
    .nav-bar.responsive {
        height: auto;
    }
    .nav-bar.responsive div {
        display: block;
        text-align: center;
        padding: 10px;
        border-top: 1px solid var(--blue);
    }
    .hero-car-tiles {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
    }
    .hero-text {
        color: var(--white);
        text-align:justify;
        padding: 50px;
        box-sizing: border-box;
        margin-top: 10px;
        font-size: larger;
    }
    .hero-main-text {
        margin-top: 20px;
        position: absolute;
        color: var(--white);
        width: 99%;
        text-align: center;
        font-size: smaller;
    }

    .main-text {
        margin-top: 30px;
        position: absolute;
        color: var(--white);
        width: 99%;
        text-align: center;
        font-size: smaller;
    }
    .blog-post-text p {
        font-size: x-small;
    }
    .blog-post {
        display: grid;
        grid-template-columns: 100%;
    }
    footer {
        font-size: x-small;
    }
}


@media only screen and (max-width: 800px) {
    .nav-bar {
        display: block;
        position: relative;
        height: 70px;
    }
    #nav-bar-item1{
        display: block;
        object-fit: contain;
        width: 50px;
        height: 50px;
        margin-left: 10px;
    }
    .nav-bar a.icon {
        display: block;
        position: absolute;
        right: 20px;
        top: 15px;
        font-size: 24px;
        cursor: pointer;
    }

    .nav-bar div{
        display: none;
    }
    .nav-bar.responsive {
        height: auto;
    }
    .nav-bar.responsive div {
        display: block;
        text-align: center;
        padding: 10px;
        border-top: 1px solid var(--blue);
    }
    .hero-car-tiles {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
    }
    .hero-text {
        color: var(--white);
        text-align:justify;
        padding: 50px;
        box-sizing: border-box;
        margin-top: 10px;
        font-size: larger;
    }
    .hero-main-text {
        margin-top: 20px;
        position: absolute;
        color: var(--white);
        width: 99%;
        text-align: center;
        font-size: large;
    }

    .main-text {
        margin-top: 30px;
        position: absolute;
        color: var(--white);
        width: 99%;
        text-align: center;
        font-size: smaller;
    }
    .blog-post-text p {
        font-size: x-small;
    }
    .blog-post {
        display: grid;
        grid-template-columns: 100%;
    }
    footer {
        font-size: x-small;
    }
}

@media only screen and (max-width: 400px) {
    .hero-text {
        color: var(--white);
        text-align:justify;
        padding: 50px;
        box-sizing: border-box;
        margin-top: 10px;
        font-size: smaller;
    }
}