.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}

.main > div > h1 {
  color: #4ea37b;
}

.main-txt, .main-txt > p{
  color: #3D4042;
}

.main-description {
  background-color: #ece8e7;
  display: grid;
}

.main-description, .main-description > p, .beforeoffer-txt, .beforeoffer-txt > p {
  color: #3d4042;
  line-height: 1.5;
}

.sell {
  background-color: #3d4042;
  display: grid;
}

.sell > div, .buy > div {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.sell > div > h2, .sell-txt, .sell-txt > p {
  color: #51a37c;
}

.buy {
  background-color: #51a37c;
  display: grid;
}

.buy > div > h2, .buy-txt, .buy-txt > p {
  color: #3d4042;
}

.inspect {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: flex-end;
  background-repeat: no-repeat;
  background-size: cover;
}

.inspect-iner > h2 {
  color: #4e5153;
  align-self: center;
}

.inspect-iner > h2 > span {
  color: #51a37c;
}

.inspect > div:last-child > p {
  color: #4e5153;
}

@media (min-width: 992px) {
  .main {
    padding: 0px 50px;
    align-self: center;
    background-image: url('../img/imobiliare-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;
		}
	}
  .sell, .buy {
    grid-template-columns: 1fr 1fr;
    padding: 200px 50px 200px 50px;
    gap: 0;
  }
  .sell-img img, .buy-img img {
    max-width: 65%;
    height: auto;
    margin: auto;
  }
  .sell-txt, .sell-txt> p, .buy-txt, .buy-txt > p, .inspect-txt, .inspect-txt > p{
    font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
    letter-spacing: 1.32px;
    line-height: 1.5;
  }
  .buy-img{
    order: 1;
  }
  .inspect {
    justify-content: center;
    padding: 100px 50px 100px 50px;
    background-image: url('../img/imobiliareend-d.jpg');
    background-position: center;
    height: 80vh;
  }
  .inspect-iner{
    width: 50%;
  }
  .inspect-iner > h2{
    margin-bottom: 50px;
  }
}

@media (max-width:991px){
  .main {
    padding: 0px 20px;
    background-image: url('../img/imobiliare-m.jpg');
    background-position: center;
  }
  .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;
		}
	}
  .sell, .buy {
    grid-template-columns: 1fr;
    padding: 60px 20px 60px 20px;
    gap: 50px;
  }
  .sell-img img, .buy-img img{
    max-width: 35%;
    height: auto;
  }
  .sell-txt, .sell-txt > p, .buy-txt, .buy-txt > p, .inspect-txt, .inspect-txt > p{
    font-size: 16px;
    letter-spacing: 1.32px;
    line-height: 1.5;
  }
  .inspect{
    justify-content: center;
    padding: 60px 20px 60px 20px;
    background-color: #BEDDE0;
    background-image: url('../img/imobiliareend-m2.jpg');
    background-position: center top;
    height: 60vh;
  }
  .inspect-iner > h2{
    margin-bottom: 50px;
  }
}

@media(min-width:768px){
  .mobile{
    display: none !important;
  }  
}

@media(max-width:767px){
  .desktop{
    display: none !important;
  }
}