body{
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	background: #111111;
}
nav{
	margin-left:10%;
	padding:5px;
	position: fixed;
	display: flex;
	font-size: 1em;
	top:0;
	background: #111111;
	text-align: center;
	box-sizing: border-box;
	box-shadow:0 5px 10px rgba(34,34,34,0.8);

	z-index:1;
}
nav a{
	position: relative;
	color:#fff;
	text-decoration: none;
}

a:link,
a:visited{
    color:white;
}
a:hover{
    color:orange;
}
.header{
    position: relative;
	top:0px;
	width:50%;
    left:50%;
    transform:translate(-50%,-0%);
	}
.titlecom{
    position: relative;
    padding:15px;
    width:100%;
    color:rgb(184, 181, 181);
    background:rgb(34, 34, 34);
    box-sizing: border-box;
	box-shadow:0 5px 10px rgba(34,34,34,0.8);

}
.titlecom p{
    font-size:0.8em;
}
.titlecom h2{
    font-size:1.5em;
    font-weight: bold;
}

.main{
    position: relative;
    top:50px;
}
.container{
    position: absolute;
    top:15%;
    left:50%;
    transform:translate(-50%,-0%);
    width:1300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
@media (max-width:2100px){ 
   
    .container{
		position: absolute;
		top:15%;
		left:50%;
		transform:translate(-50%,-0%);
		width:1300px;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
		align-items: center;
	
	}
}
@media (max-width:1100px){ 
   
    .container{
		position: absolute;
		top:15%;
		left:50%;
		transform:translate(-50%,-0%);
		width:1000px;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
		align-items: center;
	
	}
}



@media (max-width:800px){   
	.header{
		position: relative;
        left:50%;
        transform:translate(-50%,-0%);
		padding:5%;
		width:90% ;
	}
    .container{
        top:50%;
        left:50%;
        transform:translate(-50%,-0%);
        width:300px;
        flex-wrap: wrap;
        margin-left:10px;
    }
    .container h2{
        font-size:1em;
    }
    .container .box{
        width:200px;
        height: 150px;
        margin: 5px;
    }    
}

.container .box{
	position: relative;
	width:calc(400px - 30px);
    height: calc(300px - 30px);
	background: #000;
	float:left;
	margin: 15px;
	box-sizing: border-box;
	overflow: hidden;
	box-shadow:0 5px 10px rgba(0,0,0,0.8);
}
.container .box::before{
	content: '';
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	bottom:10px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	box-sizing: border-box;
	transition: 0.5s;
	transform: scaleX(0);
	opacity: 0;
	z-index:1;
}
.container .box:hover::before{
	transform: scaleX(1);
	opacity:1;
}
.container .box::after{
	content: '';
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	bottom:10px;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	box-sizing: border-box;
	transition: 0.5s;
	transform: scaleY(0);
	opacity: 0;
	z-index:1;
}
.container .box:hover::after{
	transform: scaleY(1);
	opacity:1;
}
.container .box .imgbox{
	position: relative;
}
.container .box .imgbox img{
	width:100%;
	transition: 0.5s;
}
.container .box:hover .imgbox img{
	opacity:.2;
	transform: scale(1.2);
}
.container .box .content{
	position: absolute;
	width:100%;
	top:50%;
	transform:translateY(-50%);
	z-index:2;
	padding:20px;
	box-sizing: border-box;
	text-align: justify;
}
.container .box .content h2{
	margin: 0 0 10px;
	padding: 0;
	color: #fff;
	transition: 0.5s;
	transform: translateY(-50px);
	opacity: 0;
}
.container .box .content p{
	margin: 0 ;
	padding: 0;
	color:#fff;
	transition: 0.5s;
	transform: translateY(50px);
	opacity: 0;

}
.container .box:hover .content h2,
.container .box:hover .content p{
	opacity: 1;
	transform: translateY(0);
}