@font-face {
    font-family: "BMWTypeNextProTT-Bold";
    src: url("./BMWTypeNextProTT-Bold.ttf");
    font-weight: normal;
    font-style: normal;
}

html {
    height: 100%;
    width: 100%;
}

body {
    margin: 0;
    max-height: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;

    -webkit-tap-highlight-color: transparent;
}

iframe {
    width: 100%;
    height: 100%;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
}

.iframe-container {
    width: 100%;
    height: 100%;
}

.iframe-scan {
    display: none;
}

.active {
    display: block;
}

.switch-btn {
    width: 160px;
    padding: 16px 0;
    border: solid 1px #ffffff;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
    font-family: "BMWTypeNextProTT-Bold";
    border-radius: 4px;
    color: white;
}

.switch-btn:first-child {
    margin-top: 8px;
}

.switch-btn:not(:last-child) {
    margin-bottom: 16px;
}

.switch-btn:hover {
    outline: 1px solid white;
}

.switch-btn.active {
    background-color: #1E5EC8;
    border-color: #1E5EC8;
    outline: unset;
    /* color: white; */
}

.switch-btn.active:hover {
    background-color: #0F49A8;
    border-color: #0F49A8;
}

/* button {
    margin: 20px;
    padding: 10px 15px;
    font-size: 16px;
} */

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

    display: flex;
    flex-direction: column;
    align-items: center;

}

.uiMenu.disable {
    display: none;
}

.title-container {
    font-family: "BMWTypeNextProTT-Bold";
    color: white;
    text-align: left;
    line-height: 20px;
    max-width: 160px;
}

.menu-container {
    background: #aaaaaa99;
    padding: 16px;
    text-align: center;
    margin-bottom: 8px;
}

.scan-btn-container {
    overflow: hidden;
    height: 100%;
    transition: height 0.6s ease-in-out;
    padding: 0 2px;
    padding-bottom: 1px;

    /* display: flex;
    flex-direction: column;
    justify-content: flex-end; */
}

.collapse-btn {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    user-select: none;
    transition: all 0.6s ease-in-out;
    transform: rotate(180deg);
}

.collapse-btn>svg>path {
    stroke: #262626
}

.collapse-btn:hover>svg>path {
    stroke: #1E5EC8
}

.collapse-btn.reverse {
    transform: rotate(0deg);
}

.button-container {
    /* display: flex; */
    /* flex-direction: column; */
    display: inline-block;

    position: relative;
    transition: top 0.6s ease-in-out;
    top: 0;

}