/* mobile /base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Genos",
    sans-serif;
}
/*  Nardo Grey: #686A6C 
    Ford Blue: #003478
    Chevy Orange: #F66B29
    Plum Crazy Purple: #872A96*/
:root {
    --bg-color: #FFFFFF;
    --second-bg-color: #872A96;
    --text-color: #686A6C;
    --main-color: #F66B29;
    --nav-color: #003478;
}

@font-face {
    font-family: "Genos"; 
    src: url('../fonts/Genos/Genos-Black.ttf');
}
@font-face {
  font-family: "icomoon";
  src:  url('../fonts/Icomoon/icomoon.eot');
  src:  url('../fonts/Icomoon/icomoon.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Icomoon/icomoon.ttf') format('truetype'),
    url('../fonts/Icomoon/icomoon.woff') format('woff'),
    url('../fonts/Icomoon/icomoon.svg?#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[data-icon]:before {
    font-family: "icomoon";
    content: attr(data-icon);
    speak: none;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
  }

html {
    font-size: 60%;
    overflow-x: hidden;
  }
  
body {
    background: var(--bg-color);
    color: #000000;
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: #003478;
    display: flex;
    justify-content:space-between;
    z-index: 5;
}

.logo {
    width: 20%;
    cursor: pointer;
    transition: 1s ease;
    margin-left: 2rem;
    float: left;
}
.logo img {
    width: 70%;
}
.logo:hover {
    transform: scale(1.1);
}

.navbar {
    align-items: center;
    display: none;
}
.navbar a {
    font-size: 3rem;
    color: var(--text-color);
    margin-left: 3rem;
    font-weight: 100;
    transition: 0.3 ease;
    border-bottom: 3px;
}
.navbar a:hover {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

.ham-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 1.2rem;
    margin-right: 1rem;
    float: right;
    cursor: pointer;
}
.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color:#333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 8px 0;
    min-width: 180px;
}
.nav-links a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
}
.nav-links.show {
    display: block;
}
#menu-icon {
    font-size: 24px;
    color: var(--main-color);
    cursor: pointer;
}

.home {
    height: auto;
    padding: 1em;
    background-image: url("/static/assets/img/backgrounds/qdt_shop.webp");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
span {
    color: var(--main-color);
}
.logo span {
    color: var(--main-color);
}

.home-header {
    margin-top: 1em; 
    margin-bottom: 2em; 
    background-color: #C2C5C4;
    outline: var(--nav-color) 5px solid;
    box-shadow: 1em 1em 1em 1em rgba(50, 50, 50, 0.8);
}
.home-header img {
    width: 100%;
}

.text-animation {
    font-size: 2.2rem;
    font-weight: 600;
    padding-left: 0.8rem;
}
.text-animation span {
    position: absolute;
    padding-left: 1rem;
    overflow: hidden;
}
.text-animation span::before { 
    font-family: "Genos";
    content: "Test0";
    overflow: hidden;
    height: 100%;
    animation-name: words; 
    animation-duration: 40s;
    animation-iteration-count: infinite;
}
.text-animation span::after { 
    font-family: "icomoon", "Genos";
    content: "\e900";
    background-color: #C2C5C4;
    position: absolute;
    overflow: hidden;
    width: calc(100% + 1px);
    height: 100%;
    right: 1px;
    animation-name: cursor, typing; 
    animation-duration: 8s, 40s;
    animation-timing-function: steps(600, end);
    animation-iteration-count: infinite;
}

.home-content {
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
    background-color: rgba(194, 197, 196, 1.0);
    outline: var(--nav-color) 5px solid;
    box-shadow: 1em 1em 1em 1em rgba(50, 50, 50, 0.8);
}
.working-hours {
    table-layout: fixed;
    border-collapse: collapse;
    height: 25em;
    margin-left: auto;
    margin-right: auto;
}
.working-hours caption {
    font-size: 3.5rem;
}
.working-hours tr {
    border-bottom: 1px solid var(--second-bg-color);
    border-top: 1px solid var(--second-bg-color);
    position: relative;
}
.working-hours th {
    text-align: left;
}
.working-hours td {
    text-align: right;
    padding-left: 5rem;
}
.working-hours th,
td {
    font-size: 2rem;
}

#hours-message {
    width: 94%;
    height: 61%;
    top: 28em;
    text-align: center;
    position: absolute;
    background-color: rgb(135 42 150 / 95%);
}
#hours-message h1,
#hours-message h2,
#hours-message h3,
#hours-message h4 {
    color: #FFFFFF;
    margin: auto;
}
#hours-message h1 {
    font-size: 2.8rem;
    margin-top: 4em;
}
#hours-message h2 {
    font-size: 2.5rem;
}
#hours-message h3 {
    font-size: 2.7rem;
}
#hours-message h4 {
    font-size: 2rem;
}
#close-message {
    position: absolute;
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 1rem;
    font-size: 3rem;
    top: 22em;
    left: 10rem;
    color: #C3C3C3;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    z-index: 10;
}
#close-message:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50rem var(--main-color);
} 

.btn {
    display: inline-block;
    padding: 1rem 1rem;
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 4rem;
    font-size: 2.25rem;
    color: #C3C3C3;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}
.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50rem var(--main-color);
}
.btn-group {
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}
.btn-group a {
    background-color: #C3C3C3;
    margin-left: 1rem;
    margin-right: 1rem;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}
.btn-group a:hover {
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: #C3C3C3;
}


.heading {
  font-size: 7.5rem;
  text-align: center;
}

.services {
    height: auto;
    padding-bottom: 1em;
    text-align: center;
    background: rgba(194, 197, 196, 1.0);
}

.services-content p {
    font-size: 2.8rem;
    margin-bottom: 0.8em;
}

.services-message-mobile {
    justify-content: center;
    font-size: 2.8rem;
}
.services-message-desktop {
    display: none;
}

.service-type {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 0.75em;
    border: 0.5rem outset var(--text-color);
    border-radius: 12px;
    box-shadow: 0.3em 0.3em 0.3em 0.3em rgba(50, 50, 50, 0.8);
    background: var(--main-color);
}
.service-type-p {
    text-align: left;
    padding: 0.8rem;
    height: 75%;
}
.service-type-p p {
    font-size: 2rem;
}
.service-type-b {
    display: flex;
    height: 25%;
}
.service-type-b-img {
    width: 20%;
}  
.service-type-b-img img{
    width: 100%;
}
.service-type-b-a {
    width: 80%;
    padding-right: 6rem;
    padding-top: 1em;
}
.service-type-b-a a {
    margin-left: 0.8rem;
    padding: 0.2rem 0.8rem;
    background: var(--nav-color);
    border-radius: 4rem;
    font-size: 2.5rem;
    color: #C3C3C3;
    letter-spacing: 0.08rem;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    z-index: 2;
} 
.service-type:hover { 
    transform: scale(1.1)translateY(-5px)translateX(5px);
    background: var(--main-color);
    z-index: 5;
}
#service-exhaust img {
    left: 0.5rem; 
    top: 12em;
}


.tires {
    height: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    align-items: center;
    text-align: center;
    background: rgba(194, 197, 196, 1.0);
}

.tires-content {
    display: grid;
  }
.tires-content button {
    background: none;
    font-size: 3rem;
    color: #000000;
}
.tires-content button:hover,
.tires-content button:focus {
    color: var(--second-bg-color);
    background: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
} 
  
.tires-info {
    text-align: left;
    border: 0.5rem outset var(--text-color);
    border-radius: 12px;
    background-color: var(--main-color);
}
.tires-info h3 {
    text-align: left;
    font-size: 3.8rem;
    padding-left: 1rem;
}
.tires-info ul {
    font-size: 3rem;
    padding-left: 4rem;
}
.tires-info li {
    padding-top: 2rem;
}
.tires-info b { 
    position: relative;
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 20, 20, 0.9); 
    padding: 1px;
}
.modal-content {
    margin: 8% auto; 
    padding: 20px;
}
.modal-content img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    vertical-align: top; 
}
.close-modal {
    color: var(--nav-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close-modal:hover,
.close-modal:focus {
    color: var(--main-color);
    text-decoration: none;
    cursor: pointer;
} 

.tires-message p {
    font-size: 2rem;
}
#bottom-message {
    text-align: left;
}
.tire-list-container {
    display: flex;
	flex-direction: row;
}
.tires-list {
    font-size: 2rem;
    list-style-type: none;
    color: var(--nav-color);
    display: flex;
	flex-direction: column;
	flex-basis: 100%;
	padding: 0;
}
#tires-list-left {
    margin-left: 1rem;
}
#tires-list-right {
    margin-right: 1rem;
}


.custom-exhaust {
    height: auto;
    background: #C2C5C4;
    padding-top: 1em;
    padding-left: 1rem;
    padding-right: 1rem;
}
.custom-exhaust h2 {
    line-height: 0.8em;
}

.exhaust-content {
    margin-top: 1em;
}

.exhaust-message {
    font-size: 2rem;
}

.exhaust-slideshow {
    position: relative;
    border: 0.5rem outset var(--text-color);
    border-radius: 12px;
    background-color: var(--main-color);
}

.slides {
    padding: 1rem;
}
.slides img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.prev, .next {
    position: absolute;
    top: 45%;
    color: #000000;
    font-weight: bold;
    font-size: 2em;
    transition: 0.6s ease;
    background: transparent;
}
.next {
    right: 0;
}
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
}


.about {
    height: auto;
    background: rgba(194, 197, 196, 1.0);
}
.about h2 {
    font-size: 5rem;
}

.employee-scroll-container-xs {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1em;
}
.employee-scroll-container-sm {
    display: none;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1em;
}
.employee-scroll-container-tb {
    display: none;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1em;
}
.employee-scroll-container-lg {
    display: none;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1em;
}
.employee-container {
    flex: 0 0 100%;
}
.employee,
.employee-placeholder {
    width: 223px;
    height: 325px; 
    scroll-snap-align: center;
    border: 5px solid #333;
    background-color: var(--main-color);
    padding: 1rem;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}
.employee.mousedown {
    z-index: 10;
    margin-top: 7em;
    transform: scale(1.4);
    transition: all 0.5s ease-out;
}
.employee-name-container {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    padding: 1px;
    border-radius: 1px;
    box-shadow: inset -1px -1px rgba(50, 50, 50, 0.3), inset 1px 1px rgba(255, 255, 255, 0.3);
}
.employee-name {
    display: flex;
    padding-left: 10px;
    width: 90%;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 900;
}
.employee-qtlogo {
    display: flex;
    width: 10%;
    justify-content: center;
}
.employee-qtlogo img {
    max-width: 100%;
    height: auto;
}
.employee-level {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: auto;
    padding-right: 1rem;
}
.employee-level span {
    color: var(--second-bg-color);
    font-size: 1.52rem;
}
.employee-image {
    width: 166px;
    height: 166px;
    outline: solid 3px grey;
    border-radius: 1px;
    margin-left: auto;
    margin-right: auto;
}
.employee-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1px;
}
.employee-info {
    display: flex;
    flex-direction: column;
    margin-top: 1em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-bottom: 0.5em;
    height: 26.75%;
    background-color: #F5A580;
    outline: solid 2.5px #B34C1C;
}
.employee-title {
    font-size: 10px;
}
.employee-message {
    margin: auto 0;
}
.employee-stats {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    border-top: solid 1px #000000;
}


.contact-us {
    height: auto;
    text-align: left;
    background: rgba(194, 197, 196, 1.0);
}
.contact-us h2 {
    font-size: 6rem;
}
.contact-content {
    margin-top: 1em;
    padding-left: 1rem;
    padding-right: 1rem;
}
.contact-form {
    display: flex;
    font-size: 2rem;
}
.label {
    font-size: 2.5rem;
}
.input {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    display: flex;
    height: 4rem;
    width: 100%;
    border-radius: 0.375rem;
    font-size: 1.5rem;
    line-height: 1.25rem;
}
.input-message{
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    display: flex;
    height: 8rem;
    width: 100%;
    border-radius: 0.375rem;
    font-size: 1.5rem;
    line-height: 1.25rem;
}
.helptext {
    font-size: 0.8em;
}
.contact-actions button {
    display: inline-block;
    padding: 0.25rem 0.25rem;
    background: var(--main-color);
    box-shadow: 0 0 5px var(--main-color);
    border-radius: 2rem;
    font-size: 2rem;
    color: #000000;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}
.contact-actions button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50rem var(--main-color);
}
.contact-icons {
    font-size: 2rem;
    padding-top: 1em;
    text-align: center;
}
.list-header {
    font-size: 5rem;
}
.direct-contact-container {
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    font-size: 2.5rem;
}
.social-icons {
    text-align: center;
}
.social-icons a { 
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease-in-out;
}
.social-icons a:hover { 
    color: var(--main-color);
    transform: scale(1.3)translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
}

footer {
    background: rgba(194, 197, 196, 1.0);
}
@keyframes cursor {
    0%,
    49% {
        content: "\e100";
    }
    50%,
    100% {
        content: "\e300\e200";
    }
    }

@keyframes words {
    0%,
    20% { 
        content: "TIRES";
    }

    21%,
    40% { 
        content: "BRAKES";
    } 

    41%,
    60% { 
        content: "CUSTOM EXHAUST";
    }

    61%,
    80% { 
        content: "OIL CHANGES";
    }

    81%,
    100% { 
        content: "STATE INSPECTIONS";
    }
}

@keyframes typing {
    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,
    75%,
    90%,
    95% {
        width: 0;
    }
    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85% {
        width: calc(100% + 1px);
    }
}

@media all and (min-width: 360px) {
    .text-animation {
        font-size: 2.41rem;
        font-weight: 600;
        padding-left: 0.8rem;
    }

    .working-hours th,
    td {
        font-size: 2.3rem;
    }
    
    .btn {
        font-size: 2.8rem;
    }

    #hours-message {
        width: 95%;
        height: 48.2%;
        top: 31em;
        text-align: center;
        position: absolute;
        background-color: rgb(135 42 150 / 95%);
    }

    #hours-message h1 {
        font-size: 3rem;
        margin-top: 3em;
    }

    #close-message {
        left: 12.5rem;
    }


    .heading {
        font-size: 7.5rem;
        text-align: center;
    }
    
    .services {
        padding-bottom: 1em;
        text-align: center;
        background: rgba(194, 197, 196, 1.0);
    }
    
    .services-content p {
        font-size: 2.8rem;
        margin-bottom: 0.8em;
    }
    
    .services-message {
        justify-content: center; 
    }
    
    .all-services {
        padding-right: 1.5rem;
    }
    .service-type {
        margin-left: 1rem;
        margin-right: 1rem;
        border: 0.5rem outset var(--text-color);
        border-radius: 12px;
        box-shadow: 0.3em 0.3em 0.3em 0.3em rgba(50, 50, 50, 0.8);
        background: var(--main-color);
    }  
    .service-type-p p {
        font-size: 2rem;
    }
    .service-type-b-img img{
        width: 110%;
    }
    .service-type-b-a {
        width: 80%;
        padding-right: 7.1rem;
        padding-top: 2em;
    }
      
    .tires-info h3 {
        font-size: 3.4rem;
    }
    .tires-info li {
        padding-top: 1.5rem;
    }

    .employee.mousedown {
        margin-top: 11em;
        transform: scale(1.6);
    }
    
}

/* mobile landscape */
@media all and (min-width: 480px) {
    .text-animation {
        font-size: 3.3rem;
        font-weight: 600;
        padding-left: 0.8rem;
    }
    .working-hours th,
    td {
        font-size: 3rem;
    }
    .btn {
        font-size: 3.4rem;
    }
    .btn-group a {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    #hours-message {
        width: 96%;
        height: 49%;
        top: 40.2em;
    }
    #close-message {
        left: 18.5rem;
        top: 24em;
    }
    .services-content p {
        font-size: 3.2rem;
    }
    .service-type-p p {
        font-size: 2.3rem;
    }
    .service-type-b-img img{
        width: 100%;
    }
    .service-type-b-a {
        padding-right: 9.55rem;
        padding-top: 3em;
    }
    .service-type-b-a a {
        font-size: 3rem;
    }

    .tires-message p {
        font-size: 2.2rem;
    }

    .about h2 {
        font-size: 6rem;
    }
    .employee-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .employee.mousedown-em-1-sm{
        transform: translate(58%, 50%) scale(2); 
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-2-sm{
        transform: translate(-58%, 50%) scale(2); 
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-3-sm{
        transform: translate(58%, 0%) scale(2); 
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-4-sm{
        transform: translate(-58%, 0%) scale(2); 
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-5-sm{
        transform: translate(58%, -50%) scale(2); 
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee-scroll-container-xs {
        display: none;
    }
    .employee-scroll-container-sm {
        display: block;
        overflow: hidden;
    }
    .scroll-message {
        display: none;
    }

    .contact-us h2 {
        font-size: 8rem;
    }
    .contact-content {
        max-width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

/* tablet */
@media all and (min-width: 768px) {
    .header {
        position: sticky;
        height: 20%;
        top: 0;
        width: 100%;
        background: #003478;
        display: flex;
        z-index: 5;
        justify-content:space-between;
    }
    .logo img {
        width: 40%;
    }
    .text-animation {
        font-size: 5.6rem;
        font-weight: 600;
        padding-left: 0.8rem;
    }
    .working-hours caption {
        font-size: 5rem;
    }
    .working-hours th,
    td {
        font-size: 5rem;
    }
    .btn {
        font-size: 6rem;
    }
    .btn-group a {
        margin-left: 5rem;
        margin-right: 5rem;
    }

    #hours-message {
        width: 97.5%;
        height: 54.5%;
        top: 57em;
    }
    #close-message {
        left: 32.5rem;
        top: 30em;
    }

    .services-message-mobile p {
        font-size: 2.25em;
    }
    .services-content p {
        font-size: 3.5rem;
    }
    .service-type-p p {
        font-size: 3rem;
    }
    .service-type-b-img img{
        width: 80%;
    }
    .service-type-b-a {
        padding-right: 16rem;
        padding-top: 3.5em;
    }
    .service-type-b-a a {
        font-size: 4rem;
    } 
    .service-type:hover { 
        transform: scale(1.05)translateY(-5px)translateX(5px);
    }

    .tires-info h3 {
        font-size: 4rem;
        text-align: left;
    }
    .tires-info li {
        font-size: 3.35rem;
        padding-top: 1.75rem;
    }

    .tires-message p {
        font-size: 3rem;
    }
    .tires-list {
        font-size: 3.5rem;
    }

    .exhaust-message {
        font-size: 2.8rem;
    }

    .exhaust-slideshow-container {
        padding: 6rem;
    }


    .about h2 {
        font-size: 7rem;
    }
    .employee.mousedown {
        transform: scale(1.4);
    }
    .employee-scroll-container-xs {
        display: none;
    }
    .employee-scroll-container-sm {
        display: none;
    }
    .employee-scroll-container-tb {
        display: block;
        overflow: hidden;
    }
    .employee.mousedown-em-1-tb{
        transform: translate(75%, 52.5%) scale(2); 
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-2-tb{
        transform: translate(-75%, 52.5%) scale(2); 
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-3-tb{
        transform: translate(60%, -50%) scale(2); 
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-4-tb{
        transform: translate(0%, -50%) scale(2);  
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-5-tb{
        transform: translate(-60%, -50%) scale(2); 
        margin: 0;
        transition: all 0.5s ease-out;
    }


    .contact-us {
        padding-bottom: 2em;
    }
    .contact-content {
        display: flex;
    }
    .contact-form {
        margin-right: 1rem;
    }
    .contact-icons {
        margin-left: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* desktop */
@media all and (min-width: 1024px) {
    .navbar {
        display: flex;
    }
    .navbar a {
        font-size: 2.5rem;
        margin-left: 1.5rem;
        margin-right: 1rem;
    }

    .ham-nav {
        display: none;
    }

    .home {
        padding: 1em;
        display: flex;
        align-items: center;
        text-align: left;
        background-image: url("/static/assets/img/backgrounds/qdt_shop.webp");
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    .home-header {
        width: 65%;
        margin-right: 2rem;
        background-color: rgba(194, 197, 196, 0.8);
        outline: var(--nav-color) 5px solid;
        box-shadow: 1em 1em 1em 1em rgba(50, 50, 50, 0.8);
    }
    .text-animation {
        font-size: 3.2rem;
    }
    .text-animation span::after { 
        background-color: #B6B6B5;
    }
    .home-content {
        width: 35%;
        background-color: rgba(194, 197, 196, 0.95);
        outline: var(--nav-color) 5px solid;
        box-shadow: 1em 1em 1em 1em rgba(50, 50, 50, 0.95);
    }
    .working-hours caption {
        font-size: 3.5rem;
    }
    .working-hours th,
    td {
        font-size: 2rem;
    }

    .btn {
        font-size: 2.5rem;
        color: rgba(194, 197, 196, 0.95);
    }
    .btn-group a {
        background-color: rgba(194, 197, 196, 0.95);
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .btn-group a:hover {
        color: rgba(194, 197, 196, 0.95);
    }

    #hours-message {
        width: 33.7%;
        height: 52.5%;
        top: 13em;
    }
    #close-message {
        left: 81.5rem;
        top: 16em;
    }

    .heading {
        font-size: 8rem;
    }

    .services-message-mobile {
        display: none;
    }
    .services-message-desktop {
        display: flex;
        align-items: center;
        width: 34%;
        text-align: left;
        padding-left: 2rem;
    }
    .services-message-desktop p {
        font-size: 5.5em;
    }
    .service-type {
        width: 50%;
    }
    #service-inspections {
        width: 33%;
    }
    #service-oil-changes {
        width: 33%;
    }
    .services-content {
        display: grid;
    }
    .service-type-row {
        display: flex;
    }
    .service-type-p  {
        height: 65%;
    }
    #service-oil-changes .service-type-p {
        height: 75%;
    }
    #service-inspections .service-type-p {
        height: 75%;
    }
    .service-type-p p {
        font-size: 2rem;
    }
    .service-type-b  {
        height: 35%;
    }
    #service-oil-changes .service-type-b {
        height: 25%;
    }
    #service-inspections .service-type-b {
        height: 25%;
    }
    .service-type-b-img img{
        width: 90%;
    }
    .service-type-b-a {
        padding-right: 12rem;
        padding-top: 5em;
    }
    .service-type-b-a a {
        font-size: 3rem;
    } 
    #service-inspections .service-type-b-a {
        padding-right: 8rem;
        padding-top: 2.5em;
    }
    #service-inspections .service-type-b-a a {
        font-size: 2.5rem;
    }
    #service-oil-changes .service-type-b-a {
        padding-right: 8rem;
        padding-top: 2.5em;
    }
    #service-oil-changes .service-type-b-a a {
        font-size: 2.5rem;
    }
    #service-brakes:hover,
    #service-engine-repair:hover {
        transform: scale(1.25)translateY(-5px)translateX(50px);
    }
    #service-inspections:hover {
        transform: scale(1.3)translateY(-5px)translateX(40px);
    }
    #service-oil-changes:hover {
        transform: scale(1.3)translateY(-5px)translateX(-40px);
    }
    #service-tires:hover,
    #service-exhaust:hover {
        transform: scale(1.25)translateY(-5px)translateX(-50px);
    }
    #service-exhaust img {
        left: 0.5rem; 
        top: 13em;
    }


    .tires {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .tires-content {
        display: flex;
    }
    
    .tires-info {
        width: 40%;
        padding-top: 2em;
    }
    .tires-info h3 {
        font-size: 4rem;
    }
    .tires-info li {
        padding-top: 1.5rem;
        font-size: 3.25rem;
    }
    .tires-info button {
        font-size: 3.5rem;
    }

    .modal-content {
        background-color: rgba(254, 254, 254, 0.5);
    }

    .tires-message {
        width: 60%;
    }
    .tires-message p {
        font-size: 3rem;
        padding: 1rem;
        text-align: left;
    }

    .tires-list {
        font-size: 3rem;
        list-style: none;
    }

    .exhaust-message {
        font-size: 3rem;
    }
    .exhaust-slideshow-container {
        height: 75%;
    }

    .about h2 {
        font-size: 7rem;
    }
    #employee-container-top {
        padding-left: 12rem;
        padding-right: 12rem;
    }

    .contact-form {
        margin-right: 5rem;
    }
    .contact-icons {
        margin-left: 5rem;
    }
}

/* desktop wide */
@media all and (min-width: 1200px) {
    .navbar a {
        font-size: 3rem;
        margin-left: 2rem;
    }
    .logo img {
        width: 30%;
    }

    .text-animation {
        font-size: 5.7rem;
    }
    .text-animation span::after { 
        background-color: #B6B6B5;
    }

    .home-content {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    .working-hours caption {
        font-size: 4rem;
    }
    .working-hours th,
    td {
        font-size: 2.8rem;
    }

    .btn {
        font-size: 3rem;
        color: rgba(194, 197, 196, 0.95);
    }
    .btn-group a {
        background-color: rgba(194, 197, 196, 0.95);
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
    .btn-group a:hover {
        color: rgba(194, 197, 196, 0.95);
    }

    #hours-message {
        width: 34%;
        height: 49.5%;
        top: 13.25em;
    }
    #close-message {
        left: 97rem;
        top: 15em;
    }

    .services-message-desktop p {
        font-size: 6.2em;
    }
    
    .service-type-p  {
        height: 60%;
    }
    .service-type-p p {
        font-size: 2.2rem;
    }
    .service-type-b  {
        height: 40%;
    }
    .service-type-b-a {
        padding-right: 13rem;
        padding-top: 4em;
    }
    .service-type-b-a a {
        font-size: 3.5rem;
    } 
    #service-brakes:hover,
    #service-engine-repair:hover {
        transform: scale(1.3)translateY(-5px)translateX(65px);
    }
    #service-inspections:hover {
        transform: scale(1.35)translateY(-5px)translateX(50px);
    }
    #service-oil-changes:hover {
        transform: scale(1.35)translateY(-5px)translateX(-50px);
    }
    #service-tires:hover,
    #service-exhaust:hover {
        transform: scale(1.3)translateY(-5px)translateX(-70px);
    }
    #service-exhaust img {
        left: 0.5rem; 
        top: 13em;
    }
    
    .tires-info {
        padding-top: 0;
    }
    .tires-info h3 {
        font-size: 4.5rem;
    }
    .tires-info li {
        padding-top: 1.5rem;
        font-size: 4rem;
    }
    .tires-info button {
        font-size: 4rem;
    }

    .tires-message {
        width: 60%;
    }
    .tires-message p {
        font-size: 3.5rem;
        padding: 1rem;
        text-align: left;
    }
    
    .tires-list {
        font-size: 3rem;
        list-style: none;
    }

    .exhaust-message {
        font-size: 3.5rem;
    }
    .exhaust-slideshow-container {
        height: 75%;
    }

    .about h2 {
        font-size: 9rem;
    }
    #employee-container-top {
        padding-left: 16rem;
        padding-right: 16rem;
    }

    .contact-us h2 {
        font-size: 10rem;
    }
    .contact-form {
        margin-right: 15rem;
    }
    .contact-icons {
        margin-left: 0%;
    }
    label {
        font-size: 3rem;
    }
    .input {
        padding: 1rem;
        border: 1px solid #e5e7eb;
        display: flex;
        height: 4rem;
        width: 100%;
        border-radius: 0.375rem;
        font-size: 2rem;
        line-height: 1.25rem;
    }
    .input-message {
        height: 15em;
    }
    #id_make, 
    #id_model,
    #id_year,
    #id_subject {
        padding-bottom: 8px;
    }
    .helptext {
        font-size: 1em;
    }
    .contact-actions button {
        display: inline-block;
        padding: 0.25rem 0.25rem;
        background: var(--main-color);
        box-shadow: 0 0 5px var(--main-color);
        border-radius: 2rem;
        font-size: 3rem;
        color: #000000;
        border: 2px solid transparent;
        letter-spacing: 0.1rem;
        font-weight: 600;
        transition: 0.3s ease-in-out;
        cursor: pointer;
    }
    .contact-actions button:hover {
        transform: scale(1.05);
        box-shadow: 0 0 50rem var(--main-color);
    }
    .list-header {
        font-size: 10rem;
    }
    .contact-location-link {
        font-size: 5rem;
    }
    .contact-phone-link {
        font-size: 5rem;
    }
    .social-icons a { 
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 6rem;
        height: 6rem;
        background: transparent;
        border: 2px solid var(--main-color);
        font-size: 4rem;
        border-radius: 50%;
        color: var(--main-color);
        margin: 3rem 1.5rem 3rem 0;
        transition: 0.3s ease-in-out;
    }
}

@media all and (min-width: 1600px) {
    .navbar a {
        font-size: 3.5rem;
        margin-left: 2.5rem;
    }
    .logo img {
        width: 25%;
    }

    .text-animation {
        font-size: 7.8rem;
        padding-left: 1rem;
    }

    .home-content {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    .working-hours {
        height: 30em;
    }
    .working-hours caption {
        font-size: 5rem;
    }
    .working-hours th,
    td {
        font-size: 3.2rem;
    }

    .btn {
        font-size: 4rem;
    }
    .btn-group a {
        margin-left: 2.5rem;
        margin-right: 2.5rem;
    }

    #hours-message {
        width: 34.25%;
        height: 57.5%;
        top: 17.5em;
    }
    #close-message {
        left: 131rem;
        top: 17em;
    }

    .heading {
        font-size: 10rem;
    }

    .services-message-desktop p {
        font-size: 6.75em;
    }
    
    .service-type-p  {
        height: 50%;
    }
    #service-inspections .service-type-p {
        height: 60%;
    }
    #service-oil-changes .service-type-p {
        height: 60%;
    }
    #service-inspections .service-type-b {
        height: 40%;
    }
    #service-oil-changes .service-type-b {
        height: 40%;
    }
    .service-type-p p {
        font-size: 2.75rem;
    }
    .service-type-b  {
        height: 50%;
    }
    #service-inspections .service-type-b {
        padding-top: 2em;
    }
    #service-oil-changes .service-type-b {
        padding-top: 2em;
    }
    #service-inspections .service-type-b-a {
        padding-top: 6em;
    }
    #service-inspections .service-type-b-a a {
        font-size: 4em;
    }
    #service-oil-changes .service-type-b-a {
        padding-top: 6em;
    }
    #service-oil-changes .service-type-b-a a{
        font-size: 4em;
    }
    .service-type-b-img img {
        padding-top: 2em;
    }
    .service-type-b-a {
        padding-right: 17rem;
        padding-top: 8em;
    }
    .service-type-b-a a {
        font-size: 4.5rem;
    } 
    #service-brakes:hover,
    #service-engine-repair:hover {
        transform: scale(1.3)translateY(-5px)translateX(95px);
    }
    #service-inspections:hover {
        transform: scale(1.35)translateY(-5px)translateX(70px);
    }
    #service-oil-changes:hover {
        transform: scale(1.35)translateY(-5px)translateX(-70px);
    }
    #service-tires:hover,
    #service-exhaust:hover {
        transform: scale(1.3)translateY(-5px)translateX(-95px);
    }
    #service-exhaust img {
        left: 0.5rem; 
        top: 13em;
    }
    
    .tires-info {
        padding-top: 3em;
    }
    .tires-info h3 {
        font-size: 5rem;
    }
    .tires-info li {
        padding-top: 1.75rem;
        font-size: 4.3rem;
    }
    .tires-info button {
        font-size: 4.5rem;
    }
    .modal {
        overflow: auto; /* Enable scroll if needed */
    }
    .modal-content {
        margin: 8% auto; /* 15% from the top and centered */
        padding: 20px;
        width: 80%; 
        height: 80%;
    }
    .modal-content img {
        height: 100%;
    }
    
    .tires-message p {
        font-size: 3.55rem;
    }
    .tires-list {
        font-size: 4rem;
    }

    .exhaust-message {
        font-size: 3.5rem;
    }
    .exhaust-content {
        height: auto;
    }
    .exhaust-slideshow-container {
        padding-left: 15rem;
        padding-right: 15rem;
        height: auto;
    }
    .slides {
        display: flex;
        padding: auto;
        justify-content: center;
    }

    .about {
        height: auto;
    }
    .about h2 {
        font-size: 12rem;
    }
    .employee.mousedown {
        transform: scale(1.4);
    }
    .employee-scroll-container-lg.mousedown {
        height: 700px;
        transition: height 0.5s ease-out;
        overflow: hidden;
    }
    .employee-container.mousedown {
        height: 700px;
        transition: height 0.5s ease-out;
        overflow: hidden;
    }
    .employee-scroll-container-xs {
        display: none;
    }
    .employee-scroll-container-sm {
        display: none;
    }
    .employee-scroll-container-tb {
        display: none;
    }
    .employee-scroll-container-lg {
        display: block;
        height: 500px;
        padding: 0;
        overflow: hidden;
    }
    .employee-container {
        height: 500px;

    }
    .employee.mousedown-em-1-lg {
        transform: translate(72.5%, 0%) scale(2); 
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-2-lg {
        /* transform: translate(-75%, 52.5%) scale(2);  */
        transform: scale(2);
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-3-lg {
        /* transform: translate(60%, 50%) scale(2);  */
        transform: scale(2);
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-4-lg {
        /* transform: translate(0%, 50%) scale(2);   */
        transform: scale(2);
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-5-lg {
        transform: scale(2); 
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-6-lg {
        transform: scale(2); 
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-7-lg {
        transform: scale(2);
        margin: 0;
        transition: all 0.5s ease-out;
    }
    .employee.mousedown-em-8-lg {
        transform: translate(-70%, 0%) scale(2); 
        margin: 0;
        transition: all 0.5s ease-out;
    }

    .contact-form {
        margin-right: 15rem;
    }
    .contact-icons {
        margin-left: 15rem;
    }
}

@media all and (min-width: 1920px) {
    .navbar a {
        font-size: 4rem;
        margin-left: 3rem;
    }
    .logo img {
        width: 20%;
    }

    .text-animation {
        font-size: 9rem;
        padding-left: 2rem;
    }

    .home-content {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    .working-hours {
        height: 45em;
    }
    .working-hours caption {
        font-size: 6.5rem;
    }
    .working-hours th,
    td {
        font-size: 4.5rem;
    }

    .btn {
        font-size: 5rem;
    }
    .btn-group a {
        margin-left: 4rem;
        margin-right: 4rem;
    }

    #hours-message {
        width: 34.25%;
        height: 70.5%;
        top: 13em;
    }
    #close-message {
        left: 158rem;
        top: 15em;
    }

    .services-message-desktop p {
        font-size: 8.25em;
    }
    #service-brakes:hover,
    #service-engine-repair:hover {
        transform: scale(1.1)translateY(-5px)translateX(50px);
    }
    #service-inspections:hover {
        transform: scale(1.20)translateY(-5px)translateX(55px);
    }
    #service-oil-changes:hover {
        transform: scale(1.20)translateY(-5px)translateX(-55px);
    }
    #service-tires:hover,
    #service-exhaust:hover {
        transform: scale(1.1)translateY(-5px)translateX(-50px);
    }

    .tires-info {
        padding-top: 5.5em;
    }
    .tires-info h3 {
        font-size: 5.8rem;
    }
    .tires-info li {
        padding-top: 1.75rem;
        font-size: 4.8rem;
    }
    .tires-info button {
        font-size: 5rem;
    }
    
    .tires-message p {
        font-size: 4.25rem;
    }

    .tires-list {
        font-size: 4rem;
    }

    .exhaust-content {
        padding-left: 7rem;
        padding-right: 7rem;
    }
    .exhaust-message {
        font-size: 4rem;
    }
    .exhaust-slideshow-container {
        padding-left: 14rem;
        padding-right: 14rem;
    }
    .slides {
        display: flex;
        padding: auto;
        justify-content: center;
    }

    .contact-form {
        margin-right: 15rem;
    }
    .contact-icons {
        margin-left: 15rem;
    }
}