@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
body{
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    font-size: 12px;
    color: darkred;
    
}
header{
    background-color: lightgoldenrodyellow;
    height: 60px;
}
header h1 {
    font-family: "Lexend", sans-serif;
    font-size: 40px;
    line-height: 60px;
    color: darkgreen;
}
nav{
    background-color: lightgoldenrodyellow;
}
nav li{
    display: inline;
    list-style: none;
}
nav a{
    display: inline-block;
    padding: 10px;
    color: darkgreen;
}
h1{
    color: darkgreen;
    font-size: 140%;
    font-weight: bold;
    margin-bottom: 20px;
}
p{
    line-height: 16px;
    margin-bottom: 12px;
}
footer{
    background-color: lightgoldenrodyellow;
    color: darkgreen;
    font-size: 85%;
    padding: 10px;
}

main{
    float: left;
    box-sizing: border-box;
    padding: 20px;
    width: 70%;
}

aside{
    float: left;
    box-sizing: border-box;
    padding: 20px;
    width: 30%;
}

#content div{
    overflow: auto;
}

h2,h3{
    padding: 10px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

#main-nav ul li{
    padding: 10px;
    line-height: 10px;
    margin: 10px;
}

a{
    color: darkgreen;
}

#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;
}
  #contactForm label{
    display: block;
}

#contactForm .validation-message{
    color:red;
}
pre{
    background-color: black;
    color: yellow;
    padding: 20px;
    border-radius: 8px;
}

@media all and (max-width : 600px){
    main{
        float: none;
        width: 100%;
    }
    aside{
        float: none;
        width: 100%;
    }
    #mobile-nav-button{
        display: block;
    }
    #main-nav{
		position: absolute;
		top: 44px;
		height: 100px;
		width: 0;
		transition: width .5s;
		z-index: 100;
	}

	#main-nav li{
		overflow: hidden;
	}

	#main-nav.show{
		width: 205px;
	}

	#main-nav ul li{
		display: block;
	}
    header h1{
        font-size: 30px;
    }

}