
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'open sans';
}

.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

/* Header */

header {
    width: 100%;
    height: 300px;
     background-image: linear-gradient(to bottom right, rgba(255,255,255,1), rgba(40,139,168,1));
}

nav{
    text-align: right;
    padding: 30px 1px 0 0;
}

nav > a{
    color:#000;
    font-weight: 300;
    text-decoration: none;
    margin-right: 60px;
}

nav > a:hover{
    text-decoration: underline;
}
header .logo .imagen{
width:150px;
height:130px;
float: left;
margin-left: 150px;
 max-width: 300px;

   
}

header .textos-header{
    display: flex;
    height: 130px;
    width: 50%;
    max-width: 1000px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    float: center;
}

.textos-header h1{
    font-size: 50px;
    color:#fff;
}

.textos-header h2{
    font-size: 30px;
    font-weight: 300;
    color:#fff;
}


/*  Our team */
main{
  font-family: 'Montserrat', sans-serif;
}

.services{
  background: #fafafa;
  margin: 40px;
}

.subtitle{
  font-size: 42px;
  text-align: center;
}


.copy__section{
  color: var(--black2);
  font-size: 22px;
  line-height: 32px;
  margin-bottom: 60px;
  text-align: center;
}


.container-cards{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.card{
  width: 30%;
  padding: 30px 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--black2) 0%, var(--black1) 100%);
  border-radius: 10px;
  position: relative;
  text-align: right;
  margin-bottom: 60px;
  box-shadow: 0 0 6px var(--color_shadow);
}

.card__img{
  width: 95%;
  height: 200px;
  object-fit: cover;
}

.cards__text{
  text-align: left;
  width: 90%;
  margin:0 auto;
}


.card__title{
  text-align: center;
  font-family: inherit;
  font-size: 30px;
  color: rgb(111, 110, 110);
  margin-bottom: 8px;
}

.card__button{
  display: block;
  background: linear-gradient(180deg, #F7CE90 0%, #F4BD76 100%);
  border-radius: 6px;
  text-decoration: none;
  width: 50%;
  color: var(--black1);
  font-weight: 700;
  text-align: center;
  padding: 12px 0;
  margin: 0 auto;
}


.hero__cta{
  text-decoration: none;
  color: #fff;
  padding: 12px 0;
  border: 1px solid;
  border-radius: 6px;
  display: block;
  transition: background-color .3s;
  background: linear-gradient(180deg, #587e7e 0%, #798b8f 100%);
  width: 50%;
  font-weight: 700;
  text-align: center;
  margin: 0 auto;
}

.hero__cta:hover{
  background-color: #fff;
  color: #000000;
}

.modal{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #111111bd;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s .9s;
  --transform: translateY(-100vh);
  --transition: transform .8s;
}

.modal--show{
  opacity: 1;
  pointer-events: unset;
  transition: opacity .6s;
  --transform: translateY(0);
  --transition: transform .8s .8s;
}

.modal__container{
  margin: auto;
  width: 90%;
  max-width: 600px;
  max-height: 90%;
  background-color: #fff;
  border-radius: 6px;
  padding: 3em 2.5em;
  display: grid;
  gap: 1em;
  place-items: center;
  grid-auto-columns: 100%;
  transform: var(--transform);
  transition:var(--transition);
  overflow-y: scroll;
}

.modal__title{
  font-size: 2.5rem;
}


.modal__img{
  width: 90%;
  max-width: 300px;
}

.modal__close{
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #587e7e 0%, #798b8f 100%);
  padding: 1em 3em;
  border: 1px solid ;
  border-radius: 6px;
  display: inline-block;
  font-weight: 300;
  transition: background-color .3s;
}

.modal__close:hover{
  color: #000000;
  background-color: #fff;
}
.parrafot{
  text-align: justify;
  line-height: 40px;
  font-family: inherit;
  margin: 0 500px;
  margin-top: 30px;
}
.parrafo2{
  text-align: justify;
  line-height: 30px;
  font-family: inherit;
}

/* footer */

footer .redes-sociales {
  background: #1e2b38;
  padding: 5px 0; 
}
  footer .redes-sociales .contenedor {
    display: flex;
    justify-content: center; 
  }
    footer .redes-sociales .contenedor a {
      color: #fff;
      text-align: center;
      width: 100px;
      font-size: 30px;
      padding: 0.1px 0;
      display: block;
      margin: 0 20px;
      border-radius: 3px; 
    }
        footer .redes-sociales .contenedor .facebook {
      background: #55acee; 
    }
    footer .redes-sociales .contenedor .whatsapp {
      background: #075e54; 
    }
    footer .redes-sociales .contenedor .linkedln {
      background: #0077b5; 
    }
    footer .redes-sociales .contenedor .instagram {
      background: #e1306c; 
    }
    footer .redes-sociales .contenedor .facebook:hover {
      background: #000; 
    }
    footer .redes-sociales .contenedor .whatsapp:hover {
      background: #000; 
    }
    footer .redes-sociales .contenedor .linkedln:hover {
      background: #000; 
    }
    footer .redes-sociales .contenedor .instagram:hover {
      background: #000; 
    }
  
    footer .final {
      background: #000;
      padding: 4px 0;
    }
      footer .final .contenedor {
        background: #000;
        padding: 4px 0;
      }
        footer .final .contenedor .copyright {
          text-align: center;
          padding: 1px 0;
          color: #fff;
        }


	@media screen and (max-width:1655px){
		.parrafot{
			margin:0 200px;
		}
	}

@media screen and (max-width:900px){
     header .logo .imagen{
  width:100px;
  height:90px;
  margin-top: 30PX;
  margin-left: 50px;
  max-width: 100px;
  }
 header .textos-header{
  margin: 0 auto;
  margin-top: 25px;
  text-align: left;
 }
                  
 .textos-header h1{
  font-size: 26px; 
 }
                  
  .textos-header h2{
   font-size: 20px;
   }
   header{
        background-position: center;
    }

    .contenedor-sobre-nosotros{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sobre-nosotros .contenido-textos{
        width: 90%;
    }

    .imagen-about-us{
        width: 90%;
    }

    .services .card{
      width: 45%;
  }
  .parrafot{
   
    margin: 0 0px;
    margin-top: 30px;
  }
}

@media screen and (max-width:500px){
    nav{
        text-align: center;
        padding: 30px 0 0 0;
    }

    nav > a{
        margin-right: 5px;
    }
    .services .card{
      width: 95%;
  }
 .card__title{
  font-size: 30px;
}
.subtitle{
  font-size: 32px;
}
.copy__section{
  font-size: 22px;
  line-height: 25px;
  margin-top: 20px;
}
  .card{
      width: 95%;
  }
  .modal__container{
    padding: 2em 1.5em;
}
.modal__container2{
  padding: 2em 1.5em;
}
.modal__container3{
  padding: 2em 1.5em;
}
.modal__title{
    font-size: 2rem;
}

footer .redes-sociales .contenedor {
    flex-wrap: wrap; 
  }
footer .redes-sociales .contenedor > a {
      margin-right: 5px;
  margin: 1px 1px;
    }
}
@media screen and (max-width:376px){
 header .logo .imagen{
  width:80px;
  height:70px;
  margin-left: 25px;
 }
 header .textos-header{
   margin-top: 1px;
 }
 .textos-header h1{
  font-size: 20px; 
 }
 .textos-header h2{
  font-size: 14px;
  text-align: center;
 }
 .card__title{
  font-size: 20px;
}
.subtitle{
  font-size: 22px;
}
.copy__section{
  font-size: 18px;
  line-height: 15px;
  margin-top: 20px;
}
}