
body {
    margin: auto;
    display: grid;
    max-width: 95%;
    min-width: 60%, min-content;
    place-items: center;
    font-family: "Inter var", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 2vh;
    line-height: 145%;
    background-color: #3c3836;
    color: #ebdbb2;
}

a {
    color: #ebdbb2;
    text-decoration: none;
}

.topbar{
    font-size: 1.3vh;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 10rem, min-content;
    color: #ebdbb2;
    justify-content: center;
    line-height: normal;    
}

header{
    display: inline-flex;
    flex-direction: row;
    color: #ebdbb2;
}

header h1{
    margin: 1rem;
    font-size: 2rem;
}

header img{
    height: 10rem;
    width: auto;
}

nav {
    align-items:flex-end;
    
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: max-content;
    height: min-content;
}

nav a{
    padding: 1rem;
    margin: 0.3rem;
    text-align: center;
    width: 10rem;
    font-size: 2rem;
    border-radius: 1rem;
}

nav a:hover{
    padding: 1rem;
    margin: 0.3rem;
    background-color: #8f3f71;
    color:#ebdbb2;
    width: 10rem;
    font-size: 2rem;
    border-radius: 1rem;
}

.dropdown{
    padding: 1rem;
    margin: 0.3rem;
    text-align: center;
    width: 10rem;
    font-size: 2rem;
    border-radius: 1rem;
    background-color: none;
}

.dropdown:hover{
    background-color: #8f3f71;
}


.dropdown-content {
    display: none;
    position: absolute;
    margin: -1.3rem;
    margin-top: 1rem;

    z-index: 1;
}

.dropdown-content a {
    float: none;
    background-color: #ebdbb2;
    color: #3c3836;
    text-decoration: none;
    display: block;
    text-align: center;
}

.dropdown:hover .dropdown-content {
    display: block;
}

main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: clamp(65%, 100%, 60vh);
    justify-content:center;
    align-content: flex-start;
    border-top: #8f3f71 0.3rem solid;
    border-radius: 0.2rem;
    margin-bottom: 30vh;
}

main div {
    width: clamp(20%, 100%, 60vh);   
    margin: auto 1rem auto 1rem;
    height: max-content;
    max-height: 70vh;
    aspect-ratio: 1.2;
}


footer{
    margin: 0rem;
    position: fixed;
    width: clamp(65%, 100%, 60vh);
    display: flex;
    flex-direction: row;
    justify-content: center;
    bottom: 0rem;
    height: min-content;
    background-color: #3c3836;
    border-top: #8f3f71 0.3rem solid;
    border-radius: 0.2rem;
    font-size: clamp(2.5vw, 1rem, 1rem);
    line-height: 1.2;
    font-size: 1rem;
}

footer div{
    margin: 0.2rem 1rem 0.7rem 1rem;
    text-align: center;
}

footer h3{
    margin: 0.4rem 0;
}

footer a{
    overflow: visible;
}