:root {
  --bs-primary: #18BC9C;
  --bs-secondary: #2C3E50;
  --bs-primary-rgb: 24, 188, 156;
  --bs-secondary-rgb: 44, 62, 80;
}

.btn-xl {
  padding: 1rem 1.75rem;
  font-size: 1.25rem;
}

.btn-social {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
  line-height: 2rem;
}

.scroll-to-top {
  z-index: 1042;
  right: 1rem;
  bottom: 1rem;
  display: none;
}

.scroll-to-top a {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(33, 37, 41, 0.5);
  line-height: 3.1rem;
}

#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
}

#mainNav .navbar-brand {
  color: #fff;
}

#mainNav .navbar-nav {
  margin-top: 1rem;
  letter-spacing: 0.0625rem;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
  color: #fff;
}

#mainNav .navbar-nav li.nav-item a.nav-link:hover {
  color: #18bc9c;
}

#mainNav .navbar-nav li.nav-item a.nav-link:active,
#mainNav .navbar-nav li.nav-item a.nav-link:focus {
  color: #fff;
}

#mainNav .navbar-nav li.nav-item a.nav-link.active {
  color: #18bc9c;
}

#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.8rem;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    transition: padding-top 0.3s, padding-bottom 0.3s;
  }

  #mainNav .navbar-brand {
    font-size: 2em;
    transition: font-size 0.3s;
  }

  #mainNav .navbar-nav {
    margin-top: 0;
  }

  #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
    color: #fff;
    background: #18bc9c;
  }

  #mainNav .navbar-nav > li.nav-item > a.nav-link.active:active,
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus,
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
    color: #fff;
    background: #18bc9c;
  }
}

#mainNav.navbar-shrink {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#mainNav.navbar-shrink .navbar-brand {
  font-size: 1.5em;
}

header.masthead {
  padding-top: calc(6rem + 72px);
  padding-bottom: 6rem;
}

header.masthead h1,
header.masthead .h1 {
  font-size: 3rem;
  line-height: 3rem;
}

header.masthead h2,
header.masthead .h2 {
  font-size: 1.3rem;
  font-family: Lato, sans-serif;
}

@media (min-width: 992px) {
  header.masthead {
    padding-top: calc(6rem + 106px);
    padding-bottom: 6rem;
  }

  header.masthead h1,
  header.masthead .h1 {
    font-size: 4.75em;
    line-height: 4rem;
  }

  header.masthead h2,
  header.masthead .h2 {
    font-size: 1.75em;
  }
}

.portfolio .portfolio-item {
  position: relative;
  display: block;
  max-width: 25rem;
  margin-bottom: 15px;
}

.portfolio .portfolio-item .portfolio-item-caption {
  transition: all ease 0.5s;
  opacity: 0;
  background-color: rgba(24, 188, 156, 0.9);
}

.portfolio .portfolio-item .portfolio-item-caption:hover {
  opacity: 1;
}

.portfolio .portfolio-item .portfolio-item-caption .portfolio-item-caption-content {
  font-size: 1.5rem;
}

@media (min-width: 576px) {
  .portfolio .portfolio-item {
    margin-bottom: 30px;
  }
}

.portfolio-modal .portfolio-modal-dialog {
  padding: 3rem 1rem;
  min-height: calc(100vh - 2rem);
  margin: 1rem calc(1rem - 8px);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 3rem 1rem rgba(0, 0, 0, 0.5);
}

.portfolio-modal .portfolio-modal-dialog .close-button {
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.portfolio-modal .portfolio-modal-dialog .close-button i {
  line-height: 38px;
}

.portfolio-modal .portfolio-modal-dialog h2,
.portfolio-modal .portfolio-modal-dialog .h2 {
  font-size: 2rem;
}

@media (min-width: 768px) {
  .portfolio-modal .portfolio-modal-dialog {
    min-height: 100vh;
    padding: 5rem;
    margin: 3rem calc(3rem - 8px);
  }

  .portfolio-modal .portfolio-modal-dialog h2,
  .portfolio-modal .portfolio-modal-dialog .h2 {
    font-size: 3rem;
  }
}

.modal-header {
  border-bottom: none;
}

.modal-footer {
  border-top: none;
}

.mfp-content .modal {
  display: block;
}

.form-floating {
  border-bottom: 1px solid #dee2e6;
}

.form-floating input,
.form-floating textarea {
  font-size: 1.5em;
  border: none;
}

.form-floating input:focus,
.form-floating textarea:focus {
  border: none;
  box-shadow: none;
}

.form-floating label {
  color: #868e96;
  font-size: 1.5em;
}

.form-floating .help-block {
  margin: 15px 0;
}

.form-floating > .form-control:not(:-moz-placeholder-shown) ~ label {
  color: #18bc9c;
  font-size: 1em;
}

.form-floating > .form-control:not(:-ms-input-placeholder) ~ label {
  color: #18bc9c;
  font-size: 1em;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  color: #18bc9c;
  font-size: 1em;
}

.form-text {
  font-size: 16px;
}

.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #2c3e50;
  color: #fff;
}

.copyright {
  background-color: #283848;
}

a {
  color: #18bc9c;
}

a:focus,
a:hover,
a:active {
  color: #16a98c;
}

.btn {
  color: #fff;
  border-width: 2px;
}

.bg-primary {
  background-color: #18bc9c !important;
}

.bg-secondary {
  background-color: #2c3e50 !important;
}

.text-primary {
  color: #18bc9c !important;
}

.text-secondary {
  color: #2c3e50 !important;
}

.btn-primary {
  background-color: #18bc9c;
  border-color: #18bc9c;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #16a98c;
  border-color: #16a98c;
}

.btn-secondary {
  background-color: #2c3e50;
  border-color: #2c3e50;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #283848;
  border-color: #283848;
}

hr {
  margin-left: auto !important;
  margin-right: auto !important;
  border-style: solid;
  opacity: 1;
}
