* {
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;

    margin: 0;
    padding: 0;
}

main{
    padding: 20px;
    display: flex;
    gap: 1.5rem;
}
.cover {
    background-color: #D9FF88;

    font-weight: bold;
    font-size: 30px;
    text-align: center;

    padding: 15px;
}
header {
    display: inline;
}
header > div > p {
    font-family: monospace;
    color: #ff8d1a;
}
nav {
    background-color: #e9ffbbf4;
    font-family: monospace;
    font-size: 18px;

    padding: 15px;
    position: sticky;
    top: 0;
}
nav ul {
    padding-inline: 4rem;
    display: flex;
    gap: 2rem;

    position: sticky;
    top: 0;
}
nav ul > li {
    list-style-type: none;
}
nav ul > li > a {
    text-decoration: none;
    margin: 35px;
}
nav li:hover {
    background-color: #D9FF88;
    font-weight: bold;
    border-radius: 10px;

    transition: .3s ease-in-out;
    transition-delay: .2s;
}
h1 {
    text-align: center;
    text-shadow: 1.5px 2px rgb(255, 211, 33);
    padding: 20px;
}
h2 {
    padding: 5px 0 12px 0;
}
ol {
    padding-left: 1rem;
}
ol > li {
    padding: 10px;
}
th {
    text-align: left;
}
td {
    padding-top: 5px;
    padding-left: 8px;
}
.card{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
    text-align: justify;
    align-items: justify;
    border-radius: 10px;
    margin: 10px;
    padding: 20px;
}
.photos{
    width: 100%;
    max-height: 900px;
    object-fit: cover;
    object-position: center;
}
.profile img{
    width: 300px;
    object-fit: cover;
    align-items: center;
}
button {
    font-family: monospace;
    font-weight: bold;
    background-color: #feb66d;
    padding: 5px;

    border-radius: 10px;
}
input {
    font-family: monospace;
    font-weight: bold;
    padding: 5px;

    border-radius: 10px;
}
#question, #result {
    font-weight: bold;
}

button:hover {
    background-color: #D9FF88;
}
#content {
    flex: 5;
    display: flex;
    flex-flow: column nowrap;
}

aside {
    flex: 1;
}

footer {
    background-color: #D9FF88;

    font-weight: bold;
    font-size: 20px;
    text-align: center;

    padding: 15px;
}

@media screen and (max-width: 1200px) {
    main {
        flex-flow: column nowrap;
    }

    main aside {
        align-self: center;
    }
}

@media screen and (max-width: 768px) {
    header > div > img {
        align-self: stretch;
    }
    nav ul{
        flex-direction: column;
        align-items: flex-start;
    }
    main aside {
        align-self: stretch;
    }
}