/* Global Style */

body {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: #5a5a5a;
}

h1 {
  text-align: center;
  color: #333;
  padding-bottom: 50px;
  font-weight: 400;
  font-size: 3rem;
  padding-top: 10px;
}


.date {
  color: darkgray;
  font-size: 14px;
  padding-bottom: 10px;
}


.popover{
  max-width: 96%;   
}

.popover-body {
  max-height: 300px;
  overflow-y: auto;
}

.popover-body::-webkit-scrollbar {
  -webkit-appearance: none;
}

.popover-body::-webkit-scrollbar:vertical {
  width: 11px;
}

.popover-body::-webkit-scrollbar:horizontal {
  height: 11px;
}

.popover-body::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 2px solid white; /* should match background, can't be transparent */
  background-color: rgba(0, 0, 0, .5);
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.marketing h2 {
  font-weight: 340;
  font-size: 180%;
  padding-top: 10px;
}

.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
  margin-bottom: 5px;
}

.skills .col-lg-3 {
margin-right: -90px;
}

.featurette-divider {
  margin: 0rem 0; /* Space out the Bootstrap <hr> more */
}

.featurette-divider-popover {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Navigation Bar */

.navbar {
  width: 100%;
}

.nav-custom {
  margin: auto;
}


.nav-link {
  font-size: 20px;
  text-align: center;
}


/* Scroll-based animation */

.scale-in {
opacity: 0;
-moz-transition: all 500ms linear;
-webkit-transition: all 500ms linear;
-o-transition: all 500ms linear;
transition: all 500ms linear;
-moz-transform: scale(1.3,1.3);
-webkit-transform: scale(1.3,1.3);
-o-transform: scale(1.3,1.3);
-ms-transform: scale(1.3,1.3);
transform: scale(1.3,1.3);
}

.scale-in.in-view {
opacity: 1;
-moz-transform: translate3d(0px, 0px, 0px);
-webkit-transform: translate3d(0px, 0px, 0px);
-o-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
transform: translate3d(0px, 0px, 0px);
}

.bounce-up {
opacity: 0;
-moz-transition: all 500ms ease-out;
-webkit-transition: all 500ms ease-out;
-o-transition: all 500ms ease-out;
transition: all 500ms ease-out;
-moz-transform: translate3d(0px, 100px, 0px);
-webkit-transform: translate3d(0px, 100px, 0px);
-o-transform: translate(0px, 100px);
-ms-transform: translate(0px, 100px);
transform: translate3d(0px, 100, 0px);
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
backface-visibility: hidden;
}

.bounce-up.in-view {
opacity: 1;
-moz-transform: translate3d(0px, 0px, 0px);
-webkit-transform: translate3d(0px, 0px, 0px);
-o-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
transform: translate3d(0px, 0px, 0px);
}


/* Home */

.jumbotron {
  background: url("https://wallpaperaccess.com/full/812553.jpg")
  no-repeat center center;
  background-size: cover;
  width: 100%;
}


.vertical-center {
  display: flex;
  padding: 0px;
}


.prof-box {
  height: 500px;
  min-width: 280px;
  background: rgba(0,0,0,0.4);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.prof-pic {
  margin-top: 20px;
  border-radius: 50%;
  height: 235px;
  width: 215px;
}


#my-name {
  margin-top: 10px;
  margin-bottom: 20px;
  color: white;
  font-size:40px;
}

.btn-rounded-white {
  display: inline-block;
  color: #fff;
  padding: 15px 25px;
  border: 3px solid #fff;
  border-radius: 30px;
  -webkit-transition: .5s ease all;
  transition: .5s ease all;
  font-size: 20px;
  margin-top: -12px;
  margin-bottom: 25px;
}

.social-icon {
  font-size: 40px;
  padding-bottom: 10px;
}

.social-icon a {
  color: none;
}

.social-icon i {
  padding: 5px;
  color: white;
margin-left: auto;
margin-right: auto;
text-align: center;
}

.social-icon i:hover {
  color: coral;
}

/* About */
#about {
  margin-top: -2em;
  padding-top: 4em;
  padding-bottom: 5em;
}

#about p {
  text-align: center;
}

.section{
  margin-top: -4em;
}


/* Skills */

.skill-item {
margin-bottom: 10px;
margin-left: 67px;
margin-right: 56px;
border: 1px solid #dcd9d9;
box-shadow: 0 2px 3px rgba(0,0,0,0.08), 0 2px 3px rgba(0,0,0,0.15);
width: 200px;
background-color: #559B6D;
border-radius: 25px;
}

.txt-capsule{

color: whitesmoke;
padding-top: 6px;
margin: auto;
padding-bottom: 10px
}

/* Timeline */

#timeline{
  margin-top: -2em;
  padding-top: 0em;
  padding-bottom: 5em;
}



.title-main {
  font-size: 70px;
  font-weight: 100;
  margin-bottom: -10px;
  margin-top: 50px;
}

.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
}

.full-section {
  width: 100%;
}

#cd-timeline {
  position: relative;
  padding-right: 0px;
  padding-bottom: 2em;
  padding-left: 0px;
  margin-top: 2em;
  margin-bottom: 2em;
}
#cd-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50px;
  height: 100%;
  width: 4px;
  background: #d7e4ed;
}
@media only screen and (min-width: 1170px) {
  #cd-timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  #cd-timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}

.cd-timeline-content h2 {
  color: #DC0E0E;
}
.cd-timeline-content h3 {
  color: #1E2431;
}
.cd-timeline-content{
  background: #FFFFFF;
}
.cd-timeline-content::before {
  border-right: 7px solid #FFFFFF;
}
.cd-timeline-content .cd-date {
  color: #000;
}

@media only screen and (min-width: 1170px) {
  #cd-timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  #cd-timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}
.cd-timeline-block {
  position: relative;
  margin: 2em 0;
}
.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}
.cd-timeline-block:last-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-block {
    margin: 4em 0;
  }
  .cd-timeline-block:first-child {
    margin-top: 0;
  }
  .cd-timeline-block:last-child {
    margin-bottom: 0;
  }
}

.cd-timeline-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}

.txt-times {
  text-align: center;
  display: block;
  padding-bottom: 10px;
  font-size: 20px;
  padding-top: 60px;
  width: 140px;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: -20px;
  margin-left: 30px;
  }

.txt-skills {

  text-align: center;
  display: block;
  font-size: 25px;
  margin-bottom: 30px;
  margin-top: 40px;
}

.cd-timeline-img img {
  display: block;
  width: 64px;
  height: 64px;
  position: relative;
  left: 31%;
  top: 30%;
  margin-left: -12px;
  margin-top: -12px;
}

.cd-timeline-img.cd-picture {
  background: #75ce66;
}
.cd-timeline-img.cd-movie {
  background: #c03b44;
}
.cd-timeline-img.cd-location {
  background: #f0ca45;
}
@media only screen and (min-width: 1170px) {
  .txt-times {
    text-align: center;
    display: block;
    padding-bottom: 55px;
    font-size: 20px;
    padding-top: 60px;
    width: 140px;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: -20px;
    margin-left: auto;
  }
  .cd-timeline-img {
    width: 100px;
    height: 100px;
    left: 50%;
    margin-left: -50px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
  .cssanimations .cd-timeline-img.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-img.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
  }
}
.cd-timeline-content {
  position: relative;
  margin-left: 140px;
  background: #559B6D;
  border-radius: 5px;
  padding: 1em;
}
.cd-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-content h2 {
  color: #FFFFFF;
}
.cd-timeline-content p, .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  font-size: 15px;
  color: #fff;
}
.cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  display: inline-block;
}
.cd-timeline-content p {
  margin: 1em 0;
  line-height: 1.6;
}
.cd-timeline-content .cd-read-more {
  float: right;
  padding: .8em 1em;
  background: #acb7c0;
  color: white;
  border-radius: 0.25em;
}
.no-touch .cd-timeline-content .cd-read-more:hover {
  background-color: #bac4cb;
}
.cd-timeline-content .cd-date {
  float: left;
  padding: .8em 0;
  opacity: .7;
}
.cd-timeline-content::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid rgb(34, 41, 48);
}
.cd-date {
  font-style: italic;
  font-weight: 300;
}
.cd-timeline-content h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  margin: 0px;
  text-transform: uppercase;
}
@media only screen and (min-width: 768px) {
  .cd-timeline-content h2 {
    font-size: 27px;
    margin-top: 0px;
    font-weight: 300;
  }
  .cd-timeline-content p {
    color: #fff;
    font-size: 15px;
  }
  .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
  }
  .cd-date {
    font-style: italic;
    font-weight: 300;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-content {
    margin-left: 0;
    padding: 1.6em;
    width: 42%;
  }
  .cd-timeline-content .cd-date {
    float: left;
    padding: .3em 0;
    opacity: .7;
  }
  .cd-timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: rgb(34, 41, 48);
  }
  .cd-timeline-content .cd-read-more {
    float: left;
  }
  .cd-timeline-content .cd-date {
    position: absolute;
    width: 100%;
    left: 139%;
    font-style: italic;
    font-weight: 300;
    top: 6px;
    font-size: 23px;
    color: #222930;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: rgb(34, 41, 48);
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
    left: auto;
    right: 142%;
    text-align: right;
  }
  .cssanimations .cd-timeline-content.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-content.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
    -moz-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
  }
}

/* Project  */

#project {
margin-top: -2em;
padding-top: 4em;
padding-bottom: 5em;  
}

.icon-shadow:hover {
  -webkit-box-shadow: -1px 9px 40px -12px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: -1px 9px 40px -12px rgba(0, 0, 0, 0.75);
  box-shadow: -1px 9px 40px -12px rgba(0, 0, 0, 0.75);
}

.project-img {
  height: 200px;
  border: 1px solid;
  border-color: #CCCCCC;
  background: url('../img/Rolling-1s-200px.gif') no-repeat center center; 
  background-size: cover;
  border-radius: 2em;
}


.project-img-square {
  height: 200px;
  width: 200px;
  border: 1px solid;
  border-color: #CCCCCC;
  background: url('../img/Rolling-1s-200px.gif') no-repeat center center; 
  background-size: cover;
  border-radius: 2em;
}

.proj-box{
height: 400px;
  min-width: 100px;
  background: #B6E9A3;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}



/* hobby */

#hobby{
margin-top: -2em;
padding-top: 4em;
padding-bottom: 5em;
}

#hobby p {
  padding-bottom: 20px;
}



/* footer */
.footer {
  text-align: center;
}

.map-div {
  margin: auto;
}








/* Extra small devices (portrait phones, less than 576px) No media query since this is the default in Bootstrap*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
  
  .popover{
      max-width: 360px;   
  }
  
  .nav-custom li{
      padding-left: 0px;
      padding-right: 0px;
  }
  
  .prof-box {
      min-width: 400px;
  }
  
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
  
  .nav-custom li{
      padding-left: 20px;
      padding-right: 20px;
  }
  
  .prof-box { 
      width: 500px;
  }
  
  .prof-pic {
      margin-top: 40px;
  }
  
  .prof-box h1 {
      padding-top: 40px;
      padding-bottom: 40px;
      color: white;
  }
  
  .social-icon {
  margin-top: -19px;
  }
  

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
  .nav-custom li{
      padding-left: 30px;
      padding-right: 30px;
  }
  
  .prof-box { 
      width: 600px;
  }
  
  
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
  .nav-custom li{
      padding-left: 40px;
      padding-right: 40px;
  }
  
  .prof-box { 
      width: 500px;
  }
}


/* Remove the white space at right for iOS device */
@media
only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),    
only screen and (min-device-pixel-ratio: 1.5){
  html, body{
      width:100%;
      overflow-x:hidden;
    }
}

/* VideoJS */

/* Contact */

.contact-section {

width: 100%;
background-color: #052F2F;
}

.section-color-dark h2 {
color: rgba(255,255,255,0.6);
}

#contact .email {
color: rgba(255,255,255,0.5);
font-size: 20px;
margin-top: 10px;
margin-bottom: 10px;
}

#contact .email:hover {
color: rgba(255,255,255,1.0);
}


a:hover {
cursor:pointer;
}



/* footer */

.footer {
padding-bottom: 0 !important;
background-color: #052F2F;
padding: 100px;
}


/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 

#contact div.container {
max-width: 650px;
}

.marketing .featurette-divider {
max-width: 600px;
}

}

@media (min-width: 992px) { 

#contact div.container {
max-width: 960px;
}
}
