/* 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: "ofelia-display", sans-serif;
font-weight: 700;
font-style: normal;
	color: rgb( 206, 174, 106);
}

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

a
{
	color: rgb( 206, 174, 106);
	text-decoration: none;
}

.secondColour
{
	color: rgb( 206, 174, 106);
}

/* - */

#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( 206, 174, 106);
	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( 206, 174, 106)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( 206, 174, 106);
 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-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( 206, 174, 106);
	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( 206, 174, 106);	
}

.active-testimonial-dot
{
	background-color: rgb( 206, 174, 106);	
	border-color: rgb( 206, 174, 106);	
	/*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( 206, 174, 106); */
  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: #fff;
	cursor: pointer;
}

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

.heading{
    font-weight: 300;
    width: 100%;
    border-bottom: 1px solid rgb( 206, 174, 106);
    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( 206, 174, 106);
	padding: 2px;
	border-radius: 64px;
}

.contact-item i
{
	align-self: center;
	color: #fff;
	background-color: rgb( 206, 174, 106);
	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;
}

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

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

/*  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: #CDAE6A;
    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: #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: #151515;
    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: #CDAE6A;

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


.flow > * + * {
  margin-top: var(--flow-space, 1em);
}

.cardy {
  display: grid;
  place-items: center;
/*  width: 80vw;*/
  max-width: 600px;
  height: 600px;
  overflow: hidden;
  border-radius: 0.625rem;
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.cardy > * {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.cardy__background {
  object-fit: cover;
  max-width: 100%;
  height: 100%;
}

.cardy__content {
  --flow-space: 0.9375rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: flex-end;
  height: 55%;
  padding: 12% 1.25rem 1.875rem;
  background: linear-gradient(
    180deg,
    hsla(0, 0%, 0%, 0) 0%,
    hsla(0, 0%, 0%, 0.3) 10%,
    hsl(0, 0%, 0%) 100%
  );
}

.cardy__content--container {
  --flow-space: 1.25rem;
}

.cardy__title {
  position: relative;
  width: fit-content;
  width: -moz-fit-content; /* Prefijo necesario para Firefox  */
}

.card__title::after {
    content: "";
    position: absolute;
    height: 0.3125rem;
    width: calc(100% + 1.25rem);
    bottom: calc((1.25rem - 0.5rem) * -1);
    left: -1.25rem;
    background-color: var(#cdae6a);
}

.cardy__button {
  padding: 0.75em 1.6em;
  width: fit-content;
  width: -moz-fit-content; /* Prefijo necesario para Firefox  */
  font-variant: small-caps;
  font-weight: bold;
  border-radius: 0.45em;
  border: none;
  background-color: #cdae6a;
/*  font-family: var(--font-title);*/
  font-size: 1.125rem;
  color: var(#cdae6a);
}

.cardy__button:focus {
  outline: 2px solid black;
  outline-offset: -5px;
}

@media (any-hover: hover) and (any-pointer: fine) {
  .cardy__content {
    transform: translateY(62%);
    transition: transform 500ms ease-out;
    transition-delay: 500ms;
  }

  .cardy__title::after {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 1000ms ease-in, transform 500ms ease-out;
    transition-delay: 500ms;
    transform-origin: right;
  }

  .cardy__background {
    transition: transform 500ms ease-in;
  }

  .cardy__content--container > :not(.cardy__title),
  .cardy__button {
    opacity: 0;
    transition: transform 500ms ease-out, opacity 500ms ease-out;
  }

  .cardy:hover,
  .cardy:focus-within {
    transform: scale(1.05);
    transition: transform 500ms ease-in;
  }

  .cardy:hover .cardy__content,
  .cardy:focus-within .cardy__content {
    transform: translateY(0);
    transition: transform 500ms ease-in;
  }

  .cardy:focus-within .cardy__content {
    transition-duration: 0ms;
  }

  .cardy:hover .cardy__background,
  .cardy:focus-within .cardy__background {
    transform: scale(1.3);
  }

  .cardy:hover .cardy__content--container > :not(.cardy__title),
  .cardy:hover .cardy__button,
  .cardy:focus-within .cardy__content--container > :not(.cardy__title),
  .cardy:focus-within .cardy__button {
    opacity: 1;
    transition: opacity 500ms ease-in;
    transition-delay: 1000ms;
  }

  .cardy:hover .cardy__title::after,
  .card:yfocus-within .cardy__title::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
    transition: opacity 500ms ease-in, transform 500ms ease-in;
    transition-delay: 500ms;
  }
}


.button-56 {
  align-items: center;
  background-color: #cdae6a;
  border: 2px solid #111;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111;
  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: #111;
  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: #cdae6a;
  outline: 0;
}

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

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