body{
    display: flex;
	flex-direction: column;
    font-family: 'Times New Roman', Times, serif;
    text-align: center; 
    max-width: 900px;
    margin: auto;
    padding: 20px;
    background-color: antiquewhite;
    

}
header{
    border-width: 5px;
    border-style: solid;
    background-color: white;
    border-radius: 10px;
    border-color: rgb(0, 0, 0);
    
}
nav{
    flex-direction: row;
    border-width: 5px;
    border-style: solid;
    background-color: white;
    margin-top: 3px;
    font-size: 30px;
    border-radius: 10px;
    text-align: center;
    
}
a{
    margin-left: 80px;
margin-right: 80px;
text-decoration: none;
}
a:hover{
color: purple;
}
img{
width: 50%;

}
main{
    border-width: 5px;
    border-style: solid;
    background-color: white;
    min-width: 300px;
    margin-top: 3px;
    border-radius: 10px;
}
footer{
   align-self: flex-end;
    background-color: white;
    margin-top: 3px;
    border-style: hidden;
    border-radius: 50%;
    max-width: 300px;
    min-width: 300px;
}


@media screen and (max-width: 580px) {
    body{
        display: flex;
        flex-direction: column;
        font-family: 'Times New Roman', Times, serif;
        text-align: center;
        margin: auto;
        max-width: 450px;
        background-color: aqua;
        
    }
    header{
        border-width: 3px;
        border-style: solid;
    }
    nav{
        flex-direction: row;
        border-width: 3px;
        border-style: solid;
        padding: 4px;
        font-size: 20px;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
    }
    a{
        margin-left: 70px;
        margin-right: 30px;
    text-decoration: none;
    }
    a:hover{
    color: purple;
    }
    img{
    width: 50%;
    
    }
    main{
        border-width: 3px;
        border-style: solid;
        min-height: 300px;
        padding: 10px;
    }
    footer{
        max-width: 250px;
        min-width: 200px;
    }
}