/* CSS Document */

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f7f7f7;
}

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

.workspace {
    grid-gap: 32px;
}

h1,
h2,
h3,
h4 {
    font-family: "ivymode", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: #4e204e;
}

p,
li {
    font-weight: 300;
    font-size: 17px;
    line-height: 23px;
    letter-spacing: .5px;
    color: #444;
}

b,
strong {
    color: rgb(179, 154, 105);
}

a {
    text-decoration: none;
    color: rgb(179, 154, 105);
}

.shadow-top {
    background-image: url("../img/shadow.png");
    background-position: top center;
    background-repeat: no-repeat;
}

.heading {
    font-weight: 300;
    width: 100%;
    border-bottom: 1px solid #4e204e;
    padding-bottom: 16px;
}

.heading-block {
    display: grid;
    justify-content: start;
    justify-self: start;

    border-bottom: solid 1px #969696;
    padding-bottom: 16px;
}

.heading-block h1 {
    color: rgb(179, 154, 105);
}

.heading-block h3 {
    color: #757575;
}

.secondColour {
    color: #4E204E;
}

/* - */

hr {
    width: 80%;
    height: 1px;
    background-color: rgb(179, 154, 105);
    border: none;
}

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

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

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

/* - */

.btn {
    display: grid;
    justify-self: start;
    letter-spacing: 1px;
    margin: 8px;
    background-color: rgb(179, 154, 105);
    border-radius: 32px;
    transition: ease .5s;

}

.btn h4 {
    grid-row: 1;
    grid-column: 1;
    z-index: 2;

    border: none;
    color: #222;
    padding: 16px 32px;
    text-align: center;
    font-size: 16px;
    border-radius: 32px;

    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05), 0 2px 2px rgba(0, 0, 0, 0.05), 0 4px 4px rgba(0, 0, 0, 0.05), 0 8px 8px rgba(0, 0, 0, 0.05), 0 16px 16px rgba(0, 0, 0, 0.05);

    transition: ease .25s;
}


.btn::before {
    content: "";

    grid-row: 1;
    grid-column: 1;
    z-index: 1;

    width: 0;
    height: 0;

    border-radius: 32px;

    transition: ease .25s;

    color: #fff;

    overflow: hidden;

    justify-self: center;
    align-self: center;
}

.btn:hover {
    cursor: pointer;
    background-color: #4E204E
}

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

.btn:hover::before {
    height: 100%;
    width: 100%;
}

/* - */

.banner {
    display: grid;
}

#banner-image {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    z-index: 1;

    width: 100%;
    height: 128px;
    background-size: cover;
    background-image: url('../img/banner-bg.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

#banner-overlay {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    z-index: 2;

    width: 100%;
    height: 128px;
    background-size: cover;
    opacity: 0.65;

    background-color: black;
}

#banner-container {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    z-index: 3;

    width: 100%;
    height: 128px;
    align-content: center;
    justify-content: center;
}

@media (min-width: 768px) {
    #banner-image {
        height: 256px;
    }

    #banner-overlay {
        height: 256px;
    }

    #banner-container {
        height: 256px;
    }
}

#banner-container h1 {
    color: #fff;
    /* text-shadow: 0px 0px 4px #333; */
}

/* - */



/* - */

.contact-items {
    grid-gap: 20px;
}

.contact-icon {
    grid-row: 1;
    color: rgb(179, 154, 105);
    align-self: center;
    justify-self: start;
    border-right: solid 1px;
    padding-right: 12px;
    font-size: 20px;
}

.contact-items h3 {
    color: rgb(179, 154, 105);
    grid-row: 1;
    margin: 0;

    align-self: center;
    justify-self: start;
}

.contact-items p {
    grid-row: 1;
    margin: 0;

    align-self: center;
    justify-self: start;
}

.contact-items .element {
    align-content: start;
    justify-content: start;
    grid-gap: 16px;
}







/* 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: #4E204E;
    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(179, 154, 105);
}

.active-testimonial-dot {
    background-color: #4E204E;
    border-color: #4E204E;
    /*border: none;*/
}


/* - 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(179, 154, 105);
    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;
}

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

.gatehouse {
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.roof .workspace .element {
    align-self: center;
    justify-self: center;
}

.roof .workspace .element .element h1,
.roof .workspace .element .element h3,
.roof .workspace .element .element p {
    justify-self: center;
    text-align: center;
}

@media(max-width: 768px) {
    .roof .workspace .element {
        align-self: left;
        justify-self: left;
    }

    .roof .workspace .element .element h1,
    .roof .workspace .element .element h3,
    .roof .workspace .element .element p {
        justify-self: left;
        text-align: left;
    }
}

.mobishow {
    display: none !important;
}

.mobihide {
    display: grid !important;
}

@media (max-width: 768px) {
    .mobishow {
        display: grid !important
    }

    .mobihide {
        display: none !important;
    }
}

/* From Uiverse.io by alexmaracinaru */
buttony {
    cursor: pointer;
    font-family: "aviano-sans", sans-serif;
    font-weight: 700;
    font-style: normal;
    transition: all 0.2s;
    padding: 10px 20px;
    border-radius: 100px;
    background: transparent;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #B29967;
    justify-content: center;
}

buttony:hover {
    background: transparent;
}

buttony > svg {
    width: 34px;
    color: #B29967;

    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

buttony:hover svg {
    color: #B29967;

    transform: translateX(5px);
}

buttony:active {
    color: #B29967;

    transform: scale(0.95);
}


/* From Uiverse.io by alexmaracinaru */
buttone {
    cursor: pointer;
    font-family: "aviano-sans", sans-serif;
    font-weight: 900;
    font-style: normal;
    transition: all 0.2s;
    padding: 10px 20px;
    border-radius: 100px;
    background: transparent;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #d8d5ca;
}

buttone:hover {
    background: transparent;
}

buttone > svg {
    width: 34px;
    color: #d8d5ca;

    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

buttone:hover svg {
    color: #d8d5ca;

    transform: translateX(5px);
}

buttone:active {
    color: #d8d5ca;

    transform: scale(0.95);
}


/* From Uiverse.io by kamehame-ha */
.cards {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 16px;
}

.cards .red {
    background-color: #bdc9d3;
}

.cards .blue {
    background-color: #90adc5;
}

.cards .green {
    background-color: #5681a5;
}


.cards .pink {
    background-color: #1d223b;
}

.cards .yellow {
    background-color: #706e69;
}

.cards .orange {
    background-color: #000000;
}


.cards .card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    /*
    height: 100px;
    width: 250px;
*/
    padding: 40px 10px 40px 10px;
    border-radius: 15px;
    /*    color: white;*/
    cursor: pointer;
    transition: 400ms;
    /*    padding: 10px*/
}

.cards .red p.tip,
.cards .blue p.tip {
    /*
    font-size: 1em;
    font-weight: 700;
*/
    font-size: 21px;

    font-family: "ivymode", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    color: #111 !important;
}

.cards .red p.second-text,
.cards .blue p.second-text {
    /*    font-size: .7em;*/
    color: #111 !important;
}


.cards .card p.tip {
    /*
    font-size: 1em;
    font-weight: 700;
*/
    font-size: 21px;

    font-family: "ivymode", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    color: #fff;
}

.cards .card p.second-text {
    /*    font-size: .7em;*/
    color: #fff;
}

.cards .card:hover {
    transform: scale(1.1, 1.1);
}

.cards:hover > .card:not(:hover) {
    filter: blur(10px);
    transform: scale(0.9, 0.9);
}

@media(max-width: 768px) {

    /* From Uiverse.io by kamehame-ha */
    .cards {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 16px;

    }



    .cards .red {
        background-color: #bdc9d3;
    }

    .cards .blue {
        background-color: #90adc5;
    }

    .cards .green {
        background-color: #5681a5;
    }


    .cards .pink {
        background-color: #1d223b;
    }


    .cards .yellow {
        background-color: #706e69;
    }

    .cards .orange {
        background-color: #000000;
    }


    .cards .card {
        /*    width: 100%;*/
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        /*
    height: 100px;
    width: 250px;
*/
        padding: 40px 10px 40px 10px;
        border-radius: 15px;
        /*    color: white;*/
        cursor: pointer;
        transition: 400ms;
        /*    padding: 10px*/
    }

    .cards .card p.tip {
        /*
    font-size: 1em;
    font-weight: 700;
*/
        font-size: 21px;
        font-family: "ivymode", sans-serif;
        font-weight: 400;
        font-style: normal;
        text-transform: uppercase;
        color: #fff;
    }

    .cards .card p.second-text {
        /*    font-size: .7em;*/
        color: #fff;
    }

    .cards .card:hover {
        transform: scale(1.1, 1.1);
    }

    .cards:hover > .card:not(:hover) {
        filter: blur(10px);
        transform: scale(0.9, 0.9);
    }
}


/* From Uiverse.io by gharsh11032000 */
.card {
    width: 100%;
    height: 200px;
    background-color: #b29967;
    background-image: linear-gradient(43deg, #b29967 0%, #9b7e44 46%, #edd5a6 100%);
    border-radius: 8px;
    color: white;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
    padding-bottom: 30px;
}

@media(max-width: 768px) {

    /* From Uiverse.io by gharsh11032000 */
    .card {
        width: 100%;
        height: 350px;
        background-color: #b29967;
        background-image: linear-gradient(43deg, #b29967 0%, #9b7e44 46%, #edd5a6 100%);
        border-radius: 8px;
        color: white;
        overflow: hidden;
        position: relative;
        transform-style: preserve-3d;
        perspective: 1000px;
        transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
        cursor: pointer;
        padding-bottom: 30px;
    }
}

.card-content {
    padding: 20px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: white;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.card-content .card-title {
    font-size: 24px;
    font-weight: 700;
    color: inherit;
    text-transform: uppercase;
}

.card-content .card-para {
    color: inherit;
    opacity: 0.8;
    font-size: 14px;
}

.card:hover {
    transform: rotateY(10deg) rotateX(10deg) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
}

.card:hover:before {
    transform: translateX(-100%);
}

.card:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
}

.card:hover:after {
    transform: translateX(100%);
}
