body, html {
  height: 100%;
  background-image: url('../imgs/bg_body.jpg');
  background-size: 200px 200px;
  background-repeat: repeat;
  font-family: 'Roboto';
}
.center {
  text-align: center;
  margin: 5px 0 5px 0;
}
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}
.perwidget:hover .overlay {
  opacity: 1;
}
a:hover { text-decoration: none !important; }
.status-box {
  margin: 0 0 20px 0;
  color: #e5e5e5;
}
.status-open {
  height: 10px;
  width: 10px;
  background-color: #6ef419;
  border-radius: 50%;
  display: inline-block;
}
.status-busy {
  height: 10px;
  width: 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}
.no-gutters {
  margin-right: 0;
  margin-left: 0;
  > .col,> [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }
}
.hero-profile { width: 50%; }
.hero-profile:hover {
  transform: scale(0.95) rotate(-20deg);
  transition: 0.5s all;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
}
.heroImage {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.9)), url("../imgs/scene2.jpg");
  height: 95%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.heroContents {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 2px 2px 15px #000;
}
.linkdock { padding: 10px; }
.linkdock i:hover::before {
  transform: scale(1.1);
  text-shadow: 4px 4px 8px #000;
}
.linkdock i:before {
  display: inline-block;
  transition: 0.2s all;
}
#sect-aboutme {
  padding: 100px;
  background-color: #164a8f;
  color: #fff;
  font-size: 1.5em;
  text-orientation: center;
}
.div-skills {
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url("../imgs/bg_code.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#sect-skills {
  padding: 30px;
  font-size: 1em;
  text-orientation: center;
}
.card { 
  padding: 30px;
  margin-top: 30px;
}
.card:hover { 
  transform: scale(1.01);
  transition: 0.5s all;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
}
.card-icon {
  width: 20%; 
  margin-top:-80px;
}
.card-contact {
  background-color: #fff;
  padding: 30px;
}
.card-contact:hover { 
  transition: 0.8s all;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
}
#sect-exp {
  padding: 30px;
  font-size: 1em;
  text-orientation: center;
}
#sect-work {
  width: 100%;
  height: 600px;
  padding: 0 10px 0 0;
  overflow: hidden;
}
#btn-seemore {
  border: none;
  background-color: inherit;
  font-weight: 700;
}
#btn-seemore:hover {
  color: #164a8f;
  transition: 0.5s all;
}
.timeline-extend {
  display: none;
}
#sect-portfolio {
  background-color: #164a8f;
  padding: 30px;
  font-size: 1em;
  text-orientation: center;
}
#sect-contact {
  padding: 50px 30px 50px 30px;
  font-size: 1em;
  text-orientation: center;
}
.row .crop-square:hover {
  filter: opacity(80%) grayscale(50%);
  transition: 0.3s all;
}
.div-contact i {
  padding: 10px;
  box-sizing: border-box;
}
.contact-profile {
  width: 80%;
}
.crop-square {
  height: 300px;
  width: 100%;
  object-fit: cover;
  padding: 2px;
}
footer {
  text-align: center;
  background-color: #113B72;
  color: #fff;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  color: #999;
  text-decoration: none;
}
.modal-footer {
   justify-content: flex-start;
}
.accent h4 {
  color: #0070c0;
  margin: 0 
}
h1 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: bolder;
}
ul {
  padding-left: 20px 
}
ul.timeline {
  list-style-type: none;
  position: relative;
}
ul.timeline:before {
  content: ' ';
  background: #d4d9df;
  display: inline-block;
  position: absolute;
  left: 29px;
  width: 2px;
  height: 100%;
}
ul.timeline > li {
  margin: 20px 0;
  padding-left: 50px;
}
ul.timeline > li:before {
  content: ' ';
  background: white;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 3px solid #22c0e8;
  left: 20px;
  width: 20px;
  height: 20px;
  z-index: 400;
}
.timelinebox {
  background: #164a8f;
  width: auto;
  color: #fff;
  padding: 15px;
  border-radius: 10px;
}
.timelinebox ul { padding-top: 15px; }

.navbar {
  padding: 15px 10px 0px 10px;
  transition: all 0.4s;
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2));
}
.navbar .nav-link {
  color: #fff;
  margin: 0 10px;
}
.navbar .nav-link:hover,.navbar .nav-link:focus {
  background-color: #164a8f;
  border-radius: 10px;
  transition: 0.5s;
  text-decoration: none;
}
.navbar .navbar-brand {
  color: #FFF;
  font-weight: 900;
}
.navbar .navbar-brand:hover {
  color: #ccc;
  font-weight: 900;
}
/* Change navbar styling on scroll */
.navbar.active {
  background: #164a8f;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.5);
}
.navbar.active .nav-link {
  color: #FFF;
}
.navbar.active .nav-link:hover,.navbar.active .nav-link:focus {
  background-color: #0070c0;
  color: #FFF;
  text-decoration: none;
}
.navbar.active .navbar-brand {
  color: #FFF;
}
/* Change navbar styling on small viewports */
@media (max-width: 991.98px) {
  .navbar {
    background: #164a8f;
  }
  .navbar .navbar-brand, .navbar .nav-link {
    color: #FFF;
  }
  .navbar .nav-link {
    color: #fff;
    margin: 0 10px;
    text-align: center;
  }
  .navbar .nav-link:hover,.navbar .nav-link:focus {
    background-color:#0070c0;
    border-radius: 10px;
    transition: 0.5s;
    text-decoration: none;
  }
}
/*------------------------------------------*/
/*mobile view */
@media only screen and (max-width: 600px) {
  .heroContents {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
  }
  .heroContents h1 { font-size: 40px; }
  .hero-profile { width: 50%; }
  .contact-profile {
    display:block;
    margin:0 auto;
    width: 10%;
  }
  #sect-aboutme {
    padding: 20px;
    background-color: #164a8f;
    color: #fff;
    font-size: 1em;
    text-orientation: center;
  }
  #sect-aboutme h1 { padding-top: 30px; }
  #sect-skills {
    padding: 10px;
    font-size: 1em;
    text-orientation: center;
  }
  .card { 
    padding: 15px;
    margin-top: 65px;
  }
  #sect-exp {
    padding: 10px 15px 10px 10px;
    font-size: 1em;
    text-orientation: center;
  }
  #sect-portfolio {
    background-color: #164a8f;
    padding: 25px 10px 25px 10px;
    font-size: 1em;
    text-orientation: center;
  }
  .crop-square {
    height: 200px;
    width: 100%;
    object-fit: cover;
    padding: 2px;
  }
  #sect-contact {
    padding: 50px 20px 50px 20px;
    font-size: 1em;
    text-orientation: center;
  }
  .div-contact i {
    padding: 10px;
    box-sizing: border-box;
  }
}
