@import url('https://fonts.googleapis.com/css2?family=Bitcount+Grid+Double:wght@100..900&display=swap');

body{
    font-family: 'Courier New', Courier, monospace;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

header{
    background-color: rgba(57, 169, 137, 0.648);
    height: 60px;
    flex-shrink: 0;
}

nav{
    background-color: rgba(2, 117, 79, 0.694);
    height: 30px;
}

nav li{
    display: inline-block;
    list-style: none;
    height: 30px;
}

nav a{
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px 0 10px;
    color: antiquewhite;
}

#content{
    display: flex;
    flex: auto;
    flex-direction: row;
}

main{
    width: 80%;
    box-sizing: border-box;
    padding: 10px;
}


aside{
    width: 30%;
    box-sizing: border-box;
    padding: 10px;
    background-color: rgba(57, 149, 55, 0.664);
    text-align: center;
}

footer{
    background-color: rgba(193, 116, 23, 0.724);
    color: blanchedalmond;
    font-size: 85%;
    flex-shrink: 0;
}

main h1, aside h1{
    color: rgba(86, 36, 5, 0.781);
    font-size: 140%;
    margin-bottom: 20px;
    font-weight: bold;
}

p{
    margin-bottom: 18px;
    border: 2px solid brown;
    padding: 2px;
    line-height: 1.7;
    max-width: 100%;
    text-indent: 1.2em;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px
}

header h1{
    font-family: "Bitcount Grid Double";
    font-size: 250%;
    color: rgba(86, 36, 5, 0.781);
    padding: 15px;
}

#menu-button{
    display: none;
}

input[type=button]{
      border:2px solid rgba(57, 149, 55, 0.664);
      background-color: rgba(86, 36, 5, 0.781);
      border-radius: 4px;
      padding:10px;
      color:antiquewhite;
      font-weight: bold;
}

#image-gallery{
    width:380px;
}

#image-gallery #mainImg{
    width:100%;
    border: 2px solid brown;
}

.about-photos{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.about-photos img{
    width: 30%;
    border: 2px solid brown;
}

@media all and (max-width : 800px) {
    header{
        height: 90px;
    }
    #content{
        display: block;
    }
    main{
        width: 100%;
    }
    aside{
        width: 100%;
    }
    #menu-button{
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        height: 44px;
        text-align: center;
        line-height: 44px;
        color: rgba(86, 36, 5, 0.781);
        padding: 20px;
        font-weight: bolder;
    }
    nav{
        height: auto;
        display: none;
    }
    nav li{
        display: block;
    }
    nav.open{
        display: block;
    }
    .about-photos{
        flex-direction: column;
    }
    #photo3{
        display: none;
    }
    p{
        line-height: 1.7;
        max-width: 650px;
        text-indent: 1.2em;
    }
}