/* menu part */ .menu { border-top: double 5px silver; border-bottom: double 5px silver; text-align: right; } .menu-item { display: inline-block; width: 8%; height: 3em; line-height: 3em; /* to align to center */ text-align: center; vertical-align: middle; margin: 0 1%; overflow: hidden; text-overflow: ellipsis ; } .menu .selected { color: green; font-weight: bold; border-left: double 5px silver; border-right: double 5px silver; } .menu .menu-header { color: green; font-weight: bold; float: left; } .menu a { color: black; } /* 4 images part */ .images-container { width: 90%; height: 140pt; margin: auto; overflow: hidden; } .half-size { width: 49%; float: left; text-align: center; /* line-height: 140pt; */ margin: 0.5%; } .quarter-size { width: 24%; /* height: 140pt; */ float: left; text-align: center; /* line-height: 140pt; */ margin: 0.5%; } .image-column-container { width: 24%; margin:0.5%; height: 140pt; float: left; } .image-column-container > div { width: 100%; height: 48%; margin: 1%; text-align: center; line-height: 96px; margin-bottom: 4%; } .images-container img{ width:100% } /* main block part */ .main-block{ width:80%; margin: auto; } .info-block{ width:30%; height:40%; } .bg-aqua{ background: aqua; } .info-block-header{ display: block; margin:auto; width:min-content; font-size: 1.5em; font-weight: bold; } .info-block-text{ text-align: justify; /* font-size: 0.7em; not sure */ } .info-block-image{ margin: auto; width:25%; height:10%; overflow: hidden; } .info-block-image >img{ width: 100%; } .rounded{ border-radius: 5%; overflow: hidden; } .info-block-button{ float: right; margin-right: 10%; color:white; background-color: blue; border-radius: 5px; }