/* Basic CSS resets -- leveling slight inconsistencies in browsers */
html, body {
	margin:0px;
	padding:0px;
	height:100%;
}

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 */


body {
	
    background: #7ece81; /*#3D9970 or #2ad24e or #67c76b and #7bbc7d*/
    color: #2d1402;
    font-family: Quicksand, sans-serif;
	
}


#container {
	width:80%;
	margin:auto;
    background: #1de523;
}


header, footer{
    color:#FF6F00;
    background: #d3ffe7;
    font-family: Outfit, sans-serif;
}


header{
    font-size: 2em;
    line-height: 2.15em;
    text-align: center;
    padding: 0.3em;
}

footer{
    font-size: .8em;
    text-align: right;
    padding: .2em;
    padding-right: 1em;
}


figure{
    margin: 0px;
    padding:1.4em;
}

figure img{
    width: 100%;
}

section{
    padding: 1em;
    background: #b0ffc1;
}

figure.carrotvideo {
    position: relative;
    padding-bottom: 56.25%;  /* 16:9 */
    height: 0px;
    overflow: hidden;
    max-width: 100%;
}

figure.carrotvideo iframe {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}


/* ========================================
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) {
   

	main {
        display: flex;
    }
    
    figure, section {
        flex: 1 1 33%;
    }
    
} /* closes 769px+ */




/* Minimum width for desktop screens. */
@media all and (min-width: 1024px) {
	
    
     main {
        display: flex;
        flex-wrap:wrap;
    }
    
    figure, section {
        flex: 1 1 50%;
    }
    
    
} /* closes 1024px+ */
    

