.bg-color { background-color: #1b1c1e; } .comp-color { background-color: #212226; } .nav-radius { border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; } .product { background-color: 1b1c1e; font-family: 'Poppins', sans-serif; display: flex; margin-left: 48px; justify-content: left; text-align: left; } .description { color: #ffffff; font-family: 'Poppins', sans-serif; margin-top: 20px; margin-left: 40px; justify-content: center; text-align: left; } .button { background-color: #c2f706; border: none; color: black; padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; margin: 4px 2px; cursor: pointer; border-radius: 16px; } .modal { display: none; position: fixed; z-index: 1; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgb(0,0,0); background-color: rgba(0,0,0,0.4); } .modal-content { background-color: #fefefe; margin: auto; padding: 20px; border: 1px solid #888; width: 80%; } .close { color: #aaaaaa; float: right; font-size: 28px; font-weight: bold; } .close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; } .img{ margin-top: 20px; } @media only screen and (max-width: 1000px){ .product{ display: grid; } .img{ width: 500px; height: auto; } .description{ margin-left: 0px; } }