#pwa-installer {
    font-family: "Roboto", sans-serif;
    position: fixed;
    padding: 20px 0;
    display: flex;
    flex-flow: row nowrap;
    top: 100%;
    width: 100%;
    height: 200px;
    background-color: #f3f3f3;
    overflow: hidden;
    z-index: 300;
    transition: all 1s;
}

#pwa-installer.open {
    transform: translateY(-100%);
}

#pwa-installer.hidden-installer {
    display: none;
}

.installer-wrapper {
    flex: 1;
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-flow: column nowrap;
    overflow: hidden;
}

#pwa-installer> {
    flex: 0;
    width: 100%;
    position: relative;
}

.installer-header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

.installer-logo {
    display: block;
    flex: 0 0 65px;
    height: 65px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 1px 1px 5px -1px rgba(0, 0, 0, 0.3);
}

.installer-logo>img {
    display: block;
    width: 100%;
    height: 100%;
}

.installer-title {
    padding: 0 20px;
    display: flex;
    font-weight: bold;
    font-size: 18px;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}

.installer-text {
    position: relative;
    flex: 0;
    width: 100%;
    padding-top: 10px;
    font-size: 16px;
    text-align: center;
}

.installer-actions {
    position: relative;
    display: flex;
    flex: 1;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.installer-button {
    flex: 0;
    display: block;
    white-space: nowrap;
    text-overflow: clip;
    padding: 12px 0;
    min-width: 140px;
    text-align: center;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.4s;
}

.cancel {
    margin-right: 22px;
    border: 1px solid black;
}

.install {
    color: white;
    box-shadow: 2px 2px 4px -1px rgba(0, 0, 0, 0.2);
    background-color: var(--contrastColor);
    border: 1px solid var(--contrastColor);
}

.installer-button:active,
.installer-button:focus,
.installer-button:focus:active {
    outline: none;
    box-shadow: 2px 2px 6px -1px rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 400px) {
    .installer-header {
        justify-content: center;
    }
    .installer-text {
        padding-left: 0;
        text-align: center;
    }
    .installer-actions {
        justify-content: center;
    }
    .installer-actions {
        padding-right: 0;
    }
}