.alert-error { color: white; background-color:black; font-size: 4rem; } #root { max-width: 1200px; margin: 0 auto; background-color: darkslateblue; } .container { display: flex; flex-wrap: wrap; border: 2px solid gray; background-color: darkslateblue; clear: both; } .card { margin: 1rem; border: 2px solid gray; background-color: white; color: black; display: flex; justify-content: left; font-size: 20px; } .contributorsCard { margin: 1rem; border: 2px solid gray; background-color: darkslateblue; display: flex; justify-content: right; font-size: 20px; text-align: center; } .card:hover { background-color: lightblue; } .header{ float: center; clear: both; } .title{ color: white; background-color: darkslateblue; font-size: 2rem; border: 2px; margin: 1rem; padding-top: 1rem; font-size: 3rem; text-align: center; font-family: 'Allerta Stencil', sans-serif; } .subtitle { color: white; margin: 1rem; font-size: 1.5rem; font-family: 'Play', sans-serif; } #repoHeader { float: left; } #contributorHeader { float: right; } #mySelect{ margin: 2rem; margin-top: 0; padding: 1.5rem; font-size: 1.5rem; background-color: white; color: black; font-family: 'Play', sans-serif; } #mySelect:hover { background-color: lightblue; outline-color: white; } #myOption { font-size: 1.5rem; background-color: white; color: black; font-family: 'Play', sans-serif; } #myUl{ list-style-type: none; font-size: 1.5rem; font-family: 'Play', sans-serif; } #myUl:hover { background-color: lightblue; } #contributorsUl{ list-style-type: none; font-size: 1.5em; font-family: 'Play', sans-serif; } img{ border: 1px solid #ddd; border-radius: 4px; margin: 10px; padding: 25px; width: 150px; display: flex; justify-content: center; } #catImage{ display: block; margin-left: auto; margin-right: auto; width: 50%; } #link { font-size: 20px; text-align: left; } .badge{ font-size: 20px; } #footer{ text-align: center; } @media screen and (max-width: 600px) { .card, .header { flex: 1 1 calc(33% - 2rem); } #contributorHeader{ display: none; } #mySelect, #myOption { width: 300px; } } @media screen and (min-width: 600px) { .card, .header { flex: 1 1 calc(33% - 2rem); } #mySelect, #myOption { width: 400px; } }