.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); } .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); } .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; } .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; } .login label { margin-bottom: 10px; } .login input[type="text"],.login input[type="password"] { 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: 100%; 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; } 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; } footer { background-color: #282e30; color: #fff; padding: 20px; 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; } .hd{ display: flex; flex-direction: row; padding: 10px; }