body{
	--color-primary: #48625E;
	--color-secondary: #B7C3C1;
	--color-bg: #ECEAE6;
	--color-text: 48625E;
	--ui-border-radius: 10px;
	--processing-overlay-color: #ffffff88;
	--processing-spinner-color: #ffffff;

	background-color: var(--color-bg);

	font-family: "Raleway";
	
	margin: 0;
	padding: 0;
	color: var(--color-text);

	min-height: 100vh;
    display: flex;
    flex-direction: column;

    &.theme-aquapolis{
    	--color-primary: #165298;
    	--color-secondary: #5BC3F5;
    	--color-bg: #EAF3F7;
    	--color-text: 48625E;
    }

    &.theme-andrassy{
    	--color-primary: #854455;
    	--color-secondary: #F0E2C7;
    	--color-bg: #F5F3ED;
    	--color-text: 48625E;
    }
}

a{
	text-decoration: none;
}

h1{
	font-size: 48px;
	font-weight: 800;
	margin: 0;
}

p{
	font-size: 14px;
	line-height: 24px;
	margin: 0;
}

.container{
	max-width: 1280px;
	margin: auto;
	width: 100%;
}

.button{
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--color-primary);
	border-radius: var(--ui-border-radius);
	color: white;
	font-size: 18px;
	font-weight: bold;
	padding: 18px 36px;
	line-height: 1;
	cursor: pointer;
}

.processing{
	color: transparent;
	position: relative;

	&::before{
		content: "&nbsp;";
		display: flex;
		justify-content: center;
		align-items: center;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: var(--processing-overlay-color);
	}

	&::after{
		content: "&nbsp;";
		mask-image: url("data:image/svg+xml,%0A%3Csvg width='36' height='36' stroke='%23fff' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_QPB9%7Btransform-origin:center;animation:spinner_4N1C 2s linear infinite%7D.spinner_QPB9 circle%7Bstroke-linecap:round;animation:spinner_MX3P 1.5s ease-in-out infinite%7D@keyframes spinner_4N1C%7B100%25%7Btransform:rotate(360deg)%7D%7D@keyframes spinner_MX3P%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25,100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C/style%3E%3Cg class='spinner_QPB9'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");
		mask-repeat: no-repeat;
        mask-position: center center;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: var(--processing-spinner-color);
	}
}

.header-container{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding: 20px;
	z-index: 20;

	.header{
		--header-hover-color: #f6f5f3;
		position: relative;
		height: 50px;
		background-color: #fff;
		border-radius: 25px;
		display: flex;
		justify-content: flex-end;
		align-items: stretch;
		box-shadow: 0px 2px 4px var(--color-primary);

		.header-logo{
			display: flex;
			justify-content: center;
			align-items: center;
			padding-left: 20px;
			padding-right: 20px;
			border-right: 1px solid var(--header-hover-color);

			.logo-image{
				display: block;
				height: 40px;
				filter: brightness(0);
			}
		}

		.empty-space{
			flex: 1 1 auto;
		}

		.center-decoration{
			position: absolute;
			left: 50%;
			top: 50%;
			transform: translate(-50%, -50%);
			height: 24px;
			width: 24px;
		}

		.accessibility-button{
			flex: 0 0 55px;
			display: flex;
			justify-content: center;
			align-items: center;
			border-left: 1px solid var(--header-hover-color);
			border-top-right-radius: 25px;
			border-bottom-right-radius: 25px;
			cursor: pointer;

			&:hover{
				background-color: var(--header-hover-color);
			}

			img{
				width: 24px;
				height: 24px;
			}
		}

		.language-selector-container{
			position: relative;
			display: flex;
			flex: 0 0 90px;
		}

		.language-selector-button{
			flex: 1 1 auto;
			display: flex;
		    justify-content: center;
		    align-items: center;
		    gap: 5px;
		    font-size: 14px;
		    font-weight: bold;
		    line-height: 1;
		    border-left: 1px solid var(--header-hover-color);
		    cursor: pointer;

		    &:hover{
		    	background-color: var(--header-hover-color);
		    }

		    .arrow{
		    	border: 5px solid transparent;
		    	border-top-width: 8px;
		    	border-top-color: black;
		    	position: relative;
		    	top: 2px;
		    }
		}

		.language-selector{
		    position: absolute;
		    top: 60px;
		    right: 18px;
		    display: flex;
		    flex-direction: column;
		    background-color: var(--header-hover-color);
		    border-radius: 5px;
            overflow: hidden;
            gap: 1px;

            .language-option{
            	padding: 10px;
            	background-color: white;
            	font-size: 14px;
            	font-weight: bold;
            	line-height: 1;
            	cursor: pointer;
            	color: black;
            	text-align: center;

            	&:hover{
            		background-color: var(--header-hover-color);
            	}
            }
		}

		.mobile-menu-button{
			display: none;
		}
	}
}

.mobile-menu{
	padding: 20px;

	.mobile-menu-item{
		display: flex;
		justify-content: flex-start;
		align-items: center;
		padding: 10px;
		cursor: pointer;

		.mobile-menu-item-icon{
			width: 50px;
			display: flex;
			justify-content: center;
			align-items: center;

			img{
				height: 30px;
			}
		}

		.mobile-menu-item-text{
			font-size: 20px;
			font-weight: bold;
			color: white;
			text-transform: uppercase;
		}

		.arrow{
	    	border: 5px solid transparent;
	    	border-top-width: 8px;
	    	border-top-color: white;
	    	position: relative;
	    	top: 2px;
	    	margin-left: 10px;
	    }

	    &.language-option{
	    	transition: all 0.5s;
	    	min-height: 0;
	    	height: 0;
	    	overflow: hidden;
	    	padding-top: 0;
	    	padding-bottom: 0;
	    	opacity: 0;

	    	&.open{
	    		height: 50px;
	    		opacity: 1;
	    	}
	    }
	}
}

.header-placeholder{
	height: 90px;
}

.footer-container{
	margin-bottom: 0;
	.footer{
		margin: 10px 20px;
		padding-top: 10px;
		border-top: 1px solid var(--color-primary);
		display: flex;
		justify-content: space-between;
		align-items: flex-start;

		p{
			font-size: 12px;
			line-height: 1;
			margin-bottom: 10px;
		}

		.footer-right{
			text-align: right;
		}
	}
}

.mobile-menu-container{
	position: fixed;
	top: -100%;
	height: 100vh;
	width: 100vw;
	z-index: 10;
	background-color: var(--color-primary);
	transition: all 0.5s;
}

@media(max-width: 768px){
	.header-container{
		.header {
			.accessibility-button{
				display: none;
			}

			.language-selector-container{
				display: none;
			}

			.mobile-menu-button{
				flex: 0 0 55px;
				display: flex;
				justify-content: center;
				align-items: center;
				border-left: 1px solid var(--header-hover-color);
				border-top-right-radius: 25px;
				border-bottom-right-radius: 25px;
				cursor: pointer;

				.mobile-menu-icon{
					height: 18px;
					width: 18px;
					position: relative;

					div{
						width: 18px;
						height: 2px;
						position: absolute;
						left: 0;
						background-color: var(--color-primary);
						transform-origin: 0 50%;
						transition: all 0.5s;

						&:nth-child(1){
							top: 0;
						}

						&:nth-child(2){
							top: 8px;
						}

						&:nth-child(3){
							top: 16px;
						}
					}
				}
			}
		}
	}

	body.mobile-menu-open{
		.mobile-menu-container{
			top: 0;
		}

		.mobile-menu-icon{

			div{
				width: 23px !important;

				&:nth-child(1){
					transform: rotate(45deg);
				}

				&:nth-child(2){
					opacity: 0;
				}

				&:nth-child(3){
					transform: rotate(-45deg);
				}
			}
		}
	}
}

section.hero {
    background-color: var(--color-primary);
    color: white;

    .container {
        max-width: 800px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }
}

body.accessible{
	--color-primary: black;
	--color-secondary: black;
	--color-bg: black;
	--color-text: white;
	--accessibility-highlight: yellow;
	--accessibility-border: 1px solid var(--accessibility-highlight);

	.button{
		border: var(--accessibility-border);
		background-color: var(--color-bg);
		color: var(--accessibility-highlight);
	}

	.header-container{
		.header{
			.language-selector-button{
				color: black;
			}
		}
	}

	.mainpage{
		.bathhouses{
			.container{
				.bathhouse-card{
					border: var(--accessibility-border);

					.bathhouse-card-bottom{
						background-color: unset;

						.bathhouse-card-more{
							color: var(--accessibility-highlight);
						}
					}
				}
			}
		}
	}
}