html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

.app-panel {
    display: grid;
    grid-template-rows: 60px auto;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
    background-color: white;
    box-sizing: border-box;
    border-top: 3px solid teal;
    box-shadow: 0px 0px 31px -3px rgba(0, 0, 0, 0.51);
}

.header-panel {
    display: grid;
    grid-template-columns: auto 60px;
    height: 100%;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom: 1px solid teal;
    background-color: whitesmoke;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.header-image-panel {
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
    background-image: url('./images/logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: center;
    background-origin: content-box;
}

.menu-wrapper {
    display: grid;
    grid-template-rows: 30px 10px;
}

.menu-button {
    display: block;
    position: relative;
    top: 5px;
    right: 0px;
    height: 50px;
    width: 50px;
    background-color: transparent;
    border: none;
    background-image: url('./images/menu-button.svg');
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background-image 0.2s;
}

.menu-panel-wrapper {
    width: 200px;
    position: relative;
    top: 35px;
    right: 150px;
    height: 0px;
    border-radius: 4px;
    background-color: whitesmoke;
    overflow-y: hidden;
    overflow-x: hidden;
    transition: height 0.2s;
    z-index: 2;
    box-sizing: border-box;
}

.menu-panel {
    width: 100%;
    height: 100%;
    background-color: whitesmoke;
    overflow-y: hidden;
    overflow-x: hidden;
    box-sizing: border-box;
    border-radius: 4px;
    border: 2px solid teal;
}

.menu-link {
    display: block;
    color: rgb(0, 110, 110);
    font-weight: bold;
    width: 100%;
    height: 40px;
    padding: 10px;
    text-decoration: none;
    box-sizing: border-box;
    border-bottom: 1px solid teal;

}

.menu-link:hover {
    background-color: rgb(210, 250, 250);
}

.menu-button:hover {
    background-color: rgb(210, 250, 250) !important;
    border: 2px solid teal !important;
}

.content-panel {
    margin-top: 2px;
    padding-left: 20px;
    padding-right: 20px;
    min-height: 100%;
    color: rgb(90, 90, 90);
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    background-image: url('./images/plans.png');
    background-position: 0px 0px;
    background-size: cover;
    background-repeat: no-repeat;
}

.centered {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 400px;
}

a {
    color: rgb(0, 110, 110);
    font-weight: bold;
}

.footer-panel {
    font-size: smaller;
    padding-top: 10px;
    height: 40px;
    text-align: center;
}

.tile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 400px;
    height: fit-content;
    margin-bottom: 20px;
    background-color: whitesmoke;
    border-radius: 6px;
    /* border: 1px solid teal; */
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.tile-text h4 {
    margin-top: 0px;
    margin-bottom: 10px;
}

.tile-text {
    max-width: 100%;
    flex-grow: 1;
    background-color: rgb(240, 240, 240);
    padding: 20px;
    overflow: hidden;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    border-bottom: 2px solid teal;

}

.spacer {
    background-color: white;
    height: 15px;
    width: 100%;
}

.tile img {
    width: 100%;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border: 1px solid teal;
    box-sizing: border-box;
}

.logo-box {
    height: 80px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-bottom: 10px;
}

@media screen and (orientation: landscape) {

    body {
        background-repeat: no-repeat;
        background-size: cover;
        background-image: url('./images/plans.jpg');
    }

    .app-panel {
        max-width: 900px;
        border-left: 1px solid teal;
        border-right: 1px solid teal;
    }

    .centered {
        max-width: 100%;
    }

    .tile {
        flex-direction: row;
        max-width: 100%;
        height: 300px;
    }

    .spacer {
        width: 15px;
        height: 300px;
    }

    .tile img {
        height: 300px;
        width: auto;
        border-radius: 0px;
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .tile-text {
        display: inline-block;
        max-height: 300px;
        border-radius: 0px;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
        border: none;
        border-right: 2px solid teal;
    }

    .logo-box {
        margin-top: 70px;
    }

}