body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
/*background-color: #cae8d5;*/
  scroll-behavior: smooth;
}

* {
  scroll-behavior: smooth;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}
/*Clases generales*/
.w-100 {
  width: 100%;
}

.t-center {
  text-align: center;
}

.flex {
  display: flex;
}

.space-between {
  justify-content: space-between;
}

.space-around {
  justify-content: space-around;
}

.space-evenly {
  justify-content: space-evenly;
}

.align-end {
  align-items: flex-end;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.btn {
  border: none;
  background-color: transparent;
  border-radius: 5px;
  padding: 5px 10px;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  bottom: 10px;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.7;
}

.primary {
  background-color: rgb(95, 95, 247);
}

.success {
  background-color: rgb(37, 182, 37);
}

/*menu desplegable*/

.myBtn {
  background-color: rgb(95, 95, 247);
  color: white;
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem;
  cursor: pointer;
  border-radius: 10px;
  transition: all ease-in-out 0.3s;
  z-index: 350;
}

.myBtn.active {
  transform: translateX(-200%);
}

nav {
  background-color: rgb(95, 95, 247);
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  padding: 2rem;
  transform: translateX(100%);
  transition: all ease-in-out 0.3s;
  border-radius: 4px;
  z-index: 350;
}

nav.active {
  transform: translateX(0%);
}

nav ul {
  padding: 0;
  list-style: none;
  margin: 0;
}

nav ul li {
  padding: 1rem 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

/*custom clases*/

/*animation*/
.my-intro{
  background: black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-text{
  color: rgb(233, 233, 233);
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
}

.slider{
  background: #204051;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
}

.hide{
  background: black;
  overflow: hidden;
}

.hide span{
  transform: translateY(100%);
  display: inline-block;
}

.anim-small{
  font-size: 1.5rem;
}
/*fin animation*/


.title-box img {
  width: 350px;
  margin: 0;
}

.wrap-bg {
  width: 100%;
  height: 100vh;
  background: url(./imgs/bgs/WhatsApp\ Image\ 2020-09-19\ at\ 19.10.51.jpeg) 0 center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.title-box h2 {
  color: black;
  text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
  font-weight: 400;
  font-size: 30px;
  font-family: "Architects Daughter", cursive;
  animation-duration: 4s;
  animation-name: slidein;
  animation-timing-function: ease-in-out;
  margin: 0;
}

@keyframes slidein {
  from {
    margin-left: -100%;
    width: 100%;
  }
  to {
    margin-left: 0%;
  }
}

.title-box h4 {
  color: black;
  text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
  font-weight: 400;
  font-size: 24px;
  font-family: "Architects Daughter", cursive;
  animation-duration: 5s;
  animation-name: slideafter;
  animation-timing-function: ease-in-out;
  margin-top: 0px;
  margin-bottom: 5px;
}
@keyframes slideafter {
  from {
    margin-left: -150%;
  }
  to {
    margin-left: 0%;
  }
}

.fbook-btn {
  color: #1877f2;
  /*! font-size: 32px; */
  padding: 5px;
}

.nav-portada {
  width: 100%;
  margin: 0;
  background-color: #000;
 /* border-top-left-radius: 10px; */
 /* border-top-right-radius: 10px; */
  position: relative;
  font-size: 20px;
}

ul {
  list-style: none;
  margin: 0;
}

.list li {
  margin: 0px 0px 0px 20px;
  padding: 5px;
  cursor: pointer;
  transition: all ease-in-out 0.2s;
}

.list li:hover {
  background-color: coral;
}

ul li a {
  color: white;
  text-decoration: none;
}

.close-events{
  text-decoration: underline white;
  display: none;
}

.galery {
  position: absolute;
  z-index: 300;
  top: 10;
  left: 55px;
  color: white;
  background-color: #204051;
  padding: 0px 40px 10px 10px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  transform: scale(0);
  transition: all 0.3s ease;
}

.activa {
  transform: scale(1);
}

.galery li {
  margin-top: 20px;
  font-size: 16px;
}

.portada {
  width: 100%;
  height: 85vh;
  background: url(./imgs/3moto.jpg) 0 center no-repeat;
  background-size: cover;
 /* border-bottom-right-radius: 10px; */
  /* border-bottom-left-radius: 10px; */
  /* box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5); */
  margin: 0;
}

.camera {
  position: absolute;
  top: 25%;
  right: 10%;
  animation: cam 1s ease-in-out -25s infinite;
}

@keyframes cam {
  0% {
    transform: rotate(-0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(10deg);
  }
}

.description-wrapper {
  width: 50%;
  color: white;
  margin: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  padding: 10px;
}

.description-wrapper h4 {
  font-size: 30px;
  margin: 0;
}

.about {
  width: 45%;
  color: black;
  justify-content: end;
}

.info {
  width: 50%;
  /* border: solid 2px #fff; */
  padding: 0px 0px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 1);
  /*! box-shadow: 0px 1px 3px #fff; */
  margin: 20px;
}

/*cards*/

.work-cards {
  margin-top: 20px;
  padding: 0;
}

.card-body {
  /* border: solid 1px black; */
  padding: 20px;
  border-radius: 0px;
  width: 20%;
  margin: 0;
  background-color: rgba(95, 95, 247, 0.1);
  /* box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); */
  color: #000;
  border: solid 5px rgb(0, 0, 0);
}

.card-descr {
  font-size: 14px;
}

@keyframes mover {
  0% {
    transform: translate(100%);
  }
}

.pic {
  width: 70%;
  object-fit: cover;
}

.separador {
  width: 100%;
  height: 2px;
  background-color: grey;
  margin: 50px 0px;
}

.card-btn {
  justify-content: flex-end;
}

.more-info {
  transform: scale(0);
  transition: all ease-in 0.3s;
  font-size: 14px;
}

.more-info.active {
  transform: scale(1);
}

/*static samples*/

.static-samples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  padding: 5px 0px;
  justify-items: center;
  background: url(./imgs/bgs/WhatsApp\ Image\ 2020-09-19\ at\ 19.10.50.jpeg) 0 center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.sample-wrapper {
  display: flex;
  flex-direction: column;
  width: 70%;
  border: solid 1px rgb(197, 195, 195);
  border-radius: 4px;
  padding: 0.5rem;
  background-color: whitesmoke;
}

@keyframes dale {
  0% {
    transform: translateY(100%);
  }
}

.sample-pic img {
  width: 100%;
  object-fit: cover;
}

/*opinions*/

.opiniones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
}

.opinion {
  width: 70%;
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
  border: solid 5px rgb(95, 95, 247);
}

.opinion img {
  width: 90%;
  object-fit: cover;
}

.op-title {
  color: black;
  font-size: 40px;
  font-weight: 100;
}

.d-block {
  display: block;
}

.d-none {
  display: none;
}

/*footer*/

.contact {
  margin-top: 100px;
  background-color: #000;
  padding: 10px;
  color: white;
}

.outro {
  color: white;
  font-size: 26px;
  font-weight: 400;
  margin: 0;
}

.outro h5 {
  margin: 10px 0px;
}

.socials img {
  margin: 0px 10px;
}

.custom {
  display: flex;
  justify-content: space-between;
}

/*Formulario*/

 .cont-wrapper{
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

form{
  margin: auto;
}

/*media queries*/

@media (max-width: 700px) {
  * {
    overflow-x: hidden;
  }

  .myBtn {
    top: 10px;
    right: 30px;
    padding: 10px;
  }

  .myBtn.active {
    transform: translateX(-250%);
  }

  .list {
    justify-content: space-around;
    margin: 0;
    padding: 0;
  }

  .close-events{
    display: block;
  }

  .galery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  .description-wrapper {
    width: 100%;
    margin-top: 50%;
  }

  .work-cards {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }

  .card-body {
    width: 90%;
    margin-top: 10px;
  }

  .static-samples {
    grid-template-columns: 1fr;
  }

  .sample-wrapper {
    width: 90%;
  }

  .portada {
    display: block;
    background: url(./imgs/3moto.jpg) -220px center no-repeat;
    background-size: cover;
  }

  .description-wrapper {
    width: 100%;
    color: white;
    text-align: center;
  }

  .description-wrapper h4 {
    color: white;
  }

  .about {
    width: 100%;
    justify-content: center;
  }

  .wrapper {
    display: block;
  }

  

  .example {
    width: 95%;
  }

  .camera {
    display: none;
  }

  .contact {
    width: 90%;
    margin: 10px auto;
  }

  .outro h5 {
    font-size: 16px;
    text-align: center;
  }
}
