*{
	color: #0C243C;
	/* border:1px solid #0C243C; */
	/* border:0px solid #0C243C; */
}
body > * {
  width: 80%;
}
body {
	/* margin:auto; */
	/* text-align:center; */
  /* display: grid; */
  /* grid-template-columns: 1fr; */
  font-family: Arial, sans-serif;
}
body > *{
  margin: 0 auto;
}
.baner{
	text-align: center;
}
header{
  display: grid;
  grid-template-columns: 1fr 1fr;
}
nav{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
nav > a {
	padding: 10px ;
}
h1{
	color:#E94D40;
}
main > img {
  margin: 0 auto;
}

footer {
	padding: 5px 0;
	text-align:center;
	background: #0C243C;
	color: #fff;
}
table {
	min-width:70%;
	border-collapse: collapse;
	margin: 25px auto;
}
table * {
	padding:5px;
	border:1px solid #0C243C;
}
table th {
	
	border:1px solid #fff;
	background: #0C243C;
	color: #fff;
}
.galery {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.galery img {
	width:500px;
}
figure{
	text-align:center;
	padding:5px;
}
.galery figure{
	border:1px solid #0C243C;
}
.galery figure:hover {
	background-color: rgba(0,0,0,0.2);
	border:1px solid #fff;
}
figcaption {
	padding:5px;
}

/*Modal img*/
.modalImg {
	padding:0;
	margin:0;
	display: ;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.7);
}
.modalImg img {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 15px;
	padding:50px;
}

/*Modal window*/
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #ffb900;
  width: 40%;
  /* height:40%; */
}

.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

form{
	display: grid;
	grid-template-columns: 1fr 3fr;
	grid-gap: 15px;
}