body {
    background-color: rgb(0, 128, 53);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

.top-nav {
    list-style-type: none;
    display: flex;
    padding: 5px;
    width: 700px;
    margin: auto;
}

.right-nav {
    margin-left: auto;
    margin-right: 20px;
}

nav li {
    margin: 3px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-top: 5px;
    border: solid;
    border-radius: 5px;
    background-color: rgba(32, 176, 90, 0.537);
}

.block {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: aliceblue;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: solid rgba(6, 117, 46, 0.547) 10px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.495);
    width: 500px;
    margin: auto;
    margin-top: 5px;
    padding-right: 5px;
}

.rank {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    width: 520px;
    margin: auto;
    gap: 5px;
}

.rank div {
    background-color: aliceblue;
    text-align: center;
    border: solid rgba(6, 117, 46, 0.547) 10px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.495);
    width: 100%;
    margin-top: 5px;
    box-sizing: border-box;
}

article p {
    text-align: left;
    padding-left: 20px;

}

body>section>article {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

section h1 {
    margin: auto;
}

.portion {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    padding: 50px;
    padding-top: 50px;
}

h1 {
    text-align: center;
}

.portion>img {
    border-radius: 50%;
    width: 150px;
    display: block;
    margin-right: auto;
    margin-left: auto;
    border: double rgba(19, 208, 67, 0.547) 10px;
}

.wide-header {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: aliceblue;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: solid rgba(6, 117, 46, 0.547) 10px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.495);
    margin: auto;
    margin-top: 5px;
    width: 800px;
}

ol {
    text-align: left;

}

div ol li>img {
    width: 30px;
    margin: auto;
    padding-left: 20px;
    transition: rotate 1s ease-in-out;
}

div ol li>img:hover {
    rotate: 360deg;
}

div ol > div p {
    border: none;
}

footer {
    width: fit-content;
    margin: 0 auto;
}

footer ul {
    display: flex;
    padding: 0;
    width: fit-content;

}

footer ul li {
    list-style-type: none;
    margin: 10px;
}

footer ul li svg {
    width: 50px;
    height: 50px;
    transition: color 1s ease;
    transition: transform 1s ease-out, color 1s ease-out;

}

footer ul li svg:hover {
    color: rgb(255, 255, 255);
    transform: translateY(-10px);
    transition: 1s ease;

}

footer ul li svg:active {
    transition: color 0.1s ease;
    color: red;

}

footer ul li a {
    color: inherit;
}
div h3 {
    font-size: 18pt;
    text-decoration: underline;
}

ol > li:nth-child(n+1) {
    font-weight: bold;
}

ol>li:nth-of-type(odd) {
    color: rgb(8, 91, 44);
}

ol>li:nth-of-type(even) {
    color: rgb(103, 5, 38);
}
ol li p {
  font-weight: normal;
  padding-right: 20px;
}
.block > ul > li {
    list-style-type: none;
    padding-bottom: 5px;
    font-style: italic;
}
.block ul li:nth-child(3) {
    font-weight: bold;
}
.block ul span {
    font-style: normal;
}
ul li a:hover {
    color: gold;
}
.block p a:hover {
    color: gold;
}
article p:nth-child(6) {

    text-align: center;
}