* {
    box-sizing: border-box;
}
html {
    scrollbar-gutter: stable;
}
body {
    -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}
dialog.modal {
    padding: 0;
    border: none;
    background: transparent;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
}
dialog.modal[open] {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99998;
}
.modal__dialog {
    max-width: 800px;
    padding: 1.2rem;
    position: relative;
    z-index: 5;
    max-height: none;
    overflow: visible;
    margin: 2rem auto;
}
.modal__content {
    position: relative;
    padding: 2.4rem;
    background: #fff;
    color: #333;
    background-clip: padding-box;
    box-shadow: 0 12px 15px 0 rgba(0,0,0,0.25);
    z-index: 10;
}
.modal__close {
    z-index: 100;
    cursor: pointer;
}
.modal__dialog img {
    max-width: 100%;
    height: auto;
}
dialog.modal::backdrop {
    background: rgba(0, 0, 0, 0);
    -webkit-backdrop-filter: blur(0px) brightness(1);
    backdrop-filter: blur(0px) brightness(1);
    -webkit-transition: all 0.25s cubic-bezier(.23,1,.32,1);
    transition: all 0.25s cubic-bezier(.23,1,.32,1);
}
dialog.modal[open]::backdrop {
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(5px) brightness(0.8);
    backdrop-filter: blur(5px) brightness(0.8);
}
.modal__trigger {
    position: relative;
    display: inline-block;
    line-height: 1;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all .5s cubic-bezier(.23,1,.32,1);
    transition: all .5s cubic-bezier(.23,1,.32,1);
}
.modal__trigger:hover {
    color: #fff;
}
.m-btns header {
    padding: 7vh 10vw;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.m-btns .info {
    padding: 3vh 10vw;
    height: 70vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
}
.m-btns p {
    text-align: center;
}
.m-btns .modal__trigger {
    margin-right: 3px;
}
@media(max-width: 640px) {
    .m-btns .modal__trigger {
        margin-bottom: .8rem;
    }
}
.m-close {
    position: absolute;
    top: 0;
    right: 0;
    margin: 1.2rem;
    padding: .6rem;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    -webkit-transition: all .5s cubic-bezier(.23,1,.32,1);
    transition: all .5s cubic-bezier(.23,1,.32,1);
    z-index: 101;
}
.m-close svg {
    width: 24px;
    fill: #fff;
    pointer-events: none;
    vertical-align: top;
}
@media(max-width: 991px) {
    .modal__dialog {
        max-width: 95% !important;
        height: auto !important;
        min-height: -webkit-min-content !important;
        min-height: -moz-min-content !important;
        min-height: min-content !important;
        margin: 2rem auto !important;
        max-height: 92vh !important;
        overflow-y: auto !important;
    }
    .modal__content {
        padding: 1.4rem !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        height: auto !important;
    }
}