@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@500&family=Roboto&display=swap');

*{
  font-family: 'Open Sans', sans-serif;
}
p {
  text-align:center;
  }
p:after {/* this adds an extra invisible line, so any other line is justified */
  content:'';
  width:100%;
  vertical-align:top;
  }
  .col-md-12{
    padding-top: 1% !important;
  }
  .section{
    padding: 10% 10% 10% 10%;
  }

.card{
   width: 40rem !important;
}

/*FOOTER*/
footer{
  background: #333;
  color: #fff;
  align-items: center;
}

footer .footer-wrapper .col{
  text-align: left;
}
footer .social-wrapper a{
  color: #fff;
  padding: 6px;
}
footer .social-wrapper a:hover{
  color: #0d98ba;
}
/* SUB FOOTER*/
footer .sub-footer {
  background-color: #222;
}
span{
  color: red;
}
.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}
.fa-instagram {
  background: #125688;
  color: white;
}
#home {
  background: url(images/drayers.jpg)no-repeat fixed center;
  background-size: cover;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#home .wrapper-text h1, h2{
  background: rgba(0,0,0,0.6); /*esto lo hace transparente*/
  border-radius: 5px;
  color: white;
  padding: 10px 20px 10px;
  font-family: 'Amiri', serif;
}
.contactbtnsec{
  display: flex;
  flex-direction: column;
  align-content: space-around;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-top: 20px;
  margin-bottom: 10px;
}
.contactbtnsec button{
  flex: 1;
  width: 75%;
  background-color: rgba(64, 71, 208, 0.9);
  border-color: rgba(64, 71, 208, 0.9);
}
button:hover{
  background-color: rgba(87, 254, 220, 0.9) !important;
  border-color: rgba(87, 254, 220,, 0.9) !important;
}
.aboutus h2{
  text-align: center;
}
.aboutus{
  display: flex;
  flex-direction: column;
}
.par{
  margin: 0 10% 0 10%;
}
.services{
  display: flex;
  flex-direction: column;
}
.services h2{
  text-align: center;
}
.cardslayout{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding-top: 30px;
}
.container {
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
}
.container .logo {
  max-width: 250px;
  padding: 0 10px;
  overflow: hidden;
}
.container .logo a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 60px;
}
.container .logo a img {
  max-width: 100%;
  max-height: 60px;
}

.container .navbars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  justify-content: flex-end;
  padding: 0 10px;
}

.container .navbars ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
/*Dio forma a los botones del home y al icono*/
.container .navbars ul li a {
  text-decoration: none;
  color: black;
  font-size: 14px;
  text-transform: uppercase;
  display: block;
  height: 60px;
  line-height: 60px;
  cursor: pointer;
  padding: 0 10px;
}

.container .navbars ul li a:hover {
  color: #ffffff;
  background-color: rgba(64, 71, 208, 0.9);
}

.container .navbars ul .close {
  display: none;
  text-align: right;
  padding: 10px;
}
.container .navbars ul .close span {
  font-size: 40px;
  display: inline-block;
  border: 1px solid #cccccc;
  padding: 0 10px;
  cursor: pointer;
}

.container .navbars .icon-bar {
  padding: 18px 8px;
  width: 50px;
  height: 60px;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-around;
  cursor: pointer;
}

.container .navbars .icon-bar i {
  background-color: black;
  height: 2px;
}

@media only screen and (max-width: 875px) {
  .cardslayout{
    display: flex;
    flex-direction: column;
    justify-content: space-space-between;
    flex: 1;
    padding: 8%;
  }
  .card{
    width: 100% !important;
    position: inherit !important;
    align-items: center;
    margin-bottom:20px !important;
  }
  .container {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .container .logo {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }

  .container .navbars {
    -webkit-box-flex: 0;
    -ms-flex: 0;
    flex: 0;
        background-color: white;
  }

  .container .navbars ul {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    position: fixed;
    left: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    background: #ffffff;
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-transition: left .3s;
    -o-transition: left .3s;
    transition: left .3s;
  }

  .container .navbars ul li a {
    padding: 10px;
    font-size: 16px;
    height: auto;
    line-height: normal;
    color: #555555;
  }

  .container .navbars ul .close {
    display: block;
  }

  .container .navbars .icon-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .container .navbars ._Menus-show {
    left: 0;
  }
}

.body {
  max-width: 700px;
  margin: 0 auto;
  padding: 10px;
}
