@charset "utf-8";

*{
	font-family: 'montserrat', Arial, sans-serif;
	margin: 0;
	scroll-behavior: smooth;
}

:root {
	--colorBlue: #0076cb;
	--colorRed: #b30c00;
}

header {
	color: #fff;
	background-color: var(--colorBlue);
	position: sticky;
	top: 0;
}

#title {
	max-width: 900px;
	margin: 0 auto;
}

#stripes {
	height: 10px;
	background-image: url("/img/stripes.svg");
	background-size: cover;
	background-repeat: no-repeat;
}

h1 {
	font-family: 'brilk';
	font-size: 3em;
	padding: 10px 0;
}

h2 {
	font-size: 2em;
	margin-bottom: 25px;
}

h3 {
	padding: 25px 0 15px;
	font-size: 1.5em;
	width: 100%;
}

h3:first-of-type {
	padding: 0 0 15px;
}

p {
	margin-bottom: 25px;
}

hr {
	color: var(--colorBlue);
	margin-bottom: 25px;
}

form {
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
}

#main-container {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
	padding: 25px;
	width: 100%;
	max-width: 900px;
	border-radius: 25px;
	background-color: rgba(255,255,255,.75);
	box-sizing: border-box;
}

#grid-container {
	width: 100%;
	display: inline-grid;
	grid-template-columns: auto auto;
	margin-bottom: 25px;
}

select {
	border: none;
	border-bottom: 2px solid var(--colorBlue);
	padding: 5px;
	font-size: 1.2em;
	background-color: rgba(255,255,255,.75);
	margin-bottom: 10px;
	transition: background-color 0.5s;
}

textarea {
	border: none;
	border-bottom: 2px solid var(--colorBlue);
	padding: 5px;
	font-size: 1.2em;
	background-color: rgba(255,255,255,.75);
	margin-bottom: 10px;
	resize: none;
	box-sizing: border-box;
	transition: background-color 0.5s;
}

label {
	padding: 10px 0;
	font-size: 1.2em;
	margin-right: 25px;
}

input[type=text] {
	border: none;
	border-bottom: 2px solid var(--colorBlue);
	padding: 5px;
	font-size: 1.2em;
	background-color: rgba(255,255,255,.75);
	margin-bottom: 10px;
	transition: background-color 0.5s;
}

input[type=submit] {
	border-radius: 5px;
	border: 2px solid var(--colorBlue);
	padding: 5px 25px;
	font-size: 1.2em;
	background-color: rgba(255,255,255,.75);
	margin-bottom: 10px;
	display: block;
	align-self: center;
	transition: background-color 0.5s;
}

input[type=submit]:hover, input[type=text]:hover, select:hover, textarea:hover {
	background-color: rgba(200,200,200,0.75);
	transition: background-color 0.5s;
}


main {
	height: 100vh;
	background-image: url("/img/zurich_aerial.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	padding: 25px 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

#other-reason {
	visibility: hidden;
	height: 0;
}

.field-error {
	border-bottom: 2px solid var(--colorRed)!important;
}

.peronal-details {
	font-size: 1.5em;
}

#summary {
	display: grid;
	grid-template-columns: [left] 25% [right] 75%;
	grid-template-rows: [top] 5em [middle] 12em [bottom] 5em;
	row-gap: 0.25em; background-color: #fff;
	border-radius: 0 4em 4em 0;
	overflow: hidden;
}

.permit-left {
	background-color: #000;
}

.permit-duration {
	display: flex;
	flex-direction: column;
	color: #fff;

}

.date {
	color: #000;
	font-family: arial;
	font-size: 1em;
	font-weight: 600;
	padding-left: 1rem;
	padding-top: 0.25rem;
}

.year {
	color: #000;
	font-family: arial;
	font-size: 3em;
	font-weight: 600;
	padding-left: 1rem;
}

.permit-type {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-family: arial;
	font-size: 8em;
	font-weight: 600;
}

.permit-right {
	background-color: #E2E3E6;
}

.permit-plate {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	color: #000;
	font-family: arial;
	font-size: 5em;
	font-weight: 600;
	padding-left: 1rem;
}

.permit-reason {
	display: flex;
	justify-content: flex-start;
	color: #000;
	font-family: arial;
	font-size: 1.5em;
	font-weight: 600;
	padding-left: 1rem;
	padding-top: 1rem;
}

.download-button {
	padding-top: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.download-button a {
	color: var(--colorBlue);
	text-decoration: none;
	font-size: 1.5em;
	padding-left: 0.5em;
	transition: 0.5s;
}

.download-button a:hover {
	font-size: 1.6em;
	transition: 0.5s;
}

.download-icon {
	height: 2.5em;
	width: auto;
}