@media (hover: hover) {
    /* user has a mouse or other pointing device & can hover */
}

@media (hover: none) {
    /* user's device does not allow hover */
}

@media (pointer: fine) {
    /* user has fine pointing device like a mouse */
}

@media (pointer: coarse) {
    /* user's device does not allow precise pointing (eg. touchscreen) */
}

h3 {
    color: #222000;
}

:root {
    --vidbox-bgcol-1: var(--menu-right-color);

    /* rgba(200, 200, 200, 0.2); */
    --vidbox-bgcol-1a: var(--menu-mid-color);
    --vidbox-bgcol-2: rgba(255, 255, 255, 0.85);
    --buy-pinegrow-shadow: rgba(37, 96, 130, 0.7);
}

.hr-1-training-tis {
    width: 66%;
    border-bottom: 3px solid #333;
}

.pg-menu-item-tis {
    background: #014C85;
    padding-left: 5px;
    padding-right: 5px;
}

.text-box-for-training {
    color: #222000;
    width: 98%;
    margin: auto;
    margin-bottom: 20px;
    padding: 3rem;
}

@media (max-width: 600px) {
    .text-box-for-training {
        padding: 1.4rem;
        width: 95vw;
        margin: auto;
        margin-bottom: 20px;
    }
}

.video-box-for-training {
    color: #222;

    /* max-width: 390px; */
    width: 90%;
    margin: auto;
    margin-bottom: 20px;
    background-image: linear-gradient(to right, var(--vidbox-bgcol-1), var(--vidbox-bgcol-1a) 5%, var(--vidbox-bgcol-2), var(--vidbox-bgcol-2), var(--vidbox-bgcol-1a) 95%, var(--vidbox-bgcol-1));
}

.video-iframe {
    width: 560px;
    height: 315px;
}

@media (max-width: 690px) {
    .video-box-for-training {
        width: 85vw;
    }
}

@media (min-width: 860px) and (max-width: 915px) {
    .video-iframe {
        width: 520px;
        height: 293px;
    }
}

@media (min-width: 830px) and (max-width: 859px) {
    .video-iframe {
        width: 490px;
        height: 276px;
    }
}

@media (min-width: 800px) and (max-width: 829px) {
    .video-iframe {
        width: 460px;
        height: 259px;
    }
}

@media (min-width: 768px) and (max-width: 799px) {
    .video-iframe {
        width: 430px;
        height: 242px;
    }
}

@media (min-width: 700px) and (max-width: 767px) {
    .video-iframe {
        width: 560px;
        height: 315px;
    }
}

@media (min-width: 630px) and (max-width: 699px) {
    .video-iframe {
        width: 500px;
        height: 281px;
    }
}

@media (min-width: 560px) and (max-width: 629px) {
    .video-iframe {
        width: 460px;
        height: 259px;
    }
}

@media (min-width: 540px) and (max-width: 559px) {
    .video-iframe {
        width: 420px;
        height: 236px;
    }
}

@media (min-width: 490px) and (max-width: 539px) {
    .video-iframe {
        width: 390px;
        height: 219px;
    }
}

@media (max-width: 489px) {
    .video-iframe {
        width: 360px;
        height: 202px;
    }
}

.buy-pinegrow {
    background-color: var(--menu-left-color);
    color: #f3efef;
    border-radius: 10px;
    box-shadow: -1px 4px 20px 9px var(--buy-pinegrow-shadow);
    padding: 15px;
    width: 40%;
    margin: 35px auto;
    border: 4px groove var(--menu-mid-color);
}

.buy-pinegrow a {
    color: #f0f0f0;
    text-decoration: none;
}

.buy-pinegrow a:hover {
    color: #5599dd;
    text-decoration: none;
}

.ul-grid-tis {
    margin: 0 auto;
    text-align: center;
}

.ul-grid-tis li {
    display: inline-block;
    margin: 3px 2vw;
    vertical-align: top;
}

.ul-grid-tis li a:hover {
    text-decoration: none;
}

.example-grid {
    display: grid;
    border: 1px solid #444;
    width: 40%;
    min-width: 250px;
    grid-template-columns: 60px 1fr 1fr;
    grid-template-rows: 30px 160px 30px;
    grid-template-areas: "brand header menu" "page-content page-content page-content" "footer footer footer";
    justify-items: stretch;
    align-items: stretch;
    padding: 0;
    grid-gap: 0;
    margin: 15px auto;
}

.example-brand {
    grid-area: brand;
    background-color: #99d0d0;
}

.example-header {
    grid-area: header;
    text-align: center;
    background-color: #99eeee;
}

.example-menu {
    grid-area: menu;
    text-align: end;
    background-color: #6699cc;
}

.example-page-content {
    grid-area: page-content;
    background-color: #eeee99;
}

.example-footer {
    grid-area: footer;
    background-color: #ee99ee;
}

.alignment-grid {
    display: grid;

    /* border: 1px solid white; */
}

.justify-start-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: start;
}

.align-start-grid {
    display: grid;
    border: 2px dashed #aa3333;
    grid-gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 50px;
    align-items: start;
}

.align-center-grid {
    display: grid;
    border: 2px dashed #aa3333;
    grid-gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 50px;
    align-items: center;
}

.align-end-grid {
    display: grid;
    border: 2px dashed #aa3333;
    grid-gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 50px;
    align-items: end;
}

.align-stretch-grid {
    display: grid;
    border: 2px dashed #aa3333;
    grid-gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 50px;
    align-items: stretch;
}

.my-cell {
    background-color: #ffcc00;
}

.div-center {
    width: 100%;
    text-align: center;
}

.div-right {
    width: 100%;
    text-align: right;
}

.div-v-center {
    display: flex;
    height: 100%;
    align-items: center;
}

.div-vh-center {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.justify-center-grid {
    display: grid;
    grid-gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
}

.justify-end-grid {
    display: grid;
    grid-gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    justify-items: end;
}

.justify-stretch-grid {
    display: grid;
    grid-gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    justify-items: stretch;
}

.justify-space-evenly-grid {
    display: grid;
    grid-template-columns: repeat(3, 30%);
    justify-content: space-evenly;
}

.align-space-around-grid {
    width: 100%;
    height: 200px;
    display: grid;
    border: 2px dashed #aa3333;
    grid-template-rows: repeat(3, 50px);
    align-content: space-around;
}

.justify-space-between-grid {
    display: grid;
    grid-template-columns: repeat(3, 30%);
    justify-content: space-between;
}

.align-space-evenly-grid {
    width: 100%;
    height: 200px;
    display: grid;
    border: 2px dashed #aa3333;
    grid-template-rows: repeat(3, 50px);
    align-content: space-evenly;
}

.align-space-between-grid {
    width: 100%;
    height: 200px;
    display: grid;
    border: 2px dashed #aa3333;
    grid-template-rows: repeat(3, 50px);
    align-content: space-between;
}

.justify-space-around-grid {
    display: grid;
    grid-template-columns: repeat(3, 30%);
    justify-content: space-around;
}

.code-grid {
    display: grid;
    justify-items: stretch;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 4px;
}

.code-cell {
    background-color: #9999aa;
    padding: 8px;
}

.code-textarea {
    width: 95%;
    height: 150px;
}

.key-css {
    color: #1166dd;
}

.grid-spacer {
    /* font-size: 1.1em; */
}
