body {
  position: relative;
  padding-top: 5em;
  height:100%;
  width:100%;
  scroll-behavior: smooth;
}

#slideshow {
  margin: auto;
  position: relative;
  width: auto;
  height: 750px;
}

#slideshow > div {
  position: absolute;
  top: 10px;
  bottom: 10px;
}

.triangle-down {
  float: left;
  margin-right:5%;
  width: 0px;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 40px solid #FFEB3B;
  z-index: -1;
}

/* Page-main */
#HOME{
 border-radius: 5px;
}
/* page-work */
.project-head{
  justify-content: center;
}
.page-work{
  background-color: #12D8FA;
  padding-top: 10px;
  padding-bottom: 20px;
  }

.card {
  align-items: center;
  justify-content: center;
  margin: 5px;
  padding: 5px 10px 10px;
  max-width: 500px;
  text-align: left;
  background: #fff;
  border-bottom: 4px solid #ccc;
  border-radius: 6px;
  transition: all .5s;
}

.card-deck{
  justify-content: center;
}

.card h2{
  text-align: center;
}

.card img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

ul{
  align-content: flex-end;
}
.card:hover {
  border-color: #ffbf80;
}

/* page-about */
.page-about {
padding-bottom: 2em;
}

#ABOUT{
  padding-top: 1em;
  background-color: #29b6f6;
}

.badges{
  height: 3em;
  padding: 5px 5px;
}

.techBadges{
  width: 100%;
  padding: 10px 20px;
  border-radius: 3px;
  background-color: #ECECEC;
  width: 480px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}
.techBadges:hover {
  background-color: #ECECE2;
}

/*SVG add color on hover*/
.githubC:hover {
  fill: #F14E32;
  }
.linkinC:hover {
  fill: #0077B5;
}
.treehouseC:hover{
  fill: #5FCF80;
}
.gmailC:hover{
  fill: #000;
}


@media only screen and (min-width: 540px){
/*For Non Mobile*/
  div p {
    max-width: 660px;
  }

  #headProfile{
    max-width: 300px;
    max-height: 400px;
  }

  .triangle-down {
    float: right;
    right:50%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 40px solid #F44336;
    z-index: -1;
  }

  .badges{
    padding: 0 2em;
  }

  /*Photo css*/

  #photos li {
    margin: 30px 0 0;
    vertical-align: middle;
  }
  #photos li:before {
    display: none;
  }
  #photos .image {
    display: block;
    min-height: 140px;
    background: #edeff0;
    text-align: center;
    height: 160px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
  }
  #photos .image:hover {
    background: #dfe3e4;
  }
  #photos .image:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
  }
  #photos img {
    max-width: 80%;
    max-height: 200px;
    vertical-align: middle;
    -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
  }
}