:root {
    --img-box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.33)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    max-width: 800px
}

main img {
    width: 150px;
    height: auto;
    border: 0;
    padding: 10px;
    box-shadow: var(--img-box-shadow);
    float: right;
}


aside img {
    max-width: 200px;
    height: auto;
}

aside {
    max-width: 800px;
    position: relative;
}

aside h2 {
    position: absolute;
    left: 55px;
    top: 25px;
}

footer {
    margin-top: 15px;
    border-top: 1px solid #000;
    text-align: center;
}

h1 {
    color: lightslategrey;
}

nav {
    background-color: lightslategray;
    padding: 10px;
    justify-content: left;
    display: flex;
}

nav a {
    color: indianred;
    font-size: 20px;
    padding: 10px;
    display: block;
    background-color: ghostwhite;
    text-decoration: none;
}

nav a:hover {
    background-color: lightslategray;
    color: white;
    transition-duration: .3s;
}

/* CLASS SELECTORS */

.box {
    margin: 1rem;
    border: 1px solid rgb(0 0 0 / 10%);
    padding: 20px;
    background-color: lightslategray;
    color: white;
    width: 800px
}
