/* CSS Document used for Web Project 1
Author: Steven Doroslovac
Course: ITWP 1000
File: project1.css
*/

body{
    margin: 10px;
    margin-top: 1em;
    margin-bottom: auto;
    background-color: #FAF9F6;
    font-family: 'Times New Roman', Times, serif;
    color: #5c3a21;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    }

main{
    width: 80%;
    max-width: 960px;
    margin: 20px auto;
    }


nav{
    text-align: center;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
    }

figcaption{
    text-align: center;
    }

h1{
    text-align: center;
    font-size: 46px;
    color: #8B4513;
    }

h2{
    text-align: center;
    font-size: 40px;
    color: #A0522D;
    }

h3{
    text-align: center;
    font-size: 36px;
    color: #CD853F;
    }

h4{
    text-align: center;
    font-size: 26px;
    color: #BC8F8F;
    }

p{
    text-align: center;
    margin-bottom: 1em;
    }

footer{
    text-align: center;
    }

/* Center audio */
audio{
    display: block;
    margin: 0 auto;
    }


/* Responsive content */

.responsive{
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border: 1px solid #51471A;
    border-radius: 10px;
    }

.main-content{
    border: 1px solid #ccc;
    padding: 2rem;
    margin: 1rem auto;
    max-width: 960px;
    border-radius: 10px;
    background-color: #fff;
    }

.main-content iframe{
    display: block;
    margin: 0 auto;
    }

.video-container{
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    }

.video-container iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    }

    
/* ID */
    
#validation{
    text-align: center;
    }
    
/* Media query that hides the image when the screen size is @ 550 pixels or lower */
    
@media only all and (max-width: 550px){
    img {
        display: none;
        }
    }