/* CSS Document */

@font-face {
  font-display: swap;
  font-family: 'Apex New';
  src: url('../fonts/ApexNew-Book.woff2') format('woff2'), url('../fonts/ApexNew-Book.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-display: swap;
  font-family: 'Apex New';
  src: url('../fonts/ApexNew-Bold.woff2') format('woff2'), url('../fonts/ApexNew-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

body {
	margin: 0;
	padding: 0;
	/* background: linear-gradient(to right, rgba(183,184,188,1.00), rgba(255,255,255,1.00), rgba(183,184,188,1.00));*/
	background: linear-gradient(to right, #b7b8bc, #ffffff, #b7b8bc);
	font-family: 'Apex New', Helvetica, sans-serif;
    font-weight: 500;
    font-size: 1.0em;
    line-height: 1;
    color: #000;
}
h1 {
	font-family: 'Apex New', Helvetica, sans-serif;
	font-weight: 700;
    font-size: 1.50em;
    line-height: 1.25;
    color: #fff;
}
p {
    font-size: 1.0em;
    line-height: 1.5;
    color: #fff;
}
a {
    color: #fff;
}

@keyframes fadeBackground {
  from { opacity: 0; }
  to { opacity: 1; }
}

.image-container {
	display: block;
	width: 100%;
	height: 100vh;
	background: url("../assets/Sail-Selector_Downwind_EN.webp") center 5% no-repeat;
	background-size: auto 80%;
    -webkit-animation: fadeBackground 3s;
    -moz-animation: fadeBackground 3s;
    -ms-animation: fadeBackground 3s;
    -o-animation: fadeBackground 3s;
	animation: fadeBackground 3s;
	animation-fill-mode: forwards;
	text-align: center;
	position: relative;
}

/* Lightbox styling */
.lightbox {
	display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
}
.lightbox-content {
	text-align: left;
    padding: 0px;
    border-radius: 8px;
	width: 100%;
	max-width: 400px;
	height: 100%;
	max-height: 230px;
	background: url("../assets/bg-info-start.webp") center center no-repeat;
	background-size: 100% auto;
    -webkit-animation: fadeBackground 1s;
    -moz-animation: fadeBackground 1s;
    -ms-animation: fadeBackground 1s;
    -o-animation: fadeBackground 1s;
	animation: fadeBackground 1s;
	animation-fill-mode: forwards;
}
.lightbox-content .lightbox-text {
	padding: 0 10px;
	vertical-align: top;
	text-align: left;
}
.lightbox-content .lightbox-text .black {
	color: #000;
}
.lightbox-content .lightbox-text .button {
	margin-top: 10px;
	text-align: center;
}
.lightbox-content .lightbox-text .icon {
	float: right;
}
.lightbox-content .lightbox-text .button a {
	display: inline-block;
	font-family: 'Apex New', Helvetica, sans-serif;
    font-size: 1.0em;
    line-height: 1;
	text-decoration: none;
	color: #fff;
	background-color: #d60825;
	border: 2px solid #fff;
	border-radius: 1.6667em;
	width: 90%;
	max-width: 300px;
	padding: 7px 10px 3px;
	margin-top: 10px;
}
.lightbox-content .lightbox-text .button a:hover {
	background-color: #333;
}

@media (min-width: 640px) {
	.lightbox-content {
		max-width: 600px;
		max-height: 340px;
	}
	.lightbox-content .lightbox-text {
		padding: 10px 30px;
	}
	.lightbox-content .lightbox-text .button {
		margin-top: 20px;
	}
}

@media (min-width: 768px) {
	h1 {
		font-size: 2.0em;
	}
	p {
		font-size: 1.250em;
	}
	.image-container {
		background-size: auto 96%;
	}
	.lightbox-content {
		max-width: 700px;
		max-height: 400px;
	}
	.lightbox-content .lightbox-text {
		padding: 10px 30px;
	}
	.lightbox-content .lightbox-text .button {
		margin-top: 20px;
	}
}

@media (min-width: 960px) {
	.lightbox-content {
		max-width: 800px;
		max-height: 450px;
	}
	.lightbox-content .lightbox-text {
		padding: 20px 40px;
	}
	.lightbox-content .lightbox-text .button {
		margin-top: 60px;
	}
	.lightbox-content .lightbox-text .button a {
		font-size: 0.9em !important;
		padding: 10px 20px;
	}
}

@media (min-width: 1220px) {
	h1 {
		font-size: 3.0em;
	}
	p {
		font-size: 1.50em;
	}
	.lightbox-content {
		max-width: 1000px;
		max-height: 560px;
	}
	.lightbox-content .lightbox-text {
		padding: 20px 50px;
	}
	.lightbox-content .lightbox-text .button a {
		padding: 12px 20px 8px;
	}
}

@media (min-width: 1960px) {
	.image-container {
		background-size: 1200px auto;
	}
}
@media (max-width: 639px) {
	.lightbox-content {
		max-height: 400px;
		background: url("../assets/bg-info-start_mobile.webp") center center no-repeat;
		background-size: auto 100%;
	}
	.lightbox-content .lightbox-text {
		max-width: 260px;
		margin-left: auto;
		margin-right: auto;
	}
}