@import url('utils.css');
@import url('variables.css');
@import url('typography.css');

/* Global */

*, html {
    scroll-behavior: smooth !important;
}

html {
    scrollbar-gutter: stable;
}

body, html {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    height: 100vh;
}

button {
    cursor: pointer;
}

/* Header */

header {
    width: 100%;
    position: absolute;
    top: 0;
    height: fit-content;
    min-height: 200px;
}

.header__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--isabelline);
    opacity: 0.85;
}

.header__content {
    display: flex;
    flex-direction: column;
}

.header__logo {
    margin: 2rem;
    z-index: 5;
}

.header__logo svg {
    width: 300px;
    height: auto;
}

.header__nav {
    width: 100%;
    padding-right: 2rem;
    z-index: 6;
    order: -1;
    display: flex;
    justify-content: end;
}

.header__nav ul {
    position: absolute;
    left: 2rem;
    display: flex;
    flex-direction: column;
    list-style: none;
    font-size: 2rem;
    transform: translate(0, 100px);
}

.header__nav li a {
    text-decoration: none;
    color: var(--isabelline);
    line-height: 3;
    opacity: 0;
}

.header__nav li a:hover {
    color: var(--ucla-gold);
}

.menu-bg {
    background-color: var(--blue-sapphire);
    position: absolute;
    width: 100vw;
    height: 0vh;
    z-index: 5;
    transition: all 500ms ease-in-out;
}

.burger-icon {
    width: 40px;
    height: 32px;
    padding: 2rem 2rem 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.burger {
    width: 40px;
    height: 8px;
    border-radius: 4px;
    background-color: var(--blue-sapphire);
    transition: all 500ms ease-in-out;
}

/* ////////////////// LOADER ///////////////////// */

.loader {
    position: absolute;
    background-color: var(--isabelline);
    width: 100%;
    height: 100%;
    z-index: 10000001;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-anim {
    border: 14px solid var(--ball-blue);
    border-top: 16px solid var(--ucla-gold);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: loaderSpin 2s linear infinite;
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* FAB */

.fab {
    display: none;
    position: fixed;
    width: 100px;
    height: 100px;
    bottom: 75px;
    right: 75px;
    opacity: 0.75;
    z-index: 10;
    animation: arrowPulse 1.5s ease-in-out 0s infinite alternate;
    transition: all 1s ease-in-out;
}

@keyframes arrowPulse {
    0% {opacity: 0.25;}

    100% {opacity: 0.65;}
}

.stop-scrolling {
    overflow: hidden;
    height: 100vh;
}

.hidden {
    display: none;
}

/* Main */

main {
    width: 100%;
    min-height: 60vh;
    background-image: url(../images/chain-bg.png);
    background-repeat: repeat;
    background-color: var(--isabelline);
    overflow-x: hidden;
}

.hero {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
}

.content {
    justify-content: center;
    padding: 0 1rem;
    margin: auto;
    padding-top: 2rem;
    min-height: inherit;
}

/* Home */

#home__hero {
    background-image: url(../images/home.jpg);
}

.home__cta {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.home__cta button {
    border: none;
    border-radius: 0;
    width: 20rem;
    height: 4rem;
    margin: 1rem 0 0 0;
    background-color: var(--ball-blue);
    margin-bottom: 6rem;
    box-shadow: var(--rich-shade);
    transition: all 500ms;
}

.home__cta button:hover {
    background-color: var(--ucla-gold);
}

.home__cta a {
    color: var(--isabelline);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 500;
}

.home__intro, .home__featured {
    width: 100%;
    height: fit-content;
    gap: 2rem;
}

.home__intro > * {
    flex-basis: 25%;
    padding: 2rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--rich-shade);
}

.home__intro .btn {
    border: none;
    border-radius: 0;
    width: 100%;
    padding: 0.5rem 0;
    margin: 1rem 0 0 0;
    color: var(--isabelline);
    background-color: var(--ball-blue);
    transition: all 250ms;
}

.home__intro .btn:hover {
    background-color: var(--ucla-gold);
}

.home__intro a {
    text-decoration: none;
    font-size: 1.5rem;
    text-align: center;
}

.home__intro .btn:hover {
    color: var(--blue-sapphire);
}

#quote {
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    color: var(--isabelline);
    background-color: var(--ball-blue);
    grid-column: 1 / span 8;
    grid-row: 1 / span 1;
}

.quote-text h2 {
    line-height: 1.6;
}

#sig {
    color: var(--blue-sapphire);
    margin-top: 2rem;
}

#we-buy {
    color: var(--isabelline);
    background-color: var(--blue-sapphire);
    grid-column: 1 / span 8;
    grid-row: 2 / span 1;;
}

#service {
    color: var(--blue-sapphire);
    background-color: var(--ucla-gold);
    grid-column: 1 / span 8;
    grid-row: 3 / span 1;
}

#new-used {
    color: var(--blue-sapphire);
    background-color: var(--ucla-gold);
    grid-column: 1 / span 8;
    grid-row: 5 / span 1;
}

#new-used .btn, #service .btn {
    color: var(--blue-sapphire);
    background-color: var(--isabelline);
    transition: all 250ms;
}

#new-used .btn:hover, #service .btn:hover {
    color: var(--isabelline);
    background-color: var(--ball-blue);
    color: var(--isabelline);
}

#parts {
    color: var(--isabelline);
    background-color: var(--blue-sapphire);
    grid-column: 1 / span 8;
    grid-row: 4 / span 1;
}

.home__featured h2 {
    text-align: center;
    grid-column: 1 / span 8;
    margin: 2rem;
    color: var(--blue-sapphire);
    font-size: 3rem;
}

.feat-bikes {
    grid-column: 1 / span 8;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.feat-bikes {
    grid-column: 1 / span 8;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
}

.home-card {
    padding: 0;
}

.feat-bikes-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    background-color: white;
    box-shadow: var(--rich-shade);
}

.feat-bikes-card h3 {
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--blue-sapphire);
    line-height: 1.25;
    margin: 1rem 0;
}

.feat-bikes-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-sapphire);
    margin: 1rem 0;
}

.feat-bikes-card h5 {
    font-size: 1rem;
    font-weight: 300;
    color: var(--blue-sapphire);
    letter-spacing: .1rem;
}

.feat-bikes-card img {
    width: 100%;
    -webkit-text-size-adjust: 3 / 2;
    object-fit: contain;
    margin-top: 1rem;
}

.itemcard__description {
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 1rem 0;
    height: 6rem;
}

.feat-bikes-card button {
    border: none;
    border-radius: 0;
    width: 100%;
    height: 3rem;
    margin: 1rem 0 0 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--isabelline);
    background-color: var(--ball-blue);
    transition: all 250ms;
}

.feat-bikes-card button:hover {
    color: var(--blue-sapphire);
    background-color: var(--ucla-gold);
}

.feat-bikes-card a {
    text-decoration: none;
}

.modal-window {
    width: 60%;
    height: fit-content;
    position: fixed;
    margin: auto;
    padding: 2rem 2rem 5rem 2rem;
    background-color: var(--isabelline);
    background-size: 65dvh;
    box-shadow: var(--rich-shade);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    &:target {
      visibility: visible;
      opacity: 1;
      pointer-events: auto;
      overflow: hidden;
    }
}
  
.modal-close {
    position: relative;
    color:var(--isabelline);
    background-color: var(--blue-sapphire);
    padding: 0.5rem 3rem;
    font-size: 1rem;
    text-align: left;
    left: 0;
    right: 0;
    top: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    &:hover {
        color: var(--blue-sapphire);
      background-color: var(--ucla-gold);
    }
}

.modal-window table {
    table-layout: fixed;
    font-family: 'Roboto', sans-serif;
    height: fit-content;
    width: 100%;
    font-size: 0.75rem;
}

.modal-window table td {
    padding: 0.5rem;
    text-align: left;
    font-weight: 300;
}

.modal-window table th {
    padding: 0.5rem;
    font-weight: 700;
}

.modal-window table tr:nth-child(even) {
    background-color: #fff;
}

.modal-window table th {
    text-align: left;
}


/* Inventory */

#inventory__hero {
    background-image: url(../images/bikes.jpg);
}

.hero-text {
    text-transform: uppercase;
    position: absolute;
    left: 3rem;
    bottom: 5rem;
    font-size: 20vw;
    font-weight: 700;
    color: var(--isabelline);
    opacity: 0.75;
    line-height: 1;
    text-shadow: var(--rich-shade);
}

.hero-text span {
    font-size: 3vw;
    margin-left: 0.5vw;
}

.hero__featured {
    max-width: 1440px;
}

.hero__featured h2 {
    text-align: center;
    grid-column: 1 / span 12;
    color: var(--ucla-gold);
    font-size: 5rem;
    margin-top: 275px;
    text-shadow: var(--rich-shade);
}

.hero__featured .feat-bikes {
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
}

.hero__featured .feat-bikes-card {
    margin: 1rem;
    opacity: 0.75;
    backdrop-filter: blur(10rem);
}

.hero__featured .feat-bikes-card:nth-child(1) img::before {
    content: "Top Seller";
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    color: var(--blue-sapphire);
}

.hero__featured .feat-bikes-card p {
    display: none;
}

/* Search/Sort/Filter Bar */

.search-bar {
    /* margin: 2rem; */
    width: 100%;
    height: fit-content;
    background-color: var(--blue-sapphire);
    box-shadow: var(--rich-shade);
}

.search-bar form {
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.search-bar input {
    height: 1.5rem;
    padding: 0.5rem;
    border: 0;
    margin: 0;
    width: 100%;
    box-shadow: var(--rich-shade);
}

.search-input {
    width: 100%;
}

.search-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.search-btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-decoration: none; 
    width: 9rem;
    padding: 0.75rem 0;
    background: var(--ball-blue);
    color: var(--isabelline);
    border: none;
    box-shadow: var(--rich-shade);
    text-align: center;
    margin: 0.5rem;
}

.search-btn a {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-decoration: none; 
    color: var(--isabelline);
}

.checkbox_wrapper label {
    font-family: 'Roboto', sans-serif;
}

.search-bar .checkboxes {
    color: var(--isabelline);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.search-bar .checkbox_wrapper {
    display: flex;
    flex-direction: row;
}

.search-bar .checkbox_wrapper input {
    accent-color: var(--ball-blue);
    width: 1.5rem;
    height: 2rem;
    margin: 0 1rem 0 0;    
}

.search-bar .checkbox_wrapper label {
    translate: 0;
}

.search-bar a {
    height: 2rem;
}

#sort { 
    position: relative; 
    margin-top: 2rem;
} 

#sort a { 
    font-family: 'Roboto', sans-serif;
    text-decoration: none; 
    padding: 5px 15px 5px; 
    
}

.dropdown-toggle { 
    padding: 0; 
    background: var(--ball-blue);
    color: var(--isabelline);
    width: 100%; 
}

.dropdown { 
    display: none; 
    position: absolute; 
    top: 100%;
    margin-top: 5px; 
    padding: 5px; 
    background: #fff; 
    box-shadow: var(--rich-shade);
}

.dropdown li { 
    list-style-type: none; 
}

.dropdown li a { 
    font-family: 'Roboto', sans-serif;
    text-decoration: none; 
    color: var(--blue-sapphire);
    padding: 0em 1em; 
    display: block; 
}

/* Pagination */

.pagination-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.page-info p {
    font-family: 'Oswald', sans-serif;
    color: var(--blue-sapphire);
    font-size: 1.5rem;
}

.pagination, .page-numbers {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.pagination {
    width: 100%;
    margin: 2rem auto;
}

.pagination a:not(.page-numbers a) {
    min-width: 1rem;
}

.pagination a, .page-numbers a, .page-numbers p {
    font-size: 0.75rem;
    text-decoration: none;
    background-color: var(--blue-sapphire);
    color: var(--isabelline);
    text-align: center;
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    transition: all 500ms;
}

.pagination a {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.pagination a:hover, .page-numbers a:hover {
    background-color: var(--ucla-gold);
    color: var(--blue-sapphire);
}

.active {
    background-color: var(--ball-blue) !important;
    color: var(--isabelline) !important;
}

/* Item Detail */

.item-detail {
    background-color: white;
    padding: 2rem;
    box-shadow: var(--rich-shade);
    display: flex;
    flex-direction: column;
    margin: 230px 0 40px 0;
}

.item-detail img {
    flex-basis: 100%;
    max-width: 100%;
    height: 100%;
    padding: 0rem;
    object-fit: contain;
    margin-bottom: 1rem;
}

.item-detail-text {
    font-family: 'Roboto', sans-serif;

    flex-basis: 100%;
    max-width: 100%;
    padding: 0rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-detail h3 {
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.item-detail h4 {
    font-size: 1.5rem;
    color: var(--blue-sapphire);
}

.item-detail h5 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--blue-sapphire);
    letter-spacing: .1rem;
}

.item-detail-text p {
    margin-right: 1.25rem;
    line-height: 2;
}

.item-detail-head > *:not(a), .item-detail-head div > * {
    margin-bottom: 1rem;
}

.item-detail button {
    border: none;
    border-radius: 0;
    width: 100%;
    height: 3rem;
    margin: 1rem 0 0 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--isabelline);
    background-color: var(--blue-sapphire);
    transition: all 250ms;
}

.item-detail button:hover {
    background-color: var(--ucla-gold);
    color: var(--blue-sapphire);
}

.size-and-chart {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

/* Blog */

#blog__hero {
    background-image: url(../images/services.jpg);
}

.blog__posts {
    display: flex;
    flex-direction: column;
}

.blog-post-card {
    height: fit-content;
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: var(--rich-shade);
    margin: 2rem 0 0 0;
}

.blog-post-img {
    width: auto;
    height: 200px;
    margin: 1rem;
    background-size: cover;
    background-position: center;
}

.blog-post-text {
    flex-basis: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    margin: 1rem ;
    color: var(--blue-sapphire);
}

.blog-post-text button {
    border: none;
    border-radius: 0;
    width: 100%;
    height: 3rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--isabelline);
    background-color: var(--blue-sapphire);
    transition: all 250ms;
}

.blog-post-text button:hover {
    background-color: var(--ucla-gold);
    color: var(--blue-sapphire);
}

.blog-post-text a {
    text-decoration: none;
}

/* Services */

.tune-up-pricing {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 1rem 0;
}

.service {
    max-width: 1440px;
    padding: 1rem;
    margin: 1rem;
}

.service .blog-post-text h2 {
    font-size: 3rem;
    font-weight: 700;
}

.service .blog-post-text p {
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 1rem;
}

.serv-sub {
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.serv-sub p {
    margin-right: 1rem;
    font-size: 0.75rem;
}

table {
    table-layout: fixed;
    font-family: 'Roboto', sans-serif;
    height: fit-content;
    width: 100%;
}

.blog-post-card table td {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 300;
}

.blog-post-card table th {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.alacarte table td {
    padding: 0.5rem;
    text-align: left;
    vertical-align: middle;
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
}

.alacarte table th {
    font-family: 'Oswald', sans-serif;
    text-align: left;
    font-size: 1.25rem;
    vertical-align: middle;
    padding: 1rem 0;
}

.alacarte table th span {
    font-weight: 300;
    font-size: 1rem;
}

.blog-post-card tr td:nth-child(1) {
    text-align: left;
    font-weight: 600;
}

.blog-post-card .alacarte tr td:nth-child(1) {
    font-weight: 400;
}

.blog-post-card table tr:nth-child(1) {
    font-weight: 600;
}

.blog-post-card table tr:nth-child(even) {
    background-color: var(--isabelline);
}

/* Contact */

#contact__hero {
    background-image: url(../images/AdobeStock_119149380.jpeg);
}

/* Footer */

footer {
    position: relative;
    bottom: 0;
    height: fit-content;
    background-color: var(--blue-sapphire);
    padding: 2rem 2rem 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer__bg {
    width: 0;
}

.footer__bg svg {
	height: auto;
	width: 480px;
	position: absolute;
	bottom: 0;
	right: 2rem;
}

.footer__logo {
    top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer__logo a, .footer__locations a {
    text-decoration: none;
    color: var(--isabelline);
    margin-top: 1rem;
    font-size: 1.5rem;
}

.footer__logo a:hover, .footer__locations a:hover {
    color: var(--ucla-gold);
}

.footer__locations {
    display: flex;
    flex-direction: column;
}

.location {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.location h4 {
    color: var(--isabelline);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 2;
}

.location span {
    color: var(--ball-blue);
}

.footer__copyright p {
    color: var(--ball-blue);
    font-size: 14px;
}

.footer__copyright a {
    font-family: 'Roboto', sans-serif;
    color: var(--ball-blue);
    font-size: 14px;
    text-decoration: none;
    transition: all 250ms;
}

.footer__copyright a:hover {
    color: var(--ucla-gold);
}

/* Login/Admin */

.login__content {
    min-height: 100vh;
    color: var(--blue-sapphire);
    display: flex;
    justify-content: center;
    align-items: center;
}

.login__form {
    width: 30rem;
    height: 20rem;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--rich-shade);
}

.login__form-container, .admin__delete-item-form-container {
    width: 21rem;
}

.login__form-container input, .admin__add-item-form input, .admin__add-item-form textarea, .admin__add-item-form select, .admin__edit-item-form textarea, .admin__edit-item-form input {
    width: 18rem;
    color: var(--blue-sapphire);
    background-color: var(--isabelline);
    border: none;
    padding: 5px;
    margin-top: 2px;
}

.login__form-input {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 1rem 0;
    font-family: "Roboto", sans-serif;
}

.login__form button, .admin__add-item-form button, .admin__delete-item-form button, .admin__item-list button, .login__form .btn, .admin__add-item-form .btn, .admin__delete-item-form .btn, .admin__item-list .btn, .admin__update-message-form button, .admin__edit-item-form button {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    color: #fff;
    background-color: var(--blue-sapphire);
    border: none;
    padding: 0.5rem 0;
    text-align: center;
}

.login__form button, .admin__add-item-form button, .admin__delete-item-form button, .login__form .btn, .admin__add-item-form .btn, .admin__delete-item-form .btn {
    display: block;
    margin: 0.5rem 0;
    width: 10rem;
}

.admin__item-list button {
    padding: 0.5rem 1rem;
}

.login__form button, .login__form .btn, .admin__add-item-form .btn, .admin__delete-item-form .btn, .admin__update-message-form .btn, .admin__edit-item-form .btn {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    text-align: center;
}

.admin__content {
    color: var(--blue-sapphire);
    margin-bottom: 1rem;
    margin-top: 15rem;
}

#message_content {
    min-height: 200px;
}

.admin__add-item-form, .admin__edit-item-form, .admin__delete-item-form, .admin__update-message-form {
    background-color: #fff;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    box-shadow: var(--rich-shade);
}

.admin__update-message-form {
    margin-bottom: 1rem;
}

.admin__add-item-form {
    margin: 1rem 0 2rem;
}

/* .admin__update-message-form {
    margin-top: 15rem;
} */

.admin__add-item-form-container, .admin__edit-item-form-container, .admin__update-message-form-container, .admin__delete-item-form-container {
    /* width: 18rem; */
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.admin__add-item-form-container form, .admin__delete-item-form-container form, .admin__update-message-form-container {
    height: fit-content;
    display: flex;
    flex-direction: column;
    /* padding: 1rem; */
}

.admin__item-list {
    min-height: 4rem;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: var(--rich-shade);
    margin: auto auto 1rem;
    padding: 1rem;
}

.admin-btns {
    width: max-content;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    order: 2;
}

.admin-btns button, .admin-btns .btn {
    width: 8rem;
    padding: 0.5rem 0;
    text-align: center;
}

.item-row {
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
}

.item-row__buttons {
    min-width: 9rem;
}

.item-row h5 {
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    margin-right: 0.5rem;
}

.admin__add-item-form textarea {
    height: 4rem;
    max-height: 6.5rem;
    max-width: 298px;
}

.admin__item-list-wrapper :nth-child(odd of .item-row) {
    background-color: var(--isabelline);
}

.update-img-btn {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    width: max-content;
    padding: 0.5rem 2rem;
    background-color: var(--blue-sapphire);
    color: var(--isabelline);
    text-decoration: none;
    user-select: none;
}

.checkboxes {
    /* width: 38rem; */
    font-family: 'Roboto', sans-serif;
    color: var(--blue-sapphire);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0.5rem 0;
    line-height: 2;
}

.checkboxes input {
    width: unset;
}

.checkboxes label {
    margin: auto 0;
    translate: -1rem 0;
}

.checkbox_wrapper {
    margin-right: 1rem;
}

/* Breakpoints */
@media(min-width:768px) {

    .item-detail-wrapper .content {
        min-height: 85vh;
    }

    #we-buy {
        grid-column: 1 / span 4;
        grid-row: 2 / span 1;;
    }

    #service {
        grid-column: 5 / span 4;
        grid-row: 2 / span 1;;
    }

    #new-used {
        grid-column: 1 / span 4;
        grid-row: 3 / span 1;
    }

    #parts {
        grid-column: 5 / span 4;
        grid-row: 3 / span 1;;
    }

    /* Inventory Page */

    .blog-post-card table td {
        font-size: 1.25rem;
    }

    .feat-bikes {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: left;
        gap: 2rem;
    }

    .feat-bikes-card {
        min-width: 25%;
        flex: 1;
    }

    .modal-window table {
        font-size: 1.15rem;
    }  
    
    /* Services */

    .serv-sub {
        font-size: 1rem;
        display: flex;
        flex-direction: row;
        margin-top: 1rem;
    }

    /* Search Bar */

    .search-bar form {
        align-items: baseline;
    }

    .search-bar input {
        width: 98%;
    }

    .search-bar .checkboxes {
        height: 4rem;
    }

    .search-btn {
        margin: 0 1rem 1rem 0;
    }

    /* Pagination */

    .pagination a:not(.page-numbers a) {
        min-width: 4rem;
    }

    .pagination {
        margin: 2rem auto;
    }
    
    .pagination a:not(.page-numbers a) {
        min-width: 4rem;
    }
    
    .pagination a, .page-numbers a {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        margin: 0 0.5rem;
    }

    .page-numbers p {
        font-size: 2rem;
        height: 2rem;
    }

    /* Admin */

    .admin__add-item-form, .admin__edit-item-form, .admin__delete-item-form, .admin__update-message-form {
        padding: 2rem 0;
    }

    /* .admin__add-item-form-container form {
        flex-direction: row;
        flex-wrap: wrap;
        padding: inherit;
    }

    .admin__add-item-form-container form .col-1 {
        flex-basis: 50%;
        max-width: 50%;
    }
    
    .admin__add-item-form-container form .col-2 {
        flex-basis: 50%;
        max-width: 50%;
    } */

}

@media(min-width:1084px) {

    .feat-bikes {
        max-width: 64rem;
        margin: 2rem auto;
        gap: 2rem;
        padding: 0;
    }

    .search-bar {
        margin: 0 0 2rem 0;
    }

}

@media(min-width:1085px) {

    body, html {
        overflow-x: unset;
    }

    .fab {
        display: block;
        width: 75px;
        height: 75px;
        bottom: 25px;
        right: 25px;
    }

    .hero-text {

        font-size: 12vw;
    }

    .content {
        max-width: 1024px;
    }
    
    /* Header */

    header {
        position: absolute;
        top: 0;
        height: fit-content;
        min-height: unset;
    }

    .header__bg {
        position: absolute;
        background-color: var(--isabelline);
        opacity: 0.85;
    }

    .header__content {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
    }

    .header__logo {
        margin: 2rem 2rem 0 2rem;
        z-index: 5;
    }

    .header__logo svg {
        width: 25vw;
    }

    .header__nav {
        order: 1;
    }

    .header__nav ul {
        position: relative;
        left: unset;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        list-style: none;
        font-size: 1.5rem;
        transform: unset;
        margin-bottom: 0;
    }

    .header__nav li a {
        text-decoration: none;
        color: var(--blue-sapphire);
        opacity: 1;
        margin-right: 4rem;
    }

    .header__nav li a:hover {
        color: var(--ball-blue);
    }

    .burger-icon {
        display: none;
    }

    /* Home */

    .home__intro {
        width: 100%;
        height: fit-content;
    }

    .home__intro > * {
        padding: 2rem;
        margin-bottom: none;
    }
    

    #quote {
        flex-direction: row;
        grid-column: 1 / span 8;
        grid-row: 1 / span 1;
    }

    #quote .quote-text {
        padding: 1rem 4rem;
    }

    #service button {
        margin-bottom: 0;
    }

    #we-buy button {
        margin-bottom: 0;
    }

    #parts button {
        margin-bottom: 0;
    }

    .home__featured {
        margin-top: 3rem;
    }
    
    .home__featured h2 {
        font-size: 4rem;
    }

    /* Inventory Page */

    .feat-bikes-card img {
        height: 10.5rem;
    }

    .search-bar input {
        padding: 0.5rem;
        width: 40rem;
    }

    .search-btn {
        /* width: 12rem; */
    }

    /* search filter bar */

    .search-bar form {
        height: 100%;
        padding: 2rem;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .search-buttons {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    /* Item Detail */

    .item-detail {
        background-color: white;
        padding: 2rem;
        box-shadow: var(--rich-shade);
        display: grid;
        grid-template-columns: 55% 45%;
        grid-template-rows: fit-content fit-content;
        column-gap: 1rem;
        row-gap: 1rem;
        margin: 24vh 0 40px 0;
    }

    .item-detail img {
        grid-column: 1 / span 1;
        grid-row: 1 / span 1;
    }

    .item-detail-head {
        grid-column: 2 /span 1;
        grid-row: 1 / span 1;
    }

    .item-detail-text {
        grid-column: 1 / span 2;
        grid-row: 2 / span 1;
        padding-right: 1rem;
    }

    .item-detail h3 {
        font-size: 4rem;
    }
    
    .item-detail h4 {
        font-size: 2rem;
        color: var(--blue-sapphire);
    }
    
    .item-detail-text p {
        line-height: 1.5;
    }

    /* Blog */

    .blog__posts {
        display: flex;
        flex-direction: column;
    }

    .blog-post-card {
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: row;
        background-color: white;
        box-shadow: var(--rich-shade);
        margin: 2rem 0 0 0;
    }

    .blog-post-img {
        height: unset;
        flex-basis: 30%;
        max-width: 30%;
        margin: 2rem;
        background-size: cover;
        background-position: center;
    }

    .blog-post-text {
        flex-grow: 1;
        flex-basis: 70%;
        max-width: 70%;
        display: flex;
        flex-direction: column;
        margin: 2rem ;
        color: var(--blue-sapphire);
    }

    .blog-post-text button {
        border: none;
        border-radius: 0;
        width: 16rem;
        height: 3rem;
        margin: 1rem 0 0 0;
        font-family: 'Oswald', sans-serif;
        font-size: 1.5rem;
        color: var(--isabelline);
        background-color: var(--blue-sapphire);
        transition: all 250ms;
    }

    .blog-post-text button:hover {
        background-color: var(--ucla-gold);
        color: var(--blue-sapphire);
    }

    .blog-post-text a {
        text-decoration: none;
    }

    .blog-post-card:nth-child(even) .blog-post-text {
        order: -1;
    }

    /* Services */

    .service {
        /* min-height: 80vh; */
        align-self: center;
        margin: 2rem 0;
    }

    .service table {
        font-size: 1rem;
    }

    .service .blog-post-text {
        justify-content: space-between;
    }

    .blog-post-card table th {
        font-size: 1.25rem;
    }

    /* Footer */

    footer {
        position: relative;
        flex-direction: row;
    }

    .footer__bg svg {
        position: inherit;
        width: unset;
        height: auto;
        display: block;
        max-height: 225px;
    }

    .footer__logo {
        position: absolute;
    }

    .footer__locations {
        flex-direction: row;
    }

    .location {
        margin: 0 2rem;
    }

    /* Admin */

    .admin__content {
        margin-bottom: 2rem;
    }

    .login__form-container input, .admin__add-item-form textarea, .admin__add-item-form select, .admin__update-message-form {
        width: 18rem;
    }

    .admin__add-item-form, .admin__edit-item-form, .admin__update-message-form, .admin__delete-item-form {
        width: 60rem;
        min-height: 40rem;
        padding: 2rem;
    }

    .admin__item-list {
        width: 60rem;
        min-height: 4rem;
        padding: 2rem;
        margin: 0 0 2rem;
    }

    .admin__add-item-form-container, .admin__add-item-form-container form, .admin__update-message-form-container {
        width: 40rem;
        padding: 0;
    }

    .checkboxes {
        width: 38rem;
    }

    .admin__add-item-form-container form {
        flex-direction: row;
        flex-wrap: wrap;
        padding: inherit;
    }

    .admin__add-item-form-container form .col-1 {
        flex-basis: 50%;
        max-width: 50%;
    }
    
    .admin__add-item-form-container form .col-2 {
        flex-basis: 50%;
        max-width: 50%;
    }
}

@media(min-width:1540px) {

    .fab {
        width: 100px;
        height: 100px;
        bottom: 50px;
        right: 50px;
    }

    .content {
        padding-top: 3rem;
        max-width: 90rem;
    }

    .hero-text {

        font-size: 14vw;
    }
    
    .hero-text span {
        font-size: 2vw;
    }

    #we-buy {
        grid-column: 1 / span 2;
        grid-row: 2 / span 2;
    }
    
    #service {
        grid-column: 3 / span 2;
        grid-row: 2 / span 2;
    }

    #new-used {
        grid-column: 7 / span 2;
        grid-row: 2 / span 2;
    }

    #parts {
        grid-column: 5 / span 2;
        grid-row: 2 / span 2;
    }
    
    .feat-bikes {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: left;
        max-width: 1440px;
        margin: 0 auto;
        gap: 0 4rem;
    }

    .feat-bikes-card {
        padding: 2rem;
        flex: 1;
        max-width: 26%;
        margin: 2rem 0;
    }

    .feat-bikes-card {
        
    }

    .search-bar {
        margin: 2rem 0;
    }

    .search-bar input {
        padding: 0.5rem;
        width: 34rem;
    }

    .search-bar .checkboxes {
        margin: 1rem 0 1rem 4rem;
    }

    /* Inventory Page */

    .search-input {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .feat-bikes-card img {
        height: 15rem;
    }

    /* Item Detail */

    .item-detail {
        grid-template-columns: 60% 40%;
        grid-template-rows: fit-content fit-content;
        column-gap: 2rem;
        row-gap: 2rem;
        margin: 24vh 0 40px 0;
    }

    .item-detail img {
        grid-column: 1 / span 1;
        grid-row: 1 / span 2;
    }

    .item-detail-head {
        grid-column: 2 /span 1;
        grid-row: 1 / span 1;
    }

    .item-detail-text {
        grid-column: 2 / span 1;
        grid-row: 2 / span 1;
        padding-right: 2rem;
    }

    /* Services */

    table td {
        font-size: 1.5rem;
        font-weight: 300;
    }
    
    table th {
        font-size: 1.25rem;
        font-weight: 700;
    }

    .modal-window table td, th {
        font-size: 1.15rem;
    }

    .alacarte table th {
        font-size: 1.5rem;
    }

    .alacarte table td {
        font-size: 1.25rem;
    }
    
    .alacarte table th span {
        font-size: 1rem;
    }

    /* admin */

    .admin__content {
        margin-top: 15rem;
    }

    .admin__add-item-form, .admin__update-message-form, .admin__delete-item-form, .admin__edit-item-form {
        margin: 1rem auto 2rem;
    }

    .admin__update-message-form {
        margin-top: 15rem;
    }

    .admin__item-list {
        margin: 0 auto 2rem;
    }
}