/*kontaktinformācijas lapas stils*/

/*kartes bloks*/
.map {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
}

.info-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	height: auto;
}

.info-container .info-title {
	font-size: 16px;
	color: white;
	font-family: "Poppins", sans-serif;
	font-weight: bold;
}

.info-container p {
	font-size: 13px;
	margin-bottom: 10px;
}

.info-container a {
	text-decoration: none;
	color: white;
	transition: 0.3s;
	margin-bottom: 10px;
}

.info-container a:hover {
	text-decoration: underline;
	cursor: pointer;
	color: rgb(200, 49, 102);
}

/*Pogas bloks*/
.contact-button {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
}

.contact-button .btn-popup {
	cursor: pointer;
}

/*Soc-med  bloks*/
.contact-content {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 20px;
	width: 100%;
	justify-content: space-between;
	max-width: 1240px;
	margin: auto;
	margin-top: 40px;
}

.contact p {
	font-size: 1.5em;
	color: white;
	font-family: "Poppins", sans-serif;
	text-align: justify;
	margin: 0;
}

.contact-social {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 15px;
}

.contact-social div {
	display: flex;
	align-items: flex-end;
	width: 100%;
}

.contact-social div a {
	width: 40px;
	height: 40px;
	color: #ffffff;
	margin-right: 10px;
}

.contact-social div a i {
	font-size: 40px;
	width: 40px;
	height: 40px;
	transition: 0.3s;
}

.contact-social div a:hover i {
	color: rgb(200, 49, 102);
	transition: 0.3s;
}

.contact-social p {
	margin-left: 10px;
	font-size: 16px;
}

/*kontaktinformācijas POP-up lapas stils*/
.popup {
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100vw;
	height: 100vh;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: hidden;
	z-index: -900;
	opacity: 0;
	transition: z-index 0s 0.4s, opacity 0.4s 0s;
}

.popup-content {
	display: flex;
	flex-direction: column;
	margin: auto;
	width: 400px;
	max-width: 100vw;
	height: max-content;
	padding: 20px 0;
	background: rgba(200, 49, 102, 0.5);
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 20px;
	backdrop-filter: blur(20px);
	justify-content: center;
	align-items: center;
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
	overflow: hidden;
	z-index: 99999;
	position: relative;
}

.popup.active {
	z-index: 99999;
	opacity: 1;
	transition: z-index 0s 0s, opacity 0.4s 0s;
}

.popup-backdrop {
	content: "";
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.6);
	z-index: -900;
	opacity: 0;
}

.popup.active .popup-backdrop {
	z-index: 9999;
	opacity: 1;
	transition: z-index 0s 0s, opacity 0.4s 0s;
}

.popup-content h2 {
	font-size: 26px;
	color: rgb(255, 255, 255);
	font-family: "Poppins", sans-serif;
	text-align: center;
	margin-bottom: 10px;
}

.input-box {
	position: relative;
	width: 100%;
	height: auto;
	margin: 20px 0;
}

.input-box label {
	position: absolute;
	top: 50%;
	left: 5px;
	transform: translateY(-50%);
	font-size: 1em;
	color: rgb(255, 255, 255);
	pointer-events: none;
	font-weight: 500;
	transition: 0.5s;
}

.input-box .error-message {
	display: none;
}

.input-box i {
	font-size: 1em;
	color: rgb(255, 255, 255);
	pointer-events: none;
	margin-right: 5px;
}

.input-box small {
	font-size: 0.8em;
	color: rgb(255, 255, 255);
}

.input-box input.success {
	border-bottom: 2px solid rgb(3, 148, 3);
}

.input-box .error {
	border-bottom: 2px solid rgb(255, 0, 0);
	margin-bottom: 4px;
}

.input-box.success i.fa-check-circle {
	visibility: visible;
	color: rgb(3, 148, 3);
}

.input-box.error i.fa-exclamation-circle {
	visibility: visible;
	color: rgb(118, 4, 4);
}

.input-box.success small {
	visibility: visible;
	color: rgb(3, 148, 3);
}

.input-box.error small {
	visibility: visible;
	color: rgb(118, 4, 4);
}

.input-box input:focus ~ label,
.input-box textarea:focus ~ label,
.input-box input:valid ~ label,
.input-box textarea:valid ~ label {
	top: -3px;
}

.input-box input,
.input-box textarea,
.input-box select {
	width: 100%;
	height: 50px;
	background: transparent;
	border: none;
	outline: none;
	color: rgb(255, 255, 255);
	margin-top: 10px;
	border-bottom: 2px solid rgb(255, 255, 255);
	padding-left: 5px;
}

.input-box select {
	font-size: 1em;
	padding-left: 0;
}

.input-box select option {
	color: black;
}

.btn-send {
	width: 100%;
	height: 30px;
	border: none;
	outline: none;
	border-radius: 6px;
	background-image: linear-gradient(90deg, rgb(255, 0, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
	background-size: 400%;
	color: rgb(58, 12, 12);
	cursor: pointer;
	font-weight: 500;
	transition: background 0.5s, color 0.2s;
	background-position: 50% 50%;
}

.btn-send:hover {
	background-position: 0 50%;
	color: white;
}

@media (max-width: 1200px) {
	.contact-content {
		grid-template-columns: 1fr 1fr;
	}

	.map {
		grid-column: 1/3;
		grid-row: 2/3;
		height: 400px;
	}
}

@media (max-width: 640px) {
	.contact-content {
		grid-template-columns: 1fr;
		place-items: center;
	}

	.map {
		grid-column: 1/2;
		grid-row: 3/4;
		height: 300px;
	}
}
