@font-face {
	font-family: "Open Sans";
	src: url("/OpenSans.ttf");
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #192933;
	color: #fff;
	width: 100%;
	text-align: center;

	display: flex;
	justify-content: center;
}

code {
    background: #eee;
    padding: 2px 4px;
    border-radius: 2px;
}

div.wrapper {
	position: relative;
	margin: 50px auto;

	@media screen and (max-width: 800px) {
		margin: 20px auto;
	}
}

.page-title {
	text-align: left;
	width: 100%;
	font-family: "Oswald";
	font-weight: 100;
	font-size: 45px;
	margin: 0;
	@media screen and (max-width: 800px) {
		font-size: 35px;
		margin-bottom: 20px;
		margin-left: 20px;
	}
}

div.main {
	position: relative;
	width: 800px;
	max-width: 100vw;
	background: #fff;
	padding: 50px;
	color: #333;
	text-align: left;
	font-family: "Open Sans";
	border-radius: 15px;

	@media screen and (max-width: 800px) {
		padding: 20px;
	}

	h1,
	h2,
	h3,
	h4 {
		font-family: "Oswald";
		font-weight: 100;
		margin: 0;
	}
	h1 {
		font-size: 45px;
		font-weight: 400;
		text-decoration: underline;
		text-align: center;
	}
	h2 {
		font-size: 30px;
		font-weight: 300;
		text-decoration: underline;
		margin-bottom: 10px;
	}
}

.example-img {
	margin-top: 15px;
	width: 250px;
	border: solid 3px #333;
}

.copy-serviceaccount {
	display: inline-block;
	padding: 2px 6px;
	border-radius: 20px;
	background: #ddd;
	text-decoration: none;
	color: #000;
	&:hover {
		background: #ccc;
	}
	&:active {
		background: #aaa;
	}
	svg {
		height: 14px;
	}
}

.input-group {
	display: block;
	padding: 15px;
	border-radius: 10px;
	background: #f0f0f0;
	margin-bottom: 15px;

	p {
		margin: 0;
	}

	input {
		padding: 6px;
		border: none;
		background: #ddd;
		outline: none;
		border-radius: 5px;
		font-size: 14px;
		font-family: "Open Sans";
		&:focus {
			outline: solid #999 2px;
		}
	}

	.input-with-status {
		width: 100%;
		display: flex;
		flex-wrap: nowrap;
		input {
			min-width: 50%;
			flex-grow: 1;
		}
		.status {
			display: inline-flex;
			flex-wrap: nowrap;
			align-items: center;
			flex-grow: 0;
			flex-shrink: 0;
			background: #ddd;
			margin-left: 10px;
			padding: 6px 10px;
			border-radius: 50px;
			p {
				margin: 0;
				font-size: 14px;
				font-family: "Open Sans";
				&.red {
					color: #900;
				}
			}
			img {
				height: 17px;
				margin-right: 6px;
			}
		}
	}
}

.button {
	display: inline-flex;
	align-items: center;

	margin: 5px 0;

	padding: 15px 20px;
	border-radius: 10px;
	border: solid #555 2px;

	background: #eee;
	color: #333;
	font-size: 16px;
	font-family: "Open Sans";

	text-decoration: none;

	&:not([disabled]) {
		&:hover {
			background: #e5e5e5;
		}
		&:active {
			background: #ddd;
		}
	}
	&[disabled] {
        opacity: 0.6;
        cursor: not-allowed;
	}
}

.progress {
	width: 400px;
    max-width: 100%;
	display: flex;
	align-items: center;
	position: relative;
	border-radius: 50px;
	margin-top: 10px;
	height: 30px;
	padding-left: 12px;
	background: #ddd;
	.progress-bar {
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		height: 100%;
		width: 0%;
		background: #77e1aa;
		border-radius: 50px;
		z-index: 1;
	}
	#progress-text {
		z-index: 2;
		position: relative;
		font-family: "Open Sans";
		font-size: 15px;
	}
}

.view-slides-link {
	display: none;
	&.show {
		display: inline-flex;
	}
}
