body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100vh;
    overflow: hidden;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.65;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 900;
}

h1 {
    font-size: 5rem;
    margin: 0;
    line-height: initial;
}

p, q {
    font-size: 19px;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: #fa6f64;
}

a:hover {
    opacity: .8;
}

#left-side {
    overflow: auto;
    padding: 5% 10% 0 10%;
}
#left-side>div:last-child {
    padding-bottom: 5%;
}

#left-side>div,
#buttons {
    margin-bottom: 2.5rem;
}

#right-side:hover {
    opacity: .8;
    cursor: pointer;
}
#right-side {
    -ms-flex-preferred-size: 200%;
        flex-basis: 200%;
} 
.my-img {
    background: url('https://images.ctfassets.net/ayl8c7718v5e/4ikDdNazqMeOkSUCOoOIs2/d5ce5fc123f4754cc80a0bd93e34e260/davidphotoOriginal.jpg') center no-repeat;
    background-size: cover;
}

#buttons p {
    margin-bottom: 2em;
}
#buttons a {
    background: #fa6f64;
    border: #fa6f64 solid 1px;
    color: #fff;
    padding: 10px 20px;
    margin-right: 2.5em;
    font-size: 19px;
    text-transform: lowercase;
    letter-spacing: 2px;
    border-radius: 3px;
}

#buttons a:hover {
    background: #fff;
    color: #fa6f64;
    opacity: 1;
}

i {
    color: #fa6f64;
}
i:hover {
    opacity: .7;
}

#links>* {
    margin: 0 1em .5em 0;
    display: inline-block;
    vertical-align: -webkit-baseline-middle;
}

.grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
}

.grid-item {
    width: 100%;
    height: 500px;
    position: relative;
    margin-bottom: 5%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.grid-item a {
    width: 100%;
    height: 100%;
}

.grid-item span.client {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    background: #ffffffd4;
    padding: .5em 1em;
    color: initial;
}
.grid-item span.quote {
    position: absolute;
    display: none;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 5% 0;
    background: #fff;
    color: initial;
    border: 1px solid #fa6f64;
}

.grid-item:hover span.quote {
    display: block;
}
.grid-item:hover span.quote q {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 95%;
    margin: 0 auto;
}

.grid-item:hover a {
    opacity: 1;
}
.grid-item:hover span.client {
    display: none;
}

.jcg {
    background-image: url(images/jcg.png);
}
.petal {
    background-image: url(images/petal.png);
}
.bottletop {
    background-image: url(images/bottletop.png);
}
.vitamins {
    background-image: url(images/vitamins.jpg);
}

#reviews-btn {
    color: #fa6f64;
    text-transform: lowercase;
    font-size: 19px;
    letter-spacing: 2px;
}
#reviews-btn:hover {
    opacity: 1;
}
#reviews-btn:hover span:first-child {
    display: none;
}
#reviews-btn span:last-child {
    display: none;
}
#reviews-btn:hover span:last-child {
    display: inline;
}
 


.wrap {
    position: relative;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}
#small-footer p {
    font-size: 12px;
}
.effect {
    -webkit-animation: effect 1s forwards ;
            animation: effect 1s forwards ;
    position: absolute;
    background-color: #fa6f64;
    height: 3px;
    border-radius: 50px;
  }
  @-webkit-keyframes effect {
    0%   {
        top: 25%;
        left: 1.7%;
        width: 5px;
    }
    
    25%  {
        top: 102%;
        left: 1.7%;
        width: 5px;
    }

    100% {
        top: 102%;
        left: 0;
        width: 100%;
    }
}
  @keyframes effect {
    0%   {
        top: 25%;
        left: 1.7%;
        width: 5px;
    }
    
    25%  {
        top: 102%;
        left: 1.7%;
        width: 5px;
    }

    100% {
        top: 102%;
        left: 0;
        width: 100%;
    }
} 

.desk-hide {
    display: none;
}

#show-me {
    position: fixed;
    outline: 0;
    border: 1px solid black;
    background: transparent;
    top: 30%;
    right: -34px;
    transform: rotate(-90deg);
    padding: .5em 1em;
    display: none;
    z-index: 9999;
    cursor: pointer;
}


@media (max-width: 1000px) {
    body {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
        overflow-x: hidden;
    }   
    #right-side {  
        -ms-flex-preferred-size: 150%;  
            flex-basis: 150%;      
    }
    .desk-hide {
        display: block;
    }
    #left-side {
        display: block;
        position: relative;
        background-color: white;
        z-index: 1;
        padding: 5%;
        padding-bottom: 0%;
    }
    #buttons p {
        margin-bottom: 1em; 
    }
    h1 {
        font-size: 4rem; 
    }
}

@media (max-width: 810px) {
    #buttons a {
      display: block;
      margin: 0 0 1em 0;
      text-align: center;
    }
}
@media (max-width: 425px) {
    body, body * {
        text-align: center;
    }
    .grid-item {
        background-size: cover;
    }
}