html {
  scroll-behavior: smooth;
}
/*-- Body Reset --*/
body {
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  color: #616971;
  width: 100%;
}
/*============= TOP BAR HEADER =============*/
.top-bar {
  background: #7aaec4;
  height: 2.8rem;
  padding: 0.5rem 0;
}
.top-bar a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
}
/*============= NAVIGATION =============*/
.navbar-toggler {
  color: #7aaec4;
  border: none;
}
.navbar-brand img {
  height: 3rem;
} /*not applicable anymore*/
.navbar {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.1);
  z-index: 10 !important;
  width: 100%;
}
.nav-item {
  padding: 0.5rem;
}
.nav-link {
  color: #5b5555 !important;
}
.nav-link.active,
.nav-link:hover {
  color: #4981b3 !important;
}
.name {
  float: left;
  padding-top: 0.6rem;
  font-family: "Dancing Script", cursive;
  font-weight: 500;
  letter-spacing: 0.2rem;
  color: #4981b3 !important;
}
.navbar-toggler-icon {
  float: right;
}
.progress-container {
  width: 100%;
  height: 8px;
  position: fixed;
  z-index: 5;
}
.progress-bar {
  height: 8px;
  background: #4981b3;
  width: 0%;
  position: fixed;
  z-index: 5;
}/*
.animated-icon2 {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  }
  
  .animated-icon2 span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  }
  
  .animated-icon2 span {
  background: #4981b3;
  }
  
  .animated-icon2 span:nth-child(1) {
    top: 0px;
    }
    
    .animated-icon2 span:nth-child(2), .animated-icon2 span:nth-child(3) {
    top: 10px;
    }
    
    .animated-icon2 span:nth-child(4) {
    top: 20px;
    }
    
    .animated-icon2.open span:nth-child(1) {
    top: 11px;
    width: 0%;
    left: 50%;
    }
    
    .animated-icon2.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    }
    
    .animated-icon2.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    }
    
    .animated-icon2.open span:nth-child(4) {
    top: 11px;
    width: 0%;
    left: 50%;
    }*/
/*============= CAROUSEL =============*/
#carousel {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.carousel-inner {
  max-height: 38rem !important;
}
/*---Change Carousel Transition Speed --*/
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  transition: transform 1.2s ease;
}
/*-- Carousel Content --*/
.carousel-caption {
  position: absolute;
  top: 54%;
  transform: translateY(-50%);
  text-transform: uppercase;
}
.bg-custom {
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border-radius: 1rem;
}
.carousel-caption h1 {
  font-size: 3.8rem;
  text-shadow: 0.1rem 0.1rem 0.3rem rgba(0, 0, 0, 1);
}
.border-primary {
  border-top: 0.2rem solid #4981b3 !important;
}
.carousel-caption h3 {
  font-size: 2.2rem;
  text-shadow: 0.1rem 0.1rem 0.2rem rgba(0, 0, 0, 1);
}
.btn-lg,
btn-md {
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 1rem;
  border-width: thick;
}
.btn-danger {
  background-color: #ac2615;
  border: 0.1rem solid #ac2615;
}
.btn-danger:hover {
  background-color: #c94736;
  border: 0.1rem solid #c94736;
  text-decoration: none;
}
.btn-primary {
  background-color: #4981b3;
  border: 0.1rem solid #4981b3;
}
.btn-primary:hover,
btn-primary:focus {
  background-color: #68a0d2;
  border: 0.1rem solid #68a0d2;
  text-decoration: none;
}
/*-- Grid Portfolio --*/
/*
.portfolio {
  margin: 4em 0;
  position: relative;
  justify-content: space-between;
}
.portfolio img {
  height: 15rem;
  width: 15rem;
  margin: 1em;
  border-radius: 5px;
}
*/
.row {
  margin: 10px -16px;
}
.row,
.row > .column {
  padding: 8px 8px 25px 8px;
}
.column {
  float: left;
  width: 25%;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.content {
  position: relative;
  box-shadow: 0px 3px 8px rgb(71, 71, 71);
  border-radius: 7px;
  border: lightgrey solid 1px;
  margin: 0 0.5rem;
  padding: 15px 0;
  height: auto;
}
.img-portfolio {
  /*position: absolute;*/
  width: 100%;
  border-radius: 5px;
} /*maybe change the cursor*/
.container {
  position: relative;
  width: 100%;
}
.overlay {
  position: absolute;
  top: 0;
  align-content: center;
  width: 91%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s ease;
  border-radius: 5px;
}
.container:hover .overlay {
  display: block;
  background: rgba(0, 0, 0, 0.8);
}
/*.img-portfolio:hover + .buttons {
  /*display: flex;*/

/*
    cursor: pointer;
    transition: opacity 1s ease 0s;
  opacity: 50%;
  }*/

.buttons {
  /*display: none;*/
  width: 40%;
  height: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  border: none;
  z-index: 2 !important;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.container:hover .buttons {
  opacity: 1;
}
/*.button1 {
  display: none;
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  border: none;
  z-index: 2 !important;
}
.button2 {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  border: none;
  z-index: 2 !important;
}*/
/*== TWO COLUMN ==*/
.line {
  border-top: 2px solid #b4b4b4;
  padding-top: 2rem;
  width: 90%;
}
.btn-learn {
  margin-top: 0;
  margin-bottom: 2rem;
}
.myFace {
  margin-bottom: 2rem;
}
/*===== FIXED BACKGROUND IMG =====*/
.fixed {
  background-image: url("/img/IMG_2153.jpeg");
  position: fixed;
}
.fixed-background {
  z-index: 1 !important;
  padding: 10rem 0;
}
/*-- Emoji Navbar --*/
.emoji {
  background-image: linear-gradient(to right, #4981b3, #ac2615);
  min-height: 0 !important;
  padding: 0.4rem 0 !important;
  z-index: 1 !important;
}
.emoji .svg-inline--fa {
  margin: 0 auto;
  color: white;
  font-size: 2rem;
}
/*-- Core Technologies --*/
.python {
  width: 15%;
}
.python-top {
  position: relative;
  margin-top: -20px;
}
.python-bottom {
  position: relative;
  margin-left: -22px;
}
/*-- Contact Form --*/
.contact {
  text-align: center;
}
.contact-title {
  text-align: center;
}
.contact-title h2 {
  font-size: 20px;
}
form {
  transition: all 4s ease-in-out;
}
.form-control {
  position: relative;
  margin: 0 auto;
  width: 50%;
  background: transparent;
  border: none;
  outline: none;
  border-radius: 0;
  border-bottom: 1px solid #4981b3;
  font-size: 18px;
}
/*============= FOOTER =============*/
footer {
  background-color: #383838;
  padding: 1rem 2rem 1rem;
}
footer img {
  height: 3.5rem;
  margin: 1.5rem auto;
}
footer p,
footer a,
.socket a {
  color: white;
  text-decoration: none;
}
ul.social {
  position: relative;
  justify-content: center;
  list-style-type: none;
  display: flex;
  max-width: 16rem;
  margin: 0 auto;
  padding: 0;
}
ul.social li {
  margin: 0 auto;
}
footer .svg-inline--fa {
  font-size: 2.3rem;
}
footer .svg-inline--fa:hover {
  color: #68a0d2;
}
.mail:hover {
  text-decoration: none;
}
/*============= SOCKET =============*/
.socket {
  background-color: #222222;
  border-top: 0.1rem solid #4981b3;
}
/*============= MEDIA QUERIES =============*/
/*-- fixing jump down--*/
:target::before {
  content: "";
  display: block;
  padding-top: 90px;
  margin-top: -90px;
}
/* Devices under 1199px (xl) */
@media (max-width: 1199.98px) {
  .carousel-caption h1 {
    font-size: 2.8rem;
  }
  .carousel-caption h3 {
    font-size: 1.8rem;
  }
}
/* Devices under 992px (lg) */
@media (max-width: 991.98px) {
  .carousel-caption h1 {
    font-size: 2.5rem;
  }
  .carousel-caption h3 {
    font-size: 1.5rem;
  }
  .btn-lg {
    font-size: 0.95rem;
  }
  .column {
    width: 50%;
  }
  :target::before {
    content: "";
    display: block;
    padding-top: 380px;
    margin-top: -380px;
  }
  .overlay {
    width: 92.5%;
}
}
@media (max-width: 575.98px) {
  .carousel-caption h1 {
    font-size: 2rem;
  }
  .carousel-caption h3 {
    font-size: 0.8rem;
  }
  .btn-lg {
    font-size: 0.1rem;
  }
  /*.resume {
    width: 50%;
    font-size: 0.5rem;
  }
  .contact {
    width: 50%;
    font-size: 0.5rem;
  }
  .first-slider {
    display: flex;
    justify-content: space-around;
    margin: 0 5px;
  }*/
  .column {
    width: 100%;
  }
  :target::before {
    content: "";
    display: block;
    padding-top: 400px;
    margin-top: -400px;
  }
  .overlay {
    width: 91%;
}
/*change this so when the screen is smaller it still works*/

/*============ BOOTSTRAP BREAK POINTS:
  height: 90px;
  margin: -90px 0 0;
Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/

/*-- Bootstrap Mobile Gutter Fix --*/
.row,
.container-fluid {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

/*-- Fixed Background Image 1000 !important  -999 !important--*/
.fixed-background {
  position: relative;
  width: 100%;
  z-index: 1;
}
.fixed-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -999 !important;
}
.fixed {
  z-index: -999 !important;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}
