/*
    Selles failis on avalehe stiilid.
*/

html, body {
  margin:0;
  height:100%;
  scroll-behavior: smooth;
}
h1{
 	opacity: 0.75;
  margin-top: 10px;
}
.video {
	position: relative;
	height: 100vh;
	display: flex;
	flex-direction:column;
	align-items: center;
	justify-content:center;
	text-align: center;
	padding: 0 20px;
	color:#FFFF;
}
.video-container{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.video-container video{
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
	position: absolute;
	top: 50%;
	left:50%;
	transform: translate(-50%,-50%);
	background: var(--primary-color) no-repeat center
	 center/cover;
}

.video-container:after{
	content:'';
	position: absolute;
	top: 0;
	left: 0;
	width:100%;
	height: 100%;
	background: rgb(0,0,0,0.6)
}
.sisu{
	z-index:10;

}

.nupp{
	font-family: "Lucida Grande", Tahoma;
	display:inline-block;
	padding: 10px 30px;
	background: var(--primary-color);
	color: #FFF;
	border: 1px #FFF solid;
	border-radius: 5px;
	margin-top: 25px;
	opacity: 0.7;
}

.nupp:hover{
	transform: scale(0.98);
	opacity: 0.9;
}

#meist {
	padding: 30px;
	text-align: center;
	margin-top: 10px;
}
#meist p {
	max-width:600px;
	margin: auto;
}
a {
	position: absolute;
	bottom: 20px;
	left: 50%;
	z-index: 2;
	display: inline-block;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	text-decoration: none;
}
.demo a {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}
.demo a:hover {
  opacity: .5;
}

#kerimine a {
  padding-top: 60px;
}
#kerimine a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  opacity: .9;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}

#meist a {
  padding-top: 60px;
}

h2 {
  color:rgb(240,240,240,0.7);
}
span{
  color:rgb(240,240,240);
}
