*{
	list-style-type: none; 
	text-decoration: none; 
	margin: 0; 
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
:root {
  --main_color: #de2000;
  --hont: 'Roboto', sans-serif;
}
img, a img , a img:visited, a img:hover{display: block; border: 0;image-orientation: from-image;max-width: 100%;}
body {
	font-family: var(--hont);
	font-size: 1rem;
	line-height: 1.5em;
	color: #000; 
	background: #fff;}
a, a:visited{font-size: 1em;}
a:hover {font-size: 1em;}
a , p a:visited{
	color: #0055aa;
}
p a:hover {
	color: #fff;
	background: #000;
}
h1{
	font-size: 4rem;
	line-height: 4rem;
}

.content {
	max-width: 820px;
	margin: 50px auto;
	padding: 0 10px;
}
.content > img{
	margin: 15px 0;
}
.pre{white-space: pre-wrap;}

/*flex grid*/
.grid{
	--min: max(19vw, 120px);
	--gap: max(10px, 4vw);
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
	grid-gap: var(--gap);
	margin: var(--gap);
}
.grid2-1, .grid1-1{display: grid; grid-template-columns: 1fr;}

.grid1-1-1{display: grid; grid-template-columns: 1fr;}
.col3 {grid-column: 1;}

@media (min-width: 960px) {
	.grid2-1{grid-template-columns: 2fr 1fr}
	.grid1-1{grid-template-columns: 1fr 1fr; grid-auto-flow: dense;}
	.grid1-1-1-1{display: grid; grid-template-columns: 1fr 1fr 1fr}
	.col3 {grid-column: 1 / span 3;}
}

.side{
	background: #fff;
	padding: 0 max(2vw, 10px);
	min-height: 100vh;
}

.flex{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	align-content: stretch;
}
.flex_between{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	align-content: center;
}

.bg_contain{
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center top;
}
.bg_cover{
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
}
.object_fit_cover{
	object-fit: cover;
}

.fw{
	width: 100%;
	height: auto;
}

iframe {
	width: 100%;
	height: 500px;
}

/* custom */
#half_logo{
	position: relative;
	display: inline-block;
	top: 30px;
	left: 30px;
	width: 90px;
	position: absolute;
}

#half{
	max-width: 400px;
	padding: 0 20px;
	margin: 50vh auto 0 auto;
	transform: translate(0, -50%);
} 
.diptih{
	min-height: 80vh;
}
@media (min-width: 960px) {
	.left_right{
		grid-column: 2 / 3;
	}
	.right_left{
		grid-column: 1;
	}
}
h2{
	font-size: 4rem;
	line-height: 4.7rem;
}
.short{
	font-size: max(2vw, 22px);
	line-height: 120%;
	margin: 0 0 15px 0;
}
#manifesto{
	max-width: 840px;
	margin: 0 auto 150px auto;
	font-size: max(2vw, 22px);
	line-height: 120%;
	padding: 0 20px;
}
.visual{
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.visual img{
	
}
.visual_kolelinia{
	position: relative;
	overflow: hidden;
}
#kolelinia_anim{
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-80vh, 0);
	height: 80vh;
	width: calc(80vh*2);
	max-width: 3000px;
}
#halfgrid_visual{
	position: relative;
}
#halfgrid_anim{
	position: absolute;
	top: 0;
	left: 0;
}
.btn{
	background: #fff;
	line-height: 40px;
	border-radius: 20px;
	color: #000;
	display: inline-block;
	padding: 0 20px;
	border: 1px solid #333;
}
.btn:hover{
	background: #000;
	color: #fff;
}
.txt{
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 20px 10%;
	z-index: 10000;
}
#footer{
	text-align: center;
	color: #666;
	padding: 50px 0 0 0;
}
#sayhi{
	font-size: 4rem;
	line-height: 4.7rem;
	font-weight: bold;
	text-align: center;
	margin: 100px 20px 0 20px;
	cursor: pointer;
}
#msg_form{
	display: none;
}
.form_holder{
	max-width: 800px;
	margin: 50px auto;
}
.error{
	color: tomato;
}

/* form */
form{
	position: relative;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
form textarea, form input, form select, form option, form button{
	font-family: inherit;
	font-size: 100%;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 0;
	border-bottom: 0;
	padding: 0 15px;
	width: 100%;
	height: 50px;
	-webkit-appearance: none;
	-moz-appearance: none;
}
form input:focus, form textarea:focus{
	outline: none;
}

form textarea {
	padding: 12px 12px 20px 12px;
	min-height: 50px;
	overflow: hidden;
}
form select, form option{
	background: #fff url("https://halfbikes.com/images/dropdown.png") no-repeat right top;
}
form input[type="submit"]{
	padding: 0;
	font-size: 1.1rem;
	height: 49px;
	cursor: pointer;
	background: #eee;
}

form input[type="file"]{
	height: 50px;
	padding: 12px;
	background: #fff;
	cursor: pointer;
	height: 100%;
}
form input[type="checkbox"]{
	-webkit-appearance: checkbox;
	-moz-appearance: checkbox;
	height: 1rem;
	width: 1rem;
}
form label{
	padding-bottom: 1%;
	display: block;
}

#foot_nav{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}

/* other */
.main_title{
	text-align: center;
	margin: 50px 20px 20px 20px;
	letter-spacing: -1px;
}