/* Core CSS */

/*- rgb( 249, 184, 148) -*/


body {
    font-family: "Montserrat", Helvetica, Arial, "sans-serif";
    display: grid;
    margin: 0;
}

h1,
h2,
h3,
h4 {
    color: rgb(249, 184, 148);
    margin: 0;
    font-family: "the-seasons", sans-serif;
    font-weight: 700;
    font-style: normal;
}

p,
li {
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    margin: 0;
    color: #444;
}

b,
strong {
    color: #111;
}

a {
    margin: 0;

    text-decoration: none;

    color: rgb(249, 184, 148);
    transition: ease color .5s;
}

a:hover {
    curor: pointer;
    color: rgb(249, 184, 148);
}

a:visited {
    color: rgb(249, 184, 148);
}

.secondColour {
    color: rgb(175, 215, 238);
}

/* - - - - - - - - - - */

#page-content {
    padding: 64px 0;
    display: grid;
    grid-gap: 32px;
}


.workspace {
    grid-gap: 32px;
}

/* - - - - - - - - - */

.desktop-img {
    display: none;
}

@media(min-width:768px) {
    .desktop-img {
        display: block;
    }

    .mobile-img {
        display: none;
    }
}

/* - */

.feature-1 {
    background-color: #aed6ef;
    padding: 24px;
    z-index: 3;
    border: solid 4px #71BDE1;
    margin-top: -96px;
    width: 80%;
}

@media(min-width: 768px) {
    .feature-1 {
        margin-top: -32px;
    }
}

@media(min-width: 1200px) {
    .feature-1 {
        margin-top: -64px;
    }
}

@media(min-width: 1600px) {
    .feature-1 {
        width: 100%;
        margin-top: -128px;
    }
}

.feature-img-border {
    border: 1px solid #fff;
    padding: 8px;
    width: calc(100% - 16px);
}

.feature-container {
    display: grid;
    align-content: start;
}

.feature-content {
    display: grid;

    border-left: solid 2px #fff;
    border-right: solid 2px #fff;
    border-bottom: solid 2px #fff;

    margin: 24px 0px 16px;
}

.feature-title {
    display: grid;

    grid-template-columns: 5% max-content auto;
    grid-gap: 16px;
}

.feature-title h3 {
    margin-top: -11px;
    letter-spacing: 1px;
    color: #fff;
}

.feature-title-bar {
    width: 100%;
    height: 2px;
    background-color: #fff;
}

.feature-content p {
    color: #fff;
    padding: 16px;
    font-size: 15px;
    line-height: 24px;
}

.feature-read-more {
    display: grid;
    justify-self: center;
    border: 1px solid #fff;
    padding: 8px 16px;
    transition: ease opacity .5s;
}

.feature-read-more:hover {
    opacity: 0.5;
}


.feature-read-more h4 {
    text-transform: capitalize;
    color: #fff;
    font-weight: 400;
    letter-spacing: 1px;
}

.feature-1 .btn {
    color: #fff;
    padding: 8px;
    text-align: center;
    background-color: #f6a57c;
    border: none !important;
    width: -webkit-fill-available;
}

.feature-1 .btn:hover {
    background-color: #71bde1;
}

/* - */

.centered {
    display: grid;
    justify-self: center;
    justify-content: center;
}

.centered h1,
.centered h2,
.centered h3,
.centered h4,
.centered p,
.centered a {
    justify-self: center;
}

/* - */

.stack {
    align-self: start;
}

/* - */

.sec {
    padding: 16px 0;
}

.heading {
    grid-gap: 8px;
}

.heading h1 {
    color: rgb(249, 184, 148);
    font-size: 32px;
}

.heading h3 {
    color: #aed6ef;
    border-top: solid 2px rgb(249, 184, 148);
    padding-top: 8px;
}


/* - */


.dark {
    background-color: #222;
}


/* - */


.btn {
    display: grid;
    border: solid #222 2px;
    justify-self: start;
    padding: 8px 16px;
    font-weight: 400;
    font-size: 14px;
    transition: ease background .5s;
}

.btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.btn h4 {
    text-transform: capitalize;
    color: #222;
    letter-spacing: 1px;
}

.btn:hover h4 {
    color: #fff;
}

.list {
    display: grid;
    align-content: center;
}

.list p {
    align-content: center;
    display: grid;
    grid-template-columns: max-content auto;
}

.list p:before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    color: rgb(249, 184, 148);
    align-self: start;
    content: "\f1b0";
    margin-right: 8px;
    font-size: 16px;
    border-right: solid 2px;
    padding-right: 8px;
}

/* - */



/* - Testimonials - */

.testimonial-container {
    display: grid;
    width: 100%;
    background-image: url('../img/testimonial-bg.jpg');

    background-position: center center;
    background-color: #111;
    background-repeat: no-repeat;
    background-size: cover;

    min-height: 400px;
}

@media(min-width: 992px) {
    .testimonial-container {
        background-attachment: fixed;
    }
}

.testimonial {
    display: grid;
    align-self: center;
    justify-self: center;

    grid-row: 1;
    grid-column: 1;

    grid-gap: 16px;

    width: 512px;
    max-width: 80vw;

    opacity: 1;

    transition: opacity ease .5s;

    z-index: 3;
}

.opacity-0 {
    opacity: 0 !important;
}

.testimonial h3 {
    color: #fff;
    justify-self: center;
    font-size: 32px;
}

.testimonial p {
    color: #fff;
    justify-self: center;
    text-align: center;
}

.star-container {
    display: grid;
    align-content: center;
    justify-content: center;
}

.star {
    color: rgb(175, 215, 238);
    grid-row: 1;
}


.testimonial-controls {
    display: grid;
    z-index: 1;
    grid-row: 2;
    grid-column: 1;
    align-content: center;
    padding: 0 32px;
}

@media(min-width: 992px) {
    .testimonial-controls {
        grid-row: 1;
        grid-column: 1;
    }
}


.testimonial-arrow {
    color: #fff;
    font-size: 32px;
    grid-row: 1;
    grid-column: 1;

    transition: opacity .5s ease;
}

.testimonial-arrow:hover {
    cursor: pointer;
    opacity: 0.5;
}

.testimonial-left {
    justify-self: start;
}

.testimonial-right {
    justify-self: end;
}

.testimonial-dots {
    display: grid;
    grid-gap: 8px;
    justify-content: center;
    justify-self: center;
    align-self: center;
    z-index: 3;

    grid-row: 2;
    grid-column: 1;
}

.testimonial-dot {
    grid-row: 1;
    width: 8px;
    height: 8px;
    border-radius: 16px;
    border: #fff solid 1px;
    align-self: center;
}

.testimonial-dot:hover {
    cursor: pointer;
    border-color: rgb(249, 184, 148);
}

.active-testimonial-dot {
    background-color: rgb(175, 215, 238);
    border-color: rgb(175, 215, 238);
    /*border: none;*/
}

/* - */

.contact-page-details {
    display: none !important;
}

.contact-page-details p,
.contact-page-details a {
    overflow-wrap: anywhere;
}

@media(min-width: 768px) {
    .contact-page-details {
        display: grid !important;
    }
}


/* - */

hr {
    width: 80%;
    height: 1px;
    background-color: rgb(249, 184, 148);
    border: none;
}

@media(min-width: 768px) {
    hr {
        width: 750px;
    }
}

@media(min-width: 992px) {
    hr {
        width: 950px;
    }
}

@media(min-width: 1200px) {
    hr {
        width: 1200px;
    }
}

/* Catch-all Centering Class */
.cent {
    justify-self: center;
    text-align: center;
}


/* - Table - */

.w100 {
    width: 100%;
}

.elem-table {
    border: 1px solid #fff;
    background-color: #fff;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

thead {
    background-color: rgb(249, 184, 148);
    border-bottom: 2px solid #fff;
}

th {
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    border-left: 2px solid #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: solid 1px;

    height: 20px;
}

th h1 {
    font-size: 14px;
}

tr:nth-child(2n) {
    background: rgba(222, 222, 222, 0.30);
}


/*** TABLE STYLING ***/

table {
    border: 1px solid #fff;
    background-color: #fff;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

table td,
table th {
    border: 1px solid #fff;
    padding: 10px 10px;
}

table tbody td {
    font-size: 13px;
}

table thead th:first-child {
    border-left: none;
}

table tfoot td {
    font-size: 14px;
}

table tfoot .links {
    text-align: right;
}


/* - */

.contact-box {
    border: solid 1px;
    border-top: none;
    color: #6f6f6f;
}

.contact-box-top {
    display: grid;
    grid-template-columns: 32px max-content auto;
    grid-gap: 16px;
}

.contact-box-line {
    border-top: 1px solid;
}

.contact-box-top h2 {
    margin-top: -16px;
}

.contact-box-content {
    padding: 0px 32px 24px;
}

.anti-overflow {
    overflow-wrap: anywhere;
}

.colorback {
    padding: 30px 0px;
    background-color: #71bde1;
    color: white;
}

.colorback p {
    color: white;
}

.imageback {
    padding: 50px 0px;
    background-color: #7592b9;
    background-image: url("../img/wave.png");
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
}


.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #71bde1;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 0.25rem;
    padding: 15px;
    height: 283px;

}

.card h1 {
    color: black;
}

.card p {
    color: #fff;
}

.card:hover {
    background-color: #aed6ef;
    transform: scale(1.1)
}

.card:hover p {
    color: white;

}

.card:hover h1 {
    color: #f6a57c;

}

.card-img-top {
    width: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}

.zoom {
    transition: transform .2s;
}

.zoom:hover {
    transform: scale(1.2);
}

hr {
    background: url("../img/hr.png") no-repeat top center;

    background-size: contain;
    display: block;
    height: 50px;
    border: 0;
    position: relative;
}

hr:before,
hr:after {
    content: '';
    display: block;
    position: absolute;
    background: #71bde1;
    height: 1px;
    top: 22px;
}

hr:before {
    left: 0;
    right: 60%;
    margin-right: 10px;
    margin-left: 70px;
}

hr:after {
    right: 0;
    left: 60%;
    margin-left: 10px;
    margin-right: 70px;
}


.maincontainer {
    width: 302px;
    height: 299px;
    margin: 10px;
    float: left;
    /* stack each div horizontally */
}

img {
    border-radius: 10px;
}

.back h2 {
    position: absolute;
}

.back p {
    position: absolute;
    top: 50px;
    font-size: 15px;
    margin-top: 35px;
    margin-right: 5px;
    margin-left: 5px;
}

.front h2 {
    position: absolute;
    padding: 3px;
    top: 200px;
    color: #fbf6d8;

    /*		-webkit-text-stroke: 1px #222;*/

}

/* style the maincontainer class with all child div's of class .front */
.maincontainer > .front {
    position: absolute;
    transform: perspective(600px) rotateY(0deg);

    width: 302px;
    height: 290px;

    backface-visibility: hidden;
    /* cant see the backside elements as theyre turning around */
    transition: transform .5s linear 0s;
}

/* style the maincontainer class with all child div's of class .back */
.maincontainer > .back {
    position: absolute;
    transform: perspective(600px) rotateY(180deg);
    background: #36390c;
    color: #36390c;
    width: 302px;
    height: 290px;
    border-radius: 10px;
    backface-visibility: hidden;
    /* cant see the backside elements as theyre turning around */
    transition: transform .5s linear 0s;
    padding: 20px;
}

.maincontainer:hover > .front {
    transform: perspective(600px) rotateY(-180deg);
}

.maincontainer:hover > .back {
    transform: perspective(600px) rotateY(0deg);
}



.button-56 {
    align-items: center;
    background-color: #aed6ef;
    border: 2px solid #71bde1;
    border-radius: 8px;
    box-sizing: border-box;
    color: #71bde1;
    cursor: pointer;
    display: flex;
    font-family: Inter, sans-serif;
    font-size: 16px;
    height: 48px;
    justify-content: center;
    line-height: 24px;
    max-width: 100%;
    padding: 0 25px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-56:after {
    background-color: #71bde1;
    border-radius: 8px;
    content: "";
    display: block;
    height: 48px;
    left: 0;
    width: 100%;
    position: absolute;
    top: -2px;
    transform: translate(8px, 8px);
    transition: transform .2s ease-out;
    z-index: -1;
}

.button-56:hover:after {
    transform: translate(0, 0);
}

.button-56:active {
    background-color: #aed6ef;
    outline: 0;
}

.button-56:hover {
    outline: 0;
}

@media (min-width: 768px) {
    .button-56 {
        padding: 0 40px;
    }
}


/* Visor Hover Box */
/* OPEN ALCHEMY.CSS AND REMOVE COL-4 FROM LINE 174 (min-width:992px query) */

.visor {
    position: relative;
    width: 100%;
    /* usually 90, if no space then 100 */
    /* max-width: 400px; remove if using outside of page-content for full screen */
    background-color: #aac9e2;
    /* only if using outside of page-content */
    overflow: hidden;
}

.visor .visor-overlay {
    background: #aac9e2a6;
    /* Colour of text overlay */
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.visor:hover .visor-overlay {
    opacity: 1;
}

.visor-img {
    width: 100%;
    height: 100%;
}

.visor-contents {
    position: absolute;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.visor-contents p,
.visor-contents h3 {
    color: #27547b;
}

.visor:hover .visor-contents {
    top: 50%;
    left: 50%;
    opacity: 1;
}

.visor-close {
    top: 20%;
}

.visor,
.visor:before,
.visor:after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 10px;

}

.colorback p,
.colorback a,
.colorback li,
.colorback strong,
.colorback em {
    color: #fff;
}

.colorback b {
    color: #b5cb76;
}

.colorback .heading {
    color: #fff;
}
