body { /* margin: 0; */ background-color: white; display: flex; flex-direction: row; flex-wrap: wrap; align-content: space-around; justify-content: center; } .form { display: flex; flex-direction: column; } .hidden { display: none; } .blocks { display: flex; width: 19vw; /* height: 30vh; */ padding: 1vw; margin: 1vw; font-size: 3vw; border-radius: 2vw; text-align: center; background-color: #4a90e2; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); justify-content: center; align-items: center; transition: transform 0.3s ease, box-shadow 0.3s ease; } .blocks:hover { transform: scale(1.1); box-shadow: -20px 15px 10px rgba(0, 0, 0, 1); } .inputs { font-size: 3vw; margin: 1vw auto; cursor: pointer; border: 3px solid grey; /* width: 80%; */ background: white; color: grey; border-radius: 15px; padding: 1vw; } .login_inputs { border: none; border-bottom: 5px solid; background: transparent; outline: none; font-size: 2vw; color: black; margin: 0vw 0vw 2vw 0vw; } .select { border: none; border-bottom: 5px solid; background: transparent; outline: none; font-size: 2vw; color: black; margin: 0vw 0vw 2vw 0vw; } .form_down { display: flex; flex-direction: column; flex-wrap: wrap; align-content: space-around; justify-content: space-around; align-items: center; } .block_form { display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; justify-content: space-evenly; align-items: center; } .search_form { width: 90%; border-radius: 3vw; padding: 1.5vw; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; background-color: grey; } .submit_btn { font-size: 2vw; margin: 1vw auto; cursor: pointer; border: 3px solid white; background: grey; color: white; border-radius: 15px; padding: 1.5vw; width: 100%; /* margin-bottom: 4vw; */ text-align: center; } .submit_btn:hover { transition: transform 0.3s ease, box-shadow 0.3s ease; transform: scale(1.05); background: #4a90e2; } .title { font-size: 5vw; color: grey; text-align: center; margin-top: -1vw; } .sub_title { font-size: 3vw; color: grey; text-align: center; margin-top: -1vw; } .search_form_top { display: flex; align-content: center; flex-direction: row; flex-wrap: wrap; width: 100%; background: grey; justify-content: center; } .searched_data { display: flex; width: 100%; margin: 1vw; flex-direction: row; border-radius: 1vw; padding: 1vw; border: 1px solid black; flex-wrap: wrap; align-content: space-around; justify-content: space-around; } .group_div { display: flex; flex-direction: column; align-content: space-around; align-items: center; }