* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    word-break: keep-all;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

html {
    --poster-color: transparent;
    font-size: 14px;
}

img {
    max-width: 100%;
    max-height: 100%;
}

body {
    padding: 0;
}

.header {
    padding: 10px;
}

.header .logo-highlight {
    width: max-content;

    background: linear-gradient(90deg, #B667FF 2.59%, #4778ED 46.09%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    transform: translateZ(-0.5px);
}

.header .main-logo {
    font-size: 34px;
    font-weight: 800;
}

.header .logo-desc {
    margin-top: -6px;
    margin-left: 2px;

    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 1.4px;
}

.content {
    position: absolute;
    /*top: 46px;*/
    left: 0;
    /*bottom: 100px;*/
    width: 100%;
    height: calc(100% - 79px - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 10px;
}

#placeholder {
    flex: 1;
    width: 100%;
    height: 100%;
}

ag-viewer,
ad-viewer {
    width: 100%;
    height: 100%;
}

ag-viewer.ready,
ad-viewer.ready {
    cursor: grab;
}

.products {
    position: absolute;
    bottom: 0;
    left: 25%;
    right: 25%;

    margin: auto;

    height: 120px;

    display: flex;
    align-items: center;
}

.products-container {
    width: 100%;

    overflow: hidden;
}

.products .uploader {
    margin-bottom: 10px;
}

.products .product {
    padding: 10px;
    margin-bottom: 5px;

    height: 70px;

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

    border: 1px solid #eaeaea;
    border-radius: 4px;

    cursor: pointer;
}

.products .product-type {
    text-align: center;
    text-transform: uppercase;
}

.products .product.current {
    border-color: #007aff;
}

.products .prev {
    top: 40%;
    left: -60px;
}

.products .next {
    top: 40%;
    right: -60px;
}

.error {
    color: #fff;
    font-size: 24px;
}
