/*Whole page styles*/ body{ display: flex; flex-direction: column; height: 100%; margin: 0; } /*Header styles*/ header{ display: flex; flex-direction: row; } .nav-bar{ display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; width: 100%; } .logo img{ width: 150px; height: auto; } .navigation{ display: flex; flex-grow: 2; } .navigation ul{ text-decoration: none; color: black; margin: 0; padding: 0; display: flex; align-content: center; flex-wrap: wrap; } .navigation ul li{ list-style: none; margin: 15px; padding: 0; font-size: 20px; } .navigation ul li a{ text-decoration: none; color: black; } .account{ display: flex; } .account ul{ text-decoration: none; color: black; margin: 0; padding: 0; display: flex; align-content: center; flex-wrap: wrap; } .account ul li{ list-style: none; margin: 15px; padding: 0; font-size: 20px; } .account ul li a{ text-decoration: none; color: black; } /*Main area styles*/ main{ display: table; /* display: flex; justify-content: flex-start; flex-grow: 2; */ } .items{/*section of page with items, this will be 75% of the screen to the left*/ border: solid thin black; display: table-cell; width: 75%; /* border: solid thin black; display: flex; flex-direction: row; flex-grow: 2 */ } .total{/*section of the page with the running total, this will be 25% of the screen to the right*/ border: solid thin black; display: table-cell; width: 25%; } .itemfolder{/*the folder that expands and collapses full of the items*/ background-color: cadetblue; border-radius: 10px; display: inline-block; height: 450px; margin: 15px; transition: width .25s linear, height .25s linear; width: 450px; /* background-color: cadetblue; border-radius: 10px; display: flex; height: 150px; justify-content: center; margin: 15px; overflow: hidden; width: 150px; */ } .itemfolder.minimized{ height: 150px; overflow: hidden; width: 150px; } .itemfolder .itemthumbnail{/*remove margin when the item is in a folder*/ margin: 0px; } .itemfolder .itemthumbnail img{/*remove margin when the item is in a folder*/ margin: 0; } .itemthumbnail{ background-color: cadetblue; border-radius: 10px; display: flex; height: 150px; justify-content: center; margin: 15px; overflow: hidden; width: 150px; } .itemthumbnail img{ margin: 10%; } .itemthumbnail.hidden{ display: none; } .itemthumbnail.listitem{ float: left; height: 33%; width: 33%; } .itemfolder .expanded{ background-color: red; } footer{ display: flex; margin: auto; }