@charset "utf-8";
/* CSS Document */


 :root {
    --primary-color: #E0E6CD;
    --secondary-color: #4F652D;
  }
  
* {box-sizing: border-box;
margin: 0;
padding:0;

}

html {
	font-family: Lato, sans-serif;
font-size: 20px;
font-weight: 300;

}

h1 {padding: 10px;}
p {padding: 5px;}

body{
	min-height: 100vh;
	background: var(--primary-color);
  line-height: 1.6;
  color:var(--secondary-color)
    
}

/* Basic styling */
h1 {padding: 5px;
color: var(--secondary-color);
font-size: 32px;
font-weight: 700;}

h2 {padding: 5px 0px;
color: var(--secondary-color);
font-size: 24px;
font-weight:400;}

h3 {padding: 5px 24px;
font-weight:900;
color: var(--secondary-color)}

h4 {font-weight: bold;
font-style: italic;
display: inline;
}



.sidebar ul li a span {
	color: #fff;
}

section {padding: 10px 5px;}


.wrapper {
	padding: 0 20px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	margin-bottom: 30px;
	width: 100%;
	max-width: 1200px;
}
img {
	max-width:100%;
	display:block;
	height: auto;
	text-decoration: none;
	border: 0;
}
img.small {
	
	max-width:50%;
	height: auto;
	margin:auto;
	object-fit:cover;
	text-decoration: none;
	border: 10;
}
/* mobile first Content*/
.container {
    display: grid;
 
      grid-gap:1rem;
    grid-template-areas: 
    'header'
    'content'
    'sidebar'
    'box-1'
    'box-2'
    'box-3'
    'footer'
    ;}


    /*tablet   */

    @media(min-width: 768px)
    {.container {display: grid;
      grid-gap:1rem;
    grid-template-areas: 
    'header header'
    'content sidebar'   
    'box-1 box-1'
    'box-2 box-2'
    'box-3 box-3'
    'footer footer'
    ;}
  }

  /* lap-top */
  @media(min-width: 1024px){
    .container {display: grid;
      grid-gap:1rem;
    grid-template-areas: 
    'header header header'
    'content content sidebar'
    'box-1 box-2 box-3'    
    'footer footer footer'
    ;}    
  }


. .edges {
      background-image:linear-gradient(to right, #E0E6CD, #C2DD87);;
      border: 2px var(--secondary-color) solid;
      border-radius: 5px;
      padding: 15px;      
    }

	.header {
      grid-area : header;
      
    }
    .content {
     	 grid-area: content;    
      	display: flex;
     	 flex-direction: column;
      	align-items: center;
      	justify-content: center;     
    }

 	.sidebar {
   		 grid-area: sidebar;
    
  }
  	.sidebar ul li {list-style: none;
  		border: red 1px  solid;
 		border-radius: 5px;
 		background: #4F652D;  /*RGB 79 101 45*/
  		color: #fff;
		padding: 10px;
		margin: 10px;
}


  
  	.footer {
    	grid-area: footer;
    	text-align: center;
  }

/* End of content */


/*Navigation bar code*/
.navbar { display: flex;
    position: relative;    
    justify-content: space-between;
   align-items: center;
    background-color: rgba(73, 152, 16, 0.83);
    color:white;}

.navbar-links {
    height :100%;  
}
.navbar-links ul {
   display: flex;
   margin: 0;
   padding:0;    
}
.navbar-links li {
list-style: none;
}

.navbar-links li a {
    display: block;
    text-decoration: none;
    color: white;
    padding: 1.0rem;
}

.navbar-links li:hover {
    background-color: rgb(65, 158, 65);
}
/*Toggle Button*/
.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none ;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    color: white;
}
.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}
/*End of Toggle Button*/

/* Dropdown menu */
.dropdown{
  position: relative;
  display: inline-block;
}
.drop-content {
  display: none;
  position: absolute;
  min-width: 100px;
  font-size: 16px;
  top: 3.2rem;
  z-index: 1;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);
}
/* on hover show dropdown */
.dropdown:hover .drop-content {
  display: block;
  background-color: rgba(96, 94, 94, 0.9);
  border-radius: 5px;
   
}
/* dropdown links */
.drop-content a {
  padding: 12px 10px;  
  border-bottom: 2px solid rgb(197, 197, 250);
  border-radius: 5px; 
  display: block;
  transition: all 0.5s ease !important;
}

.drop-content a:hover{
  background-color: rgb(230, 0, 0);
}
.dropdown:hover .dropBtn{
  background-color: rgba(0, 100, 0, 0.3);
 
}
/*Smaller screen size*/
@media (max-width :320px) {
   .toggle-button{
     display: flex;
    }

   .navbar-links {display: none;
    width:100%;
  }
   .navbar-links ul {
        width: 100%;
        flex-direction: column;
    }
    .navbar-links ul li {
        text-align: center;
    }
    .navbar-links ul li a {
        padding: .5rem 1rem;
    }
    .navbar-links.active {
        display: flex;
    }  
    
    .drop-content{
      top:-20px;
      left:11vw;    }
    .toggle-button .bar {
       background-color: black;
      }
     
  
}



  


/*https://codepen.io/WebDevSimplified/pen/LqKQRK*/








