header{ display: flex; justify-content: space-between; align-items: center; } #logo img{ width: 100%; height: auto; } #contacts{ display: flex; } #contacts p{ font-size: 2vmin; margin-right: 10px; } #contacts img { min-width: 0%; max-width: 50%; } #hamenu span{ display: block; width: 25px; height: 2px; margin-bottom: 5px; position: relative; background: black; } /* Slideshow container */ .slideshow-container { max-width: 1000px; position: relative; margin: auto; } /* Caption text */ .text { color: black; font-size: 150%; padding: 8px 12px; position: absolute; bottom: 8px; width: 100%; text-align: center; background-color: white; } /* The dots/bullets/indicators */ .dot { height: 15px; width: 15px; margin: 0 2px; background-color: #bbb; border-radius: 50%; display: inline-block; transition: background-color 0.6s ease; } .active { background-color: #717171; } /* Fading animation */ .fade { -webkit-animation-name: fade; -webkit-animation-duration: 1.5s; animation-name: fade; animation-duration: 1.5s; } @-webkit-keyframes fade { from {opacity: .4} to {opacity: 1} } @keyframes fade { from {opacity: .4} to {opacity: 1} } .highlight { color: blue; } #desc-and-pic-container{ display: flex; flex-wrap: wrap; } #description img{ height: auto; max-width: 35%; } #picture img{ height: 100%; width: 100%; }