#parallax {
  width: 100%;
  height: 100vh;
  background-size: cover;
  position: relative;
  background: url("../img/bkg2.jpg") top center;  
}

#parallax .container {
  position: relative;
  padding-top: 74px;
  text-align: center;  
}

#parallax h1 {
  margin: 0;
  font-size: 45px;
  font-weight: 700;
  line-height: 64px;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

#parallax h1 span {
  color: white;
  text-shadow: 0px 0px 20px gray;
}

#parallax h2 {
  color: rgba(255, 255, 255, 0.9);
  margin: 10px 0 0 0;
  font-size: 24px;
}

#smallpx{
  width: 100%;
  height: 25vh;
  background-size: cover;
  position: relative;
  background: url("../img/designer-monitor-screen-concept-965345.jpg") top center;  
}

@media (min-width: 1024px) {
  #parallax {
    background-attachment: fixed;
  }
}

@media (min-width: 1024px) {
  #smallpx {
    background-attachment: fixed;
    background-size: cover
  }
}

img.sticky{
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: auto;
}

.box {
  padding: 50px 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: all ease-in-out 0.3s;
  height: 100%;
  width: 100%;
}

.box h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
  color: #191919;
}

.box p {
  color: #aaaaaa;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

.box:hover {
  background: #5f0707;
  padding: 30px 30px 70px 30px;
  box-shadow: 10px 15px 30px rgba(0, 0, 0, 0.18);
}

.box:hover span,  .box:hover h4,  .box:hover p {
  color: #fff;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  background: #cc1616;
  color: #fff;
  transition: all 0.4s;
}

.back-to-top i:hover {
  background: #e72323;
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

#contactbox{
  padding: 50px 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: all ease-in-out 0.3s;
}

.team {
  text-align: center;
  width: 100%;
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
  padding: 10px 10px;
  background: #fff;
}

.team img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 0 30px 0;
}

.team h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 1.3rem;
}

.team span {
  font-style: italic;
  display: block;
  font-size: 1rem;
}

.team p {
  padding-top: 10px;
  font-size: 1rem;
  font-style: italic;
  color: black;
}

.team:hover {
  background: #f0f0f0;
  padding: 10px 10px 10px 10px;
  box-shadow: 30px 30px 30px rgba(0, 0, 0, 0.18);
  transition: all ease-in-out 0.3s;

}

.card-container {
  position: relative;
  width: 100%;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #5f0707;
}

.card-container:hover .overlay {
  opacity: 0.9;
}

.text {
  color: white;
  font-size: 16px;
  position: relative;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding: 5% 5% 5% 5%;
  text-align: left;
}

.icon-box {
  text-align: center;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #8f1500;
  transition: all .3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform-style: preserve-3d;
}

.icon-box .icon i {
  color:#fff;
  font-size: 28px;
}

.icon-box .icon::before {
  position: absolute;
  content: '';
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: #fff;
  transition: all .3s ease-out 0s;
  transform: translateZ(-1px);
}

.icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.icon-box h4{
  color: #191919;
}

.icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.icon-box:hover {
  background: firebrick;
  border-color: black;
  padding: 70px 20px 90px 20px;
}

.icon-box:hover .icon {
  background: #fff;
}

.icon-box:hover .icon i {
  color: #cc1616;
}

.icon-box:hover .icon::before {
  background: #e82d2d;
}

.icon-box:hover h4, .icon-box:hover p {
  color: #fff;
}

.scrolled {
  background: rgb(255, 68, 68); /* IE */
  background: rgba(255, 0, 0, 1); /* NON-IE */
}

#footer {
  background: #0c0c0c;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer a {
  color: #fff;
  text-align: center;
  transition: 0.3s;
}

#footer a:hover {
  color: #cc1616;
  text-decoration: none;
}

#footer .footer-top .footer-links ul {
  list-style: none;
}

#footer ul i {
  color: #ed5b5b;
  font-size: 20px;
  line-height: 1;
}

#footer ul li {
  display: flex;
  align-items: center;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #000000;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #000000;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input::focus, .contact .php-email-form textarea::focus {
  background-color: #cc1616;
}

.contact .php-email-form input {
  padding: 20px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #cc1616;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #e82d2d;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}