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

body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    display: grid;
    grid-template-columns: minmax(auto, 1024px);
    justify-content: center;
    margin: 0 20px;
    color: rgb(168, 13, 13);
    background-color: rgba(40, 23, 136, 0.692);
}
.intro{
font-size: large;
font-weight: bold;
border-radius: 5em;
background-color: rgb(19, 15, 18);
box-shadow: 15px 10px 10px rgb(191, 18, 18);
}
a:link{
    color: rgb(187, 193, 187);
}

a :visited{
    color: rgb(27, 45, 203);
}
a:hover{
    color: hsl(343, 72%, 39%);
}
a:active{
    color: rgb(2, 2, 2);
}
ol {
    list-style-type: decimal-leading-zero;
}
.wrapper {
    display: grid;
    gap: 60px;
   
}

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

nav a,
footer a {
    line-height: 2;
    padding: 0 1em;
    background: rgb(234, 119, 119);
}

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

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

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

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

    main {
        grid-column: span 8;
    }

    aside {
        grid-column: span 4;
    }
}