body { background-color: #f8fafc; } .wrapper { margin: 0 auto; display: inline-block; padding: 20px; width: 70%; height:60vh; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } .czytnik { text-align: center; position: absolute; left: 50%; bottom: -30%; transform: translate(-50%, -10%); box-shadow: 0 0 rgb(103, 88, 184); color: #fff; background-color: #3490dc; border-color: #3490dc; padding: 50px 100px; font-size: 30px; display: none; width: 70%; } .czytnik:hover { color: #fff; background-color: #227dc7; border-color: #2176bd; } .czytnik.open { display: block; } .code-p { text-align: center; font-size: 20px; margin-bottom: 100px; } .test-form { display: flex; flex-direction: column; align-items: flex-start; } .test-form div { width: 100%; display: flex; justify-content: space-between; } .main-text { text-transform: uppercase; font-family: 'Nunito', sans-serif; font-weight: 500; text-shadow: 0 0 2px rgba(56, 55, 55, 0.6); color: #636b6f; text-align: center; font-size: 12vh; } @media (max-width: 1300px) { .wrapper { height: 50%; } .main-text { font-size: 9vh; } } @media (max-width: 870px) { .wrapper { height: 35%; } .main-text { font-size: 3.5em; line-height: 10vh; width: 100%; } .czytnik { bottom: -30%; transform: translate(-50%, -10%); padding: 30px 50px; font-size: 25px; } } @media (max-width: 650px) { .wrapper { height: 30%; } .main-text { font-size: 2.7em; line-height: 6vh; width: 100%; padding: 20px 0; } } .checkout-button { margin: 10px 0; font-size: 14px; background-color: #5d7cd3; border-radius: 3px; border: 0; padding: 15px 40px; display: inline-block; text-align: center; box-shadow:0px 4px 0px #1e3572; color: #fff; } .checkout-button:hover { box-shadow: 0 0 rgb(103, 88, 184); background-color: #3654c9; cursor: pointer; } .checkout-button:active { top: 4px; box-shadow: 0 0 #b85a5b; background-color: #3654ff; } a.checkout-button { color: #fff; text-decoration: none; } .map-buttons { display: flex; align-items: center; justify-content: space-between; width: 100%; } .seat-wrapper { display: flex; flex-direction: column; } .main-seat-text { font-size: 70px; text-align: center; }