body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    background-color: #F38D9E;
    color: rgb(25, 46, 25);
    max-width: 390px;
    background-image: url('../media/background.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    place-items: center;
    margin: auto;
    flex-direction: column;
}

.align {
    display: flex;
    place-items: center;
    margin: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


h1 {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 66px;
    color: #1a1815;
    text-align: center;
    margin: 1rem;

}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    margin: 0;
}

header p {
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: large;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

span {
    text-decoration: line-through;
}

.links {
    background-color: #E0D6BB;
    border-radius: 30px;
    padding: 1rem 4rem;
    font-size: 20px;
    font-weight: bold;
}

.rowlinks {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.rowlinks a {
    margin: 0.2rem 1rem;
    border-radius: 5px;
    transition: ease-out 0.2s;
}

.rowlinks a:hover {
    opacity: 0.4;
}

.rowlinks a:active {
    transform: scale(0.95);
}

figure {
    margin: 0;
}

.coloumnlinks {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    flex-wrap: nowrap;
    list-style-type: none;
    grid-gap: 15px;
    margin-bottom: 1rem;
}

.coloumnlinks a {
    background-color: #54b48a;
    border: #2F6E51 solid 3px;
    border-radius: 10px;
    color: #16442f;
    padding: 20px;
    transition: ease-in-out 0.2s;
    text-decoration: none;
    text-align: center;
    box-shadow: inset 0 0 0 0 #EBC25A;
}

.coloumnlinks a:hover {
    background-color: #EBC25A;
    color: #16442f;
}

.coloumnlinks a:active {
    background-color: #2F6E51;
    color: #EBC25A;
    transform: scale(0.95);
}

.coloumnlinks a:visited {
    border: #54b48a solid 3px;
}

.coloumnlinks a:visited:hover {
    background-color: #EBC25A;
    color: #16442f;
    border: #EBC25A solid 3px;
}

.coloumnlinks a:visited:active {
    background-color: #2F6E51;
    color: #EBC25A;
    border: #2F6E51 solid 3px;
}

.coloumnlinks a:hover:last-child {
    background-color: #EBC25A;
    color: #4B60AF;
    border: #4B60AF solid 3px;
}

.coloumnlinks a:active:last-child {
    background-color: #4B60AF;
    color: #EBC25A;
}

p {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 8px;
}

ul {
    font-size: 14px;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 3px;
}

footer {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #e9e2cf;
    padding: 1rem 1.5rem;
    background-color: #374885;
    border-radius: 10px;
    list-style-type: none;
}

ul :first-child {
    color: #F38D9E;
}

ul :nth-child(n + 4):nth-child(-n + 5) {
    color: #F38D9E;
}