/* GENERAL */
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

body,
html {
	width: 100%;
	height: 100vh;
	background-color: white;
	margin: 0;
	padding: 0;
	font-family: "Lato", sans-serif;
    animation: fadeInAnimation ease-in-out 0.4s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	flex-direction: row;
}

h4 {
	text-align: center;
}

a {
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

.left-column {
	flex: 0.9;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
}

.right-column {
	flex: 1.1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
}

.columnContainer {
	padding: 20px;
	padding-bottom: 100px;
	margin: auto;
	display: flex;
	flex-direction: column;
	flex-wrap: no-wrap;
	align-items: center;
	justify-content: center;
}

.floatingButton {
	top: 0;
	position: fixed;
	z-index: 10;
	border-radius: 200px;
	width: 50px;
	height: 50px;
	background-color: #00aa55;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 40px;
	margin-left: 80px;
}

.floatingButtonIcon {
	width: 26px;
	height: 26px;
	cursor: pointer;
}

/* HOME PAGE */

.logoComune {
	width: 200px;
}

.pageTitle {
	text-align: center;
	font-weight: 700;
	letter-spacing: 1px;
}

.searchContainer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row;
	width: 100%;
}

.inputTitle {
	width: 100%;
	padding-left: 20px;
	margin-bottom: 20px;
	font-weight: 700;
}

.inputText {
	border-radius: 200px;
	padding: 10px;
	width: 100%;
	min-width: 400px;
	max-width: 1000px;
	border: none;
	background-color: whitesmoke;
	padding-left: 25px;
}

.resetButton {
	border-radius: 200px;
	width: 45px;
	height: 40px;
	margin-left: 10px;
	background-color: silver;
	color: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.resetButtonIcon {
	width: 26px;
	height: 26px;
	cursor: pointer;
}

#suggestions {
	position: absolute;
	top: 0;
}

.suggestion {
	cursor: pointer;
	padding: 5px;
	background-color: whitesmoke;
	border-radius: 20px;
	margin: 5px 0;
	padding: 10px 20px;
}

.suggestion:hover {
	background-color: #f0f0f0;
}

.mapButton {
	margin-top: 50px;
	background-color: #00aa55 !important;
	border-radius: 200px !important;
	cursor: pointer;
	color: white !important;
	padding: 12px 52px !important;
}

/* RESULTS PAGE */
.container-results {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	margin: 0 auto;
}

#imageContainer {
	flex: 2;
	margin-left: 5%;
}

#imageContainer img {
	max-height: 70vh;
	margin-top: 50px;
}

.values-results {
	padding: 20px;
	padding-bottom: 100px;
	min-width: 320px;
	flex: 1.1;
	margin: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
h1 > span {
	font-weight: 700;
}

h1 > hr {
	border: 1px solid silver;
	max-width: 80%;
	margin-left: 0;
	margin-bottom: 0;
}

p > span {
	font-weight: 900;
	margin-left: 10px;
	font-size: 21px;
}

#location {
	color: red;
}

.fullMapButtonContainer {
	margin-top: 50px;
}

/* FULL MAP */
#mapImage {
	display: none;
}

/* HEADER HOME */
.headerContainer {
	position: fixed;
	top: 0;
	display: flex;
	width: 100%;
	max-width: 100vw;
	justify-content: space-between;
	align-items: center;
	padding: 30px 80px;
	padding-right: 50px;
}

.logoReventinoSavuto {
	height: 38px;
	object-fit: contain;
	object-position: center center;
}

.logoSomos {
	height: 36px;
	object-fit: contain;
	object-position: center center;
}
/* HEADER RESULTS*/
.headerContainerParenti {
	justify-content: flex-end !important;
	display: flex;
	position: fixed;
	top: 0;
	right: 0;
	padding-top: 30px;
	padding-right: 80px;
	flex-direction: row;
}

.textComune {
	text-align: right;
	font-size: 14px;
	margin-right: 8px;
	color: #333;
}

.textComune span {
	font-weight: 900;
	font-size: 24px;
}

.stemmaParenti {
	height: 72px;
	object-fit: contain;
	object-position: center;
}

/* MEDIA QUERY RESPONSIVE */
@media (max-width: 768px) {
	.container,
	.container-results {
		flex-direction: column;
	}

	.left-column,
	.right-column {
		flex-basis: 100%;
		flex: 1;
	}
	.columnContainer {
		margin-bottom: 0;
	}
}

@media (min-width: 768px) and (max-height: 600px) {
	.right-column > .columnContainer {
		margin-top: 3vh;
	}
}
