body{
  background-color: #FFF497;
  xbackground-image: linear-gradient(lightgray, black);
  xbackground-repeat: no-repeat;
  background-size: cover;
  font-family: monospace;
  color: black;
  font-size: 1.5em;

}

li { list-style-image: url(); } 

 a:link{
  color: red;
  background-color: transparent;  
}

 a:hover{
  background-color: white;
  text-decoration: none;
 }

 a:active{
  color: red;
  background-color: red;
  text-decoration: underline;
}

 a:visited{
   color: red;
 }

 
.back{
    position: fixed;
    top:0;
    left:0;
  }

/* The sidebar menu */
#sidebar {
  height: auto; 
  z-index: 1; 
  background-color: gray;
  overflow-x: hidden; 
  padding-top: 20px;
  padding-bottom: 20px;
  box-shadow: 1px 1px 2px red, 0 0 10px red, 0 0 5px red;
}

/* The sidebar links */
#sidebar a {
  text-decoration: none;
  font-size: 1em;
  color: white;
  display: block;
}

/* When you mouse over the navigation links, change their color */
#sidebar a:hover {
  background-color: white;
  color:  blue;
}


#grid{
  display: flex;
  flex-wrap: wrap;
  z-index: 1;
  justify-content: center;
  width: 80%;
  background-color: lightgray;
  box-shadow: 1px 1px 5px red, 5px 5px 10px red, 12px 12px 15px red;
}


#grid img{
  padding: 2%;
  min-height:0;
  min-width: 0;
  display: flex;
  object-fit: contain;
}

#grid2{
  background-color: black;
  color: white;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  z-index: 1;
  justify-content: center;
  width: 80%;
  box-shadow: 1px 1px 2px black, 0 0 10px red, 0 0 5px red;
}


h1{
  width: 100%;
  text-align:center;
}

h2{
  width: 100%;
  text-align: center;
}













/*------------------------------------------------------------------------------------------4 DESKTOP */
@media only screen and (min-width: 700px){
 
 body{
  min-height: 750px;
 }
 

.icn{
  max-height: 250px;
}


.back{
	height: 150px;
}

  .csmicn{
    position: fixed;
    top:0;
    left: 100px;
    width: 100px;
  }

  .smicn{
    position: fixed;
    top: 50px;
    left: 100px;
    width: 100px;
 }

/* whatever you want, to appear below the content container */
  .guy{
    max-width: 50%;
    margin: auto 25% auto 25%;  
  }

#sidebar {
	width: 200px;
	position: fixed; 
	top: 150px;
	left: 0;
}

#sidebar a{
  padding: 8px 5px 8px 20px;
}

.main {
  margin-left: 200px;
}

#grid{
	margin-top: 90px;
  margin-left: 30px;
  padding: 1%;
	
}

#grid img{
	max-width: 100%;
}

#grid2{
	margin-top: 100px;
  	margin-bottom: 20px;
	padding: 1%;
	
}
}








/*--------------------------------------------------------------------------------------------4 PHONES */
@media only screen and (max-width: 699px){

  .icn{
  max-height: 100px;
  }
  
  .back{
    height: 100px;
    max-width: 100px;
  }
    .csmicn{
    position: absolute;
    top:0;
    right: 0;
    height: 100px;
  }
  
  .smicn{
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100px;
  }
  
  .guy{
    max-width: 70%;
    margin: auto 15% 10px 15%;  
  }

/* The sidebar menu */
#sidebar {
  top: 20px;
  width: 80%; /* Set the width of the sidebar */
  margin: auto 10% auto 10%;
}

/* The sidebar links */
#sidebar a {
  padding: 8px 8px 8px 8px;
}


.main {
 margin-top:100px;
}

  
#grid{
  margin: 0 10% auto 10%;
}

#grid img{
  max-width: 500px;
}

#grid2{
  margin: 100px 10% auto 10%;
}


}



