html {
  padding: 0;
  margin: 0;
}
header {
  background-image: url(foto1.jpg);
  color: whitesmoke;
  height: 170px; 
  text-align: center;
  font-size: 2em;
  z-index: 2;
}
body {
  background-image: url(foto3.jpg);
  z-index: 1;
  background-size: auto;
}
.hidden-menu {
  line-height: 25px;
  display: block;
  position: fixed;
  list-style:none;
  padding: 10px;
  margin: 0;
  box-sizing: border-box;
  width: 200px;
  background-color: #2b343c;
  height: 20%;
  top: 0;
  left: -200px;
  transition: left .2s;
  z-index: 2;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}
.hidden-menu li a {
  text-decoration: none; color:#cacaca;
}
.hidden-menu li a:hover {
  color:#fff;
}
.hidden-menu-ticker {
  display: none;
}
.btn-menu {
  color: #fff;
  background-color: #fff;
  padding: 2px;
  position: fixed;
  top: 15px;
  left: 5px;
  cursor: pointer;
  transition: left .23s;
  z-index: 3;
  width: 30px;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}
.btn-menu span {
  display: block;
  height: 2px;
  background-color: #2b343c;
  margin: 5px 0 0;
  transition: all .1s linear .23s;
  position: relative;
}
.btn-menu span.first {
  margin-top: 0;
}
.hidden-menu-ticker:checked ~ .btn-menu {
  left: 160px;
  background-color: #2b343c;
}
.hidden-menu-ticker:checked ~ .hidden-menu {
  left: 0;
}
.hidden-menu-ticker:checked ~ .btn-menu span.first {
  -webkit-transform: rotate(45deg);
  top: 7px;
  background-color: #fff;
}
.hidden-menu-ticker:checked ~ .btn-menu span.second {
  opacity: 0;
}

.hidden-menu-ticker:checked ~ .btn-menu span.third {
  -webkit-transform: rotate(-45deg);
  top: -7px;
  background-color: #fff;
}
.layer1 {
  background-color: rgb(138, 235, 238);
  padding: 2%;
  margin: 2%;
  width: 40%;
  height: 500px;
  overflow: auto;
  border: 1px solid;
  font-weight: 600;
  position: relative;
  float: left;
}
.layer2 {
  background-color: rgb(138, 235, 238);
  padding: 2%;
  margin: 2%;
  width: 40%;
  height: 500px;
  overflow: auto;
  float: right;
  border: 1px solid;
  font-weight: 600;
  position: relative;
}
.layer2:hover {
  background-image: url(foto2.jpg);
  border: 1px solid;
    background-size: cover;
    padding: 2%;
    margin: 2%;
}
.layer1:hover {
  background-image: url(foto2.jpg);
  border: 1px solid;
  background-size: cover;
  padding: 2%;
  margin: 2%;
}
.coub {
  width: 200px;
  height: 50px;
  background-image: url(foto1.jpg);
  background-size: auto;
}
.coub:hover {
  width: 100%;
  text-align: center;
  background-image: url(foto1.jpg);
  transition: 2s;
  font-size: 30px;
  color: rgb(255, 255, 255);
}
.box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.aaa {
  min-width: 33%;
  height:200px;
  background-color: red;
  position: sticky;
  top: 0;
  float: left;
  z-index: 3;
  color: white;
  font-size: 3em;
}
.bbb {
  min-width: 33%;
  height:200px;
  background-color: green;
  float: left;
}
.ccc {
  min-width: 33%;
  height:200px;
  background-color: blue;
  float: left;
}
.ddd {
  min-width: 33%;
  height:200px;
  background-color: rgb(168, 68, 68);
  float: left;
}
.eee {
  min-width: 33%;
  height:200px;
  background-color: rgb(43, 107, 43);
  position: sticky;
  top: 0;
  float: left;
  z-index: 3;
  color: white;
  font-size: 3em;
}
.iii {
  min-width: 33%;
  height:200px;
  background-color: rgb(56, 56, 153);
  float: left;
}
.fff {
  min-width: 33%;
  height:200px;
  background-color: rgb(146, 110, 110);
  float: left;
}
.ggg {
  min-width: 33%;
  height:200px;
  background-color: rgb(174, 228, 174);
  float: left;
}
.jjj {
  min-width: 33%;
  height:200px;
  background-color: rgb(131, 131, 182);
  position: sticky;
  top: 0;
  float: left;
  z-index: 3;
  color: white;
  font-size: 3em;
}
* { box-sizing: border-box; }
}
nav ul {
  margin: 0;
  padding: 0;
}
nav a {
  display: block;
  text-decoration: none;
  outline: none;
  transition: .4s ease-in-out;
}
.topmenu {
  backface-visibility: hidden;
  background-image: url("foto1.jpg");
}
.topmenu > li {
  display: inline-block;
  position: relative;
}
.topmenu > li > a {
  font-family: 'URW Chancery L', cursive;
  height: 70px;
  line-height: 70px;
  padding: 0 30px;
  font-weight: bold;
  color: #cecece;
  text-transform: uppercase;
}
.down:after {
  margin-left: 8px;
  font-family: FontAwesome;
}
.topmenu li a:hover { color: rgb(216, 216, 216); }
.submenu {
  background: white;
  border: 2px solid #003559;
  position: absolute;
  left: 0;
  opacity: 0;
  z-index: 5;
  width: 150px;
  transform: perspective(600px) rotateX(90deg);
  transform-origin: 0% 0%;
  transition: .4s ease-in-out;
}
.topmenu > li:hover .submenu{
  visibility: visible;
  opacity: 1;
  transform: perspective(600px) rotateY(0deg);
}
.submenu li a {
  color: #7f7f7f;
  font-size: 13px;
  line-height: 36px;
  padding: 0 25px;
  font-family: 'Kurale', serif;
}
.alert {
opacity: 0;
}
.alert:hover {
  opacity: 1;
  }
  .carousel-inner img {
    width: 100%;
    height: 400px;
  }

