/* Basic CSS resets -- leveling slight inconsistencies in browsers */
html, body {
	margin:10px;
	padding:10px;
	height:100%;
    font-family: "Sofia", sans-serif;
    background-color: #333333;
}

html {
		/* Standard text-settings below */
	font-size: 1em;
    line-height: 1.4em;
}



/* Mobile First CSS: we'll design for phone sizes first, then add media queries for larger screens later */

section, figure {
   flex-basis: 100%;
    padding: 1rem; 
    box-sizing: border-box;
}


img {
   flex-basis: 100%;
    width: 100%;
    height: auto;
    display: block;
}



body {
	color: white;
}


#container {
    background-color: #ff8a1f;

}


figure.responsive {
    position: relative;
    padding-bottom: 56.25%;  /* 16:9 */
    height: 0px;
    overflow: hidden;
    max-width: 100%;
    min-width: 60%;
}

figure.responsive iframe {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

figure.image {
    max-width: 100%;
}
    
}

section.text{
   
    
}




/* ========================================
MEDIA QUERIES!
You can adjust the min-width numbers below, and add as many new media queries as you need.
======================================== */



/* Minimum width for laptops. */
@media all and (min-width: 769px) {

#container {
    max-width: 100%;      
    margin: 0 auto;
            } /* closes 769px+ */

main {
    display: flex;
  
    }
    
    section, figure {
    flex-basis: 33%;
    padding: 1rem; 
    box-sizing: border-box;
    }
}




/* Minimum width for desktop screens. */
@media all and (min-width: 1024px) {
	 #container {
        max-width: 950px;
        margin: 0 auto;
} /* closes 1024px+ */
section, figure {
    flex-basis: 33%;
    padding: 1rem; 
    box-sizing: border-box;
    }
 
    
}

