
.index-post {
  width: 1124px; 
  height:500px;
  transition: all 1.5s;
  margin: auto;

}

.module {
  height: 80vh;
  position: relative;
}

.module > header {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 10px;
  background: inherit;
  background-attachment: fixed;
  overflow: hidden;
}

.module > header::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 200%;
  height: 200%;
  background: inherit;
  background-attachment: fixed;
  -webkit-filter: blur(4px);
  filter: blur(4px);
}

.module > header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25)
}

.module > header > h1 {
  margin: 0;
  color: white;
  position: relative;
  z-index: 1;
  text-align: center;
}



.marg{
  margin-bottom: 30px;
  color:white;
  background-color: #262791;

}

.contener:hover {
  transform: translateY(-6px);
  box-shadow: 0 11px 14px rgb(0 0 0 / 25%), 0 8px 20px rgb(0 0 0 / 10%);
}

.contener {
  float: left;
  margin: 20px;
  align-items: center;
  position: relative;
  overflow: auto;
  width: 240px;
  height: 420px;
  background: #fff; /* User's review background div*/
  border-radius: 5px;
  box-shadow: 0 0 3px 0 #00000073;
  transition: all 0.3s;

}

.image-contener {
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.image-contener img {
  width: 100%;
}

.meta-contener {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 110px;
  padding: 10px 20px;
}

.meta-contener .title {
  padding: 0;
  margin: 10px 0;
  font-size: 22px;
  color: red; /* user's name text color*/
}

.meta-contener .desc {
  font-size: 13px;
  text-align: center;
  color: #373737; /* user's review text color*/
}


@media screen and (max-width:1124px){
  .index-post{
    width: 562px; height: 928px;
  }
}
@media screen and (max-width:562px){
  .index-post{
      width: 281px; height: 1496px;
  }
}

.dis{
  text-align: center;
  margin-top: 20px;
  margin-left:20px;
  margin-right:20px;

}

.container {
  flex: 0 1 700px;
  margin: auto;
  padding: 10px;
}

contact-us{
  width: 250px;
  padding: 50px;
  margin: 100px auto;
  border-radius: 30px;
  position: relative;
}

.title h1{
  color: black; /* contact us title text color*/
  letter-spacing: 5px;
  margin-bottom: 25px;
  text-align: center;
}

.form,
.form-items{
  width: 100%;
}

.form-items .input{
  width: 100%;
  margin-bottom: 12px;
  padding: 15px 40px;
  box-sizing: border-box;
  background: #ebeef1; /* contact us background color*/
  border: 0px;
  outline: none;
  border-radius: 30px;
}

.form-items .input.message{
  height: 125px;
  border-radius: 15px;
  margin-bottom: 30px;
  padding: 15px 15px;
  resize: none;
}

.but{
  position: relative;
  z-index: 1;
  margin-top: 20px;
 background-color: #262791;
  color: white;

}


.form-items{
  position: relative;
}

.form-items .fas{
  position: absolute;
  top: 15px;
  left: 15px;
  color: #9a99aa;
}

.nkar{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 600px;

}

.box{
  position: relative;
  height: 400px;
  width: 300px;
  transform-style: preserve-3d;
  animation: animate 20s linear infinite;
  justify-content: center;
  display: flex;
  align-items: center;
  margin-left: 38%;
  margin-top: 30px;
  margin-bottom: 30px;
  position: 0;
  box-sizing: border-box;

}
@keyframes animate{
  0%{
    transform: rotateY(0deg);
  }
  0%{
    transform: rotateY(360deg);
  }
}

.box div{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  transform-origin: center;
  transform:rotateY(calc(var(--v) * 70deg)) translateZ(400px);
}

.box div img{
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;

}



nav {
  background-color: #262791;
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  top: 0;
  font-family: 'Montserrat', 'sans-serif';
  height: 80px;
  padding: 0 5%;

}
nav .logo { 
  float: left;
  height: 100%;
  margin-left:18%;
  margin-right:8%;
  text-align:center;
  display: flex;
  align-items: center;
  font-size: 24px;
  color: #fff;
}
nav .links1 {
  float: left;
  padding: 0;
  margin: 0;
  width: 15%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
    white-space: nowrap ;

}
nav .links1 li {
  list-style: none;
}
nav .links1 a {
  display: block;
  padding: 1em;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  position: relative;
}
nav .links1 a:hover {
  color: white;
}
nav .links1 a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: white;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
  
}
nav .links1 a:hover::before {
  visibility: visible;
  transform: scaleX(1);
  color: white;
}

nav .links2 {
  float: right;
  padding: 0;
  margin: 0;
  width: 20%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
    white-space: nowrap ;

}
nav .links2 li {
  list-style: none;
}
nav .links2 a {
  display: block;
  padding: 1em;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  position: relative;
}
nav .links2 a:hover {
  color: white;
}
nav .links2 a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: white;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
  
}
nav .links2 a:hover::before {
  visibility: visible;
  transform: scaleX(1);
  color: white;
}


@media screen and (max-width: 1096px) {
    nav .logo {
        float: none;
        width: auto;
        justify-content: center;
    }
    nav .links1 {
        float: none;
        position: fixed;
        z-index: 9;
        left: 0;
        right: 0;
        top: 100px;
        bottom: 100%;
        width: auto;
        height: auto;
        flex-direction: column;
        justify-content: space-evenly;
        background-color: rgba(0, 0, 0, .8);
        overflow: hidden;
        transition: all .5s ease-in-out;
    }
    nav .links1 a {
        font-size: 20px;
    }
   nav .links2 {
        float: none;
        position: fixed;
        z-index: 9;
        left: 0;
        right: 0;
        top: 100px;
        bottom: 100%;
        width: auto;
        height: auto;
        flex-direction: column;
        justify-content: space-evenly;
        background-color: rgba(0, 0, 0, .8);
        overflow: hidden;
        transition: all .5s ease-in-out;
    }
    nav .links2 a {
        font-size: 20px;
    }
}
  