.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25;
  /*height: 100vh;*/
  min-height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
}

.main > div > h1 {
  display: flex;
  flex-direction: column;
  color: #3d4042;
}

.main-txt > p{
  color: #4ea37b;
}

.title-text-span-color {
  color: #51a37c;
}

.description {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  background-color: #f1f1f1;
}

.desc-l > p, .desc-r > p {
  color: #3d4042;
}

.mission {
  display: grid;
  background-color: #3d4042;
}

.mission > img {
  width: 175px;
}

.mission > div {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.mission > div > h2 {
  display: flex;
  flex-direction: column;
  color: #51a37c;
}

.mis-txt > p {
  color: #51a37c;
}

.steps {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #5ab18f;
}

.steps > h2 {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.steps > h2 > span {
  font-family: "Poppins";
  font-weight: 700;
  color: #3d4042;
}

.steps > img {
  width: 122px;
  position: absolute;
  align-self: center;
  top: -60px;
}

.steps-flex {
  display: flex;
  flex-direction: column;
  text-align: center;
  row-gap: 50px;
  margin-top: 100px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 25px;
}

.step > h3 {
  color: #384a0c;
  font-weight: 700;
  font-size: clamp(1.25rem, 1.098rem + 0.648vw, 1.5rem);
}

.step-txt > p {
  color: #3d4042;
  font-weight: 400;
}

.meet {
  background-color: #f5f5f5;
}

.meet > div:first-child {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.meet > div:first-child > h2 {
  display: flex;
  flex-direction: column;
  color: #3d4042;
}

.meet-txt > p {
  color: #51a37c;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.grid-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.title-text{
  color: #3D4042;
}

.grid-item > div > h3 {
  color: #3D4042;
  font-weight: 300;
}

.grid-item > div > h3 > span {
  color: #51a37c;
  font-family: "Poppins";
  font-weight: 700;
}

.grid-func{
  color: #3D4042;
}

.grid-txt > p {
  color: #ab9d9d;
}

.portofolio {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: flex-end;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
}

.portofolio > h2 {
  align-self: center;
}

.slick-slide {
  text-align: left;
  background-color: transparent;
  border: none;
  align-self: center;
  max-height: 300px;
}

.slick-slide > p:last-child {
  margin-top: 20px;
  letter-spacing: 0.96px;
  font-weight: 600;
}

.slickp-txt {
  line-height: 1.5;
}

.flex-btns {
  display: flex;
  flex-direction: column;
  row-gap: 50px;
  align-self: center;
  margin-top: 50px;
}

.req1, .req2{
  font-weight: 600;
  letter-spacing: 0.96px;
  transition: all 300ms ease-in;
  text-align: center;
  display: table;
}

.req1{
  color: #3d4042;
  background-color: #5ab18f;
}

.req2{
  color: #5ab18f;
  background-color: #3d4042;
  
}

@media (min-width: 1980px) {
  .portofolio > h2 {
    align-self: center;
    margin-left: 50%;
  }
}

@media (min-width: 992px) {
  .main {
    padding: 0px 50px;
    align-self: center;
  }
  .main > div:first-child {
    max-width: 50%;
  }
  .main > div > h1{
    margin-bottom: 50px;
  }
  .main-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;
		}
	}
  .slick-slider {
    background-color: transparent;
  }
  .description {
    padding: 100px 50px;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  .desc-l, .desc-r, .mis-txt, .meet-txt, .grid-txt {
    font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
    letter-spacing: 1.32px;
    line-height: 1.5;
  }
  .step > h3 {
    font-size: clamp(1.25rem, 1.116rem + 0.216vw, 1.375rem);
  }
  .step-txt {
    line-height: 1.5;
    letter-spacing: 0.64px;
    font-size: 17px;
  }
  .step > img {
    max-height: 60px;
  }
  .mission > div {
    max-width: 889px;
    align-self: center;
  }
  .mission {
    grid-template-columns: 1fr 1fr;
    padding: 200px 50px 250px 50px;
    gap: 0;
  }
  .mission-img img{
    max-width: 65%;
    margin: auto;
  }
  .steps {
    padding: 100px 50px;
  }
  .steps > h2 {
    padding: 65px 0 0 0;
  }
  .steps-flex {
    display: flex;
    flex-direction: row;
    text-align: center;
    gap: 50px;
    margin-top: 100px;
  }
  .step {
    align-self: center;
  }
  .meet {
    padding: 100px 50px 200px 50px;
  }
  .meet > div:first-child {
    grid-template-columns: 1fr 1fr;
  }
  .grid-item > div > h3{
    font-size: clamp(1.5rem, 0.966rem + 0.862vw, 2rem);
  }
  .meet-txt {
    align-self: center;
    /*max-width: 889px;*/
    letter-spacing: 1.32px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-item > img {
    width: 170px;
    border: 5px solid #51A37C;
    border-radius: 50%;
  }
  .grid-txt {
    max-width: 889px;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.96px;
  }
  .portofolio {
    justify-content: center;
    padding: 100px 50px 100px 50px;
  }
  .portofolio > h2 {
    max-width: 889px;
    align-self: flex-end;
    row-gap: 0;
  }
  .portofolio-iner{
    width: 48.5%;
  }
  .slick-one-slide {
    margin-top: 60px;
    margin-bottom:80px;
  }
  .slickp-txt{
    font-size: clamp(1rem, 0.866rem + 0.216vw, 1.125rem);
  }
  .flex-btns {
    align-self: flex-end;
    gap: 50px;
    justify-content: flex-start;
    flex-direction: row;
  }
  .req1, .req2{
    border-radius: 15px;
    padding: 20px 0px;
    width: 240px;
    font-size: clamp(1rem, 0.866rem + 0.216vw, 1.125rem);
  }
}

@media(max-width:991px){
  .main {
    padding: 50px 20px;
  }
  .main > div > h1{
    margin-bottom: 30px;
  }
  .main-txt > p{
    font-size: 18px;
    line-height: 1.5;
  }
  .main > div:last-child {
    align-self: center;
    position: absolute;
    bottom: 39px;
  }
  .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;
		}
	}
  .title-text{
    line-height: 42px;
  }
  .description {
    padding: 80px 20px;
  }
  .desc-l, .desc-r, .mis-txt, .meet-txt {
    font-size: 16px;
    letter-spacing: 1.32px;
    line-height: 1.5;
  }
  .mission {
    grid-template-columns: 1fr;
    padding: 90px 20px 160px 20px;
    gap: 50px;
  }
  .mission-img img{
    max-width: 35%;
  }
  .steps {
    padding: 100px 20px 100px 20px;
  }
  .step > h3 {
    font-size: 18px;
  }
  .step > img {
    max-height: 40px;
  }
  .step-txt {
    line-height: 1.5;
    letter-spacing: 0.64px;
    font-size: 15px;
  }
  .meet {
    padding: 100px 20px 100px 20px;
  }
  .grid-item > div > h3{
    font-size: 20px;
  }
  .grid-func{
    font-size: 16px;
    letter-spacing: 1.32px;
    line-height: 1.5;
  }
  .grid-txt {
    letter-spacing: 0.84px;
    line-height: 1.5;
    font-size: 14px;
  }
  .portofolio {
    padding: 50px 20px 50px 20px;
  }
  .portofolio-iner{
    width: 100%;
  }
  .slick-one-slide {
    margin-top: 30px;
    margin-bottom:40px;
  }
  .slickp-txt{
    font-size: 16px;
  }
  .req1, .req2{
    padding: 15px 0px;
    width: 100%;
    border-radius: 10px;
    font-size: 14px;
  }
  .grid-item > img {
    width: 90px;
    border: 3px solid #51A37C;
    border-radius: 50%;
  }
}

@media(min-width:768px){
  .mobile{
    display: none !important;
  }
  .main{
    background-image: url('../img/despre-d.jpg');
    background-position: center;
  }
  .portofolio{
    background-image: url('../img/despreend-d.jpg');
    background-position: center;
  }
  
}

@media(max-width:767px){
  .desktop{
    display: none !important;
  }
  .main{
    background-image: url('../img/despre-m.jpg');
    background-position: center;
  }
  .portofolio{
    background-image: url('../img/despreend-m.jpg');
    background-position: left;
  }
}
