/*-------------------------------------------------
 Overwritte base css
------------------------------------------------*/

.header {
	z-index: 1;
}

.footer {
	z-index: 1;
}

.main {
	justify-items: end;
	align-items: center;
}

/*-------------------------------------------------
 Contact form
------------------------------------------------*/

.contact {
	display: flex;
	font-size: 0.875rem;
	height: auto;
	width: 45vw;
	margin-right: 1.875rem;
	z-index: 0;
	background: rgba(0, 0, 0, 0.75);
	border-radius: var(--box-radius);
	box-shadow: var(--box-shadow);
	padding: 0.75rem;
	align-content: center;
	align-items: stretch;
}

.contact-details {
	flex: 2;
}

.contact-details__info {
	display: flex;
	align-items: center;
}

.contact-details__info > i {
	margin-right: 8px;
}

.contact-form {
	flex: 2;
	margin-left: 1rem;
	padding: 0.75rem;
	display: flex;
	flex-flow: column;
	/*display: grid;*/
	/*grid-auto-flow: row;*/
	/*grid-gap: 10px;*/
}

.contact-form__item {
	display: flex;
	flex-flow: column;
	margin-bottom: 15px;
}

.contact-form__button {
	background: var(--scuba-red);
	cursor: pointer;
	height: 1.875rem;
	border: 0;
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: var(--box-radius);
	box-shadow: var(--box-shadow);
	color: var(--white);
}

.notification {
	font-size: 0.75rem;
	border-radius: var(--box-radius);
}

.notification--error {
	--bg-color: hsla(6, 72%, 67%, 1);
	color: rgba(0, 0, 0, 0.8);
	background: linear-gradient(var(--bg-color) 97%, rgba(0, 0, 0, 0.8) 100%);
}

.notification--success {
	--bg-color: rgb(131, 223, 135);
	color: rgba(0, 0, 0, 0.8);
	background: linear-gradient(var(--bg-color) 97%, rgba(0, 0, 0, 0.8) 100%);
}

.notification__body {
	margin: 0.75rem 0;
	padding: 0.5rem;
	font-size: 0.85rem;
}

.notification__body > * {
	line-height: 1.125rem;
	padding-top: 0;
	padding-bottom: 0;
	margin: 0;
}

/*
Apply .double-shadow class on .notification element
Better with light backgrounds, e.g:
  .contact {
    color: var(--black);
    background: var(--light);
  }
*/

.double-shadow {
	position: relative;
}

.double-shadow:before,
.double-shadow:after {
	z-index: -1;
	position: absolute;
	content: "";
	bottom: 15px;
	left: 10px;
	width: 50%;
	top: 80%;
	max-width: 300px;
	background: #777;
	-webkit-box-shadow: 0 15px 10px #777;
	-moz-box-shadow: 0 15px 10px #777;
	box-shadow: 0 15px 10px #777;
	-webkit-transform: rotate(-3deg);
	-moz-transform: rotate(-3deg);
	-o-transform: rotate(-3deg);
	-ms-transform: rotate(-3deg);
	transform: rotate(-3deg);
}

.effect2:after {
	-webkit-transform: rotate(3deg);
	-moz-transform: rotate(3deg);
	-o-transform: rotate(3deg);
	-ms-transform: rotate(3deg);
	transform: rotate(3deg);
	right: 10px;
	left: auto;
}

.errorlist {
	list-style: none;
	font: 400 0.65rem sans-serif;
	color: red;
	margin: 0 0 -14px 0;
	font-size: 0.8rem;
	padding: 0;
}

/*-------------------------------------------------
 Google map
------------------------------------------------*/

#map {
	height: 100%;
	width: 100%;
	left: 0;
	position: absolute;
	top: 0;
	z-index: 0;
}

/*-------------------------------------------------
   Responsiveness
------------------------------------------------*/

@media (max-width: 1300px) {
	.contact {
		flex-flow: column;
	}

	.contact-form {
		margin-left: 0;
		padding-left: 0;
	}
}

@media (max-width: 800px) {
	.wrapper {
		grid-gap: 0;
	}

	.header {
		z-index: 10;
	}

	.footer {
		z-index: 10;
	}

	.main {
		justify-items: center;
	}

	#map {
		position: relative;
	}

	.contact {
		margin-right: 0;
		z-index: 1;
		width: 100vw;
		border-radius: 0;
	}
}
