@import url('https://fonts.googleapis.com/css2?family=Atomic+Age&display=swap');

.clearfix::after {
    content: "";
    display: table;
    clear: both; 
}

pre{
    background-color: black;
    color: greenyellow;
    padding: 10px;
    border-radius: 10px;
}

.img-container img{
    width: 100%;
}

.img-container{
    float: left;
}

.w-50{
    width: 50%;
}
.w-40{
    width: 40%;
}

.w-25{
    width: 25%;
}
.w-10{
    width: 10%;
}

.left{
    float: left;
    padding-right: 20px;

}

.right{
    float: right;
    padding-left: 12px;
}

header{
    background-color: rgb(68, 68, 209);
    height: 80px;
  
    
    
}

body{
    font-family: verdana;
    font-size: 14px;
    color: rgb(193, 236, 36);
    background-color: rgb(147, 145, 165);
}

header h1{
    font-family: Atomic Age;
    font-size: 37px;
    color: rgb(193, 236, 36);
    text-align: center;
    padding-top: 10px;
}

#main-nav{
    height: 30px;
    background-color: rgb(8,8, 184);
}

#main-nav ul{
    margin:0;
    padding:0;
}

#main-nav ul li{
    height: 100%;
    list-style: none;
    display: inline-block;
}

#main-nav ul li a{
    display: block;
    height: 30px;
    line-height: 30px;
    color: aquamarine;
    padding:0px 20px;
}

#main-nav ul li a:hover{
    background-color: purple;
}


p{
    line-height: 20px;
    margin-bottom: 12px;
    font-size: 15px;
}

footer{
    background-color: darkgrey;
    color: black;
    height: 28px;
    font-size: 10px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}

main{
    float:left;
    box-sizing:border-box;
    padding: 20px;
    width: 70%;
}

aside{
   /*float:left;*/
    box-sizing:border-box;
    /* padding: 15px; */
    width:30%;
    background-color: darkgrey;


    position: absolute;
    bottom: 0px;
    right: 0px;
    top: 0px;
    padding: 20px;
}

#content{
    overflow: auto;
    position: relative;
}

h2{
    font-size: 35px;
    padding: 20px;
    color: rgb(171, 227, 50);
    font-weight: bold;
    
}

h3{
    font-size: 18px;
    padding: 20px;
    font-weight: bold;
}

ul{
    margin: 5px;
    padding: 2px;
    line-height: 2;

}

li{
    margin: 3;
    padding: 3;
    list-style:square;
}

#main-nav ul li a{
    color: aquamarine;
    
}

#mobile-nav-button{
    position:absolute;
    top: 0px;
    right: 0px;
    width: 44px;
    height: 44px;
    font-weight: bold;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    display: none;
    
}

input[type=button]{
    border:2px solid gray;
    background-color: #333333;
    border-radius: 4px;
    padding:10px;
    color:gray;
    font-weight: bold;
  }

  #image-gallery{
    width:380px;
  }

  #image-gallery #mainImg{
    width:100%;
    border: 2px solid #333333;
  }

@media all and (max-width : 600px){
	
	header h1{
		height:35px;
        font-weight: bold;
	}

	main, aside{
		width:100%;
		float:none;
        position: static; /* this is because we set the aside to absolute*/
	}

	#main-nav{
		position:absolute;
		top: 44px;
		height: 100%;
		width: 0;
		transition: width .5s;
		z-index: 2;
	}

	#main-nav li{
		overflow: hidden;
	}

	#main-nav.show{
		width:250px;
	}
	
	#main-nav ul li{
		display:block;
	}

	#mobile-nav-button{
		display: block;
	}

	
}
