body{
    text-align:center; 
    font-size:20px;
    font-family:Montserrat;
    background-color:#f4f4f4;
}

h1{
    border-left:25px solid rgb(250,50,50); 
    border-bottom:25px solid rgba(1,10,100,0.7); 
    border-right:35px solid rgb(250,50,50); 
    border-top:35px solid rgba(1,10,100,0.7);
    text-align:center; 
    background-color: rgba(1,10,100,0.9); 
    color: white; 
    font-family:Montserrat;
}

#interactive{
	color:rgb(250,50,50);
}

ul li{
  list-style-type:none;
  text-align:left;
}


details{
  display:block;
  min-height:50px;
  width:80%;
  margin:auto;
  background-color:rgba(1,10,100,0.9);
  color:white;
}

#initial-exercise{
  border-top:5px solid rgba(1,10,100,0.9);
  border-right:5px solid rgba(1,10,100,0.9);
  border-bottom:5px solid rgba(1,10,100,0.9);
  width:72%;
  margin:auto;
  text-align:left;
  margin-top:40px;
}


.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 80%;
  border: 2px dashed rgba(1,10,100,0.9);
  text-align: center;
  outline: none;
  font-family:Montserrat;
  font-size: 24px;
  transition: 0.4s;
  margin-top:32px;
  margin-bottom:32px;
}

.active, .accordion:hover {
  background-color: #ccc;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.sidenav{
  height:100%;
  width:0;
  position:fixed;
  z-index:1;
  top:0;
  left:0;
  background-color:rgb(1,1,1);
  overflow-x:hidden;
  transition:0.5s;
  padding-top:40px;
}

.sidenav a{
  padding:10px 10px 10px 25px;
  text-decoration:none;
  font-size:20px;
  color:white;
  display:block;
  transition:0.4s;
}

.sidenav a:hover{
  color:#f4f4f4;
}

.openbtn{
  font-size:20px;
  cursor:pointer;
  background-color:rgb(1,1,1);
  color:white;
  padding:10px 15px;
  border:none;
}

.openbtn:hover{
  background-color:#333;
}

#house{
  transition:margin-left 0.5s;
  padding:15px;
}

@media screen and (max-height:500px){
  .sidenav{margin-top:15px;}
  .sidenav a{font-size:16px;}
}

@media screen and (max-width:900px){
  h1{font-size:24px;}
}

#random-image{
  background-image:url('mhf4u-background-image.jpg');
  background-repeat:no-repeat;
  background-size:100% 100%;
  height:1500px;
  width:100%;
  overflow:auto;
  border:5px solid black;
}

#main-home{
 padding:10px;
 text-align:center;
 background-color:rgba(1,10,100,0.8);
 color:white;
 font-size:20px;
}

#main-home a{
 color:white; 
}

.exercise-grid{
  display:grid;
  grid-template-columns:auto auto;
  grid-gap:10px;
}

.exercise-grid>div{
  background-color:#f4f4f4;
  min-height:50px;
  border:2px dashed rgb(250,50,50);
}

.exercise-grid>div>h2{
width:80%;
margin:auto;
}

@media screen and (max-width:900px){
  .exercise-grid{grid-template-columns:auto;} 
}
