body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

a {
  text-decoration: none;
}

#loader-page {
  background-color: rgba(255, 250, 253, 0.9);
  height: 100%;
  width: 100%;
  position: fixed;
  transition: all 2s ease-in-out;
  z-index: 10000;
}

.loader-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 160px;
  height: 160px;
}

.loader-container .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: solid 4px transparent;
  border-top-color: #0dac77;
  border-left-color: #0dac77;
  border-radius: 50%;
  animation: loader 1.2s ease-in-out infinite;
}

.loader-container .loader-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 70%;
  border: solid 4px transparent;
  border-bottom-color: #a5004a;
  border-right-color: #a5004a;
  border-radius: 50%;
  animation: loader-2 1.2s ease-in-out infinite;
}

@keyframes loader {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes loader-2 {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.header-section {
  background-image: url("../img/oficina-las-grutas.jpeg");
  background-position: center;
  background-size: cover;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px,
    rgba(0, 0, 0, 0.22) 0px 10px 10px;
  height: 100vh;
}

.header-section:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

/*Inicio de menú */

nav.navbar {
  background-color: #000000;
  opacity: 0.7;
  top: 0;
  width: 100%;
  left: 0;
  right: 0;
  position: fixed;
  z-index: 99;
}
.right {
  text-align: right;
}
.navbar-nav a {
  font-family: "Spartan", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: #ffffff !important;
  opacity: 1 !important;
  letter-spacing: 1px;
  margin-right: 40px;
  margin-left: 40px;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.5s;
}

.navbar-nav a:hover,
.navbar-nav a:focus {
  text-decoration: none;
  text-shadow: 0px 0px 1px black;
  background-size: 100% 2px;
}

.navbar-toggler {
  font-size: 20px;
  margin: 5px;
  background-color: white;
}

.navbar-toggler:focus {
  outline: none;
}

/*Fin de menú */

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-centered {
  text-align: center;
}

.left {
  text-align: left;
}
#start {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.title {
  font-family: "Spartan", sans-serif;
  margin-top: 15px;
  font-size: 65px;
  color: #ffffff;
  animation: fadeIn;
  animation-duration: 2s;
}

.subtitle {
  display: hidden;
  font-family: "Spartan", sans-serif;
  font-size: 27px;
  margin-top: 15px;
  font-weight: 400;
  color: #ffffff;
  animation: fadeIn;
  animation-duration: 2s;
}

.btn {
  font-size: 15px;
  margin-top: 30px;
  width: 250px;
  height: 60px;
  padding: 3px;
  color: #ffffff;
  background-color: transparent;
  border: 1px solid white;
  transition: all 800ms;
  font-family: "Spartan", sans-serif;
  animation: fadeInDown;
  animation-duration: 2s;
}

.btn:hover {
  border: 1px solid;
  color: #ffffff;
  background-color: #681212;
  text-shadow: 0 0 5px #000000;
}

.start {
  position: relative;
}

.arrow {
  font-size: 22px;
  position: absolute;
  bottom: 15px;
  color: white;
  animation: shakeY;
  --animate-duration: 5s;
  transition: all 800ms;
}

.arrow:hover {
  color: #681212;
  transform: scale(1.2, 1.2);
}

#services {
  margin-top: 0px;
}

.sec-title {
  margin-top: 60px;
  font-size: 40px;
  letter-spacing: 5px;
  font-family: "Spartan", sans-serif;
  margin-bottom: 40px;
}

.services-one {
  background-image: url("../img/image (4).jpg");
  background-position: center;
  background-size: cover;
  animation: fadeInLeft;
  animation-duration: 2s;
}
.services-two {
  background-image: url("../img/image (2).jpg");
  background-position: center;
  background-size: cover;
  animation: fadeInDown;
  animation-duration: 2s;
}
.services-three {
  background-image: url("../img/image (3).jpg");
  background-position: center;
  background-size: cover;
  animation: fadeInDown;
  animation-duration: 2s;
}
.services-four {
  background-image: url("../img/image (1).jpg");
  background-position: center;
  background-size: cover;
  animation: fadeInRight;
  animation-duration: 2s;
}

.card-services:hover {
  opacity: 0.8;
  border-bottom: 10px solid #681212;
}

.card-services {
  height: 350px;
  width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 1000ms;
}

.services-title {
  color: #ffffff;
  font-size: 20px;
}

.btn-services {
  font-size: 10px;
  color: #ffffff;
  background-color: #413c3c;
  width: 150px;
  height: 40px;
}

.ideal-title {
  margin-top: 60px;
  font-size: 50px;
  font-family: "Spartan", sans-serif;
}

.ideal-subtitle {
  font-size: 25px;
  font-family: "Spartan", sans-serif;
}

.ideal-paragraph {
  border-left: 1px solid #888080;
  padding-left: 10px;
  margin-top: 50px;
  font-size: 18px;
  letter-spacing: 3px;
}

.pd-image h1 {
  padding: 20px;
  font-size: 25px;
  letter-spacing: 5px;
}

.pd-image h3 {
  font-size: 15px;
}

.pd-image .pd-title {
  margin: 0 auto;
  width: 500px;
}

.contact {
  color: white;
  border: 1px solid white;
  background-color: transparent;
}

.first-title-info {
  text-align: left;
  font-family: "Spartan", sans-serif;
  font-weight: bold;
  font-size: 35px;
}

.title-info {
  font-weight: bold;
  border-bottom: 3px solid #681212;
}

.paragraph-info {
  margin-top: 10px;
  line-height: 25px;
  font-size: 15px;
}

.bold-info {
  font-size: 30px;
}

#about-us {
  margin-top: 50px;
  position: relative;
}

#about-us::after {
  content: "";
  background-image: url("../img/presentation.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

.bold-team {
  font-size: 50px;
}

.img-title {
  text-align: center;
  font-size: 30px;
}

#team-carousel .carousel-item img {
  object-fit: cover;
  object-position: center;
  height: 100vh;
  overflow: hidden;
}

.team-img {
  width: 600px;
  height: 600px;
}

.team-title {
  font-size: 27px;
}

.team-subtitle {
  font-size: 17px;
}

.team-text {
  font-size: 14px;
}

.carousel-caption {
  font-size: 20px;
}

#contact {
  background-image: url(../img/fondodifuminado.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-title {
  font-size: 40px;
  margin-top: 60px;
  font-family: "Spartan", sans-serif;
}

.contact-subtitle {
  font-weight: bold;
  font-family: "Spartan", sans-serif;
  font-size: 20px;
  margin-top: 30px;
}

.contact-text {
  font-family: "Montserrat", sans-serif;
}

.social-wrap {
  margin-top: 10px;
  display: flex;
  justify-content: space-evenly;
}

.social-item {
  border-radius: 50px 50px 50px 50px;
  margin-right: 10px;
  transition: all 800ms;
}

.social-item a {
  text-decoration: none;
  color: #000000;
}

.social-item:hover {
  transform: scale(1.3, 1.3);
}

.social-item a:hover {
  color: #681212;
}

#contact-form input,
#contact-form textarea {
  background-color: transparent;
  margin-top: 20px;
  border: none;
  border-bottom: 1px solid rgb(141, 137, 137);
  width: 100%;
}

#contact-form textarea {
  border: 1px solid rgb(141, 137, 137);
  height: 100px;
}

.contact-btn {
  font-size: 15px;
  width: 250px;
  height: 60px;
  padding: 3px;
  color: #ffffff;
  background-color: #681212;
  border: 1px solid white;
  transition: all 800ms;
  font-family: "Spartan", sans-serif;
  animation: fadeInDown;
  animation-duration: 2s;
}

.form-control:focus,
.form-control:active {
  border: none;
  box-shadow: 0px 0px 0px 0px;
}

.justify-content {
  display: flex;
  justify-content: space-evenly;
}

.copyright {
  bottom: 0;
  margin-top: 60px;
  font-size: 15px;
}

.vr-copyright {
  color: #000000;
  text-decoration: none;
}

.vr-copyright:hover {
  color: #681212;
}

/*Media queries*/

@media (max-width: 990px) {
  /*Header*/

  .title {
    font-size: 30px;
    margin-top: 15px;
  }

  .subtitle {
    margin-top: 15px;
    font-size: 15px !important;
  }

  .arrow {
    font-size: 13px;
  }

  .pd-image h1 {
    font-size: 15px;
  }

  .pd-image h3 {
    font-size: 10px;
  }

  .btn {
    font-size: 10px;
    width: 150px;
    height: 40px;
    margin-top: 12px;
  }

  /*Services*/

  .sec-title {
    margin-bottom: 15px;
  }

  .card-services {
    width: 300px;
    height: 250px;
    margin-top: 10px;
  }

  .ideal-title {
    font-size: 25px;
  }

  .ideal-subtitle {
    font-size: 15px;
  }

  .ideal-paragraph {
    border-left: none;
    border-top: 1px solid #888080;
    padding-left: 0px;
    padding-top: 10px;
    font-size: 13px;
  }

  .pd-image .pd-title {
    width: 300px;
  }

  .pd-image h1 {
    font-size: 25px;
  }

  .pd-image h3 {
    font-size: 12px;
  }

  .first-title-info {
    text-align: center;
  }
}

@media (min-width: 767px) and (max-width: 990px) {
  .ideal-paragraph {
    border-left: 1px solid #888080;
    border-top: none;
    padding-left: 10px;
    padding-top: 0px;
  }
  .pd-image .pd-title {
    width: 400px;
  }
  .wrap-team-info {
    padding-left: 30px;
  }

  .team-title {
    font-size: 22px;
  }

  .team-subtitle {
    margin-top: 20px;
    font-size: 13px;
  }

  .team-text {
    margin-top: 20px;
    font-size: 11px;
  }
}

@media (min-width: 767px) {
  .wrap-team-info {
    margin-top: 150px;
  }
  .team-subtitle {
    margin-top: 20px;
  }

  .team-text {
    margin-top: 20px;
  }
}

@media (min-width: 991px) and (max-width: 1199px) {
  /*Header*/

  .title {
    font-size: 40px;
    margin-top: 15px;
  }

  .subtitle {
    margin-top: 15px;
    font-size: 20px !important;
  }

  .arrow {
    font-size: 15px;
  }

  .pd-image h1 {
    font-size: 18px;
  }

  .pd-image h3 {
    font-size: 13px;
  }

  .btn {
    font-size: 12px;
    width: 170px;
    height: 45px;
    margin-top: 12px;
  }

  /*Services*/

  .sec-title {
    margin-bottom: 15px;
  }

  .card-services {
    width: 230px;
    height: 250px;
    margin-top: 0px;
  }

  .ideal-paragraph {
    border-left: 1px solid #888080;
    border-top: none;
    padding-left: 10px;
    padding-top: 0px;
  }

  .pd-image .pd-title {
    width: 500px;
  }

  .team-title {
    font-size: 25px;
  }

  .team-subtitle {
    font-size: 15px;
  }

  .team-text {
    font-size: 13px;
  }
}

@media (min-width: 2000px) {
  /*Header*/

  .title {
    font-size: 100px;
    margin-top: 15px;
  }

  .subtitle {
    margin-top: 15px;
    font-size: 50px !important;
  }

  .arrow {
    font-size: 25px;
  }

  .pd-image h1 {
    font-size: 28px;
  }

  .pd-image h3 {
    font-size: 23px;
  }

  .btn {
    font-size: 23px;
    width: 300px;
    height: 85px;
    margin-top: 12px;
  }

  /*Services*/

  .sec-title {
    margin-bottom: 35px;
  }

  .card-services {
    width: 480px;
  }

  .ideal-title {
    font-size: 55px;
  }

  .ideal-subtitle {
    font-size: 35px;
  }

  .ideal-paragraph {
    border-left: 1px solid #888080;
    border-top: none;
    padding-left: 10px;
    padding-top: 0px;
    font-size: 25px;
  }

  .first-title-info {
    text-align: left;
    font-family: "Spartan", sans-serif;
    font-weight: bold;
    font-size: 55px;
  }

  .title-info {
    font-weight: bold;
    border-bottom: 3px solid #681212;
  }

  .paragraph-info {
    margin-top: 10px;
    line-height: 25px;
    font-size: 20px;
  }

  .bold-info {
    font-size: 35px;
  }

  /*About us*/
  .wrap-team-info {
    width: 1100px;
    margin-left: 50px;
  }

  .team-title {
    font-size: 45px;
  }

  .team-subtitle {
    font-size: 28px;
  }

  .team-text {
    font-size: 25px;
  }

  /*Contact*/
  .contact-title {
    font-size: 60px;
    margin-top: 60px;
    font-family: "Spartan", sans-serif;
  }

  .contact-subtitle {
    font-weight: bold;
    font-family: "Spartan", sans-serif;
    font-size: 40px;
    margin-top: 30px;
  }

  .contact-text {
    font-size: 25px;
  }

  .social-item {
    font-size: 25px;
  }

  #contact-form input,
  #contact-form textarea {
    margin-top: 40px;
  }

  .contact-btn {
    font-size: 25px;
    width: 350px;
    height: 90px;
    margin-top: 50px;
  }

  .copyright {
    font-size: 20px;
  }
}
