/** {
    outline: 1px solid red;
}*/

*,
*::before,
*::after {
    box-sizing: border-box;
} 
html, body, p, h1, h2, h3, h4, h5, h6, ul, ol, li {
    margin: 0;
    padding: 0;
    overflow-x: hidden;

}
.website-title  {
    font-size: 8vw;
    font-weight: bold;
}

.subpage-title  {
    font-size: 8vw;
    font-weight: bold;
}
body {
    font-family: Verdana, Arial, sans-serif;
    background-image: url("images/ilmakuva.jpg");
    background-size: cover;
    background-clip: content-box;
    padding: 0;
    margin: 0;
}
html, body {
    height: 100vh;
    margin: 0;
}
main {
    flex: 1;
    align-items: center;
    width: 100%;
    margin: auto;
	overflow-y: auto;
}

.left-panel, .right-panel {
    padding: 10px;
}

.right-panel {
    flex: 2;
    width: 70%;
    flex-direction: column;
    justify-content: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.content {
    background-color: #556B2F;
    opacity: 80%;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px #000;
    box-shadow: 3px 3px #000;
    padding: 20px;
    border: 10px solid #A0522D;
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
    color: white;
}
#burger {
    top: 10px;
    left: 10px;
    margin-left: 10px;
    padding: 10px;
}
.sidenav {
    height: 350px;
    width: 0;
    position: fixed;
/*    z-index: 9999; */
    top: 0;
    left: 0;
    background-color: #111;
    opacity: 90%;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
	position: relative;
    z-index: 1;
    color: white;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 50px;
    margin-left: 10px;
    padding: 10px;
}

.buttons {
    display: flex;
    justify-content: flex-start; /* Ensure left alignment */
}
.buttons > * {
    padding: 10px;
    border: none;
}

button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    text-shadow: 1px 1px #000; 
    box-shadow: 3px 3px #000;
    width: 17rem;
    border: none;
    border-radius: 10px;
    opacity: 80%;
    color: white;
    cursor: pointer;
}
button p {
    color: white;
    font-weight: bold;
    font-variant: small-caps;
}
.but1 {
    background: #9F572B;
}
.but2 {
    background: #588157;
}
.but3 {
    background: #8AA370;
}
.but4 {
    background: #948017;
}
.but5 {
    background: #e67300;
}
.but6 {
    background: #5a2626;
}
.but7 {
    background: #739900;
}
.but8 {
    background: #990000;
}
#top {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    color: white;
    text-shadow: 1px 1px #000;
    padding: 5px;
}
#bottom {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    color: white;
    text-shadow: 1px 1px #000;
    padding: 5px;       
}
    #varasto {
    background-color: #9F572B;
    opacity: 90%;
    color: white;
    text-shadow: 1px 1px #000;
    padding: 5px;
}
    #parkki {
    background-color: #948017;
    opacity: 90%;
    color: white;
    text-shadow: 1px 1px #000;
    padding: 5px;
} 
    #hinnasto {
    background-color: #e67300;
    opacity: 90%;
    color: white;
    text-shadow: 1px 1px #000;
    padding: 5px;
}
    #tarjous {
    background-color: #5a2626;
    opacity: 90%;
    color: white;
    text-shadow: 1px 1px #000;
    padding: 5px;
}

#content-container {
    display: none;
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}
#text-container {
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    z-index: 1;
}
header {
    position: sticky;
	top: 0;
	border-radius: 20px 20px 0px 0px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 10vh;
	z-index: 1;
}
footer {
    position: sticky;
    bottom: 0;
    border-radius: 0px 0px 20px 20px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 10vh;
}


h1, h2, h3, p {
    margin: 0;
    padding: 5px;
}


@media screen and (max-width: 600px) {
.sidenav {
    padding-top: 60px;
}
.sidenav a {
    font-size: 18px;
}
.dissolve {
    display: none;
}
.hidden {
    visibility: hidden;
}


.buttons {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    width: 100%;
}

.left-panel {
    flex-grow: 1;
    width: 100%;
    text-align: center;
}
.right-panel {
        display: none;
    }
#but7 {
    display: none;
    }
button {
    text-align: center;
    width: 90%;
}
 
button h3 {
    font-size: 18px;
    color: white;
}
}