.textcenter {
  text-align: center;
}
.fontsize{
  font-size: 20px;
}
.photosizesmall {
  height: 150px;
  position: fixed;
  z-index: +1;
}

a {
  margin: 0 20px
}

.uppermargin {
  margin: 80px 0;
}
.keypoints{
  color: #492F10;
  width: 30%;
  font-weight: bold;
}
.keypoints:hover{
  background-color: #284E78;
  color: #B5EAEA;
  transform: scale(1.5);
  border-radius: 30%;
  cursor: pointer;
  transition-duration: 1s;

}
#skills{
  text-align: center;
  border-radius: 10%;
  padding: 80px;
  margin: 30px 50px;
  background: linear-gradient(to top,
      #000 0%,
      #000 80%,
      #A2DBFA 80%)
}
.introduction {
  border-radius: 10%;
  padding: 80px;
  margin: 30px 50px;
  background: linear-gradient(to top,
      #A2DBFA 0%,
      #F9F9F9 100%)
}
.skillsec {
  padding: 40px;
}
#work {
    text-align: center;
  border-radius: 10%;
  padding: 80px;
  margin: 150px 50px;
  background: linear-gradient(to top,
      #5F939A 0%,
      #F9F9F9 100%)
}

.suggestion{
  color: #4C4C6D;
  font-weight: bold;
}
.suggestbutton{
  border-radius: 20%;
  background-color: #9B72AA;
}


.gifsize {
  width: 50%;
  height: 30%;
  display: inline-block;
  margin: 20px 0;
}
.projectimage{
  width: 80%;
  border-radius: 20%;
  margin-top: 20px;
}

.projectdetail{
  margin: 20px;
  color: #E43F5A;
}
.projectdetail:hover{
  opacity: 0.5;

}
.workglass{
  border-radius: 20%;
  background: linear-gradient(to top,
      #F9F9F9 0%,
      #0C4271 100%)

}
.navchanges {
  border-radius: 10%;
  padding: 20px;
  z-index: +2;
}

.intropara {
  border-radius: 40%;
  padding: 20px;
  background-color: #EE9595;
  margin: 40px;
}
.horizontalline{
  border: 2px solid;
  width: 500px;
  color: #F38BA0;

}
.introeffect {
  border-radius: 10%;
  margin: 40px;
  background-color: #fff;
  padding: 20px;
  background: linear-gradient(to top,
      #A2DBFA 0%,
      #F9F9F9 100%)
}

.introline {
  font-size: 30px;
  font-style: italic;
  font-weight: 200;
  padding: 50px;
}


.animationbox {
  margin-left: 40px;
  width: 50px;
  height: 50px;
  background-color: #9B72AA;
  border-radius: 60%;
  position: relative;
  animation-name: circle;
  animation-duration: 3s;
  animation-iteration-count: infinite;

}

@keyframes circle {
  0% {
    background-color: #161616;
    left: 0;
    top: 0;
  }

  25% {
    background-color: #161616;
    left: 70%;
    top: 0px;
  }

  50% {
    background-color: #630A10;
    left: 70%;
    top: 50%;
  }

  75% {
    background-color: #161616;
    left: 0;
    top: 50%;
  }

  100% {
    background-color: #630A10;
    left: 0;
    top: 0;
  }
}
.skillbundle{
  margin: 20px;
  font-size: 30px;
  font-style: oblique;

}

.copyright{
  font-size: 20px;
  font-style: oblique;
  font-weight: bold;
  text-align: center;
  margin: 30px;
  color: #4C4C6D;
}
.contacticon{
  height: 20px;
  width: 20px;
  display: inline;
  margin: 20px;
}
#contact {
  border-radius: 10%;
  padding: 100px 80px 5px 80px;
  margin: 150px 50px;
  background: linear-gradient(to top,
      #F2AAAA 0%,
      #F9F9F9 100%)
}



/* animation card */


.card {
  position: absolute;
  left: 50%;
  top: 20%;
  width: 180px;
  height: 200px;
  transform: translate(-50%, -50%);
  perspective: 1000px;
}

.cardcontent {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(-145px) rotateY(0);
  animation-name: carousel;
  animation-duration: 4s;
  animation-iteration-count: infinite;

}
.item {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 300px;
  opacity: 1;
  border-radius: 10px;
}

.item:nth-child(1) {
  transform: rotateY(72deg) translateZ(145px);
  background: url("pic1.jpg");
  background-size: 100% 100%;
}

.item:nth-child(2) {
  transform: rotateY(144deg) translateZ(145px);
  background: url("pic2.jpg");
    background-size:  100% 100%;
}

.item:nth-child(3) {
  transform: rotateY(216deg) translateZ(145px);
  background: url("pic3.jpg");
    background-size:  100% 100%;
}

.item:nth-child(4) {
  transform: rotateY(288deg) translateZ(145px);
  background: url("pic4.jpg");
    background-size:  100% 100%;
}

.item:nth-child(5) {
  transform: rotateY(360deg) translateZ(145px);
  background: url("pic5.jpg");
    background-size:  100% 100%;
}

@keyframes carousel {

  0%,
  16% {
    transform: translateZ(-145px) rotateY(0);
  }

  16%,
  32% {
    transform: translateZ(-145px) rotateY(-72deg);
  }

  32%,
  48% {
    transform: translateZ(-145px) rotateY(-144deg);
  }

  48%,
  64% {
    transform: translateZ(-145px) rotateY(-216deg);
  }

  64%,
  80% {
    transform: translateZ(-145px) rotateY(-288deg);
  }

  80%,
  100% {
    transform: translateZ(-145px) rotateY(-360deg);
  }
}
}
