* {
    box-sizing: border-box;
    background-color: darkslategrey;
    /* text colour */
    color: rgb(195, 217, 217);
}

header {
    border: 10px rgb(255, 255, 255);
    border-style: groove;
    text-align: center;
}

h1 {
    font-weight: bold;
    border-bottom: 2px dotted white;
    margin-left: 40px;
    margin-right: 40px;
}

section {
    font-size: 13px;
    margin-top: 10px;
    border: 3px solid rgb(99, 0, 192);
    padding: 15px;

    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    /* center rows when there's extra space */
    max-width: 1400px;
    /* constrain width for nicer layout */
    margin-left: auto;
    margin-right: auto;
}

div {
    flex: 80px;
    text-align: center;
    border: 4px solid rgb(35, 185, 92);
    border-radius: 0px;
    padding: 10px;
    flex: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 500px) {
    * {
        background-color: rgb(53, 0, 103);
    }
}

.Quote,
.Name {
    font-weight: bold;
}

img {
    width: 100px;
}

div:hover {
    background-color: yellow;
}

p:hover {
    color: rgb(0, 251, 255);
    background-color: rgb(145, 0, 0);
}

footer {
    border: 1px rgb(255, 0, 0);
    border-style: groove;
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
}

a {
    color: rgb(90, 90, 255);
}