body, html {
  font-family: 'Open Sans', sans-serif;
  scroll-behavior: smooth;
  font-weight: 400;
}

a {
  text-decoration: none;
}

:root {
  --gray: #4d4d4d;
  --red: #DB2F2B;
  --yellow: #FEB300;
  --gray-light: #F2F2F2;
}

::-moz-selection { /* Code for Firefox */
  color: white;
  background: var(--yellow);
}

::selection {
  color: white;
  background: var(--yellow);
}

.text-justify {
  text-align: justify;
}

#brand {
  transition: all 300ms ease-out;
}

.navbar-toggler {
  outline: 0;
  box-shadow: none;
  border: none;
}

.navbar-toggler:focus , .navbar-toggler:active {
  outline: 0;
  box-shadow: none;
  color: var(--yellow);
}

.bg-gray {
  background: #4d4d4d;
  transition: all 300ms ease-out;
}

.nav-header , .nav-header-yellow {
  color: rgba(255,255,255,.8);
}

.nav-header:hover {
  color: rgba(255,255,255,1);
}

.nav-header-yellow:hover {
  color: var(--yellow);
}

@media all and (min-width: 992px) {
  .navbar{ 
    padding-top: 0; 
    padding-bottom: 0; 
  }
  .navbar .has-megamenu{
    position:static!important;
  }
  .navbar .megamenu{
    left:0; 
    right:0; 
    width:100%;  
    background-color: #4d4d4d;
    border-radius: 0;
  }
  .navbar .nav-link{ 
    padding-top:1rem; 
    padding-bottom:1rem;  
  }
  .dropdown-menu[data-bs-popper] {
    margin-top: 0;
  }
  .dropdown-menu {
    border: none;
  }
}

.slide-cover {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 90vh;
  background-attachment: fixed;
}

.cover-sub {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  height: 70vh;
  background-attachment: fixed;
}

.control-cover {
  position: absolute;
  bottom: 20%;
  width: 1320px;
}

.vertical-center {
  min-height: 90%;  /* Fallback for browsers do NOT support vh unit */
  min-height: 90vh; /* These two lines are counted as one :-)       */

  display: flex;
  align-items: center;
}

.bg-light {
  background-color: var(--gray-light);
}

.bg-dark {
  background-color: var(--gray) !important;
}

.text-yellow {
  color: var(--yellow);
}

.portfolio-thumb {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 600px;
  opacity: .8;
  transition: all 300ms ease-out;
}

.project-thumb {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 300px;
  opacity: .8;
  transition: all 300ms ease-out;
}

.portfolio-thumb:hover , .project-thumb:hover {
  opacity: 1;
}

.form-custom {
  background-color: var(--gray-light);
  border: solid 1px var(--yellow);
}

.form-custom:focus , .form-custom:hover , .form-custom:active{
  box-shadow: none !important;
  outline: none !important;
  border: solid 1px black !important;
}

.btn-outline-yellow {
  border: solid 1px var(--yellow);
  color: black;
  background-color: white;
}

.btn-outline-yellow:hover {
  background-color: var(--yellow);
  border: solid 1px var(--yellow);
  color: white;
}