test
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html, body{
margin: 0;
padding: 0;
}
.cont{
width: auto;
height: 703px;
padding-top: 0.5%;
background: black;
display: block;
}
#tristan{
position:relative;
padding-bottom:56.25%;
padding-top: 9px;
height: 0;
overflow:hidden;
}
#tristan iframe, #tristan object, #tristan embed {
position: absolute;
top:0;
left:0;
width: 100%;
height: 100%;
}
.top-baner{
width: 69%;
height: 0;
padding-bottom: 17.3%;
background: url(https://adv.metale.pl/images/0df5b5abddc974bf8e6a05c00a308e65.png);
display: inline-block;
margin-left: -5px;
background-size: contain;
background-repeat: no-repeat;
}
.video-baner{
width: 30%;
display: inline-block;
height: 0;
padding-bottom: 18.5%;
margin-left: -5px;
}
.bottom-left{
width: 70%;
height: 0;
padding-bottom: 18.5%;
background: url(https://adv.metale.pl/images/488d87f943bb6f91558068b9707463ca.jpg);
display: inline-block;
margin-left: -5px;
background-size: contain;
background-repeat: no-repeat;
}
.bottom-right{
width: 29%;
height: 0;
padding-bottom: 18.5%;
background: url(https://adv.metale.pl/images/4a679fe5d3ea9f95f92c287343a77ee5.png);
display: inline-block;
margin-left: -7px;
background-size: contain;
background-repeat: no-repeat;
}
div{
vertical-align: top;
overflow: hidden;
}
@media screen and (max-width: 1600px)
{
.top-baner{
width: 69%;
height: 0;
padding-bottom: 17.9%;
background: url(https://adv.metale.pl/images/0df5b5abddc974bf8e6a05c00a308e65.png);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
.video-baner{
width: 30%;
display: inline-block;
height: 0;
padding-bottom: 19.1%;
}
.bottom-left{
width: 70%;
height: 0;
padding-bottom: 19.1%;
background: url(https://adv.metale.pl/images/488d87f943bb6f91558068b9707463ca.jpg);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
.bottom-right{
width: 29%;
height: 0;
padding-bottom: 19.1%;
background: url(https://adv.metale.pl/images/4a679fe5d3ea9f95f92c287343a77ee5.png);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
}
@media screen and (max-width: 1400px)
{
.top-baner{
width: 69%;
height: 0;
padding-bottom: 17.9%;
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
.video-baner{
width: 30%;
display: inline-block;
height: 0;
padding-bottom: 19.1%;
}
.bottom-left{
width: 70%;
height: 0;
padding-bottom: 19.1%;
background: url(https://adv.metale.pl/images/488d87f943bb6f91558068b9707463ca.jpg);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
.bottom-right{
width: 29%;
height: 0;
padding-bottom: 19.1%;
background: url(https://adv.metale.pl/images/4a679fe5d3ea9f95f92c287343a77ee5.png);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
}
@media screen and (max-width: 950px)
{
.top-baner{
width: 69%;
height: 0;
padding-bottom: 18.8%;
background: url(https://adv.metale.pl/images/0df5b5abddc974bf8e6a05c00a308e65.png);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
.video-baner{
width: 30%;
display: inline-block;
height: 0;
padding-bottom: 20%;
}
.bottom-left{
width: 70%;
height: 0;
padding-bottom: 20%;
background: url(https://adv.metale.pl/images/488d87f943bb6f91558068b9707463ca.jpg);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
.bottom-right{
width: 29%;
height: 0;
padding-bottom: 20%;
background: url(https://adv.metale.pl/images/4a679fe5d3ea9f95f92c287343a77ee5.png);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
}
.top{
padding-top: 1%;
}
@media screen and (max-width: 740px)
{
.top-baner{
width: 69%;
height: 0;
padding-bottom: 19.8%;
background: url(https://adv.metale.pl/images/0df5b5abddc974bf8e6a05c00a308e65.png);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
.video-baner{
width: 30%;
display: inline-block;
height: 0;
padding-bottom: 21%;
}
.bottom-left{
width: 70%;
height: 0;
padding-bottom: 21%;
background: url(https://adv.metale.pl/images/488d87f943bb6f91558068b9707463ca.jpg);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
.bottom-right{
width: 29%;
height: 0;
padding-bottom: 21%;
background: url(https://adv.metale.pl/images/4a679fe5d3ea9f95f92c287343a77ee5.png);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
}
@media screen and (max-width: 600px)
{
.top-baner{
width: 69%;
height: 0;
padding-bottom: 20.8%;
background: url(https://adv.metale.pl/images/0df5b5abddc974bf8e6a05c00a308e65.png);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
.video-baner{
width: 30%;
display: inline-block;
height: 0;
padding-bottom: 22%;
}
.bottom-left{
width: 70%;
height: 0;
padding-bottom: 22%;
background: url(https://adv.metale.pl/images/488d87f943bb6f91558068b9707463ca.jpg);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
.bottom-right{
width: 29%;
height: 0;
padding-bottom: 22%;
background: url(https://adv.metale.pl/images/4a679fe5d3ea9f95f92c287343a77ee5.png);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
}
@media screen and (max-width: 495px)
{
.top-baner{
width: 69%;
height: 0;
padding-bottom: 21.8%;
background: url(https://adv.metale.pl/images/0df5b5abddc974bf8e6a05c00a308e65.png);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
.video-baner{
width: 30%;
display: inline-block;
height: 0;
padding-bottom: 23%;
}
.bottom-left{
width: 70%;
height: 0;
padding-bottom: 23%;
background: url(https://adv.metale.pl/images/488d87f943bb6f91558068b9707463ca.jpg);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
.bottom-right{
width: 29%;
height: 0;
padding-bottom: 23%;
background: url(https://adv.metale.pl/images/4a679fe5d3ea9f95f92c287343a77ee5.png);
display: inline-block;
background-size: contain;
background-repeat: no-repeat;
}
}
@media screen and (max-width: 406px){
.cont{
display: none;
height: 0;
}
}
div.bottom-right:hover, div.bottom-left:hover, div.top-baner:hover{
opacity: 0.8;
}
a.out-arrow{
width: 50px;
height: 50px;
background: rgba(255, 255, 255, 0.4);
display: block;
border-radius: 200px;
position: absolute;
right: 2%;
top: 46%;
/*box-shadow: 1px 1px 1px 0px grey;*/
}
div.arrow{
width: 15px;
height: 15px;
border-top: 10px solid rgba(186, 13, 10, 0.7);
border-right: 10px solid rgba(186, 13, 10, 0.7);
/* Rotate div */
-ms-transform: rotate(45deg); /* IE 9 */
-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
transform: rotate(45deg);
border-radius: 5px;
position: absolute;
top: 22%;
left: 20%;
}
div.arrow:hover{
width: 15px;
height: 15px;
border-top: 10px solid rgba(186, 13, 10, 0.9);
border-right: 10px solid rgba(186, 13, 10, 0.9);
/* Rotate div */
-ms-transform: rotate(45deg); /* IE 9 */
-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
transform: rotate(45deg);
border-radius: 5px;
position: absolute;
top: 22%;
left: 20%;
}
a.out-arrow-left{
width: 50px;
height: 50px;
background: rgba(255, 255, 255, 0.4);
display: block;
border-radius: 200px;
position: absolute;
left: 2%;
top: 46%;
/*box-shadow: 1px 1px 1px 0px grey;*/
}
div.arrow-left{
width: 15px;
height: 15px;
border-bottom: 10px solid rgba(186, 13, 10, 0.7);
border-left: 10px solid rgba(186, 13, 10, 0.7);
/* Rotate div */
-ms-transform: rotate(45deg); /* IE 9 */
-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
transform: rotate(45deg);
border-radius: 5px;
position: absolute;
bottom: 25%;
right: 20%;
}
div.arrow-left:hover{
width: 15px;
height: 15px;
border-bottom: 10px solid rgba(186, 13, 10, 0.9);
border-left: 10px solid rgba(186, 13, 10, 0.9);
/* Rotate div */
-ms-transform: rotate(45deg); /* IE 9 */
-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
transform: rotate(45deg);
border-radius: 5px;
position: absolute;
bottom: 25%;
right: 20%;
}
</style>
</head>
<body>
<div class="cont">
<div class="top">
<div class="video-baner">
<div id="tristan">
<iframe width="560" height="315" src="https://www.youtube.com/embed/CpA8BzWZ8LU" frameborder="0" allowfullscreen></iframe>
</div>
</div>
<a href="http://tristan.com.pl/mobile/">
<div class="top-baner">
</div>
</a>
</div>
<div class="bottom">
<a href="http://tristan.com.pl/mobile/">
<div class="bottom-left">
</div>
</a>
<a href="http://tristan.com.pl/mobile/">
<div class="bottom-right">
</div>
</a>
</div>
<a class="out-arrow-left" href="https://metale.pl/aktualnosci/#ama" target="self">
<div class="arrow-left">
</div>
</a>
<a class="out-arrow" href="https://metale.pl/kalkulatory#mkm" target="self">
<div class="arrow">
</div>
</a>
</div>
</body>
</html>