@charset "utf-8";
* {
margin: 0;
padding: 0;
}

body {
font-family: 'Dosis', sans-serif;
font-size:20px;
background: #000;
color: #fff;
height: 100vh;
line-height: 1.6;
overflow: scroll;
}
p{
font-family: 'Dosis', sans-serif;
font-size:23px;
background: #000;
color: #fff;
text-align: left;
display: flex;
justify-content: center;

}
h1{
font-family: 'Dosis', sans-serif;
font-family: 'Paytone One', sans-serif;
font-family: 'Teko', sans-serif;
font-size:80px;
background: #000;
color: #db5112;
text-align: left;
display: flex;
justify-content: center;
padding-top:50px;
}

h2,h3{
font-family: 'Dosis', sans-serif;
font-size:30px;
background: #000;
color: #fff;
text-align: left;
display: flex;
justify-content: center;
padding-top:150px;

}

.nav-primary {
background: #000;
clear: both;
margin: 0;
padding: 0;
text-align: center;
}

.nav-primary li {
display: inline-block;
list-style-type: none;
margin: 0;
padding: 0;
vertical-align: bottom; 
}

.nav-primary a {
color: #fff;
display: block;
font-size: 110%;
font-weight: bold;
overflow: hidden;
padding: 0.99em 1.5em; 
position: relative;
text-decoration: none;
transition: background 0.4s ease-out;
}

.nav-primary a::after {
background: #db5112;
content: "";
height: 0.714em;
left: 50%;
margin-left: -0.42857em;
position: absolute;
top: -0.857em;
	-moz-transform: rotate( 45deg );
	-ms-transform: rotate( 45deg );
	-o-transform: rotate( 45deg );
	-webkit-transform: rotate( 45deg );
transform: rotate( 45deg );
	-moz-transition: top 0.3s ease-out;
	-o-transition: top 0.3s ease-out;
	-webkit-transition: top 0.3s ease-out;
transition: top 0.3s ease-out;
width: 0.714em;
}

.nav-primary a:hover {
background: #db5112;
overflow: hidden;
position: relative;
}

.nav-primary a:hover::after {
top: -5px;
}

@media only screen and (max-width: 600px) {
.nav-primary a {
	border-radius: 0.6em;
	margin: 0.35em;
	padding: 0.5em;
}

.nav-primary a:hover {
	background-image: none;
  box-shadow: inset 0 -5px 0 0 rgba(78, 127, 103, 100);
}
}

.wrapper{
width:100%;
height: 50vh;
margin:0 auto;
background-repeat: no-repeat;
background-color: black;

}

.text{
font-family:'Dosis', sans-serif;
color: #fff;  
}

.text-veil{
display: block;
opacity: 0;
transition: opacity .3s ease;
background-color: #000;
height: 100%;
width: 100%;
font-size: 25px;
text-align: center;
}

.fa-video-camera{ 
margin-top: 1.2em;
color:#fff;

}

.box{
width:30%;
height:12.5rem;
border: 4px solid white;
position: absolute;
box-shadow: 0 0 6px rgba(0,0,0,.5);
margin-top: 3em;

}

.rotate-boxes{
position: relative;
}

.box:nth-child(1){
background-image: url(jna.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
left: -1%;
transform: rotateZ(-5deg);
}

.box:nth-child(2){
background-image: url(slasticarnica.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
left: 20%;
z-index: 2;
transform: rotateZ(-2deg);
}
.box:nth-child(3){
background-image:url(struja.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
left: 44%; 
z-index: 1;
transform: rotateZ(-6deg);
}
.box:nth-child(4){
background-image:url(punk.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
right: -1%;
transform: rotateZ(6deg); 
}

.box:hover{
z-index: 3;
}

.box:hover .text-veil {
opacity: 1;
}

footer{
background-color:#332f2d ;
font-size:20px;
text-align:center;
}
.fa {
padding:7px;
font-size: 25px;
width: 50px;
text-align: center;
text-decoration: none;
margin: 5px 2px;
}

.fa:hover {
opacity: 0.7;
}

.fa-facebook {
background: #000;
color: white;
}
.fa-instagram {
background: #000;
color: white;
}

.container1{
border-radius: 10px;
padding: 0;
position: relative;
column-count: 3;
padding: 20px;
width: 85%;
margin-left: 5%;

}
.image1{
width: 100%;
height: 100%;
filter: grayscale(100%);
transition: 0.4s ease-in;
}
.image1:hover{
filter: grayscale(0);
transition: 0.4s ease-out;
}
hr{
width: 30%;
align-content: center;

}
@media screen and (max-width:480px)
{
 .container1{
border-radius: 10px;
padding: 0;
position: relative;
column-count: 1;
width: 85%;
margin-left: 5%;
padding: 10px;
}
}
@media (min-width:480px) and (max-width:768px)
{
 .container1{
border-radius: 10px;
padding: 0;
position: relative;
column-count: 2;
padding: 20px;
width: 85%;
margin-left: 5%;

}
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
grid-gap: 15px;
padding: 15px;
max-width: 950px;
margin: 0 auto;
}

.gallery .gallery-item {
width: 100%;
height: 400px;
position: relative;
}

.gallery-item img {
width: 100%;
height: 400px;
object-fit: cover;
}

.gallery-item-text {
position: absolute;
z-index: 2;
top: 0;
bottom: 0;
height: 100%;
width: 100%;

display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
}

.gallery-item-text h1 {
font-family: 'Dosis', sans-serif;
font-size:20px;
text-transform: uppercase;
color: #fff;
background: #000;
width: 100%;
text-align: center;
margin: 0;
padding: 5px 0;


}




