html, a, button, iframe {
/* mouse cursor */
    cursor: url("images/cursor.png"), auto;
}

html, body {
/*disable horizontal scroll*/
    max-width: 100%;
    overflow-x: hidden;
}

#main-html, #index {
/*disable vertical scroll*/
    max-height: 100%;
    overflow-y: hidden;
}

#index {
    background-image: url("images/wallpaper_1.jpg");
}

#frame {
    margin: 0;
    height: auto;
    width: auto;
}


/* BODY */
body {
    display: flex;
    align-items: center; /* centers items vertically */
    height: 90vh; /* make parent fill viewport height */
}

p { 
    line-height: 25px ; 
}

em { 
    font-weight: bold; 
}

#main-container {
    position: relative;
    width: 90%;
    height: 90%;
    margin: auto;
    display: flex;
    flex-direction: row;
}



/* SIDEBAR */
#sidebar {
    order: 1;
    display: flex;
    width: 160px;
    font: 10px monospace;
    height: 445px;
    flex-direction: column;
}

#sb-section1 {
    background-color: #DDDEAB;
    width: 148px;  
    border-radius: 20px 5px 3px 5px;
    padding: 5.5px 0px 16px 5.5px;
}

#sb-section2 {
    background-color: #DDDEAB;
    width:  148px;  
    border-radius: 5px 3px 3px 5px;
    margin-top: 9px;
    padding: 1px 0px 16px 5.5px;
}

#sb-section3 {
    background-color: #DDDEAB;
    width: 148px;  
    border-radius: 5px 3px 5px 20px;
    margin-top: 9px;
    padding: 1px 0px 16px 5.5px;
}

#sidebar button {
    font: 17px monospace;
    background-color: #DDDEAB;
    border: none;
    display: flex;
    flex-direction: row;
    width: 80px;
    padding: 10px 0px 5px 5px;
}

#sidebar button:hover {
    background-color: #DDDEAB;
    color: white;    
    display: flex;
    flex-direction: row;
    width: 100px;
}

#sidebar img {
    width: 32px;
    height: 32px;
    margin: 3px 10px 20px 0;
}

#sidebar button, em {
    text-align: center;
    margin: 6px 0px 0 2px;
    height: 47px;
    width: 11px;
}



/* MAIN */
main {
    font: 15px monospace;
    order: 2;
    background-color: #DDDEAB;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 20px 30px;
    border-radius: 5px 20px 20px 20px;
    width: 920px;
    height: 690px;
    position: relative;
}

main p {
    margin-top: 20px;
}

main h3 {
    margin-bottom: -30px;
}

main img {
    width: 88px;
    height: 31px;
    margin-top: 0;
}

#button-holder {
    color: black;
    margin-right: 10px;
    width: 100%;
    border: none;
}

#index-bottom {
    inset: auto auto 10px 0;
    position: relative;
    display: flex;
    flex-direction: row;
    width: 90%;
}

.log-scroll-header {
    background-color: #780c28;
    font: 15px monospace;
    width: 214px;
    text-align: center;
    color: whitesmoke;
    height: 25px;
}

.log-scroll {
    width: 200px;
    bottom: 0;
}

.log-scroll iframe {
    width: 210px;
    height: 300px;
    bottom: 0;
    margin-top: 5px;
    border: 2px solid #780c28;
}

#frame-window {
    left: 0;
}

#frame-window iframe {
    height: 480px;
    width: 920px;
}

#guestbook { 
    order: 3; 
    margin-left: 40px;
}

#guestbook iframe {
    width: 430px;
    height: 345px;
    bottom: 0;
    margin-top: 20px;
}
 


/* MAIN ACCESSORIES */
table{
    font: 14.5px/25px monospace;
    letter-spacing: 0.4px;
    width: 890px;
    color: black;
}

td, th {
    border-bottom: 1px dotted #627254;
    text-align: left;
    padding-bottom: 10px;
    vertical-align: top;
}

th {
    height: 18px;
    vertical-align: middle;
    text-decoration: underline;
}

table tr td img {
    width: 149px;
    height: 220px;
}



/* BOTTOM-BAR */
#bottom-bar {
    font: 40px monospace;
    width: 100%;
    height: 35px;
    background-color: #780C28;
    color: white;
    position: fixed;
    inset: auto auto 0 0;
    padding: 4px;
}

#bottom-bar-button {
    position: fixed;
    height: 30px;
    width: 70px;
}

#bottom-bar-button button {
    background-color: whitesmoke;
    margin: 2px 0 0 2px;
    position: fixed;
    height: 32px;
    width: 70px;
}

#bottom-bar-button button:hover {
    background-color: #DDDEAB;
}



/* FRAME HTML */
#frame-div {
    font: 12.5px/25px monospace;
    text-align: left;
    margin: 0;
}

#changelog-date {
    font-style: italic normal;
    font-weight: normal;  
}

.gallery img {
    width: 67px;
    height: 50px;
    margin: 0;
}

.gallery {
    flex-flow: row wrap;
    border-bottom: 1px dotted #627254;
}

.gallery a {
    text-decoration: none;
}