* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

/* social media */
.social{
  width: 100%;
  height: 7vh;
  background: linear-gradient(to left, rgb(135, 43, 43), gold);
}
.socialrap{
  width: 80%;
  margin: auto;
}
.name{
  position: absolute;
}
.name h1{
  font-weight: bolder;
  color: red;
  font-size: 28px;
}
.app{
  float: right;
}
.app ul li{
  display: inline;
}
.app ul li a{
  color: gold;
  font-size: 23px;
  padding-left: 10px;
}

/* navigation bar */
.navigation {
  background: linear-gradient(to left, gold, rgb(135, 43, 43));
  background-repeat: no-repeat;
  background-size: cover;
}

.brand {
  font-size: 30px !important;
  font-weight: bolder;
  color: red !important;
  text-shadow: 2px 2px gold;
}

.menu {
  color: gold !important;
  text-shadow: 2px 2px red;
}

/* Banner */
.ban {
  background-image: url(./2.jpg);
  background-size: cover;
  width: 100%;
  height: 100vh;
}

.banrap {
  width: 100%;
  height: 100vh;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.banrap1 {
  padding-top: 180px;
  margin-left: 100px;
}

.wrapper {
  height: 100vh;
  /*This part is important for centering*/
  display: grid;
  place-items: center;
}

.typing-demo {
  width: 79%;
  animation: typing 2s steps(22), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  font-family: monospace;
  font-size: 25px;
  color: gold;
  text-shadow: 2px 2px red;
}

@keyframes typing {
  from {
    width: 0
  }
}

@keyframes blink {
  50% {
    border-color: transparent
  }
}

/* middle */
.mid {
  width: 100%;
  height: 96vh;
  background: linear-gradient(to top, orange, yellow);
}

.midrap {
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: auto;
}

.container {
  position: relative;
  width: 1160px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  transform-style: preserve-3d;
  perspective: 500px;
  margin: auto;
}

.container .box {
  position: relative;
  width: 275px;
  height: 275px;
  background: #000;
  transition: 0.5s;
  transform-style: preserve-3d;
  overflow: hidden;
  margin-right: 15px;
  margin-top: 45px;
}

.container:hover .box {
  transform: rotateY(25deg);
}

.container .box:hover~.box {
  transform: rotateY(-25deg);
}

.container .box:hover {
  transform: rotateY(0deg) scale(1.25);
  z-index: 1;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
}

.container .box .imgBx {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.container .box .imgBx:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f00, #000);
  z-index: 1;
  opacity: 0;
  transition: 0.5s;
  mix-blend-mode: multiply;
}

.container .box:hover .imgBx:before {
  opacity: 1;
}

.container .box .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container .box .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  padding: 20px;
  align-items: flex-end;
  box-sizing: border-box;
}

.container .box .content p {
  color: #fff;
  transition: 0.5s;
  font-size: 14px;
  transform: translateY(200px);
  transition-delay: 0.4s;
}

.container .box:hover .content p {
  transform: translateY(0px);
}

/* footer */
.footer {
  width: 100%;
  height: 46vh;
  background: linear-gradient(to top, rgb(221, 58, 58), orange);
}

.footrap {
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-column-gap: 80px;
}

.footrap {
  color: white;
  text-align: left;
  padding-top: 6vh;
}

.box10 img {
  height: 38vh;
  width: 80%;
  padding-top: 2px;
}

.box11 h1 {
  color: black;
  font-size: 25px;
}

.box11 a {
  color: black;
  font-size: 25px;
  font-family: cursive;
}

.box12 h1 {
  color: black;
  font-size: 25px;
}

.box12 p {
  color: black;
  font-size: 18px;
  font-family: cursive;
}