body{
    min-height: 100%;
    background: #fff;
    color: #444;
    line-height: 1.3em;
    font-family: Arial, Helvetica, Sans-Serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
h1 {
    font-size: 2rem;
    font-family: "Saira Stencil One", Arial, Helvetica, Sans-Serif;
}
h3 {
    line-height: 2;
}
h4 {
    line-height: 1.2;
}
p + h4{
    margin-top: 1.5rem;
}
header{
    margin: 0 auto;
    padding-top: 60px;
    text-align: center;
    max-width: 350px;
}
header.list{
    margin: 0 auto;
    margin-top: 40px;
    text-align: center;
    max-width: 650px;
    padding:0 10px;
}
header.list img{
    margin: 0 auto;
}
header.list img +  img{
    margin-top: 35px;
}
main{
    box-sizing:content-box;
    flex: 1;
    margin: 0 auto;
    margin-top: 8vh;
    padding: 0 5%;
    max-width: 500px;
    text-align: center;
}
main div + div {
    margin-top: 20px;
}
.list{
    margin-top: 10px;
}

.list > div{
    width: 100%;
    display: flex;
    justify-content:space-evenly;
}
.list > div + div{
    margin-top: 25px;
}
.item-image{
    flex: 0 1 30%;
}
.item-text{
    flex: 0 1 65%;
    padding-top: 10px;
    margin-left: 5%;
    text-align: left;
}
.item-text div + div{
    margin-top: 3%;
}
.list-image{
    object-fit:cover;
    aspect-ratio: 1 / 1;
    width: 50vw;
}
.item-icon{
    display: flex;
}
.item-icon div{
    color: #444;
    font-weight: 600;
    line-height: 2;
    margin-left: 10px;
}
.list h3{
    font-size: calc(0.5rem + 0.9vw);
}
@media screen and (min-width: 1600px) {
    .list h3 {
       font-size: 1.3rem;
    }
}
.list h4{
    color: #444;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 40px;
}
.list a:hover{
    color:#000;
}
.list a{
    color: #777;
}

.list h4.end{
    color: #444;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 60px;
    margin-bottom: 0px;
}
footer{
    margin: 0 auto;
    margin-top: 5%;
    margin-bottom: 30px;
    max-width: 600px;
    text-align: center;
}
footer a img{
    margin-top: 10px;
}
footer > img{
    max-width: 50px;
}
footer img{
    margin: 0 auto;
}
footer h3{
    margin-top: 8px;
    font-size: 1.15rem;
    letter-spacing: -1px;
    line-height: 0.9;
}
footer h4{
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
}
footer p{
    margin-top: 30px;
    font-size: 0.7rem;
}
a{
    color: #000;
    text-decoration: none;
}
a:hover{
    color:#cc0000;
}
#popup{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow:0 0 10px rgba(0,0,0,0.4);
    z-index: 3;
    background-image: url("../gfx/frame.jpg");
}
iframe{
    margin: 22px;
    width: 600px;
    height: 400px;
}
@media screen and (max-width: 700px) {
    iframe {
        width: 500px;
        height: 333px;
    }
    #popup{
        background-image: url("../gfx/frame-medium.jpg");
    }
}
@media screen and (max-width: 600px) {
    iframe {
        width: 400px;
        height: 266px;
    }
    #popup{
        background-image: url("../gfx/frame-small.jpg");
    }
}
#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
  }