/*
Theme Name: HC-HSGVM
Author: Katsutoshi Matsunaga
Author URI: https://www.greyheron.org/
Description: A theme for HeronConservation.
Version: 1.0
License: GNU General Public License
*/



#HSGVM {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    font-size: 1rem;
    color: #333;
    text-align: justify;
}

h1.vm-h1 {
    font-size: 1.6rem;
    margin-bottom: 3rem;
}

h2.vm-h2-header {
    margin: 2.2rem auto -1rem;
    font-size: 1.1rem;
    font-variant: small-caps;
    font-family: 'Roboto Slab', 'Open Sans', Roboto, 'Avenir Next', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
}

div.vm-flex-container {
    display: flex;
    margin-top: 2rem;
    justify-content: center;
    gap: 4%;
    width: 100%;
}

div.vm-flex-container>a {
    width: calc(50% - 2.5%);
    box-sizing: border-box;
}

img.vm-video {
    width: 100%;
    border: solid 1px #aaa;
    height: auto;
    display: block;
}

.vm-flex-container figure {
    margin: 0;
}

.vm-flex-container figcaption {
    margin-top: 0.8rem;
    text-align: center;
}

@media screen and (max-width:1024px) {
    #HSGVM {
        width: 94%;
    }
}

@media screen and (max-width:768px) {
    #HSGVM {
        width: 92%;
    }
}

@media screen and (max-width:526px) {
    #HSGVM p {
        text-align: left;
    }
}