


/* --- BACKGROUND AND OTHER SPECIFIC SETTINGS --- */

.main {
    background-color: rgb(240, 210, 171);
    color:           rgb(39, 16, 2);
}

h2 {
    background-image: radial-gradient(rgba(240, 210, 171, 0.4),  rgba(240, 210, 171, 0.3), rgba(240, 210, 171, 0.2),  rgba(240, 210, 171, 0.1), rgba(240, 210, 171, 0), rgba(240, 210, 171, 0));
    display: inline-block;
    padding: 0.8em;
}

.picture-viewer {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

h3 {
    text-align: center;
}

.referring h3 {
    font-size: 1.1em;
}
.picture-wrap {
width: 40%;
height: auto;
box-shadow: 2px 2px 3px grey;
padding: 0.3em;
margin: 0.5em auto;
text-align: center;
background-color:rgb(240, 210, 171);
transition: width 2s;
}

.picture-wrap2 {
    width: 35%;
    height: auto;
    box-shadow: 2px 2px 3px grey;
    padding: 0.3em;
    margin: 0.5em auto;
    text-align: center;
    background-color:rgb(240, 210, 171);
    }

    .picture-wrap3 {
        width: 50%;
        height: auto;
        box-shadow: 2px 2px 3px grey;
        padding: 0.3em;
        margin: 0.5em auto;
        text-align: center;
        background-color:rgb(240, 210, 171);
        }
.picture-wrap:hover {
width: 50%;
}
.picture-wrap a p {
    font-size: 0.8rem;
    line-height: 1rem;
}
.figcaption {
   width: 100%;
   text-align: center;
   margin-top: -1em;
   font-style: italic;
}

.video-title {
    margin-top: 3em;
}

.video-box {
width: 45%;
height: 20em;
box-shadow: 2px 2px 3px grey;
padding: 0.5em 0.5em 2em;
margin: 1em;
background-color:rgb(240, 210, 171);
}

.video-box p {
    font-size: 0.7em;
    margin-top: -1.5em;
}

.single-video {
width: 90%;
max-height: 70%;
display: block;
margin: 1em auto;
padding-bottom: 0.5rem;
}

#system-video {
    height: 10em;
    width: 8em;
}

#role-video {
    height: 11em;
    width: 17em;
}

.center {
    text-align: center;
}

.padding-before {
    padding-top: 3rem;
}

@media only screen and (max-width: 768px) {
.video-box {
width: 45%; }
.video-box h4 {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}
 .video-box p {
    font-size: 12px;
    text-align: center;
 }
 .single-video {
    width: 100%;
    max-height: 100%;
 }
.picture-viewer {
    justify-content: center;
}
.video-box {
    width: 100%;
}
}
