.header_content{ height: 100px; background-color: #282e30; display: flex; flex-direction: row; justify-content: space-between; } header{ -webkit-box-shadow: 0px 19px 8px 0px rgba(34, 72, 80, 0.2); -moz-box-shadow: 0px 19px 8px 0px rgba(34, 72, 80, 0.2); box-shadow: 0px 19px 8px 0px rgba(34, 72, 80, 0.2); } .pred{ justify-content: center; align-items: center; } .pred_up{ width: 1000px; margin: 0 auto; /* Center the block horizontally */ border-radius: 10px; /* Add rounded corners */ -webkit-box-shadow: 0px 19px 8px 0px rgba(34, 72, 80, 0.2); -moz-box-shadow: 0px 19px 8px 0px rgba(34, 72, 80, 0.2); box-shadow: 0px 19px 8px 0px rgba(34, 72, 80, 0.2);/* Add a shadow */ padding: 20px; /* Add padding to the block */ text-align: center; /* Center the text within the block */ height: 100%; background-color: #fff; overflow: auto; } .Name_site{ background-color: #282e30; color: rgb(255, 255, 255); width: 400px; height: 150px; text-align: end; font-size: 24px; justify-content: start; top: 0; left: 0; box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2); transition: transform .3s; } .Name{ padding-top: 70px; padding-right: 10px; } .Name_site:hover { background-color: #70c6d1; transform: scale(1.4); } body { background: linear-gradient(#ffffff,#ffffff,#bfeff5 ,#bfeff5 , #7dabb1); max-width: auto; background-repeat: no-repeat; margin: 0; padding: 0; font-family: verdana, sans-serif; background-size: cover; } .Name_site:hover { background-color: #74b0c4; transform: scale(1.4) } .knopka{ box-shadow: 4px 12px 8px rgba(0, 0, 0, 0.2); width: 200px; height: 50px; background-color: #A8DADC; text-align: center; border-radius: 20px; margin-top: 20px; margin-right: 10px;} .knopka_text{ color: #fff; } .login { width: 1000px; height: 500px; position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto; background-color: #A8DADC; border-radius: 30px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; text-align: center; } .parent{ width: 100%; height: 100%; position: absolute; top: 0; left: 0; overflow: auto; } .login label { margin-bottom: 10px; } .login input[type="text"] { width: 500px; height: 40px; margin-bottom: 20px; padding: 10px; border: 1px solid #ccc; font-size: 20px; border-radius: 5px; display: flex; align-items: center; } .login input[type="submit"] { width: 500px; height: 40px; background-color: #333; color: #fff; border: none; border-radius: 5px; cursor: pointer; font-size: 20px; } .login input[type="submit"]:hover { background-color: #444; font-size: 20px; } ::placeholder{ font-size: 20px; } form p{ font-size: 20px; text-align: center; margin-left: 15px; } a{ text-decoration: none; color: black; } footer { background-color: #282e30; color: #fff; padding: 20px; position: fixed; text-align: center; box-shadow: -1px -22px 24px 0px rgba(21, 46, 66, 0.2); } .footer-content { display: flex; justify-content: center; } .footer-info, .footer-social { width: 50%; } .copyright { margin-top: 20px; } footer { background: #333; color: #fff; padding: 20px; text-align: center; bottom: 0; left: 0; width: 100%; text-align: center; padding: 10px; box-sizing: border-box; } .footer-content { display: flex; justify-content: center; } .footer-info, .footer-social { width: 50%; } .copyright { margin-top: 20px; } .rating-area { overflow: hidden; width: 265px; margin: 0 auto; display: flex; flex-direction:row-reverse; justify-content: center; } .rating-area:not(:checked) > input[type="radio"] { display: none; } .rating-area:not(:checked) > label { float: right; width: 42px; padding: 0; cursor: pointer; font-size: 32px; line-height: 32px; color: lightgrey; text-shadow: 1px 1px #bbb; } .rating-area:not(:checked) > label:before { content: '★'; } .rating-area > input:checked ~ label { color: rgb(114, 164, 192); text-shadow: 1px 1px rgb(0, 139, 204); } .rating-area:not(:checked) > label:hover, .rating-area:not(:checked) > label:hover ~ label { color: rgb(114, 164, 192); } .rating-area > input:checked + label:hover, .rating-area > input:checked + label:hover ~ label, .rating-area > input:checked ~ label:hover, .rating-area > input:checked ~ label:hover ~ label, .rating-area > label:hover ~ input:checked ~ label { color: rgb(114, 164, 192); text-shadow: 1px 1px rgb(32, 128, 218); } .rate-area > label:active { position: relative; } .login1{ display: flex; justify-content: end; padding-left: 10px; top: 0; right: 0; } .login2:hover{ background-color: #70c6d1; color: #fff; } .login2{ background-color: #8EDAE4; width: 100px; height: 50px; text-align: center; border-radius: 15px; } a{ text-decoration: none; color: black; }