.homeCard1 {
  background-color: rgba(243, 234, 234, 1);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 20px;
  box-shadow: 7px 15px 25px hsl(0, 0%, 47%);
  position: relative;
  transition: transform 10s 1s, background-size 0.5s;
  animation:galleryAnimation 40s linear both;
  animation-iteration-count: infinite;
}

.homeCard1:hover {
  background-size: 105% 105%;
}

@-webkit-keyframes galleryAnimation{
  0%, 100%{
    background-image: url("../assets/home/3-r.jpg");
  }
  
  35%{
    background-image: url("../assets/home/6-r.jpg");
  }
  65%{
    background-image: url("../assets/home/10-r.jpg");
  }
}

/********************************/

.contact {
  width: 70%;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  padding-top: 90px;
  font-size: 23px;
  border-top: 1px solid black;
  word-break: keep-all;
  line-height: 1.5;
  color: black;
  text-align: justify;
}

.textHomeCard {
  width: 380px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  font-size: 40px;
  color: black;
  margin-top: 30px;
  background-color: white;
  border-radius: 10px;
}

.boxHome {
  width: 86%;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  padding-bottom: 110px;
}

.boxHome1 {
  flex: 1.5;
  height: auto;
  background-color: white;
  border-radius: 10px 10px 10px 10px;
  margin: 12px;
  cursor: pointer;
  transition: transform 1s 1s, background-color 0.5s;
}

.boxHome1:hover {
  background-color: rgb(216, 229, 236);
}


.boxHome1 a{
  text-decoration: none;
}

.imgBox {
  text-align: center;
  padding-top: 10px;
}

.imgBox img {
  width: 90%;
  height: 60%;
  border: 1px solid black;
  border-radius: 20px;
}

.imgBox img:hover {
  width: 92%;
  height: 62%;
}

.textSmall {
  text-align: center;
  color: rgb(12, 10, 10);
  font-size: 20px;
  padding-top: 20px;
  text-decoration: none;
  display: block;
  font-weight: bold;
}

.textBig {
  color: rgb(46, 39, 39);
  line-height: 1.7;
  padding: 10px;
  word-break: keep-all;
  font-size: 14px;
  text-align: justify;
}

.textBigHomeCard2 {
  color: rgb(46, 39, 39);
  line-height: 1.7;
  padding: 10px;
  word-break: keep-all;
  font-size: 13px;
  margin-top: 130px;
}

/*************************************************/

@media screen and (max-width: 950px) {

  .boxHome {
    flex-wrap: wrap;
  }
  .boxHome > section {
    min-width: 46%;
    margin: 12px;
    margin-bottom: 3px;
  }
  .contact {
    width: 80%;
    font-size: 20px;
  }
  .textHomeCard {
    font-size: 35px;
  }
}

@media screen and (max-width: 700px) {
  .homeCard1{
   animation: none;
  }
}
@media screen and (max-width: 600px) {
  .boxHome {
    flex-direction: column !important;
    height: auto;
    width: 88.2%;
  }
  .contact {
    width: 80%;
  }
}
