/* general */ @import url('https://fonts.googleapis.com/css?family=Ubuntu:300,400,500'); html * { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { font-family: 'Ubuntu', sans-serif; min-width: 600px; -ms-text-size-adjust: 100%; -moz-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } a { text-decoration: none; } /* index */ .block { margin: 0 auto; max-width: 710px; .b1 { img {margin-left: 155px;} } .b2 { display: flex; .b2-left { width: 30%; } .b2-right { font-size: 13px; position: relative; text-align: right; width: 100%; .right--nav { display: flex; justify-content: space-around; background: #00339a; padding: 3px 0; width: 100%; a { color: #fff; font-weight: 500; } } .right--collage {} .right--slogan { font-weight: 500; max-width: 230px; position: absolute; right: 10px; top: 250px; text-align: left; } .right--content { text-align: left; p { margin: 10px 0; span {font-weight: 500;} a {font-weight: 500;} } } .product { h2 { background-color: #eee; color: #222; font-weight: 500; margin: 20px 0 10px; padding: 5px; } .images { margin-bottom: 20px; img { max-width: 130px; padding: 1px; } } p { background-color: #eee; color: #444; margin: 0; padding: 5px; } } .contact { h2 { background-color: #eee; color: #000; font-weight: 500; margin: 20px 0 10px; padding: 8px; } p { padding-left: 8px; span { font-weight: 500; } } } } } .b3 { font-size: 10px; font-weight: 300; text-align: center; p {padding: 10px 0;} } } // accordion button.accordion { background-color: #eee; color: #444; cursor: pointer; padding: 5px; width: 100%; border: none; text-align: left; outline: none; font-size: 15px; transition: 0.4s; &:after { content: '\002B'; color: #777; font-weight: bold; float: right; margin-left: 5px; } &:first-child { margin-top: 20px; } } button.accordion.active, button.accordion:hover { background-color: #ddd; } button.accordion.active:after { content: "\2212"; } div.panel { padding: 0 18px; background-color: white; max-height: 0; overflow: hidden; transition: max-height 0.2s ease-out; } /* responsive */ @media screen and (max-width: 1200px) {}