/* FONTS */
@font-face {
    font-family: IBMPlexSans-Light;
    src: url(../assets/fonts/IBMPlexSans-Light.ttf);
}

@font-face {
    font-family: IBMPlexSans-Regular;
    src: url(../assets/fonts/IBMPlexSans-Regular.ttf);
}

@font-face {
    font-family: IBMPlexSans-Medium;
    src: url(../assets/fonts/IBMPlexSans-Medium.ttf);
}

@font-face {
    font-family: IBMPlexSans-SemiBold;
    src: url(../assets/fonts/IBMPlexSans-SemiBold.ttf);
}

@font-face {
    font-family: IBMPlexSans-Bold;
    src: url(../assets/fonts/IBMPlexSans-Bold.ttf);
}

@font-face {
 font-family: 'IBMPlexSans';
 font-style: normal;
 src: url(../assets/fonts/IBMPlexSans-VariableFont.ttf) format("truetype-variations");
 font-weight: 100 700;
}


@font-face {
 font-family: 'IBMPlexSans';
 font-style: italic;
 src: url(../assets/fonts/IBMPlexSans-Italic-VariableFont.ttf) format("truetype-variations");
 font-weight: 100 700;
}

/* GENERAL */

body {
    font-family: "ibmp", sans-serif;
}


/* HEADER */

#wrap {
    height:100%;
}

#header {
    display: flex;
    flex-direction: row;
    padding-left: 16px;
    padding-right: 16px;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    height: 60px;
    /* background-color: #fff; */
    width: 100%;
    z-index: 59;
}

#logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    /* filter: invert(1); */
    color: #fff;
}

#logo-container #logo{
    height: 3.6rem;
    width: 3.6rem;
    filter: invert(1);
}

#logo-container h1 {
    font-size: 2.4rem;
}

#logo-container h1 span {
    /* font-family: "IBMPlexSans-Light", sans-serif; */
    font-weight: 300;
}


/* CONTENT */
#content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.6rem;
    /* width: 250px; */
    /* max-width: 80vw; */
}

#content-title{
    color:#fff;
    font-weight:700;
    font-size:3.6rem;
    display: none;
}

#content-input-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
}

.content-input-field {
    border: 1px solid #000;
    line-height: 36px;
    padding: 0 12px;
    width: 300px;
    border-radius: 8px;
    font-family: "IBMPlexSans-Light", sans-serif;
}

#content-password-container {
    display: flex;
}

#content-input-password-visible {
    width: 38px;
    height: 38px;
    margin-left: -38px;
    cursor: pointer;
    background-image: url(../assets/img/visibility_off_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 48% auto;
    filter: invert(1);
    opacity: 0.6;
}

#content-input-submit{
    padding: 1.2rem;
    cursor: pointer;
    background-color: #000000;
    border: none;
    border-radius: 0.2rem;
    font-family: "IBMPlexSans-Light", sans-serif;
    color: #fff;
    margin-top: 20px;
}

#content-input-reset{
    cursor: pointer;
    color: #fff;
}

/* PASSWORD POPUP */
#password-popup-container{
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 999;
    backdrop-filter: blur(4px);
    padding: 2.4rem;
}

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

#password-popup {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    position: relative;
    border-radius: var(--border-radius);
    max-height: 100%;
    max-width: 100%;
    min-width: 28rem;
    /* width: 48rem; */
}

#password-popup-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    padding-left: 2.4rem;
    gap: 0.8rem;
    height: 5.2rem;
}

#password-popup-title{
    font-weight: 600;
}

#password-popup-close{
    cursor: pointer;
}

#password-popup-content {
    /* text-align: center; */
    padding: 2.4rem;
    padding-bottom: 3.2rem;
    overflow-y: auto;
    scrollbar-width: thin;
}

#password-popup-footer {
    display:flex;
    justify-content:center;
    align-items:center;
    padding:1.6rem
}

#password-popup-confirm {
    line-height: 3.6rem;
    display: flex;
    align-items: center;
    height: 3.6rem;
    background-color: #232323;
    color: #fff;
    /* font-weight: 600; */
    padding: 0 1.2rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    gap: 0.4rem;
}

/* POPUP */
#popup-container{
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 999;
    backdrop-filter: blur(4px);
}

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

#popup {
    padding: 48px;
    background-color: #fff;
    text-align: center;
    position: relative;
    border-radius: 4px;
}

#popup-title{
    font-weight: 600;
    margin-bottom: 16px;
}

#popup-info {
    text-align: center;
}

#popup-confirm {
    display: none;
    padding: 12px 16px;
    cursor: pointer;
    background-color: #121212;
    color: #fff;
    border-radius: 4px;
    margin-top: 24px;
}

#popup-confirm.active {
    display: inline-block;
}

.error-code {
    margin-top: 5px;
    font-size: smaller;
    font-style: italic;
}

video {
    position: absolute;
    /* width: 100%; */
    z-index: -1;
    object-fit: cover;
}