/* Hydromancer CSS */

/* - */

body {
    font-family: "Montserrat", Helvetica, Arial, "sans-serif";
    font-weight: 400;
}

p,
li {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: .5px;
    color: #111;
}

h1,
h2,
h3,
h4 {
    font-family: "temeraire", serif;
    font-weight: 900;
    font-style: normal;
    color: rgb(250, 211, 129);
}

b,
strong {
    color: rgb(38, 38, 38);
}

a {
    color: rgb(250, 211, 129);
    text-decoration: none;
}

.secondColour {
    color: rgb(250, 211, 129);
}

/* - */

#page-content {
    display: grid;
    grid-gap: 32px;
    margin-bottom: 256px;
}

/* - */

.sect-a {
    display: grid;
    grid-template-columns: auto;
}

@media(min-width: 768px) {
    .sect-a {
        grid-template-columns: auto 384px 384px auto;
    }
}

@media(min-width: 992px) {
    .sect-a {
        grid-template-columns: auto 496px 496px auto;
    }
}

@media(min-width: 1200px) {
    .sect-a {
        grid-template-columns: auto 600px 600px auto;
    }
}

.workspace {
    grid-gap: 32px;
}

/* - */

.heading-1 {
    grid-gap: 4px;
}

.heading-1 h1 {
    font-size: 35px;
    color: #666;
}

.heading-1 h3 {
    font-size: 23px;
    font-style: italic;
}

/* - */

.heading-2 {
    grid-gap: 4px;
    align-self: center;
    justify-self: center;
}

.heading-2 h1 {
    font-size: 40px;
    color: #DDD;
    justify-self: center;
}

.heading-2 h3 {
    font-size: 26px;
    font-style: italic;
    color: #B8B8B8;
    justify-self: center;
}

.heading-2 .btn {
    justify-self: center;
    margin-top: 32px;
}

/* - */

hr {
    justify-self: center;
    width: 50vw;
    border: none;
    border-top: 1px solid;
    color: #cecece;
}

/* - */

.btn {
    border: solid 2px;
    color: rgb(250, 211, 129);
    padding: 12px 16px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 32px;
    transition: background ease .2s, transform ease .2s;
    justify-self: start;
}

.btn:hover {
    cursor: pointer;
    background-color: rgb(250, 211, 129)1a;
    transform: scale(0.9);
}

/* - */

.feature-a {
    display: grid;
    grid-gap: 32px;
    justify-content: start;

    overflow-x: hidden;
    width: 100%;
}

.feature-a-img {
    grid-row: 1;
    grid-column: 1;

    width: 50vw;
}

.feature-a-content {
    grid-row: 1;
    width: 568px;
    margin: 32px 0;
}


/* - */

.feature-b {
    display: grid;
    grid-gap: 32px;
    justify-content: end;

    overflow-x: hidden;
    width: 100%;
}

.feature-b-img {
    grid-row: 1;
    grid-column: 2;

    width: calc(50vw - 16px);
}

.feature-b-content {
    grid-row: 1;
    width: 568px;
    margin: 32px 0;
}

/* - */



/* - */

.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(250, 211, 129);
    align-self: start;
    content: "\f6e3";
    margin-right: 8px;
    font-size: 16px;
    border-right: solid 2px;
    padding-right: 8px;
}















/* - */

.paralax-banner {
    height: 384px;
    overflow: hidden;
    background-image: url(../img/para.jpg );
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 64px 0;
}











/* Testimonials */

.testimonial-container {
    display: grid;
    width: 100%;
    background-image: url('../img/testimonial-bg.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-color: #111;
    background-repeat: no-repeat;
    background-size: cover;

    min-height: 400px;
}

.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(250, 211, 129);
    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(250, 211, 129);
}

.active-testimonial-dot {
    background-color: rgb(250, 211, 129);
    border-color: rgb(250, 211, 129);
    /*border: none;*/
}





































/* - */

.elem-table {
    /* justify-self: start; */
    align-self: start;
}

thead {
    background-color: #555;
}

thead h1 {
    padding: 4px 16px;
    color: #fff;
}

tbody tr {
    background-color: #ececec;
    border: solid 2px #555;
    border-top: none;
}

tbody tr:nth-child(odd) {
    background-color: #fff;
}

td {
    position: relative;
    z-index: 1;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

td::after {
    content: "";
    /* background: rgb( 250, 211, 129); */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 0;
    height: 100%;
    transition: all 0.2s ease;

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

td:hover::after {
    width: 100%;
}

td:hover {
    color: #fad381;
    cursor: pointer;
}

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

.heading {
    font-weight: 300;
    width: 100%;
    border-bottom: 1px solid rgb(250, 211, 129);
    padding-bottom: 16px;
}

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

.paralax-banner {
    height: 512px;
}

.paralax-banner .element {
    align-self: start;
    margin-top: 128px;
}

.hide-on-contact #footer .workspace .contact-details {
    display: none;
}

.hide-on-contact #footer .workspace .dashed-line {
    display: none;
}

.contact-item {
    grid-template-columns: max-content auto;
    align-content: center;
}

.contact-item .element {
    background-color: rgb(250, 211, 129);
    padding: 2px;
    border-radius: 64px;
}

.contact-item i {
    align-self: center;
    color: #fff;
    background-color: rgb(250, 211, 129);
    padding: 16px;
    border-radius: 64px;
    justify-self: center;
    font-size: 24px;
    border: solid 4px #fff;

}

.contact-item a {
    align-self: center;
}

.contact-item p {
    align-self: center;
}

@media(max-width: 767px) {
    .long-txt {
        font-size: 12px;
    }
}

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

/*  WAVES */


#bot-wave-conainer {
    overflow: hidden;
    width: 100%;
    height: 256px;
    margin-top: -256px;
    z-index: 2;
    display: grid;
}

#bot-wave-conainer .st0 {
    fill: #222;
}

#bot-wave-conainer .st1 {
    fill: rgba(34, 34, 34, 0.65);
}



.paralax-banner {
    height: 512px;
}

.paralax-banner .element {
    align-self: start;
    margin-top: 128px;
}

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

/*  CONTACT PAGE SPACING */

.space {
    height: 200px;
}


.colorback {
    padding: 30px 0px;
    background-color: #fad381;
}

.colorback p,
.colorback li {
    color: #222;
}

/*
.colorback {
    
    color:#262626;
}
*/

.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: #4c4c4c;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 0.25rem;
    padding: 15px;
}

.card p {
    color: #fff;
}

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

.card:hover p {
    color: white;

}

.card:hover h1 {
    color: white;

}

.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: #fad381;
    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);
}
