aside,
footer,
header,
main,
nav,
section  { display:block; }
strong   { font-weight:bold; }
*        { box-sizing:border-box; }
html     { font-family:sans-serif; font-size:10px; -ms-text-size-adjust:100%; -webkit-text-size-adjust:100%; }
a        { background-color:transparent; color:inherit; }
a:active,
a:hover  { outline:0; }
img      { border:0; vertical-align:middle; }
ul       { margin:0; padding:0; list-style:none; }

html {  }
body     { font-family:sans-serif; font-size:1.4em; margin:0; }

.layout,
.layout-column,
.layout-row      { display:webkit-flex; display:-ms-flexbox; display:flex; }
.layout-column   { -webkit-flex-direction:column; -ms-flex-direction:column; flex-direction:column; }
.layout-row      { -webkit-flex-direction:row;    -ms-flex-direction:row;    flex-direction:row; }
.layout-wrap     { -webkit-flex-wrap:wrap; -ms-flex-wrap:wrap; flex-wrap:wrap; }
.space-around    { -webkit-justify-content:space-around; -ms-flex-pack:distribute; justify-content:space-around; }
.hcenter         { -webkit-justify-content:center; -ms-flex-pack:center; justify-content:center; }
.vcenter         { -webkit-align-items:center; -ms-flex-align:center; align-items:center; -webkit-align-content:center; -ms-flex-line-pack:center; align-content:center; max-width:100%; }
.flex            { -webkit-flex:1; -ms-flex:1; flex:1; }


body {
    background: url('vignes.png') center center;
}

/*canvas { border:5px solid blue; }*/

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
}

#overlay-container {
    position: fixed;
    top: 100px;
    width: 700px;
    left: 50%;
    transform: translateX(-50%);
    height: 500px;
    background: #fff;
    border-radius: 3px;
}
#overlay-close {
    position: absolute;
    top: 7px;
    right: 20px;
    width: 20px;
    height: 20px;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    transform: rotate(45deg);
}
#overlay-close a {
    text-decoration: none;
}
#overlay-content {
    overflow: auto;
    height: 100%;
}
#overlay-content h2 {
    margin: 0 0 20px;
    padding: 5px;
    border-bottom: 1px solid #dedede;
    text-align: center;
}
#overlay-content article {
    margin: 10px;
    padding: 10px;
    box-shadow: 0 0 5px #666;
    border-radius: 10px;
    width: calc(50% - 20px);
}
#overlay-content article h3 {
    margin: 0 0 10px;
    text-align: center;
}
#overlay-content article p {
    margin: 0;
}
#overlay-content article label {
    display: inline-block;
    width: 20px;
}
#overlay-content article .sns {
    margin-top: 10px;
}
#overlay-content article .sns li {
    margin-right: 10px;
}
#overlay-content article .sns .fab {
    font-size: 20px;
}
#overlay-content article .sns .fa-facebook-square {
    color: #3b5998;
}
#overlay-content article .sns .fa-instagram-square {
    color: #8014c0;
}

@media (max-width:768px)
{
    #overlay {
        font-size: 300%;
    }
    #overlay-content article .sns .fab,
    #overlay-close {
        font-size: 70px;
    }
    #overlay-content article p {
        margin: 20px 0;
    }
    #overlay-content article label {
        width: 50px;
    }
    #overlay-container {
        position: fixed;
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        transform: none;
        height: auto;
    }
}
