﻿html, body {
	width: 100%;
}

header {
	font-size: 26px;
	background: #00bcd4;
	color: white;
	padding: 40px 0 100px 10%;
	margin-bottom: 50px;
}

h1 {
	font-size: 1.5em;
	font-weight: 500;
}

h2 {
	font-size: 1.2em;
	font-weight: 500;
}

h3 {
	font-size: 1.1em;
	font-weight: 500;
}

h4 {
	font-size: 1em;
	font-weight: 500;
}

a {
	color: cadetblue;
	text-decoration: none;
}

i {
	font-style: italic;
}

label, p, a, h1, h2, h3, div {
	font-family: Roboto, sans-serif;
}

.tab-wrap {
	width: 80%;
	margin-left: 10%;
	position: relative;
	display: flex;
	top: -106px;
}

input[type="radio"][name="tabs"] {
	position: absolute;
	z-index: -1;
}

input[type="radio"][name="tabs"]:checked+.tab-label-content label {
	color: white;
}

input[type="radio"][name="tabs"]:checked+.tab-label-content .tab-content {
	display: block;
}

input[type="radio"][name="tabs"]:nth-of-type(1):checked~.slide {
	left: calc((100% / 6) * 0);
}

input[type="radio"][name="tabs"]:nth-of-type(2):checked~.slide {
	left: calc((100% / 6) * 1);
}

input[type="radio"][name="tabs"]:nth-of-type(3):checked~.slide {
	left: calc((100% / 6) * 2);
}

input[type="radio"][name="tabs"]:nth-of-type(4):checked~.slide {
	left: calc((100% / 6) * 3);
}

input[type="radio"][name="tabs"]:nth-of-type(5):checked~.slide {
	left: calc((100% / 6) * 4);
}

input[type="radio"][name="tabs"]:nth-of-type(6):checked~.slide {
	left: calc((100% / 6) * 5);
}

input[type="radio"][name="tabs"]:first-of-type:checked~.slide {
	left: 0;
}

label {
	cursor: pointer;
	color: rgba(255, 255, 255, 0.8);
	background-color: #00bcd4;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 56px;
	transition: color 0.2s ease;
	width: 100%;
}

.slide {
	background: #ffeb3b;
	width: calc(100% / 6);
	height: 4px;
	position: absolute;
	left: 0;
	top: calc(100% - 4px);
	transition: left 0.3s ease-out;
}

.tab-label-content {
	width: 100%;
}

.tab-label-content .tab-content {
	position: absolute;
	top: 100px;
	left: 16px;
	line-height: 130%;
	display: none;
}

@media screen and (max-width: 800px) {
	h1 {
		padding: 40px 0 90px 0;
	}
	.tab-wrap {
		width: 80%;
		margin-left: 10%;
		top: -106px;
	}
}

.follow {
	width: 42px;
	height: 42px;
	border-radius: 50px;
	background: #03A9F4;
	display: block;
	margin: 300px auto 0;
	white-space: nowrap;
	padding: 13px;
	box-sizing: border-box;
	color: white;
	transition: all 0.2s ease;
	font-family: Roboto, sans-serif;
	text-decoration: none;
	box-shadow: 0 5px 6px 0 rgba(0, 0, 0, 0.2);
}

.follow i {
	margin-right: 20px;
	transition: margin-right 0.2s ease;
}

.follow:hover {
	width: 134px;
}

.follow:hover i {
	margin-right: 10px;
}

ol, ul {
	list-style-type: disc;
	padding-left: 26px;
	padding-bottom: 26px;
}

@media screen and (max-width: 800px) {
	.follow {
		margin: 400px auto 0;
	}
}

.hidden {
	display: none;
}

#password {
	width: 100%;
	padding: 12px 20px;
	margin: 8px 0;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 18px;
}

#button {
	width: 100%;
	background-color: #4CAF50;
	color: white;
	padding: 14px 20px;
	margin: 8px 0;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 18px;
}

#button:hover {
	background-color: #45a049;
}