/* fonts */
@font-face {
    font-family: "Urbanist";
    src: url(../assets/fonts/Urbanist-Light.ttf);
    font-weight: 400;
}

@font-face {
    font-family: "Urbanist";
    src: url(../assets/fonts/Urbanist-LightItalic.ttf);
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Urbanist";
    src: url(../assets/fonts/Urbanist-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: "Urbanist";
    src: url(../assets/fonts/Urbanist-Italic.ttf);
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Urbanist";
    src: url(../assets/fonts/Urbanist-SemiBold.ttf);
    font-weight: 600;
}

@font-face {
    font-family: "Urbanist";
    src: url(../assets/fonts/Urbanist-SemiBoldItalic.ttf);
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: "Urbanist";
    src: url(../assets/fonts/Urbanist-Bold.ttf);
    font-weight: 600;
}

@font-face {
    font-family: "Urbanist";
    src: url(../assets/fonts/Urbanist-BoldItalic.ttf);
    font-weight: 600;
    font-style: italic;
}


/* site */
body {
    font-family: "Urbanist";
    background-color: #EFEFEF;
    color: #222222;
}

#site-wrap {
    display: none;
}

#site-wrap.active {
    display: block;
}

.page-container {
    display: none;
}

.page-container.active {
    display: block;
    padding: 30px;
    margin-top: 60px;
}


/* info popup */
#info-popup-container{
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

#info-popup-container.active{
    display: flex;
}

#info-popup{
    background-color: #fbfbfb;
    position: fixed;
    width: 350px;
    max-height: 500px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

#info-popup-close{
    display: none;
    align-self: flex-end;
    cursor: pointer;
}

#info-popup-content{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    text-align: center;
}

#info-popup-content-header{
    font-weight: 600;
    margin-bottom: 20px;
}

#info-popup-content-code{
    display: none;
    font-size: small;
    font-style: italic;
    margin-top: 12px;
}

#info-popup-content-code.active{
    display: block;
}

#info-popup-verify{
    padding: 5px;
    border: 1px solid;
    align-self: center;
    cursor: pointer;
    margin-top: 25px;
}


/* age popup */
#session-popup-container{
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 990;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

#session-popup-container.active{
    display: flex;
}

#session-popup{
    background-color: #fbfbfb;
    position: fixed;
    width: 350px;
    max-height: 500px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

#session-popup-content{
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

#session-popup-content-header{
    font-weight: 600;
    text-align: center;
    padding: 5px;
}

#session-popup-content-age-container{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
}

#session-popup-content-age-checkbox{
    cursor: pointer;
}

#session-popup-content-age-label{
    font-weight: 600;
    text-align: left;
    padding: 5px;
    cursor: pointer;
}

#session-popup-verify{
    padding: 5px;
    border: 2px solid;
    align-self: center;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
}


/* pwa install footer */
#pwa-install-footer{
    display: none;
}

#pwa-install-footer.active{
    z-index: 750;
    position: fixed;
    bottom: 0;
    width: 100%;
    max-height: 20%;
    background-color: #fbfbfb;
    border-top: 1px solid;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

#pwa-install-footer-close{
    margin-bottom: 5px;
    text-align: end;
    align-self: flex-end;
    cursor: pointer;
}

#pwa-install-footer-content{
    
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#pwa-install-footer-info{
    text-align: center;
    align-self: center;
}

#pwa-install-footer-button{
    border: 1px solid;
    padding: 5px 8px;
    text-align: center;
    align-self: center;
    cursor: pointer;
}




/* dev login */
#login-wrap {
    display: flex;
    height: 100vh;
    width: 100vw;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#login-wrap.hidden {
    display: none;
}

#login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#login-submit {
    margin-top: 10px;
    padding: 6px 12px;
    border: 1px solid;
    cursor: pointer;
}