@import url(root.css);

.info-block {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: var(--white-transparent);
    overflow-x: hidden;
    overflow-y: auto;
    padding: var(--info-block-margin);
    box-sizing: border-box;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    width: 100vw;
    overscroll-behavior: contain;  
    box-shadow: 0 50vh 0 0 var(--white-transparent);
    padding-bottom: var(--info-block-margin);
}

.info-block.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.info-block__content {
    margin-top: var(--info-block-margin);
    box-sizing: border-box;
}

.info-block__content p {
    margin: 0 0 1em;
}

.info-block__col,
.info-block__about {
    min-width: 0;
    overflow-wrap: anywhere;
}

html:has(.info-block:not(.is-hidden)),
html:has(.info-block:not(.is-hidden)) body {
    overflow: clip;
    overscroll-behavior: none;
}

.info-block{
    position: fixed;
}

.info-block__content--desktop {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.info-block__p{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
