
/*---Media Queries --*/


/*---Firefox Bug Fix --*/
.carousel-item {
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}


/*--- Bootstrap Padding Fix --*/
[class*="col-"] {
    padding: 1rem;
}
/* .bg { 
    background: url(img/background.jpg) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  } */

/* NavBar Padding and Hover Effects*/
li {
    display:inline-block;
    padding:5px;
    transition: 0.3s ease;
    font-size: 20px;
    text-decoration: none;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin: 0 5px;
    font-size: 17px;
   }
  li:hover {
    border-bottom: 1px solid rgba(255, 0, 106, 0.37);
    padding: 6px 0; 
  }
  .nav-item a:hover { 
    color: rgba(214, 218, 21, 0.39) !important; 
  
  }
  .navbar-nav a {
    font-family: 'Merriweather', monospace;
    font-size: large;
  }
  .nav-bar{
    padding-bottom: 0px;
    padding-top: 0px;
  }
  /* #nav-bar {
    background-color: transparent !important; 
  } */
  /**********************************/

  /*Footer and Navbar Icons*/
.fa-github{
    color: #3b5998;
  }
.fa-twitter{
    color: #00acee;
  }
.fa-linkedin-in{
    color: #0e76a8;
  }
.fa-github:hover {
    color: #a8a8a8;
  }
.fa-twitter:hover {
    color: #a8a8a8;
  }
.fa-linkedin-in:hover {
    color: #a8a8a8;
  }

/*About Me*/
/* If you have a smaller image that doesn't quite work with the current CSS configurations, then uncomment the CSS text below. */

/* .about{
  margin-top: 650px;
} */

.about-top{
  font-family: 'Work Sans', monospace;
  color: black;
  text-indent: 40px;
  font-size: 20px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 6.5em;
}

.img-2{
  display: none;
}

.img-wrap img {
  -webkit-mask-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  max-width: 100%;
  max-height: 100%;
  position: relative;
  vertical-align: middle;
}

.involvement-bg {
  background-image: url(img/background.jpg); 
  background-position: center;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  height: 100vh;
}


.item {
  -webkit-animation: fadein 3s; /* Safari, Chrome and Opera > 12.1 */
     -moz-animation: fadein 3s; /* Firefox < 16 */
      -ms-animation: fadein 3s; /* Internet Explorer */
       -o-animation: fadein 3s; /* Opera < 12.1 */
          animation: fadein 3s;
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
  
  /* Firefox < 16 */
@-moz-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
  
  /* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
  
  /* Internet Explorer */
@-ms-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
  
  /* Opera < 12.1 */
@-o-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/*Carousel*/
#carouselExampleIndicators img{ 
  height: 35rem;
  width: auto;
  margin-left: auto;
  margin-right: auto;
} 
#small img {
  max-height: 500px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 860px){
.carousel-fix{
    padding: 1% 0 1% 0 !important;
  }
}
.carousel-fix{
  padding: 3% 5% 0% 5%;
  margin-bottom: 150px;
}
.carousel-caption h6{
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
}
.carousel-item.active{
  margin-bottom: 50px;
}
.d-block{ 
  transform: translateY(-0.5%);
  /* transform: translateY(-0.5%); */
  -webkit-box-shadow: 17px 17px 7px gray;
  border: 2px solid black;
}

/*Timeline start*/
.timeline-title{
  color: black;
  font-family: 'Work Sans', monospace;
  margin-bottom: 60px;
  margin-top: -30px;
}
.fa-check-circle{
  margin-bottom: 4%;
}
.timeline-adjust{
  display:inline-block;
  width:100%;
  overflow-y:auto;
  padding-top: 105px;
  margin-top: -80px;
  margin-bottom: 120px;
}
.timeline,.timeline-horizontal {
  list-style: none;
  padding: 20px;
  position: relative;
}
.timeline:before {
  top: 40px;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background: linear-gradient(to right, 
  #500000 8%, #c8c8c8 14% 26%, #000000 35% 49%, #500000 54% 69%, #c8c8c8 76% 90%, #000000 93%);

  opacity: 50%;
  left: 50%;
  margin-left: -1.5px;
}
.timeline .timeline-item {
  margin-bottom: 20px;
  position: relative;
}
.timeline .timeline-item:before,
.timeline .timeline-item:after {
  content: "";
  display: table;
}
.timeline .timeline-item:after {
  clear: both;
}
.timeline .timeline-item .timeline-badge {
  color: #fff;
  width: 54px;
  height: 54px;
  line-height: 52px;
  font-size: 22px;
  text-align: center;
  position: absolute;
  top: 18px;
  left: 50%;
  margin-left: -25px;
  background-color: #7c7c7c;
  border: 3px solid #ffffff;
  z-index: 100;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
}
.timeline .timeline-item .timeline-badge i,
.timeline .timeline-item .timeline-badge .fa,
.timeline .timeline-item .timeline-badge .glyphicon {
  top: 2px;
  left: 0px;
}
.timeline .timeline-item .timeline-badge.primary {
  background-color: #500000;
}
.timeline .timeline-item .timeline-badge.info {
  background-color: #000000;
}
.timeline .timeline-item .timeline-badge.success {
  border: 1px solid #000000;
  background-color: #ffffff;
}
.timeline .timeline-item .timeline-badge.warning {
  border: 1px solid #000000;
  background-color: #ffffff;
}
.timeline .timeline-item .timeline-badge.danger {
  background-color: #500000;
}
.timeline .timeline-item .timeline-badge.last {
  background-color: #000000;
}
.timeline .timeline-item .timeline-panel {
  position: relative;
  width: 46%;
  float: left;
  right: 16px;
  border: 1px solid #c0c0c0;
  background: #ffffff;
  border-radius: 2px;
  padding: 20px;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}
.timeline .timeline-item .timeline-panel:before {
  position: absolute;
  top: 26px;
  right: -16px;
  display: inline-block;
  border-top: 16px solid transparent;
  border-left: 16px solid #c0c0c0;
  border-right: 0 solid #c0c0c0;
  border-bottom: 16px solid transparent;
  content: " ";
}
.timeline .timeline-item .timeline-panel .timeline-title {
  margin-top: 0;
  color: inherit;
}
.timeline .timeline-item .timeline-panel .timeline-body > p,
.timeline .timeline-item .timeline-panel .timeline-body > ul {
  margin-bottom: 0;
}
.timeline .timeline-item .timeline-panel .timeline-body > p + p {
  margin-top: 5px;
}
.timeline-body{
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
}
.timeline .timeline-item:last-child:nth-child(even) {
  float: right;
}
.timeline .timeline-item:nth-child(even) .timeline-panel {
  float: right;
  left: 16px;
}
.timeline .timeline-item:nth-child(even) .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}
.timeline-horizontal {
  list-style: none;
  position: relative;
  padding: 20px 0px 20px 0px;
  display: inline-block;
}
.timeline-horizontal:before {
  height: 3px;
  top: auto;
  bottom: 26px;
  left: 56px;
  right: 0;
  width: 88%;
  margin-bottom: 20px;
}
.timeline-horizontal .timeline-item {
  display: table-cell;
  height: 280px;
  width: 20%;
  min-width: 320px;
  float: none !important;
  padding-left: 0px;
  padding-right: 20px;
  margin: 0 auto;
  vertical-align: bottom;
}
.timeline-horizontal .timeline-item .timeline-panel {
  top: auto;
  bottom: 64px;
  display: inline-block;
  float: none !important;
  left: 0 !important;
  right: 0 !important;
  width: 100%;
  margin-bottom: 20px;
}
.timeline-horizontal .timeline-item .timeline-panel:before {
  top: auto;
  bottom: -16px;
  left: 28px !important;
  right: auto;
  border-right: 16px solid transparent !important;
  border-top: 16px solid #c0c0c0 !important;
  border-bottom: 0 solid #c0c0c0 !important;
  border-left: 16px solid transparent !important;
}
.timeline-horizontal .timeline-item:before,
.timeline-horizontal .timeline-item:after {
  display: none;
}
.timeline-horizontal .timeline-item .timeline-badge {
  top: auto;
  bottom: 0px;
  left: 43px;
}
/*Timeline end*/

/*INVOLVEMENT*/
.card{
  text-align: center;
  margin: 0 auto;
  float: none;
  margin-bottom: 10px;
  margin-top: 150px;
  margin-left: auto;
  margin-right: 150px;
}

.card-img-top {
  margin-bottom: 50px;
  border-bottom: 0.1px solid black;
  display: block;
  border-bottom: 1px solid gray;
}
.card-title, .card-text, .card-subtitle{
  font-family: 'Oswald', monospace;
}


.col-md-12.col-lg-4.involvement, .col-md-12.col-lg-4.projects{
  padding-top: 2.5%;
  padding-bottom: 4%; 
  margin-right: 0 auto;
}
.involvement{
  margin-right: auto;
}
.ala{
  margin-top: 50px;
  margin-bottom: 150px;
}
.col-md-12.col-lg-4.involvement:last-child{
  padding-bottom: 5%;
}
@media (max-width: 991px) and (min-width: 768px) {
  .col-md-12.col-lg-4.involvement, .col-md-12.col-lg-4.projects{
    padding: 2.5% 20% 0 20%;
  }
}
@media (max-width: 767px){
  .col-md-12.col-lg-4.involvement, .col-md-12.col-lg-4.projects{
    padding: 2.5% 7% 0 7%;  
  }
}
@media (min-width: 992px){
  .align-fix{
    margin-top: 32px;
  }
  .align-fix2{
    margin-top: 32px;
  }
}

.modal-header{
  font-family: 'Oswald', sans-serif;
}
.modal-body{
  font-family: 'Work Sans', sans-serif;
  text-indent: 40px;
  text-align: justify;
}
#modal-scroll{
  overflow-y: initial !important;
}
#modal-scroll-body, .modal-body{
  max-height: 500px; 
  overflow-y: auto;
}
button{
  font-family: 'Work Sans', sans-serif;
}
.btn-secondary{
  background-color: #FF605C;
}

/* FOOTER */
#footer {
  /* width: 100%;
  position: fixed;
  bottom: 0px;
  background-color: black;
  overflow: auto; */

  width: 100%;
  position: fixed;
  bottom: -15px;
  background-color: black;
  }
#contact {
  font-family: 'Open Sans', monospace;
  }

.mb-4{
    margin-bottom: 1px !important;
  }
.btn-outline-light{
    border: none;
  }

  @media only screen and (max-width: 767px) {
    .img-1{
      display: none;
    }
    .img-2{
      display: block;
    }
    .img-wrap img {
      -webkit-mask-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
      mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
      max-width: 100%;
      height: auto;
      position: relative;
      vertical-align: middle;
    }
    .about-top{
      font-family: 'Work Sans', monospace;
      color: black;
      text-indent: 40px;
      font-size: 18px;
      font-weight: bold;
      display: inline-block;
      margin-bottom: 6.5em;
    }
    .title-h1{
      font-family: 'Work Sans', monospace;
      color: black;
      font-size: 25px;
      font-weight: bold;
    }
  }
