* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,html {
    width: 100%;
    height: 100%;
}

.main-box {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background: #0F1011;
}

.image-container {
    position: relative;
    max-width: 500px; /* set your image width */
    width: 100%;
    height: 500px; /* set your image height */
  }

.rose {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1.5s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    z-index: 0;
  }
  
  .rose.visible {
    opacity: 1;
    z-index: 1;
  }

  .buttons {
    max-width: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 20px;
  }

  .buttons button {
    width: 30%;
    height: 55px;
    font-family: sans-serif;
    font-weight: 700;
    font-size: 25px;
    padding-top: 2px;
    border-radius: 7px;
    transition: 0.3s;
    cursor: pointer;
  }

  .buttons button:first-child {
    background: #18242F;
    color: #ffffff;
    border: 2px solid #2e4459;
  }

  .buttons button:last-child {
    background: #5A1A21;
    color: #ffffff;
    border: 2px solid #852833;
  }

  .buttons button:first-child:hover {
    background: #0f171e;
  }

  .buttons button:last-child:hover {
    background: #421318;
  }

@media(max-width:550px) {
    .image-container {
        position: relative;
        max-width: 550px;
        width: 90%;
        height: 500px;
      }
      .buttons button {
        width: 40%;
        height: 55px;
        font-family: sans-serif;
        font-weight: 700;
        font-size: 25px;
        padding-top: 0;
        border-radius: 7px;
        transition: 0.3s;
        cursor: pointer;
      }
      .buttons {
        gap: 15px;
      }
}