<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<link rel="stylesheet" href="index.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Archivo+Black" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Abel" rel="stylesheet">
</head>
<body>
<div class="header">
<div class="name">DARIUSZ HOZER</div>
</div>
<div class="main" >
<video autoplay>
<source src="" type="video/mp4">
</video>
<div class="triangle">
<div class="prosta_1"></div>
<div class="prosta_2"></div>
<div class="prosta_3"></div>
</div>
</div>
<div class="footer"></div>
</body>
</html>
body{
width:100%;
height: auto;
margin:0;
}
.header{
width: 100%;
height:5vh;
position: fixed;
background-color: black;
background-size: 100% 100%;
z-index: 100;
}
.name{
display:inline;
color:aliceblue;
font-size: 2.3vh;
font-family: 'Montserrat', sans-serif;
position: absolute;
top:1.4vh;
right:1vh;
}
.main{
width: 100%;
height:400vh;
background-size: 100% 100%;
}
video{
width: 100%;
height:auto;
background: cover;
background-size:100% 100%;
}
.prosta_1{
position:absolute;
top:70vh;
width: 30%;
height: 0.5vh;
background-color: black;
}
.prosta_2{
position:absolute;
top:42vh;
left:16vh;
width: 30%;
height: 0.5vh;
background-color: black;
transform:rotate(60.1deg);
}
.prosta_3{
position:absolute;
top:42vh;
left:-16vh;
width: 30%;
height: 0.5vh;
background-color: black;
transform:rotate(-60deg);
}
.triangle{
position: absolute;
width: 100%;
height: auto;
top:10vh;
left:34%;
animation-name:triangle;
animation: 4s infinite;
transform:rotate(360deg);
}
@keyframes triangle{
from{transform:rotate(0deg) }
to{transform:rotate(360deg)}
}
.footer{
width: 100%;
height:4vh;
background-color:black;
background-size: 100% 100%;
}