/* 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: "Montserrat", sans-serif;
	font-weight: 300;
	color: #e3b749;
}

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

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

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

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

/* - */

hr {
	width: 80%;
	height: 1px;
	background-color: #fbdd5e;
	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;

	margin: 8px;
	background-color: #f3f3f3;
}

.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: 5px;
	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 0.25s;
}

.btn::before {
	content: "";

	grid-row: 1;
	grid-column: 1;
	z-index: 1;
	background-color: #fbdd5e;

	width: 0;
	height: 0;

	border-radius: 5px;

	transition: ease 0.25s;

	color: #fff;

	overflow: hidden;

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

.btn:hover {
	cursor: pointer;
}

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

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

/* - */

#banner-container {
	display: grid;
	width: 100%;
	height: 128px;
	align-content: center;
	justify-content: center;
	background-image: url("../img/banner-bg3.jpg");
	background-attachment: fixed;
	background-position: center center;
	background-color: #111;
	background-repeat: no-repeat;
	background-size: cover;
}

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

#banner-container h1 {
	color: #fff;
	background-color: rgba(0, 0, 0, 0.6);
}

/* - */

/* - */

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

.contact-icon {
	grid-row: 1;
	color: #fbdd5e;
	align-self: center;
	justify-self: start;
	border-right: solid 1px;
	padding-right: 12px;
	font-size: 20px;
}

.contact-items h3 {
	color: #fbdd5e;
	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-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 0.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(255, 255, 255);
	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 0.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: #fbdd5e;
}

.active-testimonial-dot {
	background-color: rgb(255, 255, 255);
	border-color: rgb(255, 255, 255);
	/*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: #fbdd5e;
	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.3);
}

/*** 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;
}

.cardyc {
	border: 4px solid var(--colour1);
	padding: 32px;
	border-radius: 20px;
	background-color: var(--colour2);
	width: 75%;
	/* height: 250px; */
	justify-self: center;
}

.cardyc h1 {
	justify-self: center;
	text-align: center;
	color: var(--colour3) !important;
}

.cardyc h4 {
	justify-self: center;
	text-align: center;
	color: var(--colour3) !important;
}

.cardyc h2 {
	justify-self: center;
	text-align: center;
	color: var(--colour1) !important;
}

.cardyc p {
	justify-self: center;
	text-align: center;
	color: var(--colour3) !important;
}

.cardyc a {
	justify-self: center;
	text-align: center;
	color: var(--colour3) !important;
}

.cardyc i {
	justify-self: center;
	text-align: center;
	color: var(--colour1) !important;
	font-size: large;
}

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

.roof .workspace .element .element h1,
.roof .workspace .element .element h2,
.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 h2,
	.roof .workspace .element .element h3,
	.roof .workspace .element .element p {
		justify-self: left;
		text-align: left;
	}
}

.zoom {
	transition: transform 0.2s;
}

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