body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: black;
}

canvas {
    display: block;
    margin: 0;
}

#closeIcon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#closeIconContainer {
    display: none;
    position: fixed;
    padding: 2%;
    top: 3%;
    right: 3%;
    max-width: 5%;
    background-color: rgba(255, 255, 255, 0.824);
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
}


.anacartoOverlay {
    position: fixed;
    display: none;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90%;
    height: 90%;
    background-color: #CCCCCC;

    border: 5px solid rgb(82, 82, 82);

    z-index: 1000;

    overflow-y: scroll;
}

.anacarto-container {
    position: relative;
    
    font-family: 'Share Tech Mono', monospace;

    line-height: 1.5;

    font-size: 1.05rem;

    color: #333;
}


.anacarto-container a {
    word-wrap: break-word;
}

.anacarto-container a:link {
    color: #0000EE;
    /*Change active text color here*/
    text-decoration: none;
}

.anacarto-container a:visited {
    color: #0000EE;
    text-decoration: none;
}

.anacarto-container a:hover {
    color: #551A8B;
    /*Change active text color here*/
    text-decoration: underline;
}

.anacartoCloseBtn {
    position: absolute;
    top: 0;
    right: 0;

    padding: 1em;
    cursor: pointer;

}

.anacarto-main {
    position: static;
    /* background-color: red; */

    width: 50%;
    height: 100%;
    margin: 0 auto;


    /* overflow: auto; Add this line to enable scrolling */
}

.blog-post-body p {
    margin: 1.5em 0;
}

.blog-post-body ol,
.blog-post-body ul {
    margin-top: 0;
}

.blog-post-body .subtitles {
    margin-bottom: 0.5em;
}

.ana-title {
    margin: 0;
    padding: 0.5em 0;
}

.anacartoImg {
    width: 100%;
    margin: 0 auto;
}

.blog-post-body #lasSpace {
    margin-bottom: 0;
}

#anacartoPageCloseBtn{
    /* background-color: aqua; */
    position: sticky;
    top: 0px;
    left: 100%;
}

#orientation-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    z-index: 1000;
    font-size: 18px;
}

.emergenceBtn {
    position: fixed;

    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    outline: black 2px solid;

    outline-offset: -5px;
    cursor: pointer;
    z-index: 999;
}

#btnScan {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: none;
}

#btnGeneratePortal {
    /* width: 300px; */
    height: 80px;
    border-radius: 5%;
    font-size: large;
    display: none;
}

#scanPoemContainer {
    position: fixed;
    width: 70%;
    height: 70%;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0%);
    margin: 0;
    padding: 10px;
    background-color: white;
    border: 1px solid black;
    border-radius: 5px;
    display: none;
    z-index: 999;
    overflow-y: scroll;
}

#backgroundOverlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgb(23, 23, 23); */
    background-image: url("/images/RP-2_invitation-Image-3_960_q40.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    z-index: 998;
}

.loadingMainContainer {


    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 1em;
}

/* .loadingMainContainer>div {
    width: 432px;
} */

.infoOpenBtn img {
    width: 76px;
    height: 76px;
}

.infoOpenBtn {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;

    background-color: rgb(23, 23, 23);
    border: none;

    /* background-color: rgba(67, 67, 67, 0.824);
    border: 2px solid white; */

    /* font-size: 2rem;
    text-align: center;
    color: black; */

    /* padding:0.1em  0.3em ; */
}

.info-container {


    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translate(-50%, 0%);

    width: 95%;
    height: 95vh;

    display: flex;
    flex-direction: column;
    justify-content: space-around;

    background-color: #ffffff;

    visibility: hidden;
}

.infoCloseBtn {
    background-color: black;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 52px;
    padding: 6px;
}

.infoCloseBtn img {
    width: 100%;
    height: auto;
}

.info-text-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    align-content: flex-start;
    justify-content: center;
}

.info-container ul {
    padding-inline-start: 0px;
}

.info-container h4,
.info-container li {
    color: black;
    list-style-type: none;
}

.info-container h4 {
    flex-basis: 92%;
    margin-bottom: 0;

    font-size: 1.3rem;
}

.info-container ul {
    flex-basis: 46%;
    margin-top: 0.5em;
}

.info-container li {
    font-size: 1.2rem;
    margin-bottom: 0.2em;
}

.loadingMainContainer div {
    /* max-width: 50vw; */
    max-width: 432px;
    font-family: "Rubik", "Trebuchet MS", serif;
    color: white;

    /* background-color: rgb(23, 23, 23); */
}

.info-logo-container {
    align-self: flex-end;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.info-logo-container img {
    width: 35%;
    height: auto;
    margin: 2rem 0;
}

.loadingStartContainer {
    /* position: relative; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loadingLogoContainer {
    /* background-color: black; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* z-index: 999; */
}



.loadingLogoContainer img {
    width: 80%;
}

.loadingMainContainer h1 {

    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    font-size: 3rem;

    margin: 0.5em;
    /* margin-top: 50%; */
}


.loadingMainContainer h2 {

    font-optical-sizing: auto;
    font-weight: 300;
    font-style: italic;
    text-align: center;
    font-size: 1.6rem;

    margin-bottom: 0.1em;
    /* margin-top: 50%; */
}

#landscapeWarningContainer {
    width: 60vw;
    height: 40vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: black;
}

#landscapeWarningContainer img {

    height: 100%;
    width: auto;
}

#myProgress {
    width: 350px;
    /* background-color: rgb(37, 37, 37); */
    border: 4px solid rgb(255, 255, 255);
}

#myBar {
    width: 1%;
    height: 8px;
    background-color: rgb(255, 255, 255);
}

#activateApp {
    /* display: none; */
    margin-top: 2em;
    visibility: hidden;

    background-color: rgba(67, 67, 67, 0.824);
    width: 35%;

    /* font-optical-sizing: auto; */
    font-weight: 300;
    font-style: normal;
    text-align: center;
    font-size: 2.4rem;
    line-height: 3rem;
    color: white;

    padding: 0px;

    border: 2px solid white;
}


@media (max-width: 1070px) {

    .anacarto-main {
        width: 90%;
    }

     #anacartoPageCloseBtn{
        width: 4em;
        height: 4em;
    } 

}

/* Styles for mobile devices */
/* portrait */
@media (max-width: 430px) {
    .loadingMainContainer>div {
        width: 95vw;
        /* background-color: red; */
    }

    /* .loadingLogoContainer img{
        width: 75vw;
    } */

    .loadingLogoContainer h1 {
        font-size: 2.7em;
        /* margin top&bottom left&right */
        margin: 1em 0px;
    }

    .info-container {
        height: 85vh;
    }


}

/* landscape */
/* Styles for mobile devices */
@media (max-height: 500px) {
    .loadingLogoContainer {
        /* margin-left: 0%;
        margin-right: 0%; */
        margin-top: 1%;
        /* background-color: rosybrown; */
        justify-content: top;
        align-items: center;
        /* z-index: 999; */
    }

    .loadingMainContainer {
        width: 100vw;
        height: 100vh;
        justify-content: flex-start;
        /* background-color: rgb(14, 255, 14); */
    }

    .logo {
        width: 25%;
    }

    .loadingMainContainer h1 {
        font-size: 2.2rem;
        /* color: red; */
    }

    .loadingMainContainer h2 {
        font-size: 1.2rem;
    }

    .loadingStartContainer {
        /* background-color: black; */
        height: auto;
        justify-content: top;
        align-content: space-between;
    }

    #activateApp {
        margin-top: 5%;
    }

    #myProgress {
        width: 60%;
        /* background-color: rgb(37, 37, 37); */
        border: 4px solid rgb(255, 255, 255);
    }

    #myBar {
        width: 1%;
        height: 6px;
        background-color: rgb(255, 255, 255);
    }

}