*,
*::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-left: auto;
    color: rgb(168, 13, 13);
    background-color: rgba(40, 23, 136, 0.692);
    text-align: center;
    padding: 0;
    height: 1000px;
}
.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);
    }

 
 

    main {
        grid-column: span 8;
    }
 
    
    aside {
        grid-column: span 4;
    }


    table, th, td {    
        border: 1px solid black;  
        margin-left: auto;  
        margin-right: auto;  
        border-collapse: collapse;    
        width: 500px;  
        text-align: center;  
        font-size: 20px;  
        
    
        }    
        
    
}