﻿@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	src: url(Montserrat-Regular.ttf);
  }
  
  @font-face {
	font-family: 'Montserrat';
	font-weight: bold;
	src: url(Montserrat-Bold.ttf);
  }
  
  @font-face {
	  font-family: 'MontserratLight';
	  font-style: normal;
	  src: url(Montserrat-Thin.ttf);
	}
  
html {
	
}

body
{
    background-color: #000;
	margin: 0px;
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
	color:#002d77;
    line-height:26px;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

button {
	  font-family: 'Montserrat';
	  cursor:pointer;
}

a
{
border:none;
text-decoration:none;
color:inherit;
}

h2 {
	font-weight:normal;
}

a:hover
{
text-decoration:underline;
}


img
{
	border:none;
}

hr {
	height:1px;
	border: none;
    height: 1px;
    color: #858483; /* old IE */
    background-color: #858483; /* Modern Browsers */
	margin-bottom:40px;
	margin-top:10px;
}


.desktopBreak {
	display:block;
}

.mobileBreak {
	display:inline-block;
}

.topLogo {
	width:65%!important;
	padding:20px 0;
	margin:0 auto;
}

button {
	width:300px;
	height:57px;
	border-radius:57px;
	background-color:#50aedf;
	border:0;
	color:white;
	font-size:45px;
	line-height:45px;
	font-weight:bold;
	text-transform: uppercase;
}

h1 {
	text-align:center;
	font-size:22px;
	line-height:32px;
	font-weight:bold;
	padding-top:10px;
	padding-bottom:20px;
}


.container {
	max-width: 600px;
	margin: 0 auto;
	background-color: #ebe9e7;
	min-height: 100vh;
}

.footer img {
	width:100%;
	display:block;
}

.page {
	width: 100%;
	max-width: 600px;
	height: 100vh;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: contain;
	overflow-x: hidden;
	position: relative;	
	text-align: center;
	margin: 0 auto;
}

.topBar {
	position:absolute;
	top:0px;
	width:100%;
	display:table;
}

.topLogoRight {
	display:table-cell;
	padding-top:80px;
	padding-right:50px;
	width: 50px;
	text-align: right;
}

.topLogoNapoli {
	display:table-cell;
	width: 50px;
	text-align: left;
	padding-left:0px;
}

.topLogoNapoli img {
	width:200px;
}

.topLogoEnel {
	display:table-cell;
	width: 50px;
	text-align: right;
	padding-right:50px;
}

.topLogoEnel img {
	width:200px;
}


.genericFooter {
	align-self: end;
	text-align:center;
}

.genericFooter img {
	width:100%;
	display:block;
}


.pageCover {
	background-image: url(../img/gnd.jpg);
	background-size:cover;
	color:white;
}

.logoCover {
	display:flex;
	justify-content:center;
	align-items:center;
	height:100%;
}

.logoCover img {
	width:75%;
}

/****PAGE HOME */
.pageHome {
	background-image: url(../img/gnd.jpg);
	background-size:cover;
	color:white;
	overflow-y: auto;
}

.homeCenter {
	display:flex;
	justify-content:center;
	align-items:center;
	min-height:100%;
	flex-direction:column;
	padding:100px 20px 40px 20px;
	box-sizing: border-box;
	gap: 30px;
}

.homeCenterLogo {
	text-align: center;
}

.homeCenterLogo img {
	width:70%;
	max-width: 400px;
}

.homeFormContainer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.homeCenterButton {
	width: 100%;
	max-width: 550px;
}

.homeCenterButton img {
	width: 100%;
	cursor: pointer;
}

.homeEmail {
	background-image:url(../img/email_field.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width:100%;
	max-width: 550px;
	height:80px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

.homeEmail input[type="email"] {
	background-color: transparent;
	width:100%;
	max-width: 550px;
	padding: 0 10px;
	box-sizing: border-box;
	font-size:35px;
	color:#2a2a2a;
	border: none;
	border-radius: 0;
	height: 100%;
	text-align: center;
	font-weight: normal;
}

/*placeholder*/
input[type="email"]::-webkit-input-placeholder {
	color:#858483;
	opacity:0.9;
}

input[type="email"]::placeholder {
	color:#858483;
	opacity:0.9;
}


/*PAGE CAPTURE*/
.pageCapture {
	background-size:cover;
	background-position:top;
	background-image: url(../img/gnd.jpg);
	color:white;
	text-align:center;
	overflow-y: auto;
}

.captureCenter {
	display:flex;
	justify-content:center;
	align-items:center;
	min-height:100%;
	flex-direction:column;
	padding: 80px 20px 40px 20px;
	box-sizing: border-box;
	gap: 20px;
}

.captureLogo img {
	width: 60%;
	max-width: 300px;
}

.capturePreviewArea {
	position:relative;
	width: 100%;
	max-width: 500px;
}

.capturePreviewContainer {
	width: 100%;
	max-width: 500px;
	aspect-ratio: 1/1;
	overflow: hidden;
	display: block;
	margin: 0 auto;
	position: relative;
	background-color: black;
}

.capturePreviewOverlay {
	position:absolute;
	top:10px;
	right:10px;
	z-index: 10;
}

.capturePreviewOverlay img {
	width:40px;
	height:40px;
	cursor: pointer;
}

.capturePreview {
	object-fit: cover;
	background-color: black;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.captureControl {
	text-align:center;
	width: 100%;
}

.captureControl img {
	width: 100%;
	max-width: 500px;
	cursor: pointer;
}

/*PAGE PREVIEW*/

.pagePreview {
	background-size:cover;
	background-position:top;
	background-image: url(../img/gnd.jpg);
	color:white;
	text-align:center;
	overflow-y: auto;
}

.previewCenter {
	display:flex;
	justify-content:center;
	align-items:center;
	min-height:100%;
	flex-direction:column;
	padding: 80px 20px 40px 20px;
	box-sizing: border-box;
	gap: 20px;
}

.previewLogo img {
	width: 60%;
	max-width: 300px;
}

.previewArea {
	width: 100%;
	max-width: 500px;
	aspect-ratio: 1/1;
	display: flex;	
	align-items: center;
	justify-content: center;
	text-align: center;
	background-color: rgba(0,0,0,0.3);
	border-radius: 8px;
	overflow: hidden;
}

.previewArea img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.previewLoading {
	width: 40px !important;
	height: 40px !important;
	margin: 0 auto;
	object-fit: contain;
}

.previewControl {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	width: 100%;
	max-width: 500px;
}

.previewControl img {
	width: 45%;
	max-width: 200px;
	cursor: pointer;
}

/* PAGE CONGRATRULATIONS */

.pageCongratulations {
	background-image: url(../img/gnd2.jpg);
	background-size:cover;
	color:white;
	overflow-y: auto;
}

.congratulationsCenter {
	display:flex;
	justify-content:space-between;
	align-items:center;
	height:100vh;
	flex-direction:column;
	padding: 40px 20px;
	box-sizing: border-box;
}

.congratulationsCenterLogo {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.congratulationsCenterLogo img {
	width: 70%;
	max-width: 350px;
}

.congratulationsMessage {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.congratulationsMessageTitle {
	font-family: 'Montserrat';
	font-weight: bold;
	font-size:55px;
	line-height:55px;
}

.congratulationsBottom {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 20px;
	line-height: 28px;
	max-width: 500px;
	padding: 0 20px;
}

.privacyBox {
	text-align:left;
	width: 100%;
	max-width: 550px;
	font-size:16px;
	line-height:22px;
	padding: 0 20px;
	box-sizing: border-box;
	color:black;
}

.privacyBox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	vertical-align: middle;
	margin-right: 8px;
}

.privacyBox a {
	text-decoration: underline;
}

@media screen and (max-width: 600px) {
	.container {
		max-width: 100%;
		margin: 0 auto;
		background-color: transparent;
	}
	
	.page {
		max-width: 100%;
	}

	.topLogoRight {
		padding-top:20px;
		padding-right:20px;
	}

	.topLogoRight img {
		width:50px;
	}

	.homeCenter {
		padding: 80px 15px 30px 15px;
		gap: 20px;
	}

	.homeCenterLogo img {
		width: 80%;
	}

	.homeEmail {	
		width: 100%;
		max-width: 300px;
		height: 50px;
	}

	.homeEmail input[type="email"] {	
		width: 100%;
		max-width: 300px;
		padding: 0 10px;
		font-size: 18px;
	}

	.homeCenterButton {
		max-width: 300px;
	}

	.privacyBox {
		font-size: 14px;
		line-height: 20px;
		max-width: 100%;
	}

	.captureCenter {
		padding: 60px 15px 30px 15px;
		gap: 15px;
	}

	.captureLogo img {
		width: 50%;
	}

	.capturePreviewOverlay img {
		width: 30px;
		height: 30px;
	}

	.previewCenter {
		padding: 60px 15px 30px 15px;
		gap: 15px;
	}

	.previewLogo img {
		width: 50%;
	}

	.previewControl img {
		width: 40%;
		max-width: 150px;
	}

	.congratulationsCenter {
		padding: 30px 15px;
		height: 100vh;
	}

	.congratulationsCenterLogo img {
		width: 60%;
	}

	.congratulationsMessageTitle {
		font-size: 40px;
		line-height: 40px;
	}

	.congratulationsBottom {
		font-size: 16px;
		line-height: 22px;
	}
}