.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25;
  background-repeat: no-repeat;
  background-size: cover;
  /*height: 100vh;*/
  min-height: 100vh;
}

.main > div > h1 {
  color: #4ea37b;
}

.main-txt, .main-txt > p{
  color: #3D4042;
}

.main-description {
  background-color: #fff;
  display: grid;
}

.main-description, .main-description > p, .beforeoffer-txt, .beforeoffer-txt > p {
  color: #3d4042;
  line-height: 1.5;
}

.gallery {
  background-color: #3d4042;
}

.gallery > h2 {
  color: #ece8e7;
}

.slick-slider {
  background-color: transparent;
}

.slick-slide {
  border: none;
}

.item {
  border-radius: 0;
  padding: 0;
}

.item:hover {
  cursor: pointer;
}

.next-arrow {
  margin-right: 0;
  margin-left: 0;
  position: absolute;
  right: 50px;
}

.prev-arrow {
  margin-right: 0;
  margin-left: 0;
  filter: invert(95%) sepia(15%) saturate(38%) hue-rotate(324deg) brightness(97%) contrast(92%);
}

.beforeoffer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.btn-extern {
  color: #3d4042;
  background-color: #5ab18f;
  font-weight: 600;
  letter-spacing: 0.96px;
  transition: all 300ms ease-in;
  display: table;
  text-align: center;
}

.btn-extern:hover, .btn-extern:visited{
  text-decoration: none;
}

@media (min-width: 992px) {
  .main {
    padding: 0px 50px;
    align-self: center;
    background-image: url('../img/arhitectura-d.jpg');
    background-position: center;
  }
  .main > div:first-child {
    max-width: 50%;
  }
  .main > div > h1{
    margin-bottom: 50px;
  }
  .main-txt, .main-txt > p, .beforeoffer-txt, .beforeoffer-txt > p {
    font-size: clamp(1.125rem, 0.724rem + 0.647vw, 1.5rem);
    line-height: 1.5;
  }
  .main > div:last-child {
    align-self: center;
    position: absolute;
    bottom: 20px;
  }
  .main > div > a > img{
    max-width: 16px;
  }
  .main > div > a {
    height: auto;
    animation: MoveUpDown 2s linear infinite;
    position: absolute;
    bottom: 20px;
		left: 0;
		right: 0;
  }
	@keyframes MoveUpDown {
		0%, 100% {
		  bottom: 20px;
		}
		50% {
		  bottom: 1px;
		}
	}
  .main-description {
    padding: 150px 50px;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  .main-description p {
    font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
    letter-spacing: 1.32px;
  }
  .gallery {
    padding-top: 100px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 130px;
  }
  .gallery > h2 {
    margin-bottom: 50px;
  }
  .beforeoffer {
    height: 80vh;
    padding: 0 50px 0 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('../img/arhitectura-end-d.jpg');
    background-position: center;
  }
  .beforeoffer-txt {
    align-self: flex-end;
    width: 50%;
  }
  .btn-extern {
    border-radius: 15px;
    padding: 20px 0px;
    width: 240px;
    margin-top: 60px;
    font-size: clamp(1rem, 0.866rem + 0.216vw, 1.125rem);
  }
}

@media (max-width: 991px){
  .main {
    padding: 50px 20px;
    background-image: url('../img/arhitectura-m.jpg');
    background-position: right;
  }
  .main > div > h1{
    margin-bottom: 30px;
  }
  .main-txt, .main-txt > p, .beforeoffer-txt, .beforeoffer-txt > p{
    font-size: 18px;
    line-height: 1.5;
  }
  .main > div:last-child {
    align-self: center;
    position: absolute;
    bottom: 60px;
  }
  .main > div > a > img{
    max-width: 12px;
    height: auto;
  }
  .main > div > a {
    height: auto;
    animation: MoveUpDown 2s linear infinite;
    position: absolute;
    bottom: 20px;
		left: 0;
		right: 0;
  }
	@keyframes MoveUpDown {
		0%, 100% {
		  bottom: 20px;
		}
		50% {
		  bottom: 1px;
		}
	}
  .main-description {
    padding: 50px 20px;
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .main-description p {
    font-size: 16px;
    letter-spacing: 0.96px;
  }
  .gallery {
    padding-top: 45px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 55px;
  }
  .gallery > h2 {
    margin-bottom: 30px;
  }
  .beforeoffer {
    height: 50vh;
    padding: 0 20px;
    background-image: url('../img/arhitectura-end-m.jpg');
    background-position: center;
    padding-top: 80px;
    padding-bottom: 130px;
  }
  .btn-extern {
    padding: 15px 0px;
    width: 200px;
    border-radius: 10px;
    margin-top: 40px;
    font-size: 14px;
  }
}

@media(min-width:768px){
  .mobile{
    display: none !important;
  }  
}

@media(max-width:767px){
  .desktop{
    display: none !important;
  }
}
