html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box; 
  margin:0;
    padding:0;
}

body {
    color:rgb(0, 0, 0);
    font:14px Arial,sans-serif;
    perspective: 1000px;
    perspective-origin: center -50px;
  /* background-color: rgb(255, 225, 0); */
  background-image: url(./images/44.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  object-fit: cover;
  /* height: 1000%; */
 
}
#wrap {
    width: 980px;
    margin: 0 auto;
    background-color: #fff;
    /* padding: 0 40px 0 40px; */
  }



  .inside>a{
    text-decoration:none;
    text-align: center;
    color: white;
    display:block;
    width:95%;
    margin: 7% 0 3% 2%;
    }
    .foto>.containera>.sidee>.inside>a,.contacts>.containera>.sidee>.inside>a{
     margin: 25px auto;   
    }
    .centre img{
     width:30rem;
    }
     
    
    h1{
        font-size: 4.5rem;
        font-family: 'Abril Fatface', cursive; 
        color: #0c45ca;
        text-align:center;
    }
    .e>h2{
        position:relative;
        font-size: 4rem;
        font-family: 'Yeseva One', cursive;
        margin:1.6rem auto;
    }
    .b>a{
        font-size: 20px;
        margin-top: 40px;
    }
    .b>a:hover{
        background:rgba(33%, 33%, 33%, 0.5);;
        color: rgb(27, 53, 76);
    }
    .slides{
        margin-top:1.4rem;
    }
    .block1{
        height:100px;
        display: inline-block;
        margin-left: -475px;
        margin-bottom: 80px;
    }
    .block2{
      height:100px;
      display: inline-block;
      margin-left: 0px;
      margin-bottom: 80px;
  }
  .block3{
    height:100px;
    display: inline-block;
    margin-left: 5px;
    margin-bottom: 80px;
}
    .verh{
        perspective: 90000px;
        float: left;
        width: 300px;
        height:100px;
        margin: 1%;
        margin-top:-10rem;
        }
    .containera {
    perspective-origin: 50% 20%;
    width: 300px; 
    height: 100%;
    margin: 14rem auto 0;
    margin-left: 31.6rem;
    transform-style: preserve-3d;
    transition: all 1.5s;
    }
    .containera:hover{
      transform:rotateX(-90deg);
      transition: all 1.5s;
    }
    .b{
    background-size:300px 100px;
    }
    .e{
    background-size:300px 100px;
    }
    .inside { 
    position: absolute; 
    width: 300px; 
    height: 100px; 
    opacity: 0.8; 
    transform:translateX(-50%) translateY(-50%);
    top:50%;
    left:50%;
    }
    .sidee { 
    position: absolute; 
    width: 300px; 
    height: 100px; 
    border: 1px solid black;
    opacity: 1; 
     
    }
    .toper { 
      transform: translateY(-50%) rotateX(90deg);
      background-color:#ff7cfbd6;
      width: 300px;
      height: 100px;
     
    } 
    .fronter { 
      transform: translateZ(4.6em); 
      background-image: url(./images/77.jpg);
      -webkit-background-size: cover;
      background-size: cover; 
    }



header {
    height: 240px;
    background-color: rgb(173, 173, 173);
    background:linear-gradient(to top,rgb(173, 173, 173),rgb(102, 102, 102));
    background-repeat: no-repeat;
    background-size: cover;
    display: table;
    width: 100%;
  }
  
  header h1 {
    color: rgb(255, 255, 255);
    text-align: center;
    text-shadow: 2px 3px black;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0; 
    display: table-cell;
    vertical-align: middle;
  }
  h2, h3 {
    color: rgb(147, 42, 13);
    text-shadow: 2px 2px rgb(107, 107, 107);
    font-family: Arial, Helvetica, sans-serif;
    /* margin-left: 30px; */
    padding: 20px;
    display: table-cell;
    vertical-align: middle;
    text-align:center;
  }
  p{
    padding-left: 30px;
    padding-right: 30px;
    font-size: 17px;
    text-indent: 10px;
    text-align: justify;
  }
  p::first-letter {
    color: rgb(226, 20, 134);
  }
  li {
    padding-left: 30px;
    padding-right: 30px;
    font-size: 17px;
    text-indent: 10px;
    text-align: justify;
    list-style-type: none;
  }
  
  .r1 {
    padding-left: 22px;
    padding-right: 15px;
  }
body {
    background-color:rgb(255, 242, 0);
    
}

/* h2{
    font-size:25px;
    margin:40px 0 10px 0;
	
} */


  /* .menu{ 
    text-align:center; 
    font-size:18px; 
    padding: 20px 0 40px; 
    margin:10px 0;
    float:left;
    list-style:none; 
     font-family: Arial, Helvetica, Sans-serif;
    font-weight:bold;
   
  }
nav li{ 
    margin:10px;
    font-family: Arial, Helvetica, sans-serif;
    width: 150px;
    float:left;
    
    
  }
  
  nav li a{ 
    padding:20px;
    display:block;
    color: #e4ffb2;
    background:#637935; 
     text-decoration: none; 
     border-radius: 50px; 
  }
  
  nav li a:hover{ 
    color: rgb(251, 255, 176);
    background:#432d00;
    transition: all 1s;
  }
  nav,
  aside,
  main {
    display: inline-block;
    vertical-align: top;
    padding: 20px;
  }
  
  nav {
    width: 25%;
  }
  
  aside {
    width: 20%;
   float: right;
  } */
  
  
  main {
    width: 100%;
  }
  .container {
    width: 200px; 
    height: 200px;
    margin: 120px auto 0; 
    /* border: 3px dotted white;  */
    transform-style: preserve-3d;
    animation: rotate 10s infinite linear; 
    margin-bottom: 100px;
}
 /* @charset "UTF-8";  */
/* @keyframes rotateY {
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes rotateX {
  100% {
    transform: rotateX(360deg);
  }
  
}
@keyframes rotateZ {
  100% {
    transform: rotateZ(360deg);
  }
  
} */
@keyframes rotate {
    100% {
    transform: rotateY(360deg) rotateX(360deg);
    } 
}
/* #y:checked~.container {
    animation: rotateY 8s infinite linear;
  }
  
#x:checked~.container {
    animation: rotateX 8s infinite linear;
  }
#z:checked~.container {
    animation: rotateZ 8s infinite linear;
  } */
.side { 
    position: absolute; 
    width: 200px; 
    height: 200px; 
    border: 1px solid black;
    
}
.back {
    transform: translateZ(-100px);
    background-color: rgb(255, 0, 0);
    opacity: 0.8; 
    background-image: url(./images/66.jpg);
   background-size: cover;
} 
.left {
    transform: translateX(-100px) rotateY(90deg);
    background-color: rgb(31, 0, 232);
    opacity: 0.8; 
    background-image: url(./images/55.jpg);
   background-size: cover;
}
.right { 
    transform: translateX(100px) rotateY(90deg); 
    background-color: rgb(94, 255, 201);
    opacity: 0.8; 
    text-align: center;
    background-image: url(./images/44.jpg);
   background-size: cover;
} 
.top { 
    transform: translateY(-100px) rotateX(90deg);
    background-color: blueviolet;
    opacity: 0.8;
    background-image: url(./images/33.jpg);
   background-size: cover; 
} 
.bottom { 
    transform: translateY(100px) rotateX(90deg);
    background-color: rgb(255, 0, 119);
    opacity: 0.8; 
    background-image: url(./images/22.jpg);
   background-size: cover;
} 
.front { 
   transform: translateZ(100px); 
   background-color: rgb(94, 94, 94);
   background-image: url(./images/11.jpg);
   background-size: cover;
   opacity: 0.8; 
}
.aaa {
    color: black;
    font-family: 'Unbounded', cursive;
    font-size: 30px;
    opacity: 1;
    text-decoration: none;
    padding-top: 150px;
    margin: 50px;
    width: 200px;
} 
H1 {
  text-shadow:
    1px 1px white,
    2px 2px #777;
  color: #333;
  transition: all 1s;
  margin-left: 50px;
  font-size: 50px;
  margin-bottom: 5px;
  margin-top: 50px;
}

H1:hover {
  text-shadow:
    1px 1px white,
    2px 2px tomato;
  color: crimson;
}
.img {
  width: 170px;
  margin-left: 650px;
  margin-bottom: -130px;
  /* padding-top: -100px; */
}

  footer {
    height: 80px;
    background-color: rgb(84, 84, 84);
    display: table;
    width: 100%;
  }
  
  footer a {
    color: rgb(210, 255, 200);
    text-align: center;
    text-shadow: 2px 2px black;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    margin: auto;
    display: table-cell;
    vertical-align: middle;
  }


  
  
/* body { 
    perspective: 1000px;
    perspective-origin: center -50px;
    background-color: rgba(246, 255, 0, 0.453);
   
    } */
