/*-----MAIN/SMALL VIEW----*/

* { box-sizing: border-box;}

/*-----HEADER-----*/
h1, h2 {
    font-family: 'Abril Fatface', cursive;
    color: #353223;
}
h1 {
    padding-top: 20px;
    font-size: 32px;
}
h2 {font-size: 25px;}

header a {
    text-decoration: none;
    display: flex;
}
header {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}
.logo {
    display: block;
    max-width: 75px;
    padding-left: 0px;
}

/*-------NAVIGATION-------*/
nav {
    background-color: #20586b;
    font-family: 'Raleway', sans-serif;
    text-align: center;
}
nav button {
    margin: .2rem 14px;
    background-color: transparent;
    border: none;
    font-size: 1.6rem;
    color: #fff;

}
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
nav ul li a {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: .8rem 20px;
    text-decoration: none;
    color: #fff;;
    border-top: 1px solid rgba(0,0,0,0.3);
}
nav ul.mainmneu, li.active a {
    background-color: #a58957;
    color: #fff;
}
nav ul li a:hover {background-color: #457c57;}

nav ul.hide {display: none;}


/*-----MAIN SECTION------*/
body {/*for footer*/
    position: relative;
    min-height: 100%;
}
img.splash {
    max-width: 100%;
    margin: auto;
}
main {
    min-height: 100%;
    overflow: hidden;
    text-align: center;
    margin: 0;
    position: relative;
    padding-bottom: 350px; /*for footer*/
}
main.about p {
    margin: 0px 25px 10px 25px;
    text-align: left;
    font-size: 18px;
    line-height: 2rem;

}
main.about ul {
    text-align: left;
    text-indent: -1em;
    list-style-position: inside;
    font-size: 18px;
    line-height: 2rem;
    margin: 0;
}
#centered_para {
    text-align: center;
}

main.about {font-family: 'Raleway', sans-serif;}

main.about h2, main.about h3 {margin: 10px;}

main img {max-width: 300px;}

main figure {margin: 0;}

html {height: 100%;}/*for footer*/


/*------HOME PAGE-----*/
.boxes div {
    background-color: #a3000a;
    padding: 20px;
    margin: 15px 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.boxes a {
    text-decoration: none;
    color: white;
}
section.boxes {
    margin: 0 25px;
    display: flex;
    flex-flow: column;
}

#glove_photo {
    max-width: 100%;
    margin: auto;
    padding: 10px;
}
section.make_gloves {
    margin: 30px;
    display: flex;
    flex-flow: column;
}

/*-----VIDEO ON ABOUT PAGE------*/
.video {
        position: relative;
        width: 100%;
        margin: 25px 0 50px 0;
        padding-bottom: 56.25%; 
        height: 0;
      }

.video iframe {
        position: absolute;
        top:0;
        left: 0;
        width: 100%;
        height: 100%;

}

/*-----DROPDOWN-----*/
.printable {
    max-width: 300px;
    margin: auto;
}
.dropbtn {
    background-color: #A3000A;
    color: white;
    padding: 15px 20px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    width: 250px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 200px;
    overflow: auto;
    max-height: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    text-align: left;
}
.dropdown-content a {
    font-family: 'Raleway', serif;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
#myInput {
    background-image: url('search_icon.png');
    background-position: 14px 12px;
    background-repeat: no-repeat;
    background-size: 25px 25px;
    font-size: 20px;
    padding: 14px 20px 12px 45px;
    border: none;
    border-bottom: 1px solid #ddd;
}
div img {padding: 20px 10px;}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #457c57;}

.examples, .games, .gloves, .lessons {margin: 0px;}


/*------FOOTER------*/
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #335b40;
    color: white;
    font-family: 'Raleway', sans-serif;
    text-align: center;
    padding: 40px;
}
.site_links {
    font-size: 16px;
    word-spacing: 10px;
}
footer a {
    text-decoration: none;
    color: white;
    padding: 0px;
}
.media {
    max-width: 30px;
    display: none;
}




