body {
	margin: 0;
	padding: 0;
	font-family: "Unbounded", sans-serif;
}

p {
	margin: 0;
}

.video-container {
	position: relative;
  	height: 100vh;
	overflow: hidden;
}

video {
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.overlay-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	z-index: 2;
	text-align: center;
	height: 100vh;
	width: 100vw;
}

#light-panel {
	margin-top: 60px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(5, 1fr);
	gap: 60px 30px;
}

#light-panel img {
	width: 470px;
}

#light-panel > :last-child {
	grid-column-start: 4;
}

.bottom-section {
	position: absolute;
  	bottom: 0;
  	left: 0;
  	width: 100%;
  	display: flex;
  	flex-direction: column;
}

.separator {
	width:0;
	height:0;
	border-right: 100vw solid transparent;
	border-bottom: 18vw solid white;
	margin-top: -18vw;
	position: relative;
	top: 1px;
}

.footer {
	background-color: white;
	height: 925px;
	width: 100vw;
}

.flex-row {
	display: flex;
	justify-content: center;
}

.flex-column {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	position: relative;
	top: -200px;
	margin-left: 125px;
	height: 1100px;
	max-width: 1043px;
}

.headline {
	font-size: 9rem;
	text-align: left;
	font-weight: 300;
	line-height: 1.2;
}

.headline strong {
	font-weight: 600;
}

.caption {
	font-size: 5.5rem;
	text-align: left;
	font-weight: 300;
}

.caption sup {
    font-size: 3.5rem;
}

.footer img {
	width: 890px;
	margin: 0px 125px 75px 0px;
}

.square {
	background-color: white;
	filter: brightness(0.4);
	z-index: 3;
	border: 3px solid black;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.square.active {
	filter: brightness(1.2);
    background-color: white;
}

#pinModal {
  	display: none;
  	position: fixed;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	background: rgba(0, 0, 0, 0.5);
  	align-items: center;
  	justify-content: center;
	z-index: 3;
}

.modal-content {
  	background: #fff;
  	padding: 20px;
  	border-radius: 8px;
  	text-align: center;
}

.num-pad {
  	display: grid;
  	grid-template-columns: repeat(3, 1fr);
  	gap: 10px;
}

.num-pad button {
  	font-size: 18px;
  	padding: 10px;
  	border: 1px solid #ccc;
  	border-radius: 4px;
  	cursor: pointer;
}

#pinDisplay {
  	margin-bottom: 10px;
  	font-size: 30px;
  	border: 1px solid;
  	padding: 10px;
  	border-radius: 5px;
  	height: 20px;
}

#okButton {
  	background-color: #4caf50;
  	color: white;
  	padding: 10px 20px;
  	border: none;
  	border-radius: 4px;
  	cursor: pointer;
  	font-size: 16px;
}

button {
  	font-size: 18px;
  	padding: 10px;
  	border: 1px solid #ccc;
  	border-radius: 4px;
  	cursor: pointer;
  	min-width: 70px;
}

.blank {
  	padding: 10px;
  	border: none;
}

.buttonArea
{
  	margin-top: 20px;
  	display: grid;
  	grid-template-columns: repeat(2 , 1fr);
  	gap: 10px;
}

.sentence-mobile {
    display: none;
}

.sentence-tv {
    display: inline;
}

@media (max-width: 2140px) {

	.square {
		border: 2px solid black;
	}

	#light-panel {
		margin-top: 15px;
		gap: 15px 8px;
	}

  	#light-panel img {
		width: 190px;
	}

	.separator {
		display: none;
	}

	.footer {
		display: none;
	}

    .caption sup {
        font-size: 0.6rem;
    }

    .sentence-mobile {
        display: inline;
    }

    .sentence-tv {
        display: none;
    }

}

@media (max-width: 1440px) {

  	#light-panel img {
		width: 165px;
	}

}

@media (max-width: 1024px) {

  	.footer img {
		width: 140px;
		margin: 0;
	}

	.flex-column {
		height: auto;
	}

	.separator {
		display: block;
	}

	.footer {
		display: flex;
	}

}

@media (max-width: 864px) {

	.square {
		border: 2px solid black;
	}

	#light-panel {
		margin-top: 25px;
		gap: 25px 15px;
	}

  	#light-panel img {
		width: 185px;
	}

	.flex-column {
		margin-left: 0;
		top: -55px;
		width: 350px;
		justify-content: space-around;
	}

	.flex-row {
		height: 380px;
		justify-content: space-evenly;
	}

	.separator {
		display: block;
		margin: 0;
    	top: 1px;
	}

	.footer {
		display: flex;
		background-color: white;
		width: 100vw;
	}

	.headline {
		font-size: 3.2rem;
		width: 400px;
	}

	.caption {
		font-size: 2.1rem;
		text-align: left;
		font-weight: 300;
		width: 400px;
	}

	.footer img {
		display: block;
		width: 330px;
		margin-right: 0;
		margin-bottom: 0;
	}

    .sentence-mobile {
        display: none;
    }

    .sentence-tv {
        display: inline;
    }
}


@media (max-width: 860px) {

	#light-panel {
		margin-top: 20px;
		gap: 20px 10px;
	}

	#light-panel img {
		width: 100px;
	}

	.footer {
		height: auto;
	}

	.footer .image {
		display: none;
	}

	.headline {
		font-size: 2rem;
		width: 600px;
	}

	.caption {
		font-size: 1.6rem;
		text-align: left;
		font-weight: 300;
		width: 600px;
	}

	.flex-column {
		justify-content: space-evenly;
		height: auto;
		align-items: center;
		width: 375px;
	}

	.separator {
		display: block;
	}

	.footer {
		display: flex;
	}

    .caption sup {
        font-size: 0.6rem;
    }

    .sentence-mobile {
        display: inline;
    }

    .sentence-tv {
        display: none;
    }
}


@media (max-width: 550px) {

	.square {
		border: 1px solid black;
	}

	#light-panel {
		margin-top: 10px;
		gap: 10px 8px;
	}

  	#light-panel img {
		width: 80px;
	}

	.separator {
		display: block;
	}

	.footer {
		display: flex;
		width: 100vw;
	}

	.flex-row {
		justify-content: space-around;
	}

	.flex-column {
		bottom: 25px;
		top: auto;
		margin-left: 0;
		align-items: center;
	}

	.headline {
		font-size: 1.6rem;
		width: 300px;
	}

	.caption {
		font-size: 1.2rem;
		text-align: left;
		font-weight: 300;
		width: 300px;
	}

	.footer .image {
		display: none;
	}

    .caption sup {
        font-size: 0.6rem;
    }

    .sentence-mobile {
        display: inline;
    }

    .sentence-tv {
        display: none;
    }
}

@media (max-width: 375px) {

  	#light-panel img {
		width: 70px;
	}

}

@media (max-width: 320px) {

	#light-panel {
		margin-top: 10px;
		gap: 10px 5px;

	}

  	#light-panel img {
		width: 60px;
	}
}

@media (max-height: 1400px) {

	#light-panel img {
		width: 160px;
	}

	.flex-row {
		height: 280px;
		margin-left: 0px;
	}

	.headline {
		font-size: 3rem;
	}

	.caption {
		font-size: 2rem;
	}

	.footer .image {
		display: none;
	}

	.flex-column {
		margin-left: 0;
		top: -30px;
	}
}

@media (max-height: 1200px) {

	#light-panel {
		margin-top: 10px;
		gap: 10px 8px;
	}

	#light-panel img {
		width: 120px;
	}

	.flex-column {
		margin-left: 0px;
	}

	.headline {
		font-size: 2rem;
	}

	.caption {
		font-size: 1.5rem;
	}
}

@media (max-height: 1024px) {

	.flex-row {
		height: 250px;
	}

	.flex-column {
		height: auto;
	}

	.separator {
		display: block;
	}

	.footer {
		display: flex;
	}

}

@media (max-height: 950px) {

	#light-panel img {
		width: 90px;
	}

	.flex-row {
		height: 300px;
	}

	.flex-column {
		top: 0;
	}

	.headline {
		font-size: 1.6rem;
	}

	.caption {
		font-size: 1.2rem;
	}
}

@media (max-height: 890px) {
	#light-panel img {
		width: 75px;
	}
}

@media (max-height: 740px) {

	#light-panel {
		margin-top: 10px;
		gap: 10px 4px;
	}


	.flex-row {
		height: 220px;
	}
}

@media (max-height: 670px) {

	.flex-row {
		height: 175px;
	}
}