div {
    /*display: flex;*/
    margin: auto;
    width: auto;
}

body {
    background-color: lightgrey;
    /*font-family: Palatino, Helvetica, monospace;*/
    /*font-family: MS PGothic, MS Gothic, Sazanami Gothic, monospace;*/
    max-width: 100%;

    /**/
}

h1 {
    margin: 0;
}

.header-fixed {
    max-width: 100%;
}

figure {
    float: right;
    margin: 1em;
    text-align: center;
}
.banner {
    margin-bottom: -5px;
    width: 100%;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.navbutton {
    padding: 6px;
    /*height: 20px;*/
    background: linear-gradient(#ccffff, #7D9A9A);
    /*border-radius: 4px;
    border: 2px solid lightblue;*/
}
.navbutton:hover {
    background: linear-gradient(#7D9A9A, #ccffff);
}
.navfiller {
    
    flex: auto;
    height: 20px;
    padding: 6px;
    
    background: linear-gradient(#ccffff, #7D9A9A);
    
}
.sponssit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: fit-content;
    flex-direction: column;
}
.sponssit a {
    flex: fit-content;
}

img {
    width: 100%;
    
}
.main-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.forms-section {
    width: 60%;
    min-width: 300px;
    padding: 10px;
    box-sizing: border-box;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 20px;
    width: 20%;
    min-width: 200px;
}

.box {
    padding: 10px;
    min-height: 200px;
    box-sizing: border-box;
} /* tarviiko tätä?? */

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    background: linear-gradient(#ccffff, #7D9A9A);

}
.nav-menu li {
    padding: 0.5em;

    list-style: none;
}
.dropdown {
    position: relative;


}
.dropdown-menu {
    display: none;
    position: absolute;
    min-width: 130px;
    padding: 12px 16px;
    background: linear-gradient(#ccffff, #7D9A9A);
    z-index: 1;
    margin: 0;
}

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