:root {
    color-scheme: light dark;
    --font-titles: 'Roboto', serif;
    --font-text: 'Poppins', sans-serif;
    --font-tag: 'Montserrat', sans-serif;
}

/* send data from native to webview: https://medium.com/@sreeharikv112/communication-from-webview-to-native-ios-android-app-6d842cefe02d */
/* custom media queries to tackle color scheme for regionals : https://www.peeayecreative.com/docs/divi-responsive-helper/custom-css-media-queries/ */

@media (prefers-color-scheme: light) {
    :root {

        --content-block: rgba(226, 228, 231, 1);
        --lightGrey: rgba(226, 228, 231, 1);
        --lightGreyCode: 226, 228, 231;

        --background: rgba(226, 228, 231, 1);
        --accent: rgba(163, 175, 176, 1);
        --primary: rgba(46, 64, 83, 1);
        --primaryTransparant: rgba(46, 64, 83, 0.8);
        --secondary: rgba(241, 196, 15, 1);

        --btn-text-primary: rgba(255, 255, 255, 1);

        --divider: rgba(210, 213, 215, 1);
        --black: rgba(0, 0, 0, 0.8);
    }
}

@media (prefers-color-scheme: dark) {

    /* https://developer.android.com/develop/ui/views/layout/webapps/dark-theme */
    :root {
        --content-block: rgba(226, 228, 231, 1);
        --lightGrey: rgba(226, 228, 231, 1);
        --lightGreyCode: 226, 228, 231;
        --background: rgba(226, 228, 231, 1);
        --accent: rgba(163, 175, 176, 1);
        --primary: rgba(46, 64, 83, 1);
        --primaryTransparant: rgba(46, 64, 83, 0.8);
        --secondary: rgba(241, 196, 15, 1);
        --btn-text-primary: rgba(255, 255, 255, 1);
        --divider: rgba(210, 213, 215, 1);
        --black: rgba(0, 0, 0, 0.8);
    }

    img {
        filter: brightness(.9) contrast(1.1);
    }
}

/* mobile ------------------------ */
@media only screen and (max-width : 480px) {

    .container,
    .img-box {
        max-width: 480px;
    }

    img#imgBenjamin {
        width: 45%;
        padding-left: 45%;
    }

    .gallery {
        grid-template-columns: repeat(5, 80vw);
    }
}

/* tablet --------------------- */
@media only screen and (min-device-width : 481px) and (max-device-width : 920px) {

    .container,
    .img-box {
        max-width: 544px;
    }

    img#imgBenjamin {
        width: 45%;
        padding-left: 45%;
    }

    .gallery {
        grid-template-columns: repeat(5, 400px);
    }
}

/* desktop -------------- */
@media only screen and (min-device-width : 921px) {

    .container,
    .img-box {
        max-width: 544px;
    }

    img#imgBenjamin {
        width: 45%;
        padding-left: 45%;
    }

    .gallery {
        grid-template-columns: repeat(5, 400px);
    }
}

*,
*::before,
*::after {
    margin: 0;
}

.container {
    background-color: var(--content-block);
}

body {
    font-family: var(--font-text);
    font-size: 19px;
    line-height: 1.5;
}

h1,
h2,
h3 {
    font-family: var(--font-titles);
    color: var(--primary);
    margin-bottom: .5em;
}

p,
img,
picture {
    margin-bottom: 1em;
}

/* convert: px / 16 = rem */

h1 {
    font-weight: 800;
    font-size: 2em;
}

p {
    font-weight: 400;
    color: var(--primary);
}

.colorPrimary {
    color: var(--primary);
}

input,
textarea,
select {
    font: inherit;
}

.splash-screen {
    min-height: 100vh;
}

section {
    padding-top: 2em;
    padding-bottom: 1em;
}

section h1 {
    padding-left: 1em;
}

section h2 {
    padding-left: 1.3em;
    padding-right: 1.5em;
}

section h3 {
    padding-left: 1.7em;
    padding-right: 1.5em;
}

section p,
section ul {
    padding-left: 2em;
    padding-right: 2em;
}

/*=====================*/
/*==     TAB BAR     ==*/
/*=====================*/

.tab-bar {
    z-index: 1;
    position: fixed;
    background-color: var(--primaryTransparant);
    height: 70px;
    width: 300px;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 15px;
}

.tab-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    border: none;
    color: var(--lightGrey);
    cursor: pointer;
}

.tab-bar__item i {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    margin-bottom: 5px;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 300,
        'GRAD' -25,
        'opsz' 24
}

.shadow {
    box-shadow: 0 4px 8px 0 rgba(var(--lightGreyCode), 0.2), 0 6px 20px 0 rgba(var(--lightGreyCode), 0.19);
}

/*=====================*/
/*==     SERVICES    ==*/
/*=====================*/

.serviceList ul {
    padding-left: 3em;
    padding-right: 1.5em;
    padding-bottom: 1em;
    color: var(--primary);
}

#imgPromoSails {
    margin: 2em 0 2em 0;
}

/*=====================*/
/*==      ABOUT      ==*/
/*=====================*/

.sectionOver,
.sectionOver h1,
.sectionOver h2,
.sectionOver p {
    background-color: var(--primary);
    color: var(--lightGrey);
}

/*=====================*/
/*==       USP       ==*/
/*=====================*/

.usps {
    background-position: 1em;
    background-repeat: no-repeat;
    background-size: cover;
}

.usp {
    width: 90%;
    background-color: var(--secondary);
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    border-radius: 50px 0px;
    margin-bottom: 4em;
}

.uspTitle {
    text-transform: uppercase;
    margin-bottom: 0;
}

/*=====================*/
/*==     CAROUSEL    ==*/
/*=====================*/

.gallery {
    padding: 1em;
    padding-top: 2em;
    display: grid;
    grid-template-rows: 1fr;
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    overflow: scroll;
    scroll-snap-type: both mandatory;
    scroll-padding: 1rem;
    overflow-y: hidden;
    list-style-type: none;
    /* width of element is placed in media query */
}

.galleryItem {
    background-color: var(--secondary);
}

.galleryItem p {
    padding-left: 0;
    padding-right: 0;
}

.review {
    width: 80%;
    padding-top: 20px;
    font-style: italic;
    text-align: center;
    font-family: var(--font-tag);
}

.reviewer {
    width: 90%;
    padding-top: 10px;
    font-weight: 600;
}

.active {
    scroll-snap-type: unset;
}

/*=====================*/
/*==     Contact     ==*/
/*=====================*/

.contactOptions {
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    padding-top: 1em;
    padding-bottom: 2em;
}

.contactOption {
    display: inline-block;
    width: 2.5em;
    height: 2.5em;
    align-items: center;
}

.btn {
    border-radius: 10px;
    background-color: var(--secondary);
    text-decoration: none;
    color: var(--primary);
}

.btnSec {
    border-radius: 5px;
    border: 2px solid var(--accent);
    background-color: transparent;
    text-decoration: none;
    color: var(--accent);
}

.spacing {
    margin-left: .5em;
    margin-right: .5em;
}

.alignButton {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

/*=====================*/
/*==      FOOTER     ==*/
/*=====================*/

footer {
    padding-top: 4em;
    padding-bottom: 100px;
}

.footerLogo {
    width: 60%;
}

.footerCompanyInfo {
    color: var(--accent);
    font-size: 12px;
    font-family: var(--font-tag);
    text-align: center;
}

/*=====================*/
/*==     UTILITY     ==*/
/*=====================*/

.center {
    margin-left: auto;
    margin-right: auto;
}

.textCenter {
    text-align: center;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.style-image {
    aspect-ratio: 16/9;
}

/*=====================*/
/*==      MODAL      ==*/
/*=====================*/
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    -webkit-animation-name: fadeIn;
    /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}

/* Modal Content */
.modal-title {
    color: var(--accent);
    padding-top: .5em;
    padding-bottom: .5em;
}

.modal-window {
    position: fixed;
    bottom: 0;
    width: 100%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

.modal-window p {
    margin-bottom: 2em;
    padding-top: 1em;
    color: var(--text);
}

.modal-header {
    padding-inline: 1em;
    background-color: var(--primary);
    color: var(--background);
}

.modal-body {
    background-color: var(--background);
}

.modal-content {
    padding: 1em;
    max-width: 60rem;
}

.modal-header h2 {
    margin-bottom: 0px;
}

/* The Close Button */
.close {
    color: var(--accent);
    float: right;
    font-size: 2em;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}


/*=====================*/
/*==    GOOGLE CTA   ==*/
/*=====================*/
.googleCTA {
    width: 210px;
}

.qxCTlb {
    min-height: 2.5em;
    padding:8px 16px;
    border-radius:10px;
    font-family: var(--font-text);
    font-weight:600;
    font-size: 16px;
    line-height:20px;
    letter-spacing:.25px;
    color: var(--primary);
    border-width:0;
    cursor:pointer;
    white-space:break-spaces;
    word-break:break-word
}

.hur54b{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    box-sizing:border-box;
    background-color:rgba(32,33,36,.6);
    padding:72px;
    z-index:9999
}

.mmGMM{border:none;
    border-radius:8px;
    background-color: var(--lightGrey);
    width:100%;
    height:100%
}

.Xfsokf{
    position:fixed;
    top:26px;
    right:72px;
    display:-webkit-box;
    display:-webkit-flex;
    display:flex;
    -webkit-box-align:center;
    -webkit-align-items:center;
    align-items:center;
    border:none;
    border-radius:18px;
    background-color:#1f1f1f;
    height:36px;
    padding:16px;
    cursor:pointer
}

.L0Dvsd{
    color:#fff;
    font-size:18px;
    margin-right:8px
}

.uE25ec{
    font-size:14px;
    font-family: var(--font-text);
    font-weight:500;
    letter-spacing:.25px;
    color:#fff
}