@font-face {
  font-family: 'Lato';
  src: url('../../fonts/Lato-Regular.ttf') format('truetype');
}

body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  color: white; 
  background: #222;}
  
body::-webkit-scrollbar {
    display: none; }	
	
h1 {
    font-size: 70px;
	margin-bottom: 0;
	text-align: center;
}	

p {
    font-size: 30px;
	margin-top: 0;
}

a {
  text-decoration: none;
  color: #eee; 
  font-size: 20px;
  }

input, input:focus {
	height: 100%;
    width: 85%;
    background: #222222;
    -webkit-appearence: none;
    -moz-appearance: none;
    -ms-appearance: none;
    outline: none;
    color: white;
    font-size: 18px;
    border: none;
    padding: 0 10px;
    -webkit-box-shadow: 0px 0px 300px -21px rgba(0,0,0,0.42);
    -moz-box-shadow: 0px 0px 300px -21px rgba(0,0,0,0.42);
    box-shadow: 0px 0px 300px -21px rgba(0,0,0,0.42);
	display: inline-block;
	float: left;
}  

.section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; }

.list {
  flex: 1 400px;
  display: block;
  max-width: 300px;
  margin: 5px 5px;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); }

  .list ul {
    list-style: none;
    margin: 0;
    padding: 0; }

    .list ul li {
      background: 	rgba(68, 68, 68, 0.9);
      height: 40px;
      color: #eee;
      line-height: 40px; }

      .list ul li:hover, .list ul li:nth-child(2n):hover {
        background:#2d2d2d; 
		border-left: 2px solid white;
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -moz-transform: scale(1.1);}

      .list ul li a {
        padding-left: 15px;
        display: block; }

      .list ul li:nth-child(2n) {
        background: 	rgba(51, 51, 51, 0.9); }

  .list h1 {
    position: relative;
    background: #898989;
    color: #222;
    margin: 0;
    padding: 10px 20px;
    font-size: 25px;
	border-bottom: 1px solid #B0BEC5;	
 }

 /* Google */
.container {
  text-align: center;
  margin: 0 auto;
  margin-bottom: 20px; }

.google {
  margin: -50px auto -20px;
  height: 200px; } 
  
		  .container #search-bar {
			  background: white;
			  height: 39px;
			  width: 40%;
			  display: inline-block;
			  }
		  
.buttons {
  z-index: 1;
  text-align: center;
  position: absolute;
  flex: 1 250px;
  margin: 5px 8px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  display: inline-block;
}
  .buttons ul {
    list-style: none;
    margin: 0;
    padding: 0; }
    .buttons ul .theme {
      display: none; }
    .buttons ul li {
      background: rgba(68, 68, 68, 0.9);
      height: 39px;
      color: #eee;
      line-height: 39px;
      transition: background ease-in-out 0.1s; }
      .buttons ul li:hover, .buttons ul li:nth-child(2n):hover {
        background: #2d2d2d; }
      .buttons ul li a {
        padding-left: 15px;
        padding-right: 15px;
        display: block; 
		color: white;}
      .buttons ul li:nth-child(2n) {
        background: rgba(51, 51, 51, 0.9); }  

.button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
	font-weight: bold;
    margin: 0px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
	  float: left;
    width: 15%;
	height: 100%;
}

.button1 {
    background-color: #f1f1f1;
    color: black;
}

.button1:hover {
    background-color: #555555;
    color: white;
}

.themes {
	  display: flex;
      flex-wrap: wrap;
      justify-content: left; 	
}

  .container ul , li {
    margin: 0;
    padding: 0;
    list-style: none;	  
	  }
	  
	  * {
		  -webkit-box-sizing: border-box;
		  -moz-box-sizing: broder-box;
		  box-sizing: border-box;
		  }
  
@media only screen and (max-width: 45em) {

body {
    background: linear-gradient(violet,blue);}

  .list {
    max-width: 60vw;
	margin: 0;}
	
  .list ul {
    -webkit-transition: 800ms max-height ease-out;
    transition: 800ms max-height ease-out;
    overflow: hidden;
    max-height: 0px; 
    transition-delay: 0.2s;}

  .list:hover > ul, .list:hover ul li {
    max-height: 800px;
    display: block; }
	
      .list ul li:hover, .list ul li:nth-child(2n):hover {
		  -webkit-transform: scale(1);
        -ms-transform: scale(1);
        -moz-transform: scale(1);}	
	
  .list ul li {
    display: none; }

  .section.main {
    margin-top: 0px; } 
	
	
				  .container #search-bar {
			  width: 100%;
			  padding: 0 1em;
			      background-color: #f1f1f1;
			  }
	}

@media only screen and (max-width: 1000px) {
  
				  .container #search-bar {
			  padding: 0 1em;
			      background-color: #f1f1f1;
			  }
	}

/* New rules*/	
@media only screen and (min-width: 45em) {
body {
    background-image: url("../../images/forest.jpeg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;}
}

.list h1 {
  opacity: .7; }	
  
 .list ul li {
  opacity: 0.9;
	 } 