.profile_page { display: flex; flex-direction: column; height: auto; width: 100%; background: linear-gradient( rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8) ), url(../images/back_profile_one.jpg);background-repeat: repeat; background-position: center; } .profile_block { margin-top: 5vw; height: 65vw; width: 85%; margin-left: 7.5%; margin-bottom: 6%; background: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) ), url(../images/back_profile_two.jpg);background-repeat: repeat; background-position: center; display: flex; flex-direction: column; overflow-y: auto; } .header_profile { display: inline; flex-direction: column; width: 15vw; height: 15vw; margin-top: 50px; align-self: center; } .user_photo { width: 15vw; height: 15vw; border: 0.2vw solid #ffffff; border-radius: 2vw; } .edit_form { align-self: center; margin-top: 20px; width: 80%; } form { display: flex; flex-direction: column; } .form_data_button { align-self: center; } .form_blocks { width: 100%; margin-top: 50px; display: inline-flex; justify-content: space-evenly; } .form_data, .form_data_button { display: flex; flex-direction: column; margin-left: 2%; } .form_data_button { display: flex; flex-direction: column; justify-content: center; align-items: center; } .input_data { color: #000000; border: 0.1vw solid #595008; height: 4.5vw; min-height: 4.5vw; width: 20vw; background-color: #dbc3af; border-radius: 5vw; font-size: 1.3vw; display: inline-flex; align-items: center; } .input_button { width: 10vw; height: 5vw; border-radius: 5vw; vertical-align: middle; } .form-label { font-size: 1.3vw; color: #ffffff; font-weight: bold; } .profile_button { margin-top: 15px; width: 20vw; height: 5vw; background-color: #000000; color: #ffffff; border-radius: 5vw; vertical-align: middle; font-size: 1.5vw; } .profile_button:hover { color: #ffffff; text-decoration: none; } #delete_button { margin-top: 45px; } .dop_data { padding-top:15px; padding-left: 15px; } #logout_button { color: #ffffff; background-color:#ff3f3f; } #logout_button:hover { text-decoration: none; color: #ffffff; } .profile_button_text { width: 100%; height: 100%; text-align: center; font-size: 1.5vw; margin-top: 6%; } .open_button_block { height: 35vw; width: 85%; margin-left: 7.5%; margin-top: 3%; margin-bottom: 6%; background: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) ), url(../images/back_profile_two.jpg);background-repeat: repeat; background-position: center; display: flex; flex-direction: column; overflow-y: auto; } .open_button_content { display: flex; flex-direction: column; width: 100%; height: 100%; justify-content: center; align-items: center; } .open_button_title { margin-bottom: 3%; color: #ffffff; font: bold; font-size: 4.5vw; } .open_button_article { margin-bottom: 5%; color: #ffffff; font: bold; font-size: 2vw; } .open_button { background-color: #ffffff; color: #000000; width: 20vw; height: 5vw; vertical-align: middle; border-radius: 5vw; } .open_button:hover { text-decoration: none; color: #000000; } .open_button_text { width: 100%; height: 100%; text-align: center; font-size: 1.5vw; margin-top: 5%; } .about { border-radius: 2vw !important; } .profile_button_text { color: #ffffff; }