@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

:root {
    --glass-bg-a: 0.1;
    --glass-border-a: 0.3;
    --glass-shadow-a: 0.25;
    --ele-shadow-a: 1;
    --glass-bg: hsla( 0, calc( 1 * 0% ), 100%, var(--glass-bg-a) );
    --ele-bg: hsl( 240, calc( 1 * 100% ), 20% );
    --glass-border: 1px solid hsla( 0, calc( 1 * 0% ), 100%, var(--glass-border-a) );
    --glass-shadow: 0 8px 32px hsla( 0, calc( 1 * 0% ), 0%, var(--glass-shadow-a) );
    --ele-shadow: 0 8px 32px hsla( 0, calc( 1 * 0% ), 0%, var(--ele-shadow-a) );
    --bg-blur: blur(6px);
}

html, body {
    overflow-x: hidden !important;
}

body {
    color: #fff;
    text-align: center;
    align-content: center;
}

.m {
    position: fixed;
    color: #fff;
    text-align: center;
    align-content: center;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: flex;
}

.inline-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.swcontentbox {
    width: 60%;
    margin: 0 auto 0 auto;
}

.wcontentbox {
    width: 75%;
    margin: 0 auto 0 auto;
}

.contentbox {
    width: 40%;
    margin: 0 auto 0 auto;
}
.scontentbox {
    width: 25%;
    margin: 0 auto 0 auto;
}
.xscontentbox {
    width: 18%;
    margin: 0 auto 0 auto;
}

.xwcontentbox {
    width: 90%;
    margin: 0 auto 0 auto;
}

.tally-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin: 0;
}

.tally-flex .xwcontentbox {
    flex: 1;
    margin: 0;
    text-align: center;
    align-content: center;
}

#pfp {
    height: 30vh;
    width: 30vh;
    transition-duration: 0.3s;
    border-radius: 20px;
}

#pfp:hover {
    transform: rotate(5deg) scale(1.15);
}

.bwn-flex {
    display: flex;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.minicon {
    height: 2vh;
    width: 2vh;
    transition-duration: 0.3s;
}

.bwn-flex:hover .minicon,
.minicon:hover {
    transform: rotate(5deg) scale(1.15);
}

.contentbox:not(.noglass),
.wcontentbox:not(.noglass),
.swcontentbox:not(.noglass),
.xwcontentbox:not(.noglass),
.scontentbox:not(.noglass),
.xscontentbox:not(.noglass),
.eleh:not(.noglass) {
    background: var(--glass-bg);
    backdrop-filter: var(--bg-blur) saturate(180%);
    -webkit-backdrop-filter: var(--bg-blur) saturate(180%);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 10px;
    padding: 20px;
}

.contentbox hr,
.wcontentbox hr,
.swcontentbox hr,
.xwcontentbox hr,
.scontentbox hr,
.xscontentbox hr {
    border: 5px solid hsl( 240, calc(1 * 100%), 50% );
    border-radius: 5px;
}

#bg {
    position: fixed;
    inset: 0;
    background-image:
        /* url("/prile/bg.avif"),
        url("/prile/bg.webp"), */
        url("/prile/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    height: 100lvh;
    z-index: -1;
}

#bg:after {
    position: fixed;
    top: 0; bottom: 0; right: 0; left: 0;
    background: rgba(0,0,0,0.5);
    content: '';
}

.eleh {
    position: relative;
    display: inline-block;
}

.eleh img {
    height: 5vh;
    width: 5vh;
    transition-duration: 0.3s;
}

.eleh:not(.noglass) {
    padding: 8px;
}

.elehd {
    position: fixed;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    background: var(--ele-bg);
    box-shadow: var(--ele-shadow);
    border-radius: 10px;
    padding: 8px 12px;
    white-space: nowrap;
    z-index: 1000;
}

.eleh:hover .elehd {
    opacity: 1;
}

.eleh:hover img {
    transform: rotate(5deg) scale(1.15);
}

.mobibr {
    display: none;
}

.hvrd {
    display: none;
}

#pfp:hover ~ .hvr {
    display: none;
}

#pfp:hover ~ .hvrd {
    display: inline;
}

@media only screen and (max-width:160vh) {
    .gli {
        width: 40%;
    }
    .glb {
        width: 40%;
        height: auto;
        padding: 5px;
    }
    .scontentbox {
        width: 40%;
    }
    .ulsleft {
        width: 40%;
    }
    .xscontentbox {
        width: 30%;
    }
    .swcontentbox {
        width: 80%;
    }
    .ulswleft {
        width: 85%;
    }
    .wcontentbox {
        width: 85%;
    }
    .xwcontentbox {
        width: 98%;
    }
    .contentbox {
        width: 75%;
    }
    .eleh img {
        height: 3vh;
        width: 3vh;
    }
    .m {
        display: block;
        position: static;
        transform: none;
    }
    .m .scontentbox,
    .m .wcontentbox {
        width: 85%;
    }
    .m .tally-flex {
        margin: auto;
    }
    .m .tally-flex .xwcontentbox {
        width: 100%;
    }
    .mobibr {
        display: inline;
    }
    .inline-flex {
        display: block;
    }
}

a {
    color: #ffffff;
    text-decoration: underline;
}

html * {
    font-family: 'Montserrat', sans-serif !important;
}