html {
  background-color: white;
}

/*          BUTTON SCROLL TOP             */

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  border: 3px solid #1a96d4;
  background-color: transparent;
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 4px;
}

/*----------MAIN IMAGE AND NAVBAR----------*/

#hero {
  width: 100%;
  height: 420px;
  background: url("../img/equipa_2.webp") center center;
  /* background-attachment: scroll; */
  background-size: auto;
  /* background-size: 100% 450px; */
  background-size: cover;
  position: relative;
  z-index: 9;
}

#hero nav {
  color: white;
}

@media (max-width: 767.98px) {
  #hero {
    width: 100%;
    height: 420px;
    background: url("../img/equipa_2.webp") center center;
    /* background-attachment: scroll; */
    background-size: auto;
    /* background-size: 100% 450px; */
    background-size: cover;
    position: relative;
    z-index: 9;
  }
}

#mainTitle {
  padding-top: 25px;
  font-size: 70px;
}

@media (max-width: 992px) {
  #mainTitle {
    padding-top: 5%;
  } 
}

@media (max-width: 460px) {
  #mainTitle {
    font-size: 60px;
  }
}

#hero .hero-container h1 {
  font-family: "brandon-grotesque", Sans-serif;
  font-weight: 450;
  text-transform: uppercase;
  font-style: normal;
  letter-spacing: 2px;
}

#contacteNosBtn {
  background-color: #024DA2;
  color: white;
  font-weight: 600;
  padding: 15px 25px;
  border-radius: 10px;
  text-decoration: none;
}

#contacteNosBtn:hover {
  background-color: white !important;
  color: #024DA2;
  transition: all 300ms ease-out;
}

.abs-center-x {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#hero .hero-container {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 15px;
  margin-top: 150px;
  height: fit-content;
}

.navbar-dark .navbar-nav .nav-link {
  color: white !important;
  font-size: 97%;
}

.navbar-dark:hover .navbar-nav:hover .nav-link:hover {
  transition: all 100ms ease-in-out 100ms;
  transform: scale(1.2);
}

.navbar-toggler-icon {
  color: white;
}

.navbar {
  padding-top: 0px !important;
}

#navbar-style {
  /* background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(2, 77, 162, 1)), to(rgba(0, 0, 0, 0))); */
  background: rgb(0,0,0);
  background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgb(34, 94, 162) 100%);
  /* background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgb(13, 83, 164) 100%); */
  
}

#topIcon {
  width: 200px;
}

@media (max-width: 992px) { /* for small screens */
  
  #topIcon {
    width: 150px;    
    padding-top: 6px;
    padding-bottom: 6px;
    
  }
  
  #navbar-style {
    position: fixed;
    background-color: rgba(2, 77, 162, 1);
  }
  
  .navbar-brand { 
    display: block;
  }
  
  .navbar-collapse {
    position: fixed;
    top: 82px;
    left: 0;
    padding-left: 15px;
    padding-right: 15px;
    width: 50%;
    height: 100%;
    background-color: rgba(2, 77, 162, 1);
  }
  
  .navbar-collapse.collapsing {
    left: -50%;
    transition: width 0s ease;
  }
  
  .navbar-collapse.show {
    left: 0;
    transition: all 300ms ease;
  }
  
  .navbar-toggler.collapsed ~ .navbar-collapse {
    transition: all 500ms ease;
  }
}


@media (max-width: 930px) {
  #btn-mid {
    display: block !important;
  }
}

.container h2 {
  color: black;
}

.heading h2 {
  margin-bottom: 2.5rem;
  position: relative;
  font-size: 40px;
  font-weight: 500;
  text-transform: uppercase;
  font-style: normal;
  letter-spacing: 3.3px;
}

.heading h2:after {
  content: '';
  height: 2px;
  width: 4rem;
  position: absolute;
  left: 50%;
  bottom: -1rem;
  transform: translateX(-50%);
  background-color: #1a96d4;
}

/*----------FOOTER AND CONTACTS----------*/

#contact {
  background-color: #024DA2;
  margin-top: 7%;
}

#footer {
  background-color: #024DA2;
  color: white;
}

#footer .copyright {
  text-align: center;
  padding-bottom: 10px;
}
#footer .credits {
  
  text-align: center;
  font-size: 13px;
  color: #fff;
}
#footer .credits a {
  color: #72a8bf;
}

.contact .contact-info {
  text-align: center;
}

.contact .contact-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 300;
  color: rgb(218, 214, 214);
}

.contact .contact-info i {
  font-size: 30px;
  display: inline-block;
  margin-bottom: 7px;
  color: white;
}

#adressFooter {
  padding-top: 2.7rem;
}

.contact .contact-info a {
  color: white;
  text-decoration: none;
}

.contact .contact-info a:hover {
  /* color: #1a96d4; */
  font-weight: 600;
}

*, ::after, ::before {
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .contact .contact-phone {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    
  }
  
  .contact .contact-address, .contact .contact-phone, .contact .contact-email, .contact .contact-redes {
    padding: 20px 0;
  }
  
  .contact .contact-redes {
    border-left: 1px solid #ddd;
  }
  .contact .contact-redes .redes-at{
    display: inline;
  }
}


@media (max-width: 767.98px) {
  
  #contact {
    background-color: #024DA2;
    margin-top: 15%;
  }
  
  #footer {
    background-color: #024DA2;
    color: white;
    padding-top: 5%;
  }
  
  #footer .copyright {
    text-align: center;
    padding-bottom: 10px;
  }
  #footer .credits {
    
    text-align: center;
    font-size: 13px;
    color: #fff;
  }
  #footer .credits a {
    color: #72a8bf;
  }
  
  .contact .contact-info {
    text-align: center;
  }
  
  .contact .contact-info h3 {
    font-size: 16px;
    margin-bottom: 7px;
    font-weight: 300;
    color: rgb(218, 214, 214);
  }
  
  .contact .contact-info i {
    font-size: 32px;
    display: inline-block;
    margin-bottom: 7px;
    color: white;
  }
  
  #socialMediaFooter {
    font-size: 25px;
  }
  
  #mailFooter {
    padding-top: 6px;
  }
  
  #adressFooter {
    padding-top: 10%;
  }
  
  .contact .contact-info a {
    color: white;
    text-decoration: none;
    font-size: 14px;
  }
  
  *, ::after, ::before {
    box-sizing: border-box;
  }
}

@media (max-width: 540px) {
  #adressFooter {
    padding-top: 10.8%;
  }
}