@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* MOBIL */
@media (orientation: portrait) {

	:root{
		--brand: #990000;
		--text: rgba(255,255,255,.92);
		--muted: rgba(255,255,255,.72);
		--stroke: rgba(255,255,255,.18);
		--shadow: 0 18px 55px rgba(0,0,0,.45);
		--shadow-soft: 0 10px 30px rgba(0,0,0,.35);
		--radius: 22px;
	}

	*{
		margin: 0;
		padding: 0;
		box-sizing: border-box;
		font-family: 'Montserrat', sans-serif;
		-webkit-tap-highlight-color: transparent;
	}

	html{
		height: 100%;
		width: 100%;
		position: relative;
		overflow: hidden;
		-webkit-text-size-adjust: 100%;
	}

	body{
		height: 100%;
		width: 100%;
	}

	#content{
		height: 100%;
		width: 100%;
		position: absolute;
		top: 0;
		left: 0;

		background-image: url("../images/Background-Karussell-0.jpeg");
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;

		transition: background 2s ease;
	}

	.overlay-1{
		height: 100%;
		width: 100%;
		position: absolute;
		top: 0;
		left: 0;

		opacity: 0.28;
		background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.70));
		transition: opacity .35s ease;
	}

	.overlay-2{
		height: 100%;
		width: 100%;
		position: absolute;
		top: 0;
		left: 0;

		opacity: 0.52;
		background: radial-gradient(900px 700px at 35% 15%, rgba(0,0,0,.25), rgba(0,0,0,.72));
	}

	#logo{
		width: 50%;
		height: 10%;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 101;
		background-color: transparent;

		display: flex;
		align-items: center;
		justify-content: center;
	}

	#logo img{
		height: auto;
		width: 80%;
		cursor: pointer;

		filter: drop-shadow(0 10px 22px rgba(0,0,0,0.55));
	}

	#cont{
		height: 85%;
		width: 100%;
		background-color: transparent;
		position: absolute;
		left: 0;
		top: 10%;

		opacity: 0;

		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 2.2vh;

		padding: 2vh 0 2vh 0;

		animation-name: boxesIn;
		animation-duration: 1.2s;
		animation-fill-mode: forwards;
		animation-delay: .25s;
	}

	@keyframes boxesIn {
		0% { opacity: 0; transform: translateY(10px); }
		100% { opacity: 1; transform: translateY(0); }
	}

	.box{
		height: 28%;
		width: 92%;

		border-radius: var(--radius);
		box-shadow: var(--shadow-soft);

		overflow: hidden;
		position: relative;

		cursor: pointer;
		transition: transform .25s ease, box-shadow .25s ease;

		border: 1px solid rgba(255,255,255,.12);
		background: rgba(255,255,255,.04);
	}

	.box img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		display: block;
		transform: scale(1.02);
		transition: transform .45s ease;
	}

	.box h2{
		position: absolute;
		left: 14px;
		right: 14px;
		bottom: 14px;

		margin: 0;
		padding: 12px 14px;

		color: var(--text);
		font-size: clamp(22px, 5.8vw, 32px);
		font-weight: 900;
		letter-spacing: .2px;

		border-radius: 16px;

		background: rgba(0,0,0,.35);
		border: 1px solid rgba(255,255,255,.18);

		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);

		box-shadow: 0 16px 35px rgba(0,0,0,.35);
		text-shadow: 0 10px 25px rgba(0,0,0,.55);

		display: flex;
		align-items: center;
		justify-content: center;
	}

	.box:active{
		transform: scale(.985);
	}

	.box:hover .overlay-1{
		opacity: 0.08;
	}

	.box:hover img{
		transform: scale(1.06);
	}
}