body {
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.0625em;
}

#main-nav {
    background-color: #fff;
    color: #000;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

#main-nav img {
    height: 4rem;
}

#main-nav .navbar-toggler {
    font-size: 80%;
    padding: 0.75rem;
    color: #000;
    border-color: #54C6C0;
    max-height: 80%;
}

#main-nav .navbar-toggler:focus {
    outline: none;
}

.nav-link i {
    font-size: 2.5vh;
    color: #000;
}

#main-nav .navbar-brand {
    color: #fff;
    font-weight: 600;
}

.nav-link:hover {
    color: #4C4C4F !important;
    outline: none;
}

#main-nav .navbar-nav .nav-item .nav-link:visited {
    color: #fff;
    outline: none;
}

.navbar {
    padding: 0 !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
    font-weight: 600;
}

#main-nav .navbar-nav .nav-item:active,
#main-nav .navbar-nav .nav-item:focus {
    outline: none;
}

#main-nav.navbar-shrink .nav-link.active {
    color: #36F1CD;
    outline: none;
    border-bottom: 0.25rem solid #36F1CD;
}

.masthead {
    position: relative;
    width: 100%;
    background: url("../img/thumbnails/bg-masthead.png") no-repeat center center;
    background-size: contain;
}

.masthead img {
    height: 20vh;
    max-width: 80vw;
}

.masthead .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#services {
    background-color: #fff;
}

.services-container {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    column-gap: 6vw;
    row-gap: 5vh;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-flipbox-content {
    height: 100%;
    color: #fff;
    background-color: #54C6C0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.service-flipbox-content img {
    height: 45px;
}

.flip-box-service,
.flip-box-front-service,
.flip-box-back-service {
    width: 100%;
    height: 300px !important;
}

.flip-box-back-service {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
}

#team {
    background-color: #fff;
}

#team h5 {
    color: #4C4C4F;
}


.team-member-content {
    background-color: #54C6C0;
    height: 150px;
    width: 100%;
    position: absolute;
    min-height: max-content;
    bottom: 0;
    text-align: center;
    color: #fff;
    padding: 1rem 1rem;
}

.team-member-content h5 {
    color: #fff !important;
}

.flip-box {
    perspective: 1000px;
    -moz-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -o-perspective: 1000;
}

.flip-box:hover .flip-box-inner,
.flip-box.hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box,
.flip-box-front,
.flip-box-back {
    width: 100%;
}

.flip-box-inner {
    transition: 0.8s;
    transform-style: preserve-3d;
    position: relative;
}

.flip-box-front,
.flip-box-back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.75);
}

.flip-box-front {
    z-index: 2;
    /* for firefox 31 */
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    background-color: #54C6C0;
}

.flip-box-back {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    background-color: #FFFFFA;
    color: #4C4C4F;
    text-align: left;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}


#services .flip-box-front img{
    height: 30%;
}

.more-btn {
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    border: 0.1rem solid #FFF;
    color: #fff;
}

#gallery {
    background-color: #fff;
}

#gallery .gallery-img {
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.wrapper-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 20px;
    grid-template-areas: "img1 img2 img3 img4""img5 img6 img3 img7""img8 img9 img10 img11";
}

.gallery-img .img-overlay {
    background-color: #54C6C0;
    height: 100%;
    width: 100%;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-img a {
    text-decoration: none;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.gallery-img .img-overlay:hover {
    opacity: 0.5;
    transition: ease-in-out 300ms;
}

.img-window {
    background-color: rgba(76, 76, 79, 0.9);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.current-img {
    max-width: 80%;
    max-height: 70%;
}

.btn {
    height: 80%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev-btn {
    margin-right: 20px;
}

.btn img {
    color: #fff;
    height: 40px;
}

#contact {
    background-color: #fff;
}

#contact .row {
    border: 1px solid #4C4C4F;
    -webkit-box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.75);
}

.contact-box {
    background-color: #4C4C4F;
    color: #fff;
    padding: 2rem 1.5rem;
    text-align: left;
    min-height: 50vh;
    font-weight: 500;
}

.contact-box i {
    color: #54C6C0;
}

#review {
    display: flex;
    color: #fff;
    text-decoration: none;
    background-color: #54C6C0;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#review-link:hover {
    text-decoration: none !important;
}

.indent {
    text-indent: 1.33em;
}

.map {
    min-height: 45vh;
}

#cookies-policy {
    background-color: #F6EEEE;
}

footer {
    background-color: #4C4C4F;
    padding: 2rem 3rem;
    color: #fff;
    font-size: 1rem;
}

footer img {
    height: 7vh;
}

footer a {
    text-decoration: none;
    color: #fff;
}

.next-btn {
    margin-left: 20px;
}

#gallery .img1 {
    grid-area: img1;
    background-image: url("../img/thumbnails/0.jpg");
    order: 10;
}

#gallery .img2 {
    grid-area: img2;
    background-image: url("../img/thumbnails/1.jpg");
    order: 8;
}

#gallery .img3 {
    height: 100%;
    grid-area: img3;
    background-image: url("../img/thumbnails/2.jpg");
    order: 7;
}

#gallery .img4 {
    grid-area: img4;
    background-image: url("../img/thumbnails/3.jpg");
    order: 6;
}

#gallery .img5 {
    grid-area: img5;
    background-image: url("../img/thumbnails/4.jpg");
    order: 4;
}

#gallery .img6 {
    grid-area: img6;
    background-image: url("../img/thumbnails/5.jpg");
    order: 10;
}

#gallery .img7 {
    grid-area: img7;
    background-image: url("../img/thumbnails/6.jpg");
    order: 3;
}

#gallery .img8 {
    grid-area: img8;
    background-image: url("../img/thumbnails/7.jpg");
    order: 2;
}
#gallery .img9 {
    grid-area: img9;
    background-image: url("../img/thumbnails/8.jpg");
    order: 2;
}
#gallery .img10 {
    grid-area: img10;
    background-image: url("../img/thumbnails/9.jpg");
    order: 1;
}
#gallery .img11 {
    grid-area: img11;
    background-image: url("../img/thumbnails/10.jpg");
    order: 6;
}

.title-hr {
    border-top: 0.4rem solid #54C6C0;
    width: 7rem;
    margin-top: 1rem;
}

.px-7 {
    padding-left: 7.5vw !important;
    padding-right: 7.5vw !important;
}

.px-17 {
    padding-left: 10vw !important;
    padding-right: 10vw !important;
}

.py-7 {
    padding-top: 7.5vh !important;
    padding-bottom: 7.5vh !important;
}

.mt-6 {
    margin-top: 4rem !important;
}

.fa-rotate-45 {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.ml-1-3 {
    margin-left: 1.33em;
}

.nav-link .fa-instagram {
    font-size: 2.6vh !important;
}

.font-weight-900 {
    font-weight: 900 !important;
}