* { padding: 0; margin: 0; } body { background-color: black; } .line { height: 1px; width: 100%; background-color: white; border-top: 1px solid white; margin-top: 5px; margin-bottom: 5px; } .row { display: flex; justify-content: space-between; width: 100%; margin: 15px 0px 15px 0px; } .center-h { margin: 0 auto; } .article_card { margin: 0 auto; margin-top: 15%; padding: 18px; height: max-content; width: 60%; border: 5px solid white; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; } .card_info_box { display: flex; } .col-right { margin-right: 25px; display: flex; flex-direction: column; justify-content: center; align-items: end; } .card_pic_box { display: flex; flex-direction: column; align-items: center; justify-content: center; } .button { padding: 15px; text-decoration: none; border: 2px solid #00FF41; color: white; border-radius: 9px; } .tag { margin: 15px; padding: 10px; border-radius: 18px; border: 2px solid #008F11; color: white; text-decoration: none; } .tag_row {} .tag_box { display: flex; flex-direction: column; align-items: center; justify-content: center; } @media (max-width: 980px) { .card { margin: 75% auto; } }