* {
  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(./1.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, rgb(197, 50, 50), yellow);
}

.midrap {
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: auto;
  grid-column-gap: 50px;
}

/*==================
    Base Styles
===================*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

input[type="radio"] {
  display: none;
}

.container {
  background: linear-gradient(to top, rgb(197, 50, 50));
  position: relative;
  height: 96vh;
  width: 100%;
  padding: 2em;
}

.slide-wrapper {
  position: relative;
  margin: 0 auto;
  padding: 3em;
  width: 40%;
  height: 80%;
  border-radius: 20px;
  box-shadow: 2px 2px 2px 2px goldenrod;
  overflow: hidden;
}

/*==================
  Slides
===================*/

#slide-role {
  background: inherit;
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  height: 100%;
  z-index: 100;
  transition: left .5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  /* flex */
  display: flex;
}

.slide {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* backgrounds */

.slide-1 {
  background-image: url("./11.jpg");
}

.slide-2 {
  background-image: url("./12.jpg");
}

.slide-3 {
  background-image: url("./13.jpg");
}

.slide-4 {
  background-image: url("./14.jpg");
}

/*===================
  BUTTONS
====================*/

.btn,
.btn::after {
  border-radius: 50%;
  transition: all .5s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.btn {
  border: 1px solid rgba(233, 219, 33, 0.816);
  background: linear-gradient(to top, red, yellow);
  box-shadow: 0px 2px 2px rgba(226, 213, 40, 0.822);
  position: absolute;
  bottom: 12%;
  width: 30px;
  height: 20px;
  cursor: pointer;
  transform: scale(1.1);
  z-index: 1000;
}

.btn:nth-of-type(1) {
  left: 38%;
}

.btn:nth-of-type(2) {
  left: 45%;
}

.btn:nth-of-type(3) {
  left: 52%;
}

.btn:nth-of-type(4) {
  left: 59%;
}

.btn:hover {
  transform: scale(1.4);
}

/* buttons Atom! */

.btn::after {
  content: "";
  display: inline-block;
  border: 1px solid gold;
  background: rgb(225, 13, 13);
  width: 20px;
  height: 20px;
  margin: 3px 3px;
  transform: scale(.5, .5);
  box-shadow: 1px 1px 1px rgba(201, 14, 14, 0.915);
}

/*====================
      L O G I C 
===================*/

/* slide logic */

input[type="radio"]:checked#slide-2-trigger~div.slide-wrapper>div#slide-role {
  left: -100%;
}

input[type="radio"]:checked#slide-3-trigger~div.slide-wrapper>div#slide-role {
  left: -200%;
}

input[type="radio"]:checked#slide-4-trigger~div.slide-wrapper>div#slide-role {
  left: -300%;
}

/* button logic */

input[type="radio"]:checked+label.btn {
  transform: scale(1.2);
  border: 1px solid rgba(53, 53, 53, 0.308);
}

input[type="radio"]:checked+label.btn::after {
  transform: scale(1.1, 1.1);
  background: rgb(200, 200, 9);
}

/*=====================================================================================
              MEDIA QUERIES
=======================================================================================*/

@media only screen and (max-width: 750px) {
  .slide-wrapper {
    width: 90%;
    height: 100%;
  }

  .btn:nth-of-type(1) {
    left: 93%;
    bottom: 60%;
  }

  .btn:nth-of-type(2) {
    left: 93%;
    bottom: 50%;
  }

  .btn:nth-of-type(3) {
    left: 93%;
    bottom: 40%;
  }

  .btn:nth-of-type(4) {
    left: 93%;
    bottom: 30%;
  }
}

@media only screen and (max-width: 450px) {
  .btn:nth-of-type(1) {
    left: 91%;
  }

  .btn:nth-of-type(2) {
    left: 91%;
  }

  .btn:nth-of-type(3) {
    left: 91%;
  }

  .btn:nth-of-type(4) {
    left: 91%;
  }
}

/* middle */
.mid1 {
  width: 100%;
  height: 60vh;
  background: linear-gradient(to top, yellow, rgb(197, 50, 50));
}

.midrap1 {
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: auto;
}

/* Box ------------------------------------------------------ */

#box {
  padding: 30px;
  font-size: 40px;
  font-weight: bold;
}


/* txt ------------------------------------------------------ */

.txt {
  color: hsla(0, 0%, 0%, 0);
  text-shadow: #fff 0 0 10px;
  transition: text-shadow 1s cubic-bezier(0, 1, 0, 1);
  font-size: 30px;
}

@-moz-document url-prefix() {
  .txt {
    text-shadow: #fff 0 0 20px;
  }
}

/* FF fix */

#box:hover .txt {
  text-shadow: #fff 0 0 2px;
  transition: text-shadow 1s cubic-bezier(0, 0.75, 0, 1);
}


/* ♥ ------------------------------------------------------ */

.♥ {
  margin: 0 10px;
  color: hsla(0, 0%, 0%, 0);
  text-shadow: red 0 0 5px;
  transition: text-shadow 1s cubic-bezier(0, 1, 0, 1);
}

#box:hover .♥ {
  text-shadow: red 0 0 100px;
  transition: text-shadow 2s cubic-bezier(0, 0.75, 0, 1);
}

@-moz-document url-prefix() {
  #box:hover .♥ {
    text-shadow: red 0 0 20px;
  }
}

/* FF fix */

/* middle */
.mid2 {
  width: 100%;
  height: 60vh;
  background: linear-gradient(to top, orange, yellow);
}

.midrap2 {
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: auto;
}

.container1 {
  position: relative;
  width: 1160px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  transform-style: preserve-3d;
  perspective: 500px;
  margin: auto;
}

.container1 .box2 {
  position: relative;
  width: 275px;
  height: 275px;
  background: #000;
  transition: 0.5s;
  transform-style: preserve-3d;
  overflow: hidden;
  margin-right: 15px;
  margin-top: 45px;
}

.container1:hover .box2 {
  transform: rotateY(25deg);
}

.container1 .box:hover~.box2 {
  transform: rotateY(-25deg);
}

.container1 .box2:hover {
  transform: rotateY(0deg) scale(1.25);
  z-index: 1;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
}

.container1 .box2 .imgBx {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.container1 .box2 .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;
}

.container1 .box2:hover .imgBx:before {
  opacity: 1;
}

.container1 .box2 .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container1 .box2 .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;
}

.container1 .box2 .content p {
  color: #fff;
  transition: 0.5s;
  font-size: 14px;
  transform: translateY(200px);
  transition-delay: 0.4s;
}

.container1 .box2: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;
}