/* CSS Comment - SCSS HSL */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

img {
    vertical-align: middle;
    max-width: 100%;
}

.grid {
    display: grid;
    gap: 1rem;
}

.grid-12 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .grid-12 {
        grid-template-columns: repeat(8, 1fr);
    }



}

@media (min-width: 1025px) {
    .grid-12 {
        grid-template-columns: repeat(8, 1fr);
    }
}

.span-all {
    grid-column: 1/-1;
}

.card {
    padding: 0 10px;
    width: 90%;
    margin: 5px auto 5px;
    color: #4B4B4B;
    border-bottom: solid 3px #4b4b4b88;
}

.card h2 {
    text-align: center;
}

.card p {
    text-align: justify;
}


body {
    background-color: #D3D3D3;
    color: white;
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;

}

.wrapper {
    max-width: 1000px;
    margin: auto;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.714);
    text-align: center;


}

main {
    margin: auto;
    padding: 0;
}


h1 {
    margin: auto;
    width: 100%;
    line-height: 3;
    background-color: #4B4B4B;
    border-radius: 2px;
    padding: 10px;
    text-align: center;
}

h2 {
    margin: auto;
    padding: 5px;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

ul {
    margin: auto;
    list-style: none;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    font-size: 20px;
    text-align: left;
    align-items: center;
}

li {
    max-width: 60ch;
    margin: auto;
}

ul>li>a {
    padding: 5px;
}

ul>li>a:hover {
    color: white;
    background-color: #6b705cb1;
}

footer {
    font-size: 18px;
    line-height: 2;
    margin: auto;
    background-color: #4B4B4B;

}

footer a {
    color: whitesmoke;
    padding: 3px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

footer a:hover {
    background-color: whitesmoke;
    color: #4B4B4B;

}

@media (min-width: 1025px) {
    ul {
        flex-direction: column;
        justify-content: space-between;
    }
}