body { background-color: #040217; color: #ccccff; } header{ display: flex; justify-content: space-between; align-items: center; } #logo img{ width: 100%; height: auto; } #contacts{ display: none; } #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: white; } @media screen and (min-width: 750px) { #contacts { display: flex; align-items: center; } } /* Slideshow container */ .slideshow-container { max-width: 1000px; position: relative; margin: auto; } /* Caption text */ .text { color: #ccccff; font-size: 150%; padding: 8px 12px; position: absolute; bottom: 8px; width: 100%; text-align: center; background-color: #040217; } /* 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} } #desc-and-pic-container{ display: flex; flex-wrap: wrap; } #description img{ height: auto; max-width: 35%; } #server_rack_img img{ max-width: 50%; display: block; margin-left: auto; margin-right: auto; } @media screen and (min-width: 1000px) { #desc-and-pic-container{ flex-wrap: nowrap; } #server_rack_img img{ max-width: 80%; } } #project-list-container{ display: flex; justify-content: space-around; align-items: center; } #project-list-container a { color: white; text-decoration: none; } #menu-links nav { display: none; } @media screen and (min-width: 530px) { #menu-links { display: flex; justify-content: space-between; } #menu-links nav { display: block; padding-right: 10px; } #menu-links a { padding-right: 5px; } } #latest-project-pics{ display: flex; justify-content: space-around; align-items: stretch; } #latest-project-pics img{ max-width: 20%; } @media (max-width: 500px) { .sec-pic{ display: none; } } #reviews { display: flex; } .container { border: 2px solid white; background-color: black; border-radius: 5px; padding: 16px; margin: 16px 0 } .container::after { content: ""; clear: both; display: table; } .container img { float: left; margin-right: 20px; border-radius: 50%; } .container span { font-size: 20px; margin-right: 15px; } @media (max-width: 500px) { .container { text-align: center; } .container img { margin: auto; float: none; display: block; } } #latest-news-pics { display: flex; justify-content: space-between; align-items: center; } #latest-news-pics img { height: auto; max-width: 35%; } footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; } footer a{ color: white; text-decoration: none; display: block; } @media (max-width: 350px) { footer a{ display: none; } }