* {
    box-sizing: border-box;
    margin:0;
    padding:0;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

.images {
    display: flex;
    flex-flow: column nowrap;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.images img {
    display: block;
    width: 100%;
    height: auto;
}

.image-with-B {
    position: relative;
    width: 100%;
}

.image-with-B img {
    display: block;
    width: 100%;
    height: auto;
}

.image-B {
    position: absolute;
    right: 12%;
    bottom: 18%;
    display: block;
    max-width: 42%;
    font-size: clamp(14px,2.3vw, 28px);
    padding: 0.6em 1.4em;
    color: #fff;
    background: #e85b45;
    border-radius: 999px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

.image-B:hover {
    opacity: 0.85;
}

.image-with-buttons {
    position: relative;
    width: 100%;
}

.image-with-buttons img {
    display: block;
    width: 100%;
    height: auto;
}

.button-group {
    position: absolute;
    bottom: 60%;
    right: 8%;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 40%;
   z-index: 10;
  
}

.button-group .btn{
    width: 100%;
    padding: 0.6em 1em;
}

.btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2em 4em;
    background:#ecfa8f(255,255,255,0.9);
    border: 2px solid #fff7c8;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0.4px 6px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
}

.btn-small{
    font-size: clamp(14px, 2.2vw, 28px);
    color: #666;
    font-weight: bold;
}

.btn-large{
    font-size: clamp(12px, 1.6vw, 20px);
    color: #a8ebff;
    font-weight: bold;
}

.web-btn {
    background: #a8ebff;
    border-color:#a8ebff;
}

.web-btn .btn-small {
    color:#fff;
}

.web-btn .btn-large {
    color:#fff;
}

@media (max-width: 767.98px) and (hover: none) and (pointer: coarse) {
    .image-B {
        right: 4%;
        width: 45%;
        max-width: 45%;
        padding: 0.45em 0.35em;
        font-size: clamp(9px, 3vw, 14px);
        line-height: 1.15;
        white-space: nowrap;
    }

    .button-group {
        top: 6%;
        right: 4%;
        bottom: auto;
        width: 44%;
        max-width: 180px;
        gap: 6px;
    }

    .button-group .btn {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        min-height: 36px;
        padding: 4px 8px;
    }

    .btn-small {
        font-size: clamp(10px, 2.8vw, 12px);
        line-height: 1.2;
    }

    .btn-large {
        font-size: clamp(10px, 2.7vw, 11px);
        line-height: 1.2;
    }
}