*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    display: grid;
    grid-template-columns: minmax(auto, 1024px);
    justify-content: center;
    margin: 0 10px;
    background-color: goldenrod;
}

.wrapper {
    display: grid;
    gap: 20px;
    color: firebrick;
    background-color: lightgoldenrodyellow;
    height: auto;
    padding: 10px;
}

nav,
footer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

nav a,
footer a {
    line-height: 2;
    padding: 0 1em;
    background: lightgray;
}

nav :first-child,
footer :first-child {
    margin-right: auto;
}

p,
li {
    max-width: 70ch;
    line-height: 1.8;
}

ol {
    list-style-type: decimal-leading-zero;
}

a:link {
    color: crimson;
}

a:visited {
    color: darkcyan;
}

a:hover {
    color: mediumspringgreen;
}

@media screen and (min-width: 768px) {
    .wrapper {
        grid-template-columns: repeat(6, 1fr);
    }

    header,
    nav,
    footer {
        grid-column: span 6;
        flex-direction: row;
    }

    main {
        grid-column: span 4;
    }

    aside {
        grid-column: span 2;
    }
}

.intro {
    border-radius: 20px;
    background-color: lightgray;
    box-shadow: 5px 5px 5px crimson;
    text-align: center;
}

#exp {
    width: 600px;
    height: 300px;
}

.error {
    color: blue;
    display: block;
}

.error-parent {
    background-color: lightskyblue;
    padding-left: 10px;
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto;
    background-color: crimson;
    padding: 5px;
}

.grid-item {
    background-color: lightgray;
    margin: 5px;
    text-align: center;
    box-shadow: 3px 3px 3px blue;
    border-radius: 10px;
}

.capitalize {
    text-transform: capitalize;
}

ul {
    list-style-position: inside;
}

.reference-margin {
    margin-right: 300px;
}

#map {
    width: 400px;
    height: 400px;
}