@font-face {
    font-family: "ProximaNova";
    src: url("../fonts/proximanova-bold-webfont.woff") format("woff"), url("../fonts/proximanova-bold-webfont.woff") format("woff");
}
@font-face {
    font-family: "Roboto-Bold";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/Roboto-Bold.ttf") format("truetype");
}
@font-face {
    font-family: "Roboto-Medium";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/Roboto-Medium.ttf") format("truetype");
}

/* RESET/DEFAULTS */

* {
    font-family: "Roboto-Medium", sans-serif;
}

a,
a:hover {
    text-decoration: none;
    color: #000;
}

/* Car Model Navigation */

#modelNavigation {
    padding: 30px 0 30px;
}

#modelNavigation .row .row {
    margin: 0px -15px;
}
#modelNavigation ul {
    max-width: 100%;
    padding-left: 0;
    list-style: none;
    margin-right: 0;
    margin-left: 0;
    justify-content: center;
}
#modelNavigation ul li {
    text-align: center;
}
#modelNavigation ul li figure {
    max-width: 200px;
    text-align: center;
    padding: 0 5px;
    margin: 0 auto 5px;
    transition-duration: 0.3s;
}
#modelNavigation ul li figure:hover img {
    transform: translateY(-3px);
    transition-duration: 0.3s;
}
#modelNavigation ul li figure img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    transition-duration: 0.3s;
}
#modelNavigation ul li figure figcaption {
    font-family: "ProximaNova";
    font-size: 14px;
    text-transform: uppercase;
}

/* MAIN SECTION TILES */

.model-section {
    padding: 20px 0 20px;
}
.model-section .section-title {
    margin-bottom: 45px;
}
.model-section .section-title h2 {
    font-family: "ProximaNova";
    font-size: 24px;
    text-transform: uppercase;
}
.model-section .section-title a {
    color: #000;
    background: #ffba00;
    padding: 20px 28px;
    text-transform: uppercase;
    font-size: 12px;
    font-family: "Roboto-Bold";
}
.model-section .section-title a:hover {
    text-decoration: none;
    background: #ffc21a;
}
.model-section .section-title a:active {
    text-decoration: none;
    background: #ffc21a;
}

.model-section .section-tiles figure {
    position: relative;
    height: 550px;
    color: #fff;
    overflow: hidden;
    margin-bottom: 30px;
}
.model-section .section-tiles figure img {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 50%;
    width: 100%;
    object-fit: cover;
    z-index: 1;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}
.model-section .section-tiles figure .overlay {
    position: absolute;
    left: 0px;
    top: 0%;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 50%, #222 50%, #222);
    z-index: 2;
}
.model-section .section-tiles figure .title-tag {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 9;
    font-family: "ProximaNova";
    font-size: 10px;
    text-transform: uppercase;
}
.model-section .section-tiles figure .figcontent-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0px;
    top: 50%;
    height: 50%;
    width: 100%;

    text-align: center;
    z-index: 10;
    padding: 15px;
    padding-bottom: 60px;
}
.model-section .section-tiles figure .figcontent-wrapper .quote {
    max-width: 480px;
    font-family: "Roboto-Medium";
    font-size: 14px;
    margin-bottom: 10px;
}
.model-section .section-tiles figure .btn-wrapper {
    position: absolute;
    left: 0px;
    bottom: 10px;
    width: 100%;
    padding: 15px;
    text-align: center;
    z-index: 11;
}
.model-section .section-tiles figure .btn-wrapper a {
    color: #000;
    background: #ffba00;
    padding: 12px 25px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 12px;
    font-family: "Roboto-Bold";
}
.model-section .section-tiles figure .btn-wrapper a:hover {
    text-decoration: none;
    background: #ffc21a;
}
.model-section .section-tiles figure .btn-wrapper a:active {
    text-decoration: none;
    background: #ffc21a;
}

.description {
    color: #636363;
    font-size: 0.55rem;
    display: block;
    padding-bottom: 10px;
}

@media (min-width: 768px) {
    .model-section .section-tiles figure .figcontent-wrapper .quote {
        font-size: 16px;
    }
    .model-section .section-tiles figure {
        height: 450px;
    }
    .model-section .section-tiles figure img {
        height: 100%;
    }
    .model-section .section-tiles figure .figcontent-wrapper {
        top: 0px;
        height: 100%;
    }
    .model-section .section-tiles figure .overlay {
        top: 0px;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.05);
    }

    #modelNavigation {
        padding: 30px 0 5px;
    }
    .container {
        max-width: 768px;
    }
    #modelNavigation ul li figure {
        padding: 0 15px;
    }
    .model-section {
        padding: 25px 0 40px;
    }
    .model-section .section-tiles figure {
        height: 320px;
    }
    .model-section .section-tiles figure .figcontent-wrapper {
        padding-bottom: 50px;
    }
    .model-section .section-tiles figure .figcontent-wrapper .quote {
        font-size: 18px;
        margin-bottom: 30px;
    }
    .model-section .section-tiles figure:hover img {
        left: -2%;
        top: -2%;
        width: 104%;
        height: 104%;
        transition-duration: 0.3s;
    }
    #modelNavigation ul li figure img {
        width: 100%;
        height: auto;
        margin-bottom: 5px;
        transition-duration: 0.3s;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 992px;
    }
    .model-section .section-tiles figure .btn-wrapper {
        bottom: 20px;
    }
    .model-section .section-tiles figure .figcontent-wrapper {
        padding-bottom: 15px;
    }
    .model-section .section-tiles figure .figcontent-wrapper .quote {
        font-family: "Roboto-Bold";
    }
}
@media (min-width: 1090px) {
    .model-section .section-tiles figure {
        height: 420px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1320px;
    }
}
