/* #region CUSTOM */
:root {
	/* colors */
	--blue: rgb(16, 29, 36);
	--gold: rgb(160, 134, 48);
	--dark-green: rgb(40, 54, 57);
	--light-red: rgb(114, 33, 37);
	--dark-red: #240202;

	--scrollbarBG: rgb(14, 26, 32);
	--thumbBG: #90A4AE;
  
	--text-color: rgb(250, 235, 215);
	--title-color: rgb(160, 134, 48);
	--label-color: rgb(250, 235, 215, 0.7);
	--link-color: rgb(250, 235, 215);
  
	/* padding */
	--inline-padding: 5rem;
	--sm-inline-padding: 1rem;
	--padding-top: 2rem;
	--padding-mobile: 4rem;
	--padding-1000: 2rem;
	--padding-nav: 1rem;
	--padding-about: 1.5rem;
	--padding-rates: 3rem;
  
	/* fontsize */
	--h1-lrg: 4rem;
	--h1: 3rem;
	--h2: 2rem;
	--h2-lg: 3rem;
	--h3: 1.5rem;
	--p: 1.1rem;
	--p-sm: 1rem;
	--a: 1.2rem;
  
	/* letter weight */
	--p--weight: 200;
	--h1--weight: 800;
	--h2--weight: 400;
	--h3--weight: 400;
	--a--weight: 600;
  
	/* letter height and space */
	--p--lineHeight: 1.6;
	--heading--lineHeight: 1.2;
	--letter-spacing: 0.1em;
  
	/* opacity */
	--opacity-none: 0;
	--opacity-half: 0.5;
	--opacity-full: 1;
  
	/* height */
	--height-full: 100vh;
	--banner-height: 100vh;
	--height-half: 55vh;
	--height-fifth: 20vh;
	--height-nav: 5vh;
	--height-none: 0vh;
  
	/* width */
	--width-full: 100vw;
	--width-75: 75vw;
	--width-half: 55vw;
	--width-quarter: 25vw;
	--width-fifth: 20vw;
	--width-text-max: 60ch;
  
	/* box shadow */
	--banner: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
	--card-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
	--profile: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px,
	  rgba(6, 24, 44, 0.65) 0px 4px 6px -1px,
	  rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
  
	/* linear gradient */
	--input-grad: linear-gradient(
	  90deg,
	  rgba(114, 33, 37, 1) 20%,
	  rgba(36, 2, 2, 1) 70%,
	  rgba(16, 29, 36, 1) 93%
	);
	--input-anim: linear-gradient(
	  90deg,
	  rgba(114, 33, 37, 1) 20%,
	  rgba(36, 2, 2, 1) 47%,
	  rgba(160, 134, 48, 1) 89%
	);
	/* z-index */
	--nav: 100;
	--cards: 1;
	--icons: -2;
	--range: -1;
  }
  /* #endregion */
  
  /* #region UNVIERSAL */
  
  *,
  *::before,
  *::after {
	box-sizing: border-box;
	scroll-behavior: smooth;
	font: inherit;
  }
  
  body {
	font-family: "Tilt Neon", sans-serif;
	letter-spacing: var(--letter-spacing);
	overflow-x: hidden;
	min-height: 100vh;
	background-color: var(--blue);
	background: rgb(13,26,34);
	background: linear-gradient(71deg, rgba(13,26,34,1), rgba(15,28,36,.9), rgba(17,30,40,1)); 
	/* background: linear-gradient(71deg, #080509, #1a171c, #080509); */
	background-clip: padding-box;
  }

  
  /* #endregion */
  
  /* #region TYPE */
  
  h1 {
	font-size: var(--h1);
  }
  
  h2 {
	font-size: var(--h2);
  }
  
  h3 {
	font-size: var(--h3);
  }
  
  h1,
  h2,
  h3,
  a {
	text-transform: uppercase;
  }
  
  p {
	font-size: var(--p-sm);
	max-width: var(--width-text-max);
  }
  
  a {
	font-size: 1em;
	color: var(--link-color);
  }
  
  .text-color {
	color: var(--text-color);
  }
  
  /* #endregion */
  
  /* #region SCROLL */
  
  html,
  body {
	scroll-padding-top: var(--scroll-padding, 10%);
  }
  
  html:focus-within {
	scroll-behavior: smooth;
  }


  /* #endregion */
  
  /* #region UTILITY */
  
  .flex-center-even {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	gap: 1rem;
  }
  
  .flex-center-center {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 1rem;
  }
  
  .flex-center-between {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
  }
  
  .flex-start-center {
	display: flex;
	align-items: start;
	justify-content: center;
	gap: 1rem;
  }
  
  .flex-even {
	display: flex;
	justify-content: space-evenly;
  }
  
  /* #region IMAGE */
  .bgr-image {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
  }
  /* #endregion */
  
  /* #endregion */
  
  /* #region HEADER */
  .header-top {
	height: var(--height-none);
	opacity: var(--opacity-none);
	color: var(--title-color);
  }
  
  .banner {
	width: var(--width-full);
	height: 100vh;
	display: flex;
	align-items: center;
	box-shadow: var(--banner);
  }
  
  .banner::before {
	width: var(--width-full);
	height: var(--banner-height);
	max-width: var(--width-full);
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	background-image: url(../images/range-top.png);
	background-position: bottom;
	background-repeat: no-repeat;
  }
  
  .banner-text {
	position: relative;
	text-align: center;
  }

  .preview {
	display: none;
  }
  
  .banner-text span {
	color: var(--dark-red);
  }
  
  .header-nav-list {
	gap: 3rem;
	flex-direction: column;
	display: none;
  }
  
  .site-title {
	color: var(--title-color);
	width: 100vw;
	transform: translateY(-10vh);
  }
  
  /* #endregion */
  
  /* #region MAIN */
  
  main {
	padding-top: var(--inline-padding);
	/* flex-direction: column; */
  }
  
  .section-title {
	padding-inline-start: var(--sm-inline-padding);
	padding-top: var(--padding-top);
	text-align: center;
  }
  
  /* #endregion */
  
  /* #region ABOUT */
  
  .about {
	grid-area: about;
	padding-inline: var(--sm-inline-padding);

	/* transform: translateX(0); */
	/* transition: 1s all; */
  }
  
  .about-title {
	grid-area: name;
  }
  
  .profile-img-mobile,
  .profile-img {
	background-image: url(../images/Babs.jpeg);
	/* width: var(--width-quarter); */
	border-radius: 3%;
	box-shadow: var(--profile);
	background-position: top;
	width: 45%;
	height: 30vh;
	float: left;
	margin: 0.5rem;
  }
  
  .profile-img {
	grid-area: img;
	display: none;
  }
  
  .range-img {
	display: none;
  }
  
  .about-text {
	grid-area: about-txt;
  }
  
  .about-para p {
	padding-left: var(--padding-about);
	padding-top: var(--padding-about);
  }
  
  /* #endregion */
  
  /* #region CARDS */
  
  .services {
	grid-area: services;
	min-height: 50vh;
  }
  
  .service-card-wrapper {
	position: relative;
	display: block;
  
	align-items: center;
	display: flex;
	padding: 0;
  }
  
  .card {
	position: relative;
	cursor: pointer;
  }
  
  .card-part {
	transition: 0.5s;
  
	width: 80vw;
	/* height: 30vh */
	height: fit-content;
	overflow: hidden;
  
	text-align: center;
  }

  .italics {
	font-style: italic;
  }
  
  .card-head {
	position: relative;
	background: var(--light-red);
	text-align: center;
	z-index: var(--cards);
	transform: translateY(6vh);
	/* padding */
	padding: 2rem;
	flex-direction: column;
  }
  
  .card-head .card-title {
	opacity: 0.8;
  }
  
  .card-body {
	position: relative;
	background: var(--gold);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	box-sizing: border-box;
	box-shadow: var(--card-shadow);
	transform: translateY(-13vh);
	padding: .5rem;
  }

  
  .card-text {
	opacity: var(--opacity-none);
	transition: 0.5s;
  }
  
  .fa-person-half-dress,
  .fa-flag,
  .fa-ear-listen {
	position: fixed;
	right: 0;
	font-size: 10em;
  
	z-index: var(--icons);
	opacity: 0.3;
  }
  
  /* #endregion */
  
  /* #region RATES */
  .rates {
	min-height: 50vh;
	width: var(--width-full);
  
	grid-area: rates;
	padding-bottom: 5rem;
  }
  
  .rate-choices {
	padding-top: var(--padding-rates);
  }
  
  .rate-choice,
  .rates-span {
	padding-top: 1rem;
	flex-direction: column;
  }
  
  
  .hr-full {
	width: 50px;
  }
  
  .hr-media {
	width: 30%;
	color: #722125;
	border: 2px solid #722125;
	border-radius: 10%;
  }
  
  /* #endregion */
  
  /* #region CONTACT */
  
  .contact {
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
  
	background-image: url(../images/range-cropped-min.png);
	background-repeat: no-repeat;
	background-size: cover;
	height: fit-content;
  }
  
  .contact-header {
	padding: 1rem 2rem;
	display: block;
	visibility: visible;
	color: antiquewhite;
  }
  
  .contact h2,
  input,
  textarea,
  button {
	color: var(--text-color);
  }
  form {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 90%;
	background-color: var(--dark-green);
	padding: 1rem;
	border-width: 3px;
	border-style: solid;
	border-image: linear-gradient(to bottom, var(--dark-red), rgba(0, 0, 0, 0)) 1
	  100%;
  }
  form > p {
	padding: 1rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	box-sizing: border-box;
	position: relative;
	z-index: 1;
	overflow: hidden;
	width: 100%;
	color: var(--text-color);
  }
  form p::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	background-color: hsla(200, 10%, 50%, 0.14);
	transform: translateX(-110%);
	transition: transform 0.2s ease-out;
  }
  form p:focus-within {
	color: #fff;
	text-shadow: 1px 1px 1px #000;
  }
  form p:focus-within::before {
	transform: translateX(0);
  }
  label {
	font-size: 1.2rem;
	flex-basis: 30%;
	padding: 0.25rem 1px;
	text-align: start;
	color: inherit;
	text-shadow: inherit;
  }
  input,
  textarea {
	font-size: 1.2rem;
	flex-basis: 100%;
	width: calc(100% - 2px);
	padding: 0.25rem 1rem;
  
	background-color: transparent;
	border: none;
	border-bottom: 1px solid antiquewhite;
	transition: border-width 0.6s linear;
	color: var(--text-color);
	background-color: transparent;
  }
  
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
  }
  
  .instructions {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	color: #ccc;
  }
  .instructions span {
	padding-left: 2rem;
  }
  input[type="text"]:focus,
  input[type="email"]:focus,
  textarea:focus,
  input[type="number"]:focus {
	animation: increase 1s forwards;
	outline: none;
	gap: 1rem;
  }
  
  input:valid {
	background-color: transparent;
  }
  
  input[inv]:invalid {
	background-color: var(--dark-red);
	/* background-color: transparent; */
  }
  
  input {
	background-color: transparent;
  }
  
  .submit-button {
	width: 20vw;
	color: antiquewhite;
	place-self: center;
	border: none;
	background: rgb(114, 33, 37);
	background: var(--input-grad);
	padding: 1rem;
	box-shadow:
	  rgba(6, 24, 44, 0.4) 0px 0px 0px 2px,
	  rgba(6, 24, 44, 0.65) 0px 4px 6px -1px,
	  rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
  }
  
  .url-field-wrapper {
	position: absolute;
	left: -9999px;
  }
  
  .errMessage {
	font-size: 50%;
  }
  
  .hinge {
	animation: hinge 1s ease forwards;
  }
  
  .fa-exclamation {
	align-self: flex-end;
	display: none;
  }
  
  /* input:invalid,
	textarea:invalid {
		box-shadow: 0 0 5px 1px red;
	}
	
	input:focus:invalid,
	textarea:focus:invalid {
		box-shadow: none;
	}
	
	input:valid,
	textarea:valid {
		box-shadow: none;
	}  */
  
  .arrow {
	width: 15px;
	height: 15px;
	border: 5px solid var(--dark-red);
	border-left: 0;
	border-top: 0;
	transition: 0.05s visibility;
	transform: rotate(45deg);
	opacity: 0.7;

	position: fixed;
	bottom: 0;
	margin: 1rem;
  }
  
  /* #endregion */
  
  /* #region ANIMATION */
  @keyframes increase {
	0% {
	  width: 0%;
	}
	100% {
	  width: 100%;
	  border-bottom: 1px solid var(--light-red);
	  padding: 0.5rem;
	}
  }
  
  @keyframes swing {
	20% {
	  transform: rotate(15deg);
	}
	40% {
	  transform: rotate(-10deg);
	}
	60% {
	  transform: rotate(5deg);
	}
	80% {
	  transform: rotate(-5deg);
	}
	100% {
	  transform: rotate(0deg);
	}
  }
  
  @keyframes hinge {
	0% {
	  transform: rotate(0);
	  transform-origin: top left;
	  animation-timing-function: ease-in-out;
	}
	20%,
	60% {
	  transform: rotate(80deg);
	  transform-origin: top left;
	  animation-timing-function: ease-in-out;
	}
	40% {
	  transform: rotate(60deg);
	  transform-origin: top left;
	  animation-timing-function: ease-in-out;
	}
	80% {
	  transform: rotate(60deg) translateY(0);
	  opacity: 1;
	  transform-origin: top left;
	  animation-timing-function: ease-in-out;
	}
	100% {
	  transform: translateY(700px);
	  opacity: 0;
	}
  }
  /* #endregion */
  
  /* #region FOOTER */
  
  footer {
	background-color: var(--dark-red);
  }
  
  .footer-nav-list {
	flex-direction: row;
	padding: 1rem;
	margin: 0;
	justify-content: end;
  }
  
  .footer-nav-list hr {
	padding: 0;
	margin: 0;
	width: 16px;
	transform: rotate(-90deg);
  }
  .footer-link {
	font-size: 15px;
	opacity: 0.7;
  }
  
  .image-credit {
	padding: 0.1rem 0.3rem;
	color: antiquewhite;
	display: none;
  }
  
  .image-credit::before {
	background-color: rgba(0, 0, 0, 0.3);
	content: "";
	filter: blur(18px);
	position: absolute;
	inset: 10%;
	z-index: 10;
  }
  
  /* #endregion */

  /* #region JS */
  
  .sticky {
	position: sticky;
  
	transition: 0.4s;
	height: var(--height-nav);
	opacity: var(--opacity-full);
	z-index: var(--nav);
	padding-inline: var(--padding-nav);
  
	box-shadow: var(--banner);
	background-color: var(--dark-red);
  
	top: 0;
	left: 0;
	background-image: url(../images/range-left.png);
	background-position: 95%;
	background-repeat: no-repeat;
	background-size: contain;
	box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
  }
  
  .sticky + .text-color {
	padding-top: 8rem;
  }
  
  .sticky-header {
	flex-direction: row;
  }
  
  .hidden {
	visibility: hidden;
  }
  
  input:invalid + i {
	visibility: visible;
  }
  
  textarea:invalid + i {
	visibility: visible;
  }
  
  .visible {
	display: block;
  }
  
  /* #endregion */
  
  /* #region MEDIA */
  
  @media (hover: none) {
	.card .card-head {
	  background: var(--dark-red);
	  transform: translateY(1vh);
	  transition: 0.5s;
	}
  
	.card .card-body {
	  transform: translateY(0vh);
	}
  
	.card .arrow {
	  visibility: hidden;
	}
  
	.card .card-text {
	  opacity: var(--opacity-full);
	  transition: 0.7s;
	}
  }
  
  @media (hover: hover) {
	.image-link:hover,
	.site-link:hover,
	.header-link:hover {
	  opacity: 1;
	}
  
	.card:hover .card-head {
	  background: var(--dark-red);
	  transform: translateY(1vh);
	  transition: 0.5s;
	}
  
	.card:hover .card-body {
	  transform: translateY(0vh);
	}
  
	.card:hover .arrow {
	  visibility: hidden;
	}
  
	.card:hover .card-text {
	  opacity: var(--opacity-full);
	  transition: 0.7s;
	}
  
	.submit-button:hover {
	  transform-origin: top center;
	  animation: swing 2s ease infinite;
	}
  }
  
  @media screen and (min-width: 450px) {
	h1 {
	  font-size: 3.2rem;
	}
  
	h2 {
	  font-size: var(--h2-lg);
	}
  
	p {
	  font-size: var(--p);
	}
	.banner {
	  height: var(--height-half);
	  display: flex;
	  justify-content: end;
	  align-items: start;
	}
  
	.banner::before {
	  height: var(--height-half);
	  background-size: cover;
	  top: 0;
	}
  
	.site-section {
	  min-height: 100vh;
	}
  
	.site-title {
	  width: inherit;
	  padding-top: 2rem;
	  transform: translateY(0vh);
	  text-align: center;
	}

	.card-part {
		height: 25vh;
		width: 60vw;
	  }

	  .card-head {
		padding: 0;
	  }
  
	.site-title,
	.header-link,
	.footer-link {
	  opacity: 0.7;
	}
  
	.section-title,
	.about {
	  padding-inline: var(--inline-padding);
	}
  
	.services {
	  min-height: 0;
	}
  
	.rate-choices {
	  gap: 10vh;
	}
	.rate-choice {
	  flex-direction: row;
	}
  
	.hr-full {
	  transform: rotate(-70deg);
	  color: #a08630;
	  border: 2px solid #240202;
	}
  
	.hr-media {
	  display: none;
	}
  
	.rate-choice span {
	  font-size: var(--h3);
	  font-style: italic;
	}
  
	.submit-button {
	  max-width: 15vw;
	}
  }
  
  @media screen and (min-width: 550px) {
	.banner {
	  padding-right: 2em;
	}
  }
  
  @media screen and (min-width: 60em) {
	.header-link {
	  font-size: var(--a);
	}
  
	.header-nav-list {
	  flex-direction: row;
	  display: flex;
	}
  
	.sticky {
	  background-position: center;
	}

	.about {
		min-height: 80vh;
	}
  
	.grid-about {
	  display: grid;
	  grid-template-columns: 2fr 1fr;
	  grid-template-rows: 1fr 3fr;
	  grid-template-areas:
		"name img"
		"about-txt img";
	}
  
	.profile-img-mobile {
	  display: none;
	}
	.profile-img {
	  display: grid;
	  float: none;
	  margin: 0;
	  grid-area: img;
	  background-position: top;
	  width: var(--width-quarter);
	  height: 100%;
	}
	.footer-nav-list {
	  justify-content: end;
	}
  
	.submit-button {
	  width: 10vw;
	}
  
	form {
	  width: 50vw;
	}

	.card-part {
		height: 25vh;
		width: 60vw;
	  }
  }
  
  @media screen and (min-width: 960px) {
	.range-img {
	  display: block;
	  position: absolute;
	  right: 0;
	  transform: translateY(60%);
	  height: 50%;
	  z-index: var(--range);
	}
  
	.site-title {
	  padding-top: 4rem;
	}
  
	h1 {
	  font-size: var(--h1-lrg);
	}
  

	

	.visible-desktop {
		display: block;
	}
  }

  @media screen and (min-width: 1150px) {
	.service-card-wrapper {
		flex-direction: row;
		display: flex;
	  }

	  .card-part {
		height: 25vh;
		width: 30vw;
	  }
	
  }
  
  /* #endregion */
  
