﻿div.background1 {
    margin: 0px;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 100px 100px white inset;
    background: lightblue url('../images/tower1.webp') no-repeat center;
    background-size: cover;
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
}


div.transbox {
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(5px);
    padding: 20px;
    margin: 30px;
    font-weight: bold;
}

.clear {
    clear: both;
    line-height: 0;
    height: 0;
    font-size: 1px
}

.box-1 {
    width: 100px;
    height: 100px;
    background: #FFCC00;
    float: left
}

.box-2 {
    width: 100px;
    height: 100px;
    background: #99CC00;
    float: right;
    text-align: right;
}

#frame {
    width: 300px;
    background: #AAAAAA
}

.image-blurred-edge {
    /*background-image: url('https://picsum.photos/200/300');*/
    background-image: url('/images/tower1.webp');
    width: 200px;
    height: 200px;
    /* you need to match the shadow color to your background or image border for the desired effect*/
    box-shadow: 0 0 8px 8px white inset;
}

.bg-image {
    /* The image used */
    background-image: url('../images/tower1.webp');
    /* Add the blur effect */
    filter: blur(8px);
    -webkit-filter: blur(8px);
    /* Full height */
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.ribbon {
    --r: .8em; /* control the cutout */

    border-block: .5em solid #0000;
    padding-inline: .5em calc(var(--r) + .25em);
    line-height: 1.8;
    clip-path: polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--r)) calc(100% - .25em),100% 50%,calc(100% - var(--r)) .25em);
    background: radial-gradient(.2em 50% at left,#000a,#0000) border-box, #D081DC padding-box; /* the color  */
    width: fit-content;
}