/* general */
.container-fluid {
  padding: 0;
}
.row {
  margin: 0;
}

.titlerow {
  margin: 0;
  padding-top: 3rem;
}

.sectiontitle-colorbg {
  color: white;
  font-size: 2rem;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Patrick Hand SC', cursive;
  margin-top: 10px;
  padding-bottom: 10px;
}

.sectiontitle-whitebg{
  color: #44211b;
  font-size: 2rem;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Patrick Hand SC', cursive;
  margin-top: 20px;
  padding: 0;
}
/* navigation Bar */
.nav-link {
  color: white;
  font-family: 'Patrick Hand SC', cursive;
  font-size: 22px;
}

.nav-link:hover {
  background: #ddd;
  color: black;
}

.nav-item {
  padding: 0 10px 0 10px;
}

.navbar {
  height: 4rem;
  background-color: #2c7373;
}

.collapse {
  background-color: #2c7373;
}
.navbar-myicon{
  width: 30px;
  height: 30px;
  margin-left: 20px;
}
/* Home */
.section1 {
  margin-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 2rem;
  padding-top: 1rem;
}

.home-image {
  width: 100%;
  height: 100%;
  margin-top: 1rem;
}

.mainname {
  color: #ff5c4d;
  margin: 1rem auto 3rem auto;
  /* font-family: 'Sacramento', cursive; */
font-family: 'Lobster', sans-serif;
  /* font-weight: bold; */
  /* font-size: 5rem; */
  font-size: 4rem;
}

.hello {
  color: #5d3327;
  margin: 8rem auto 2rem auto;
  /* font-family: 'Sacramento', cursive; */
  font-family: 'Lobster', sans-serif;
  font-size: 2.5rem;
  /* font-weight: bold; */
}

.rotating-txt{
  color: #5d3327;
  /* font-family: 'Lobster', sans-serif; */
  font-family: 'Patrick Hand SC', cursive;
  font-size: 2rem;
  font-weight: bold;
  font-stretch: semi-expanded;
  margin-left: auto;
}
.titletext{
  text-align: center;
}
.home-contact-btn{
  margin-top: 5rem;
  /* margin-left: auto; */
}
a.btnfos{
text-decoration: none;
color: black;
}
.btnfos {
  /* color: #2c7373; */
color: #ffeceb;
  cursor: pointer;
  display: block;
  font-size: 16px;

  font-weight: bold;
  line-height: 45px;
  max-width: 160px;
  margin: 0 auto 0 auto;
  position: relative;
  text-transform: uppercase;
  vertical-align: middle;
  text-align: center;
  width: 100%;
}
.btnfos-5 {
  border: 0 solid;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
  outline: 1px solid;
  outline-color: rgba(255, 255, 255, 0);
  outline-offset: 0px;
  text-shadow: none;
  -webkit-transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
          transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
  outline-color: rgba(255, 255, 255, 0.5);
  outline-offset: 0px;
  /* background-color: #95C5C5; */
  background-color:#ffcfcc;

}

.btnfos-5:hover {
  border: 1px solid;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
  outline-offset: 15px;
  outline-color: rgba(255, 255, 255, 0);
  text-shadow: 1px 1px 2px #427388;
  background-color:#fff;
}
/* about me */
#about {
  background-color: #389393;
  padding-bottom: 3rem;
}
.mydetails{
  margin-bottom: 20px;
}
.aboutme-photo {
  height: 15rem;
  width: 15rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-top: 0;
  margin-bottom: 30px;
}
.section2{
  font-family: 'Source Sans Pro', sans-serif;
  color: white;
  font-size: 1rem;
}
.aboutme-text {
  text-align: left;
  margin: 0 2rem 0 1rem;
  line-height: 2;
}

.section2col {
  padding-top: 0px;
  align-items: center;
  text-align: center;
}

/* education */
.main-timeline {
  position: relative
}

.main-timeline:before {
  content: "";
  width: 5px;
  height: 100%;
  border-radius: 20px;
  margin: 0 auto;
  background: #242922;
  position: absolute;
  top: 0;
  left: 0;
  right: 0
}

.main-timeline .timeline {
  display: inline-block;
  margin-bottom: 50px;
  position: relative
}

.main-timeline .timeline:before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #ff5c4d;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%)
}

.main-timeline .timeline-icon {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #ff5c4d;
  padding: 13px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translateY(-50%)
}

.main-timeline .timeline-icon i {
  display: block;
  border-radius: 50%;
  background: #ff5c4d;
  font-size: 50px;
  color: #fff;
  line-height: 100px;
  z-index: 1;
  position: relative
}

.main-timeline .timeline-icon:after, .main-timeline .timeline-icon:before {
  content: "";
  width: 100px;
  height: 4px;
  background: #ff5c4d;
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%)
}

.main-timeline .timeline-icon:after {
  width: 70px;
  height: 50px;
  background: #fff;
  top: 89px;
  right: -30px
}

.main-timeline .timeline-content {
  width: 50%;
  padding: 0 50px;
  margin: 52px 0 0;
  float: right;
  position: relative
}

.main-timeline .timeline-content:before {
  content: "";
  width: 70%;
  height: 100%;
  border: 3px solid #ff5c4d;
  border-top: none;
  border-right: none;
  position: absolute;
  bottom: -13px;
  left: 35px
}

.main-timeline .timeline-content:after {
  content: "";
  width: 37px;
  height: 3px;
  background: #ff5c4d;
  position: absolute;
  top: 13px;
  left: 0
}

.main-timeline .title {
  font-size: 15px;
  font-weight: 600;
  color: #ff5c4d;
  text-transform: uppercase;
  margin: 0 0 5px
}

.main-timeline .description {
  display: inline-block;
  font-size: 18px;
  color: #404040;
  line-height: 20px;
  letter-spacing: 1px;
  margin: 0;
}

.main-timeline .timeline:nth-child(even) .timeline-icon {
  left: auto;
  right: 30%;
}

.main-timeline .timeline:nth-child(even) .timeline-icon:before {
  right: auto;
  left: -100px;
}

.main-timeline .timeline:nth-child(even) .timeline-icon:after {
  right: auto;
  left: -30px;
}

.main-timeline .timeline:nth-child(even) .timeline-content {
  float: left;
}

.main-timeline .timeline:nth-child(even) .timeline-content:before {
  left: auto;
  right: 35px;
  transform: rotateY(180deg);
}

.main-timeline .timeline:nth-child(even) .timeline-content:after {
  left: auto;
  right: 0;
}

.main-timeline .timeline:nth-child(2n) .timeline-content:after, .main-timeline .timeline:nth-child(2n) .timeline-icon i, .main-timeline .timeline:nth-child(2n) .timeline-icon:before, .main-timeline .timeline:nth-child(2n):before {
  background: #ff5c4d;
}

.main-timeline .timeline:nth-child(2n) .timeline-icon {
  border-color: #ff5c4d;
}

.main-timeline .timeline:nth-child(2n) .title {
  color: #ff5c4d;
}

.main-timeline .timeline:nth-child(2n) .timeline-content:before {
  border-left-color: #ff5c4d;
  border-bottom-color: #ff5c4d;
}

.main-timeline .timeline:nth-child(3n) .timeline-content:after, .main-timeline .timeline:nth-child(3n) .timeline-icon i, .main-timeline .timeline:nth-child(3n) .timeline-icon:before, .main-timeline .timeline:nth-child(3n):before {
  background: #8fb800
}

.main-timeline .timeline:nth-child(3n) .timeline-icon {
  border-color: #8fb800
}

.main-timeline .timeline:nth-child(3n) .title {
  color: #8fb800
}

.main-timeline .timeline:nth-child(3n) .timeline-content:before {
  border-left-color: #8fb800;
  border-bottom-color: #8fb800
}

.main-timeline .timeline:nth-child(4n) .timeline-content:after, .main-timeline .timeline:nth-child(4n) .timeline-icon i, .main-timeline .timeline:nth-child(4n) .timeline-icon:before, .main-timeline .timeline:nth-child(4n):before {
  background: #ffc448;
}

.main-timeline .timeline:nth-child(4n) .timeline-icon {
  border-color: #ffc448;
}

.main-timeline .timeline:nth-child(4n) .title {
  color:#ffc448;
}

.main-timeline .timeline:nth-child(4n) .timeline-content:before {
  border-left-color: #ffc448;
  border-bottom-color: #ffc448;
}

@media only screen and (max-width:1200px) {
  .main-timeline .timeline-icon:before {
    width: 50px;
    right: -50px
  }

  .main-timeline .timeline:nth-child(even) .timeline-icon:before {
    right: auto;
    left: -50px
  }

  .main-timeline .timeline-content {
    margin-top: 75px
  }
}

@media only screen and (max-width:990px) {
  .main-timeline .timeline {
    margin: 0 0 10px
  }

  .main-timeline .timeline-icon {
    left: 25%
  }

  .main-timeline .timeline:nth-child(even) .timeline-icon {
    right: 25%
  }

  .main-timeline .timeline-content {
    margin-top: 115px
  }
}

@media only screen and (max-width:767px) {
  .main-timeline {
    padding-top: 50px
  }

  .main-timeline:before {
    left: 80px;
    right: 0;
    margin: 0
  }

  .main-timeline .timeline {
    margin-bottom: 70px
  }

  .main-timeline .timeline:before {
    top: 0;
    left: 83px;
    right: 0;
    margin: 0
  }

  .main-timeline .timeline-icon {
    width: 60px;
    height: 60px;
    line-height: 40px;
    padding: 5px;
    top: 0;
    left: 0
  }

  .main-timeline .timeline:nth-child(even) .timeline-icon {
    left: 0;
    right: auto
  }

  .main-timeline .timeline-icon:before, .main-timeline .timeline:nth-child(even) .timeline-icon:before {
    width: 25px;
    left: auto;
    right: -25px
  }

  .main-timeline .timeline-icon:after, .main-timeline .timeline:nth-child(even) .timeline-icon:after {
    width: 25px;
    height: 30px;
    top: 44px;
    left: auto;
    right: -5px
  }

  .main-timeline .timeline-icon i {
    font-size: 30px;
    line-height: 45px
  }

  .main-timeline .timeline-content, .main-timeline .timeline:nth-child(even) .timeline-content {
    width: 100%;
    margin-top: -15px;
    padding-left: 130px;
    padding-right: 5px
  }

  .main-timeline .timeline:nth-child(even) .timeline-content {
    float: right
  }

  .main-timeline .timeline-content:before, .main-timeline .timeline:nth-child(even) .timeline-content:before {
    width: 50%;
    left: 120px
  }

  .main-timeline .timeline:nth-child(even) .timeline-content:before {
    right: auto;
    transform: rotateY(0)
  }

  .main-timeline .timeline-content:after, .main-timeline .timeline:nth-child(even) .timeline-content:after {
    left: 85px
  }
}

@media only screen and (max-width:479px) {
  .main-timeline .timeline-content, .main-timeline .timeline:nth-child(2n) .timeline-content {
    padding-left: 110px
  }

  .main-timeline .timeline-content:before, .main-timeline .timeline:nth-child(2n) .timeline-content:before {
    left: 99px
  }

  .main-timeline .timeline-content:after, .main-timeline .timeline:nth-child(2n) .timeline-content:after {
    left: 65px
  }
}

/******************* Timeline Demo - 4 *****************/
.main-timeline4 {
  overflow: hidden;
  position: relative
}

.main-timeline4:before {
  content: "";
  width: 5px;
  height: 70%;
  background: #333;
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%)
}

.main-timeline4 .timeline-content:before, .main-timeline4 .timeline:before {
  top: 50%;
  transform: translateY(-50%);
  content: ""
}

.main-timeline4 .timeline {
  width: 50%;
  padding-left: 100px;
  float: right;
  position: relative
}

.main-timeline4 .timeline:before {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid #333;
  position: absolute;
  left: -10px
}

.main-timeline4 .timeline-content {
  display: block;
  padding-left: 120px;
  position: relative
}

.main-timeline4 .timeline-content:before {
  width: 90px;
  height: 10px;
  border-top: 7px dotted #333;
  position: absolute;
  left: -92px
}

.main-timeline4 .year {
  display: inline-block;
  width: 80px;
  height: 80px;
  line-height: 100px;
  border-radius: 50%;
  border: 10px solid #ff5c4d;
  font-size: 20px;
  color: #ff5c4d;
  text-align: center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, .4);
  position: absolute;
  top: 0;
  left: 0
}
.year-text{
  position: absolute;
  top:-15px;
  left: 7px;
}
.main-timeline4 .year:before {
  content: "";
  border-left: 20px solid #ff5c4d;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  position: absolute;
  bottom: -13px;
  right: 0;
  transform: rotate(45deg)
}

.main-timeline4 .inner-content {
  padding: 20px 0
}

.main-timeline4 .title {
  font-size: 18px;
  font-weight: 600;
  color: #ff5c4d;
  text-transform: uppercase;
  margin: 0 0 5px
}

.main-timeline4 .description {
  font-size: 14px;
  color: #6f6f6f;
  margin: 0 0 5px
}

.main-timeline4 .timeline:nth-child(2n) {
  padding: 0 100px 0 0
}

.main-timeline4 .timeline:nth-child(2n) .timeline-content:before, .main-timeline4 .timeline:nth-child(2n) .year, .main-timeline4 .timeline:nth-child(2n):before {
  left: auto;
  right: -10px
}

.main-timeline4 .timeline:nth-child(2n) .timeline-content {
  padding: 0 100px 0 30px
}

.main-timeline4 .timeline:nth-child(2n) .timeline-content:before {
  right: -92px
}

.main-timeline4 .timeline:nth-child(2n) .year {
  right: 0
}

.main-timeline4 .timeline:nth-child(2n) .year:before {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 20px solid #ff5c4d;
  transform: rotate(-45deg)
}

.main-timeline4 .timeline:nth-child(2) {
  margin-top: 110px
}

.main-timeline4 .timeline:nth-child(odd) {
  margin: -110px 0 0
}

.main-timeline4 .timeline:nth-child(even) {
  margin-bottom: 80px
}

.main-timeline4 .timeline:first-child, .main-timeline4 .timeline:last-child:nth-child(even) {
  margin: 0
}

.main-timeline4 .timeline:nth-child(2n) .year {
  border-color: #ffc448;
  color: #ffc448;
}

.main-timeline4 .timeline:nth-child(2) .year:before {
  border-right-color: #ffc448;
}

.main-timeline4 .timeline:nth-child(2n) .title {
  color: #ffc448;
}

.main-timeline4 .timeline:nth-child(3n) .year {
  border-color: #7cba01;
  color: #7cba01
}

.main-timeline4 .timeline:nth-child(3) .year:before {
  border-left-color: #7cba01
}

.main-timeline4 .timeline:nth-child(3n) .title {
  color: #7cba01
}

.main-timeline4 .timeline:nth-child(4n) .year {
  border-color: #ff5c4d;
  color: #ff5c4d;
}

.main-timeline4 .timeline:nth-child(4) .year:before {
  border-right-color: #f8781f
}

.main-timeline4 .timeline:nth-child(4n) .title {
  color: #f8781f
}

@media only screen and (max-width:1200px) {
  .main-timeline4 .year {
    top: 50%;
    transform: translateY(-50%)
  }
}

@media only screen and (max-width:990px) {
  .main-timeline4 .timeline {
    padding-left: 75px
  }

  .main-timeline4 .timeline:nth-child(2n) {
    padding: 0 75px 0 0
  }

  .main-timeline4 .timeline-content {
    padding-left: 130px
  }

  .main-timeline4 .timeline:nth-child(2n) .timeline-content {
    padding: 0 130px 0 0
  }

  .main-timeline4 .timeline-content:before {
    width: 68px;
    left: -68px
  }

  .main-timeline4 .timeline:nth-child(2n) .timeline-content:before {
    right: -68px
  }
}

@media only screen and (max-width:767px) {
  .main-timeline4 {
    overflow: visible
  }

  .main-timeline4:before {
    height: 100%;
    top: 0;
    left: 0;
    transform: translateX(0)
  }

  .main-timeline4 .timeline:before, .main-timeline4 .timeline:nth-child(2n):before {
    top: 60px;
    left: -9px;
    transform: translateX(0)
  }

  .main-timeline4 .timeline, .main-timeline4 .timeline:nth-child(even), .main-timeline4 .timeline:nth-child(odd) {
    width: 100%;
    float: none;
    text-align: center;
    padding: 0;
    margin: 0 0 10px
  }

  .main-timeline4 .timeline-content, .main-timeline4 .timeline:nth-child(2n) .timeline-content {
    padding: 0
  }

  .main-timeline4 .timeline-content:before, .main-timeline4 .timeline:nth-child(2n) .timeline-content:before {
    display: none
  }

  .main-timeline4 .timeline:nth-child(2n) .year, .main-timeline4 .year {
    position: relative;
    transform: translateY(0)
  }

  .main-timeline4 .timeline:nth-child(2n) .year:before, .main-timeline4 .year:before {
    border: none;
    border-right: 20px solid #f54957;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    top: 50%;
    left: -23px;
    bottom: auto;
    right: auto;
    transform: rotate(0)
  }

  .main-timeline4 .timeline:nth-child(2n) .year:before {
    border-right-color: #ffc448;
  }

  .main-timeline4 .timeline:nth-child(3n) .year:before {
    border-right-color: #7cba01
  }

  .main-timeline4 .timeline:nth-child(4n) .year:before {
    border-right-color: #f8781f
  }

  .main-timeline4 .inner-content {
    padding: 10px
  }
}

#education {
  padding: 0 30px 30px 30px;
}
/* skills */
#skills{
  background-color: #9abe54;
  padding-bottom: 3rem;
}
.skills-row{
  margin-bottom: 1rem;
  /* padding: 20px; */
  align-items: center;
  align-content: center;
}
.skills-list{
  float: left;
  list-style-type: none;
  margin: 20px auto 20px auto;
  padding: 0;
  overflow: hidden;
}
.skills-list .list--item{
color: #fff;
display: inline;
background-color: #9abe54;
font-family: 'Source Sans Pro', sans-serif;
font-size: 1.2rem;
font-weight: bold;
margin-left: 20px;
margin-right: 20px;
}
}
.skills-li-icon{
  height: 3rem;
  width: 50px;
  margin: 0;
  padding-top: 10px;
}
.list-item-text{
  /* padding: 10px; */
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
}
.list-item-text:hover{
  color: black;

  /* transform: scale(2); */
}
/* experiences */
#experiences{
  padding-bottom: 2rem;
}
.exp-img{
  height: 15rem;
  width: 100%;
}



/* projects */

#projects{
  padding-bottom: 3rem;
  background-color:#f8c8a0;
}
.project-col{
  align-content: center;
  padding: 20px 20px 20px 20px;
  font-family: 'Source Sans Pro', sans-serif;

}
.card-img-top{
  background-color: white;
  height: 200px;

}
.card-body{
  text-align: center;
}
.card-text{
color: white;
}
.project_title{
  color: #660700;
}
.card{
  width: 18rem;
margin: 0 auto;
  float:none;
background-color:#f5a25d;
}
.card__overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  visibility: none;
  transition: .5s ease;
  /* background-color: rgba(57, 56, 57, 0.8); */
background-color: rgba(252, 246, 242, 0.8);
}

.card:hover .card__overlay {
  opacity: 1;
}

.overlay__text {
  color: black;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
.project_btn{
  height: 50px;
  width: 50px;
}

.card:hover{

  border: 3px solid;
}
/* hobbies */

#hobbies{
  padding-bottom: 2rem;
}
.hobbies-row{
  padding-left: 50px;
  padding-right: 50px;
  align-content: center;
  text-align: center;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: bold;
}
.hobby-img{
  height: 100%;
  width: 80%;
  margin-bottom: 2rem;
}
.instabtn{
background-color: #ffcfcc;
height: 30px;
padding: 5px;
border: 1px solid;

}
.instabutton{

display: flex;
justify-content: center;
margin-bottom: 20px;

}
a.instabtn{
text-decoration: none;
color: black;
}
.instabtn:hover{
  border: 3px solid;
}

/* footer */

#contact{
  background-color: #389393;
  padding-bottom: 3rem;
}
.footer{
  height: 250px;
}
.contacticon{
  height: 40px;
  width: 40px;
  margin-right: 30px;

}
.contacticon:hover{
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}
.contactlink{
    margin-right: 20px;
    margin-left: 20px;
}
.allcontacticons{
  display: flex;
  justify-content: center;
  padding-left: 20px;
}
.contact-text{
  color:white;
  text-align:center;
  font-family: 'Source Sans Pro', sans-serif;
  font-size:1rem;
  margin-bottom: 2rem;
}
.copyright-text{

  color: white;
  font-size: 0.75rem;
  text-align: center;
margin: 30px 0 20px 0;
}
