@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap");

.app-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  background-color: #2D3339;
  color: white;
  border-radius: 40px;
  height: 700px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  box-shadow: 0px 8px 20px rgba(32, 37, 44, 0.05);
  position: relative;
}

.app-card > *:not(.app-card__overlay) {
  position: relative;
  z-index: 2;
}

.app-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.app-card .text {
  margin-left: 100px;
  max-width: 500px;
}

.app-card .text h1 {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  line-height: 1.2;
  font-size: 40px;
}

.app-card .text p {
  font-size: 16px;
}

.app-card .action-buttons {
  font-weight: 600;
  font-size: 17px;
  display: flex;
  margin-bottom: 24px;
  margin-top: 44px;
  width: -moz-fit-content;
  width: fit-content;
  gap: 10px;
}

.app-card img {
    position: absolute !important;
    top: 20px;
    right: 20px;
    width: 250px;
    height: auto;
}

@media only screen and (max-width: 1260px) {
    .app-card img {
        position: relative !important;
        width: 180px;
        height: auto;
        top: 10px;
        right: 0px;
    }
   
  .app-card {
    border-radius: 24px;
    flex-direction: column;
    text-align: center;
    height: 900px;
    margin: 0 10px;
  }
  
  .app-card {
    background-position: center;
    background-size: cover;
  }
  
  .app-card .text {
    text-align: center;
    margin: 0 36px;
    padding-top: 60px;
    max-width: 440px;
  }
  
  .app-card .text h1 {
    font-size: 32px;
  }
  
  .app-card .action-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media only screen and (max-width: 600px) {
  .app-card .text {
    padding-top: 40px;
    margin: 0 24px;
  }
  
  .app-card img {
      top: 0px;
      width: 100px;
      height: auto;
  }
  
  .app-card .text h1 {
    font-size: 28px;
  }
  
  .app-card .action-buttons {
    flex-direction: column;
    align-items: center;
    margin-top: 32px;
    margin-left: 0px !important;
  }
}
