@import url("https://fonts.googleapis.com/css?family=Ibarra+Real+Nova:700,400italic,400|IBM+Plex+Sans:400|Inter:700,600");

.desktop {
  display: flex;
  flex-direction: column;
  height: auto; /* Allow for content height, not viewport height */
  min-height: 100vh; /* Ensure it's at least the height of the viewport */
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 50px 173px 0px 173px;
  position: relative;
  background-color: rgba(255, 255, 255, 1);
  background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgb(13.44, 15.68, 35.06) 100%);
}

.button-link {
    text-decoration: none;  /* Removes underline from anchor tags */
}

.button-link:hover .div-wrapper,
.button-link:hover .frame-3 {
    background-color: rgba(255, 255, 255, 0.1);  /* Slight white overlay on hover */
    cursor: pointer;  /* Hand cursor on hover */
}

.button-link:active .div-wrapper,
.button-link:active .frame-3 {
    background-color: rgba(255, 255, 255, 0.2);  /* Slightly darker overlay on active click */
}

.div-wrapper,
.frame-3 {
    transition: background-color 0.3s ease-in-out;
}


.desktop .frame {
  display: inline-flex;
  align-items: flex-start;
  gap: 109px;
  position: relative;
  flex: 0 0 auto;
}

.desktop .div {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  position: relative;
  flex: 0 0 auto;
}

.desktop .myo-m-muscle {
  position: relative;
  width: 376px;
  height: 59px;
  margin-top: -1px;
  font-family: "Ibarra Real Nova", Helvetica;
  font-weight: 400;
  color: transparent;
  font-size: 32px;
  line-height: 26px;
}

.desktop .text-wrapper {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0;
}

.desktop .span {
  font-style: italic;
  color: #ffffff;
  letter-spacing: 0;
}

.desktop .text-wrapper-2 {
  color: #b1b1b1;
  font-size: 22px;
  letter-spacing: 0.88px;
}

.desktop .rectangle {
  position: relative;
  width: 376px;
  height: 1px;
  background-color: #242424;
}

.desktop .frame-2 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 29px;
  position: relative;
  flex: 0 0 auto;
}

.desktop .text-wrapper-3 {
  position: relative;
  width: 376px;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 31px;
  letter-spacing: 0;
  line-height: normal;
}

.desktop .purchase-this {
  position: relative;
  width: 380px;
  font-family: "IBM Plex Sans", Helvetica;
  font-weight: 400;
  color: #b7b7b7;
  font-size: 17px;
  letter-spacing: 0;
  line-height: 23.1px;
}

.desktop .group {
  position: relative;
  width: 376px;
  height: 109px;
}

.desktop .div-wrapper {
  display: flex;
  width: 376px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 125px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #4b58ca;
  border-radius: 3px;
}

.desktop .text-wrapper-4 {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0;
  line-height: normal;
}

.desktop .frame-3 {
  display: flex;
  width: 376px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 125px;
  position: absolute;
  top: 62px;
  left: 0;
  border-radius: 3px;
  border: 1px solid;
  border-color: #2b2b2b;
}

.desktop .iphone {
  position: relative;
  width: 568px;
  height: 818px;
  object-fit: cover;
}

@media only screen and (max-width: 1080px) {
  .desktop {
    padding-top: 80px; 
  }
  .desktop .frame {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .desktop .iphone {
    width: 80%;  
    height: auto; 
  }
}
