.header {
	background: rgb(from #fff r g b / 0);
}

@media (max-height:800px) {
	.header {
		background: linear-gradient(to bottom, oklch(from #fff l c h / 0.9) 40%, oklch(from #fff l c h / 0) 100%);
	}
}

.gridrow {
	display: grid;
}

.cover {
	position: relative;
	min-height: 670px;

	& .symbol {
		position: absolute;
		top: 150px;
		z-index: 3;
		right: 5%;
		width: 300px;

		& img {
			width: 100%;
			object-fit: cover;
		}
	}
}

@media (min-width: 992px) {
	.cover {
		height: 100vh;
	}
}



.cover-slick {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
}

.cover-slick div {
	height: 100%;
	background-size: cover;
	background-position: center;
	display: flex;
}

.cover .toggle-slick {
	position: absolute;
	top: 225px;
	left: 75px;
	background: none;
	border: 0;
	z-index: 88;
	background: rgba(255, 255, 255, 0.8);
}

/**/
div.message {
	width: min(90%, 820px);
	z-index: 3;
	margin: auto 7.4% 12.5rem auto;
	color: #fff;
	height: auto;

	& h2 {
		font-weight: 900;
		display: block;
		margin-bottom: 0;
		text-align: center;

		& .btn-round {
			display: inline-block;
			background-color: var(--prime1);
			color: #fff;
			margin: auto;
			padding: 10px 2rem;
			font-weight: 700;
			border-radius: 100vw;
			font-size: calc(1.5vw + 16px);
		}

		& a {
			&:hover {
				transform: scale(1.05);
				color: var(--prime2);
			}
		}
	}
}

/**/

/* News * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.news {
	padding: 1rem;
	background: #fff;
}

.news .content {
	position: relative;
}

.news .buttons {
	position: absolute;
	top: 1.9rem;
	left: 1.9rem;
}

.news a {
	color: #000;
	display: block;
}

@media (min-width: 768px) {
	.news a {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

.news h2 {
	background: #111;
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
	position: absolute;
	top: 0;
	right: 0;
	padding: .219rem .75rem;
	margin: 0;
	border-radius: 2rem;
	z-index: 5;
}

.news h2 a {
	color: inherit;
}




@media (min-width: 992px) {
	.bn-news {
		padding-right: 100px;
	}
}

.bn-news ul li a {
	font-size: 1.2rem;
	line-height: 1.2rem;
	padding: .36rem 0;
	color: inherit;
}

.bn-news ul li a:hover {
	color: #000;
}

.bn-effect-scroll .bn-news ul li {
	padding: 0 1rem;
}

.news .date {
	font-weight: bold;
}

.news .date:after {
	content: ' | ';
	margin: 0 10px;
}

.news-toggle {
	width: 26px;
	height: 26px;
	border: 1px solid #fff;
	border-radius: 50%;
	background: #111;
	color: #fff;
	background: none;
	font-size: 14px;
}

.bn-controls {
	left: 0;
	right: auto;
}

.bn-controls button {
	border: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #111;
	color: #fff;
	padding: 0;
	margin-right: 5px;
}

.bn-arrow {
	top: -1px;
}

.bn-pause::before,
.bn-pause::after {
	background-color: #fff;
}

.bn-play::after {
	border-left-color: #fff;
}

.bn-controls button:hover {
	background-color: #111;
	color: #fff;
	box-shadow: 0 0 5px rgb(255 255 0 / 90%);
}

/**/

.mid {
	overflow-x: clip;
	margin-block: 100px;

	.gridrow {
		grid-template-columns: repeat(2, 1fr);

		& a {
			border-bottom: 1px solid #d1d5db;
			padding-block: 16px;
			display: grid;
			grid-template-columns: 0.25fr 1fr;
			grid-column-gap: 1rem;
			align-items: center;
			padding-right: 2.5rem;
			position: relative;

			&:hover {
				text-decoration: none;
			}

			&:hover span {
				transform: scale(1.05);
				color: var(--prime1);
			}
		}

		& a:nth-child(even) {
			border-right: 1px solid #d1d5db;

			&::after {
				content: '';
				position: absolute;
				width: 50px;
				height: 50px;
				background-color: #fff;
				border-radius: 100vw;
				right: -25px;
				bottom: -25px;
				z-index: 1;
			}
		}

		& span {
			font-size: calc(0.7vw + 1rem);
			color: var(--text);
			transform-origin: right;
			transition: all 0.2s ease;
			line-height: 1;
		}
	}

	& img {
		width: min(100%, 65px);
	}

	& .wrap {
		position: relative;

		&::after {
			content: '';
			position: absolute;
			left: -98px;
			bottom: -333px;
			width: 290px;
			height: 250px;
			background-image: url(./images/circcirc.png);
			background-size: contain;
			z-index: -1;
			background-repeat: no-repeat;
		}
	}


	& form {
		width: min(100%, 678px);
		margin-right: auto;
		background-color: #fff;
		box-shadow: 0 5px 10px #aeaeae;
		padding: 2rem 4rem 4rem;
		border-radius: 40px;
		font-weight: 600;
		position: absolute;
		left: 0;
		top: -16rem;

		.title {
			position: relative;

			& img {
				position: absolute;
				width: 180px;
				object-fit: cover;
				left: -1rem;
				top: -7.25rem;
			}
		}

		& h2 {
			font-size: calc(1.7vw + 1rem);
			color: var(--prime1);
		}

		& .col {
			position: relative;

			display: flex;
			flex-direction: column;
		}

		& .field-wrap {
			flex: 1;
			border: 1px solid #dcdcdc;
			padding: 15px 12px 0;
			background-color: #ffffff;
			border-radius: 10px;
		}

		& label {
			padding: 1px 3px;
			position: absolute;
			top: 3px;
			right: 25px;
			font-weight: 450;
			right: 37px;
			z-index: 1;
			background-color: #fff;
			font-size: 1.2rem;
			color: var(--text);
		}

		& select,
		& input[type="text"] {
			position: relative;
			height: 2.5rem;
			border: none;
			outline: none;

			& option[value=""] {
				font-weight: 700;
			}
		}

		& button {
			position: absolute;
			left: 50%;
			transform: translateX(-50%);
			bottom: -2rem;
			border-radius: 10px;
			filter: drop-shadow(0 5px 15px #c3c2c2);
			font-size: calc(0.75vw + 16px);
			font-weight: 500;
			display: flex;
			justify-content: center;
			align-items: center;
			gap: 1.2rem;
			padding: 0.7rem 2.4rem;
			width: clamp(215px, 303px, 70%);

			& i {
				display: inline-block;
				margin-right: 5px;
				font-size: 1rem;
			}
		}

		& .row {
			margin-bottom: 1rem;
		}

		.field-wrap:has(.form-control:focus) label,
		.field-wrap:has(select option:checked:not([value=""])) label {
			top: -12px;
			transform: translateY(0) scale(0.8);
			color: var(--prime1);
			background-color: #fff;
			pointer-events: none;
		}
	}
}


.events {
	overflow-x: clip;

	& .gridrow {
		display: grid;
		grid-template-columns: 0.5fr 0.2fr 1fr;
		height: 87vh;
		min-height: 730px;
		align-items: center;
	}

	& .col1 {
		grid-column: 1 / 2;
		grid-row: 1;
		background-color: var(--prime1);
		height: 100%;
		display: flex;
		justify-content: center;
		padding-bottom: 10rem;
		position: relative;

		&::after {
			content: '';
			position: absolute;
			width: 87%;
			left: -4rem;
			height: 82%;
			background-image: url(./images/deco-events.svg);
			background-size: contain;
			background-repeat: no-repeat;
			top: 1.25rem;
			opacity: 0.2;
		}

		& .wrap {
			position: relative;
			z-index: 2;
			display: flex;
			flex-direction: column;
			height: fit-content;
			width: fit-content;
			margin-top: auto;
			color: #fff;
		}

		& a:hover {
			color: inherit;
			transform: scale(1.1);
			text-decoration: none;
		}
	}

	& .col2 {
		grid-column: 2 / 3;
		grid-row: 1;
		background-color: var(--prime1);
		height: 100%;
		border-radius: 40px 0 0 40px;
	}

	& .col3 {
		/* background-color: rgb(from var(--prime1) r g b / 0.25); */
		height: 540px;
		grid-column: 2 / 4;
		grid-row: 1;
		z-index: 1;
	}

	& .flexrow {
		display: flex;
		justify-content: space-around;
		gap: 1rem;
		height: inherit;
		padding-left: 8%;

		& > a {
			color: rgb(from var(--text) r g b / 0.8);
			display: flex;
			flex-direction: column;
			background-color: #fff;
			border-radius: 40px;
			box-shadow: 0 5px 10px rgb(from #504f4f r g b / 0.4);
			height: 100%;
			padding: 10px;
			flex: 1;
			position: relative;

			&:hover {
				text-decoration: none;
				box-shadow: 0 5px 10px rgb(from #504f4f r g b / 0.1);

				& .line i {
					color: var(--prime2);
				}

				& .bttn {
					background-color: var(--prime2);
				}
			}
		}

		& .wrap {
			display: grid;
			grid-template-rows: repeat(2, 0.8fr);
		}
	}

	& .low {
		padding: 0.7rem 1.5rem;
	}

	& .line {
		padding-inline: 0.5rem;
		display: flex;
		gap: 0.55rem;
		font-weight: 500;
		font-size: calc(0.24vw + 1rem);

		&.col {
			flex-direction: column;

			& span {
				display: grid;
				grid-template-columns: 0.129fr 1fr;
				align-items: center;
				line-height: 1;
			}
		}


	}

	& h3 {
		font-size: calc(1vw + 1rem);
		line-height: 1;
		margin-bottom: 1rem;
	}

	& i {
		font-size: 1.15rem;
		color: var(--prime1);
	}

	& img {
		border-radius: 30px;
		width: 100%;
		height: 270px;
		object-fit: cover;
	}

	& .bttn {
		position: absolute;
		left: 2.5rem;
		bottom: -30px;
		background-color: var(--prime1);
		z-index: 1;
		width: 60px;
		height: 60px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 100vw;

		& i {
			display: inline-block;
			color: #fff;
			font-size: 1.4rem;

			&::before {
				content: '\f177';
				font-family: "FONT AWESOME 7 FREE";
				font-weight: 900;
			}
		}
	}

	& h2 {
		width: min-content;
		position: relative;
		font-size: calc(3vw + 1rem);
		margin-bottom: 3rem;
		line-height: 1;

		&::after {
			content: '';
			position: absolute;
			bottom: -1.5rem;
			right: 0;
			width: 75px;
			height: 4px;
			background-color: oklch(from var(--prime2) calc(l + 0.2) c h);
		}
	}

	& h2 + a {
		color: #fff;
		font-size: calc(0.75vw + 1rem);
	}
}




@media (max-width:1480px) {
	.events {
		& .low {
			padding: 0.7rem 0.5rem 0;
		}

		& .line {
			padding-inline: 0.2rem;
			gap: 1rem;
		}
	}
}


@media (max-width:1199px) {
	.events {
		& h2 {
			width: 100%;
		}

		& .gridrow {
			height: 82vh;
			grid-template-columns: 0.7fr 0.2fr 1fr;
		}

		& .col1 {
			width: 45vw;

			& .wrap {
				padding-right: 2rem;
				margin-top: 2rem;
			}
		}


		& .col3 {
			padding-right: 2rem;
			margin-top: 14rem;
			grid-column: 1 / 4;
		}
	}

}



@media (max-width: 991px) {

	.header {
		background-color: #fff;
	}

	.cover .toggle-slick {
		top: 35px;
		left: 45px;
	}

	.cover {
		min-height: 500px;

		& .symbol {
			top: 5%;
			width: 275px;
			display: none;
		}
	}

	div.message {
		margin: auto auto 2.5rem auto;
	}

	.news h2 {
		display: none;
	}

	.mid {
		margin-top: 50px;
		margin-bottom: 175px;

		& h2 {
			width: 100%;
		}

		& form {
			position: relative;
			top: 5.8rem;
		}

		& .wrap {
			&::after {
				left: -90px;
				bottom: -165px;
				width: 200px;
				height: 200px;
			}
		}
	}

	.events {
		& .gridrow {
			height: auto;
			min-height: 75vh;
		}

		& .col3 {
			padding-right: 1rem;
		}

		& .flexrow {
			padding-left: 1rem;

			& img {
				width: 100%;
				min-height: 220px;
				aspect-ratio: 3 / 2;
			}
		}

		& .low {
			padding: 0.7rem 0.5rem;
		}
	}

	/* .footer {
		& .container-fluid {
			& > .row:first-child {
				flex-direction: column;

				& > .col-md-6:first-child {
					width: 100%;
					max-width: 100%;

					& > .row:first-child {
						flex-direction: row;
					}
				}
			}
		}
	} */
}


@media (max-width:767px) {



	.mid {

		& .gridrow {
			& a {
				padding-right: 1rem;
			}
		}

		& form {
			border-radius: 25px;
			padding: 2rem;

			& .row {
				flex-direction: column;
				gap: 1rem;
			}

			& .title {
				& img {
					width: 112px;
				}
			}
		}
	}

	.events {

		.col3 {
			margin-top: 12rem;
			height: auto;

			& .flexrow {
				display: flex;
				flex-wrap: wrap;
				align-items: center;
				gap: 4rem;

				& > a {
					flex: 1 0 100%;
				}
			}
		}
	}


}

@media (max-width:500px) {

	.events {
		& .col1 {
			width: 52vw;

			&::after {
				width: 100%;
				left: -1rem;

				top: 6.25rem;
			}
		}



		& .line.col {

			& span {
				grid-template-columns: 0.15fr 1fr;

			}
		}
	}
}