@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap');

#container {
    width:81vw;
    margin: 0 auto;
    
}

header {
    display:flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size:3.5em;
    font-weight:bold;
    margin:1em auto;
}

header span {
    vertical-align: text-top;
    margin:0.5em;
    line-height: 1em;
}

header img {
    width:auto;
    height:90px;
}

#content {
    
}

body {
    font-family: 'Playfair Display', serif;
    font-size: 12pt;
    background-color: #222;
    background-image: url('../img/radbg2.png');
    background-size: 512px;
    color:#fff;
}

#videos {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 0.6em;
    row-gap: 0.4em;
}

@media only screen 
  and (max-width: 1300px)
{ 
    #videos {
        grid-template-columns: 1fr 1fr 1fr;
    }    
}

@media only screen 
  and (max-width: 800px)
{ 
    #videos {
        grid-template-columns: 1fr 1fr;
    }    
}

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 1080px)
{
    header {
        font-size:4em;
    }

    header img {
        height:150px;
    }

    #videos {
        grid-template-columns: 1fr 1fr;
    }  
}

.video {
    width:100%;
    margin:0;
    border-radius:0.5em;
}
.wrapper{
    display:table;
    margin:0;
    position:relative;
    
}
.playpause {
    opacity:0;
    cursor:pointer;
    background-image:url("img/play2.png");
    background-repeat:no-repeat;
    width:50%;
    height:50%;
    position:absolute;
    left:0%;
    right:0%;
    top:0%;
    bottom:0%;
    margin:auto;
    background-size:contain;
    background-position: center;
}

.playpause:hover {
    opacity:0.9;
}
