/* MOBILE FIRST STYLING START */
.gallery-block.grid-gallery .scale-on-hover:hover{
    transform: scale(1.05);
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important;
}
.gallery-block.grid-gallery{
    padding-bottom: 60px;
    padding-top: 20px;
}
.project-heading {
    margin-bottom: 35px;
}
.gallery-block.grid-gallery .heading{
    margin-bottom: 50px;
    text-align: center;
}

.gallery-block.grid-gallery .heading h2{
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.gallery-block.grid-gallery a:hover{
    opacity: 0.8;
}

.gallery-block.grid-gallery .item img{
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
    transition: 0.4s;
    width: 100%;
}

.gallery-block.grid-gallery .item{
    margin-bottom: 20px;
}

.baguetteBox-button#previous-button {
    right: 20%;
    left: unset;
    top: unset;
    bottom: 7%;
    background: url(/img/modal-arrow-left.svg) bottom center no-repeat;
    width: 50px;
    height: 50px;
    display: block !important;
}
.baguetteBox-button#next-button {
    right: 5%;
    bottom: 7%;
    top: unset;
    background: url(/img/modal-arrow-right.svg) bottom center no-repeat;
    width: 50px;
    height: 50px;
    display: block !important;
}
.baguetteBox-button svg {
    display: none;
}
.baguetteBox-button#close-button {
    background: url(/img/close-icon.svg) 0 0 no-repeat;
    width: 23px;
    height: 23px;
    top: 5%;
    right: 7%;
}
#baguetteBox-overlay {
    backdrop-filter: blur(30px);
    background-color: rgb(0 0 0 / 40%);
}
#baguetteBox-overlay .full-image figcaption {
    bottom: 7%;
    left: 10%;
    right: unset;
    text-align: left;
    width: auto;
    font-family: 'cardinalfruit-regular', serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 83.3%;
}


/* MOBILE PAGE SPECIFIC DETAILS START */
#barn-find #baguetteBox-overlay::before {
    content: 'Barn Find';
    display: block;
    position: absolute;
    left: 10%;
    top: 5%;
    font-family: 'cardinalfruit-regular', serif;
    font-size: 30px;
}
#bobs-garage #baguetteBox-overlay::before {
    content: 'Private Collector';
    display: block;
    position: absolute;
    left: 10%;
    top: 5%;
    font-family: 'cardinalfruit-regular', serif;
    font-size: 30px;
}
#bobs-garage #baguetteBox-overlay::after {
    content: 'Frisco, TX';
    display: block;
    position: absolute;
    left: 10.25%;
    top: 10%;
    width: 100px;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: var(--subhead-gray, #A8A8A8);
}
#club-czar-garage #baguetteBox-overlay::before {
    content: 'Club Czar Garage';
    display: block;
    position: absolute;
    left: 10%;
    top: 4.5%;
    font-family: 'cardinalfruit-regular', serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 83.3%;
}
#club-czar-garage #baguetteBox-overlay::after {
    content: 'Frisco, TX';
    display: block;
    position: absolute;
    left: 10.25%;
    top: 10%;
    width: 100px;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: var(--subhead-gray, #A8A8A8);
}
#ducati-collector #baguetteBox-overlay::before {
    content: 'Ducati Collector';
    display: block;
    position: absolute;
    left: 10%;
    top: 4.5%;
    font-family: 'cardinalfruit-regular', serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 83.3%;
}
#ferrari-collector #baguetteBox-overlay::before {
    content: 'Ferrari Collector';
    display: block;
    position: absolute;
    left: 10%;
    top: 4.5%;
    font-family: 'cardinalfruit-regular', serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 83.3%;
}
#garage-club #baguetteBox-overlay::before {
    content: 'Garage Club';
    display: block;
    position: absolute;
    left: 10%;
    top: 4.5%;
    font-family: 'cardinalfruit-regular', serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 83.3%;
}
#heritage-motor  #baguetteBox-overlay::before {
    content: 'Heritage Motor Club';
    display: block;
    position: absolute;
    left: 10%;
    top: 4.5%;
    font-family: 'cardinalfruit-regular', serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 83.3%;
}
#large-collection  #baguetteBox-overlay::before {
    content: 'Large Collection';
    display: block;
    position: absolute;
    left: 10%;
    top: 4.5%;
    font-family: 'cardinalfruit-regular', serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 83.3%;
}
#lexus-lover #baguetteBox-overlay::before {
    content: 'Lexus Lover';
    display: block;
    position: absolute;
    left: 10%;
    top: 4.5%;
    font-family: 'cardinalfruit-regular', serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 83.3%;
}
#porsche-enthusiast #baguetteBox-overlay::before {
    content: 'Porsche Enthusiast';
    display: block;
    position: absolute;
    left: 10%;
    top: 4.5%;
    font-family: 'cardinalfruit-regular', serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 83.3%;
}
#track-club #baguetteBox-overlay::before {
    content: 'Track Club';
    display: block;
    position: absolute;
    left: 10%;
    top: 4.5%;
    font-family: 'cardinalfruit-regular', serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 83.3%;
}


/* MOBILE PAGE SPECIFIC DETAILS END */
/* MOBILE FIRST STYLING END */

/* For TABLET: */
@media only screen and (min-width: 768px) {
    .gallery-block.grid-gallery .scale-on-hover:hover{
        transform: scale(1.05);
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important;
    }
    .gallery-block.grid-gallery{
        padding-bottom: 60px;
        padding-top: 60px;
    }
    .project-heading {
        margin-bottom: 50px;
    }
    .project-heading h2 {
        font-size: 50px;
        font-style: normal;
        font-weight: 400;
        line-height: 96%;
    }
    #baguetteBox-overlay .full-image img {
        max-width: 80%;
    }
    .baguetteBox-button#previous-button {
        right: 15%;
        left: unset;
        top: unset;
        bottom: 7%;
        background: url(/img/modal-arrow-left.svg) bottom center no-repeat;
        width: 50px;
        height: 50px;
        display: block !important;
    }
    .baguetteBox-button#next-button {
        right: 10%;
        bottom: 7%;
        top: unset;
        background: url(/img/modal-arrow-right.svg) bottom center no-repeat;
        width: 50px;
        height: 50px;
        display: block !important;
    }
    .baguetteBox-button#close-button {
        background: url(/img/close-icon.svg) 0 0 no-repeat;
        width: 23px;
        height: 23px;
        top: 7%;
        right: 10%;
    }

    /* PAGE SPECIFIC DETAILS START */
    #barn-find #baguetteBox-overlay::before {
        left: 10%;
        top: 7%;
        font-size: 50px;
    }
    #bobs-garage #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #bobs-garage #baguetteBox-overlay::after {
        left: 9%;
        top: 10%;
        width: 100px;
        font-size: 14px;
    }
    #club-czar-garage #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #club-czar-garage #baguetteBox-overlay::after {
        left: 9%;
        top: 10%;
        width: 100px;
        font-size: 14px;
    }
    #ducati-collector #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #ferrari-collector #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #garage-club #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #heritage-motor  #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #large-collection  #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #lexus-lover #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #porsche-enthusiast #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #track-club #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    /* PAGE SPECIFIC DETAILS END */


}

@media only screen and (min-width: 1280px) {
    .gallery-block.grid-gallery .scale-on-hover:hover{
        transform: scale(1.05);
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important;
    }
    /* For desktop: */
    .gallery-block.grid-gallery{
        padding-bottom: 60px;
        padding-top: 60px;
    }
    .project-heading {
        margin-bottom: 50px;
    }
    .project-heading h2 {
        font-size: 50px;
        font-style: normal;
        font-weight: 400;
        line-height: 96%;
    }
    #baguetteBox-overlay .full-image img {
        max-width: 70%;
    }
    .baguetteBox-button#previous-button {
        right: 15%;
        left: unset;
        top: unset;
        bottom: 7%;
        background: url(/img/modal-arrow-left.svg) bottom center no-repeat;
        width: 50px;
        height: 50px;
        display: block !important;
    }
    .baguetteBox-button#next-button {
        right: 10%;
        bottom: 7%;
        top: unset;
        background: url(/img/modal-arrow-right.svg) bottom center no-repeat;
        width: 50px;
        height: 50px;
        display: block !important;
    }
    .baguetteBox-button#close-button {
        background: url(/img/close-icon.svg) 0 0 no-repeat;
        width: 23px;
        height: 23px;
        top: 7%;
        right: 10%;
    }

    /* PAGE SPECIFIC DETAILS START */
    #barn-find #baguetteBox-overlay::before {
        left: 10%;
        top: 7%;
        font-size: 50px;
    }
    #bobs-garage #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #bobs-garage #baguetteBox-overlay::after {
        left: 9%;
        top: 10%;
        width: 100px;
        font-size: 14px;
    }
    #club-czar-garage #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #club-czar-garage #baguetteBox-overlay::after {
        left: 10.5%;
        top: 10%;
        width: 100px;
        font-size: 14px;
    }
    #ducati-collector #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #ferrari-collector #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #garage-club #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #heritage-motor  #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #large-collection  #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #lexus-lover #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #porsche-enthusiast #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    #track-club #baguetteBox-overlay::before {
        left: 10%;
        top: 5%;
        font-size: 50px;
    }
    /* PAGE SPECIFIC DETAILS END */


}