/*
Theme Name: MSafety4Kids
Theme URI: localhost
Description: My WordPress theme
Author: hechawk
Author URI: https://hechawk.xyz/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-theme
*/

/*
@font-face {
    font-family: "arial-rounded";
    src: url(fonts/arial-rounded.ttf);
}
*/

body{
    margin: 0;
    font-family: sans-serif;
}

ul {
    margin: 0;
    list-style-type: none;
    padding: 0;
}

h1 {
    margin: 0;
    text-align: center;
    font-size: 42px;
}

#all {
    display: flex;
}

#menu {
    background-color: #CEEDC7;
    width: 25vw;
    min-height: 100vh;
    text-align: center;
}

#menu ul{
    width: 25vw;
    margin: 0;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
}

#menu img{
    width: 10vw;
    height: auto;
    position: fixed;
    left: 7.5%;
    top: 5%;
}

#content {
    width: 75vw;
    min-height: 100vh;
    background-color: #FFF6BD;
    right: 0;
}

#columns {
    display: grid;
    grid-template-columns: [left] 50% [middle] 50% [right];
    grid-template-rows: [top] 50vh [center] 50vh [bottom];
    place-items: center;
}

figure {
    width: auto;
    text-align: center;
    padding: 20px;
}

#columns figure img {
    width: 100%;
    height: auto;
}

img {
    border: solid #CEEDC7;
}

#columns p {
    padding: 5%;
}

a {
    text-decoration: none;
    color: #101511;
}

a:link {
    color: #7FA35C;
}

a:visited {
    color: #7FA35C;
}

a:hover {
    color: brown;
}

#centered {
    margin: 10%;
    text-align: center;
}

#not{
    text-align: left;    
}

#centered figure img {
    width: 30%;
    height: auto;
}

footer {
    font-size: 32px;
    text-align: center;
}

p {
    margin: 2%;
}

@media screen and (min-width: 700px) {
	.topnav {
		display: none;
	}
}

@media screen and (max-width: 700px) {
	
	.topnav {
	  overflow: hidden;
	  background-color: #FFF6BD;
	  position: absolute;
		top 0;
		left: 0;
		padding: 20px;
	}

	.topnav #myLinks {
	  display: none;
	}

	.topnav ul li a {
	  padding-left: 16px;
	  text-decoration: none;
	  font-size: 14px;
	  display: block;
	}

	.topnav a.icon {
		text-align: center;
	  background: #FFF6BD;
	  display: block;
	  position: absolute;
	  left: 15px;
	  top: 15px;
	}

	
    body {
        font-size: 13px;
    }
    
    footer {
        font-size: 13px;
    }
    
    #content {
        width: 100vw;
    }
    
    #menu {
        display: none;
    }

    #columns figure img {
        width: 100%;
        height: auto;
    }
    
    #columns {
        display: inline;
        margin: 10%;
        text-align: center;
    }
    
    #columns p {
        padding: 0;
    }
	
	#centered figure img {
		width: 100%;
		height: auto;
	}
}