:root {
	/* --color1: #CB2626;
    --color1a:#752727;
    --color2: #272838;
    --color3: #EADEDA;
    --color4: #acadadd8;
    --color5: #383838bb; */

	--color1a: #FFE55F;
	--color1: #B8923F;
	--color2: #0D0E09;
	--color3: #c9c5cb;
	--color4: #baacbd;
	--color5: #383838bb;
}

@font-face {
	font-family: "MontserratRegular";
	src: url("/fonts/Montserrat-Regular.ttf");
}

@font-face {
	font-family: "MontserratSemibold";
	src: url("/fonts/Montserrat-SemiBold.ttf");
}

@font-face {
	font-family: "MontserratBold";
	src: url("/fonts/Montserrat-Bold.ttf");
}

* {
	box-sizing: border-box;
}

body {
	font-family: "MontserratRegular";
	margin: 0;
	padding: 0;
	color: var(--color3);
	overflow-x: hidden;
	background: rgb(203,38,38);
	background: linear-gradient(340deg, rgba(203,38,38,0.8855917366946778) 0%, rgba(39,40,56,0.9220063025210083) 73%);
	background-attachment: fixed;
}

a {
	text-decoration: none;
}

	a:visited {
		color: inherit;
	}

/* HEADER */

header {
	margin-top: 5px;
	width: 100%;
	height: 4rem;
	position: fixed;
	z-index: 3;
}

	header div {
		width: 75%;
		padding: 0 1rem;
		height: 100%;
		margin: auto;
		display: flex;
		align-items: center;
		justify-content: center;
		background-color: var(--color2);
		border-radius: 10px;
	}

	header a {
		color: var(--color3);
	}

	header li a:hover {
		color: var(--color1);
	}

	header h1, header button {
		margin: 0;
		width: 10%;
	}

	header button {
		height: 70%;
		background-color: var(--color1);
		border-radius: 10px;
		border: none;
		color: var(--color2);
		font-family: "MontserratSemibold";
		font-size: 16px;
		cursor: pointer;
	}

		header button:hover {
			background-color: var(--color1a);
		}

.navbar {
	margin: auto;
}

.navbar-nav {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	height: 100%;
	margin: auto;
	list-style-type: none;
	margin: 0;
	padding: 0;
	column-gap: 1rem;
}

/* IMAGE SLIDER */

section {
	max-height: 100vh;
	width: 100vw;
}

.slider-container {
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
}

	.slider-container::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		z-index: 1;
	}

	.slider-container h1, .slider-container p {
		color: var(--color3);
		position: relative;
		letter-spacing: 2px;
		z-index: 2;
		font-size: 20px;
		width: 75%;
		font-family: "MontserratSemiBold";
	}

	.slider-container h1 {
		font-size: 40px;
	}

	.slider-container p span {
		line-height: 1.75rem;
	}

	.slider-container span {
		display: block;
		width: 50%;
	}

.slide {
	display: none;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

	.slide.active {
		display: block;
		animation: grow 5s linear forwards;
	}

@keyframes grow {
	0% {
		transform: scale(1);
	}

	100% {
		transform: scale(1.1);
	}
}

/* SECTIONS */

.half-section {
	min-height: 50%;
	width: 100%;
	padding: 3rem 0;
}

.d-flex {
	display: flex;
}

.white {
	background-color: var(--color3);
	color: var(--color2);
}

.black {
	background-color: var(--color2);
}

.flex-white {
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 10px;
}

.f-wrap {
	flex-wrap: wrap;
}

.section-content {
	width: 75%;
	height: 100%;
	margin: auto;
}

.row-100 {
	width: 100%;
}

.row-30 {
	width: 30%;
}

	.row-30:nth-child(odd) {
		margin: auto;
	}

.section-content i {
	font-size: 1.8rem;
}

.h-30 {
	font-size: 30px;
	font-family: "MontserratSemiBold";
}

h2.h-30 {
	font-size: 22px;
}

.section-content p {
	font-size: 16px;
	line-height: 1.5rem;
}

.p-wrap {
	width: 50%;
}

.row-45 {
	width: 50%;
}

.flex-black {
	display: flex;
	justify-content: space-between;
	align-items: center;
	column-gap: 10px;
	height: 100%;
}

.h-45 {
	font-size: 45px;
	font-family: "MontserratSemiBold";
}

.row-black {
	display: flex;
	flex-wrap: wrap;
}

	.row-black div {
		width: 50%;
	}

.col-25 {
	display: flex;
	flex-direction: column;
	width: 23%;
	justify-content: center;
}

	.col-25 h2, .col-25 p {
		margin-right: auto;
		margin-left: auto;
	}

	.col-25 p {
		height: 50%;
	}

.services {
	justify-content: space-between;
}

	.services .row-100 {
		display: flex;
		justify-content: center;
	}

.m-auto {
	margin: auto;
	margin-bottom: 1rem;
}

.services-container {
	width: 75%;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
}

.service-card {
	flex: 1 1 22%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

	.service-card img {
		width: 100%;
		height: auto;
		border-radius: 8px;
	}

.service-title {
	font-size: 1.4rem;
	font-weight: bold;
	margin: 20px 0 10px;
}

.service-description {
	font-size: 1rem;
}

.contacts-row {
	justify-content: space-between;
}

	.contacts-row div {
		width: 23%;
	}

	.contacts-row i {
		font-size: 1.8rem;
	}

	.contacts-row a {
		color: var(--color1);
	}

		.contacts-row a:hover {
			text-decoration: underline;
		}

	.contacts-row button {
		background-color: transparent;
		border: none;
		padding: 0;
		color: var(--color1);
		font-family: "MontserratRegular";
		font-size: 16px;
	}


		.contacts-row button:hover {
			cursor: pointer;
			text-decoration: underline;
		}

/* SCHEDULE */

#schedule {
	visibility: hidden;
	transition: opacity 1500ms ease;
	opacity: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--color5);
}

	#schedule.show {
		visibility: visible;
		display: flex;
		flex-direction: column;
		align-items: center;
		opacity: 1;
	}

.schedule-header {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	position: relative;
}

#schedule-form {
	text-align: center;
	right: 0;
	border-radius: 10px;
	width: 500px;
	padding: 2rem 0;
	background-color: var(--color2);
	display: flex;
	flex-direction: column;
	align-items: center;
}

	#schedule-form h1 {
		margin: 0;
	}

	#schedule-form img {
		margin-top: 1rem;
	}

	#schedule-form form {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 100%;
		row-gap: 1rem;
		margin-top: 2rem;
	}

		#schedule-form form input {
			padding: 5px 0;
			margin: 0 2rem;
			width: 60%;
			padding-left: 5px;
		}

	#schedule-form button {
		width: 30%;
		background-color: var(--color1);
		border-radius: 10px;
		border: none;
		font-family: "MontserratSemibold";
		font-size: 16px;
		cursor: pointer;
		padding: 10px 0;
		color: var(--color2);
	}

		#schedule-form button:hover {
			background-color: var(--color1a);
		}

.closeModal {
	font-size: 35px;
	color: var(--color1);
	cursor: pointer;
	position: absolute;
	top: -1.7rem;
	right: 10px;
}

	.closeModal:hover {
		color: var(--color1a);
	}

/* FOOTER */

footer {
	text-align: center;
	bottom: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 10px;
	padding: 4rem 0;
}

	footer hr {
		margin: 2rem 0;
		width: 75%;
		;
	}

.footerInfo {
	display: flex;
	justify-content: center;
	column-gap: 20px;
}

	.footerInfo a:hover {
		color: var(--color1);
		cursor: pointer;
	}

/* CUSTOM */
.flatpickr-day.selected, .flatpickr-day.nextMonthDay.selected, .flatpickr-day.prevMonthDay.selected {
	background: var(--color1);
	border-color: var(--color1);
	color: white;
}

.flatpickr-day.today {
	border-color: var(--color1);
}

	.flatpickr-day.today:hover {
		border-color: var(--color1);
		background-color: #e6e6e6;
		color: var(--color2);
	}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	header {
		margin-top: 0;
	}

		header div {
			width: 100%;
			border-radius: 0;
		}

	.title {
		display: none;
	}

	#schedule-form {
		width: 100%;
	}

	.closeModal {
		right: 10px;
	}

	section {
		max-height: max-content;
	}

	.slider-container {
		text-align: center;
		padding-top: 4rem;
		height: 50vh;
	}

		.slider-container h1, .slider-container p {
			letter-spacing: 1px;
			width: 100%;
		}

		.slider-container span {
			width: 100%;
		}

	.flex-black, .flex-white {
		flex-direction: column;
	}

	.row-30, .row-45 {
		width: 100%;
		text-align: center;
	}

	.h-45 {
		font-size: 30px;
	}

	.section-content {
		width: 100%;
	}

	.services-container {
		width: 100%;
		row-gap: 0;
		column-gap: 20px;
		padding: 0 5px;
	}

	.service-card {
		flex: 1 1 40%;
	}

		.service-card:nth-child(4), .service-card:nth-child(5) {
			margin-top: 50px;
		}

	.row-black {
		flex-direction: column;
		padding: 0 5px;
	}

		.row-black div {
			width: 100%;
			text-align: center;
		}

	footer {
		padding: 2rem 0;
	}

		footer hr {
			margin: 1rem 0;
			width: 90%;
		}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
/*@media only screen and (min-width: 600px) {
	...
}*/

/* Medium devices (landscape tablets, 768px and up) */
/*@media only screen and (min-width: 768px) {
	...
}*/

/* Large devices (laptops/desktops, 992px and up) */
/*@media only screen and (min-width: 992px) {
	...
}*/

/* Extra large devices (large laptops and desktops, 1200px and up) */
/*@media only screen and (min-width: 1200px) {
	...
}*/
