body { margin: 0; padding: 0; background-color: #f0f0f0; font-family: 'Söhne', 'Helvetica Neue', Helvetica, Arial, sans-serif; } header { display: flex; justify-content: space-between; align-items: center; margin: auto; padding-top: 0.5%; padding-left: 5%; padding-right: 5%; color: white; background-color: #003b94; user-select: none; pointer-events: auto; -webkit-user-drag: none; } .logo img { width: 16%; height: auto; -webkit-user-drag: none; } .nav-links { padding-top: 0.5%; display: flex; justify-content: flex-end; align-items: center; gap: 5%; width: auto; } .nav-links a { color: white; font-size: 120%; font-weight: bold; text-decoration: none; margin-left: 10%; white-space: nowrap; } .nav-links a:hover { cursor: pointer; text-decoration: underline; } .nav-links img{ width: auto; height: 80%; cursor: pointer; user-select: none; border-radius: 12px; -webkit-user-drag: none; } .nav-links img:hover{ width: 80%; height: 80%; border-radius: 12px; background-color: #878686; user-select: none; } nav { width: 100%; text-align: left; padding-bottom: 0.5%; margin: 0; overflow-x: auto; white-space: nowrap; } nav::-webkit-scrollbar { height: 4px; } nav::-webkit-scrollbar-thumb { background-color: red; } nav a { padding: 1%; border-radius: 160px; display: inline-block; border: 1px solid transparent; transition: border-color 0.3s ease; } nav a img { height: 24px; object-fit: cover; -webkit-user-drag: none; } nav a:hover { background-color: rgba(255, 255, 255, 0.1); } nav a:focus { border-color: white; } @media screen and (max-width: 800px) { header{ padding-top: 0.5%; padding-left: 0; padding-right: 0; font-size: 90%; width: 100%; } .nav-links { padding-right: 2%; } .nav-links a { font-size: 100%; } .logo img { margin-left: 2%; width: 30%; } nav a img { height: 22px; } nav a { margin-left: 1%; margin-top: 2%; padding: 1.2%; } } .hotel { display: flex; flex-direction: column; justify-content: center; align-items: left; border: 1px solid #000000; margin-bottom: 10px; margin-top: 20px; padding: 10px; height: 350px; width:1100px; background-color: #ddd; border-radius: 15px; font-size:40px; } #hint{ font-size: 50px; margin-left:100px; } .pagebutton{ background-color: #ADD8FF; border: none; color: white; padding: 15px 32px; margin-left:100px; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; border-radius: 15px; font-size:30px; transition:background-color 0.3s ease; } .pagebutton:hover{ background-color:#87CEFA; } .pagebutton:active{ background-color:#1E90FF; transform: translateY(1px); } table{ border: 1px solid #000000; background-color: white; border-radius: 15px; padding: 15px; border:1px solid black; width:600px; height:300px; } footer{ bottom: 0; display: flex; justify-content: space-between; align-items: center; margin: auto; padding: 1% 5%; color: white; background-color: #003b94; user-select: none; pointer-events: auto; -webkit-user-drag: none; } .profile-container { max-width: 400px; margin: 0 auto; padding: 20px; background-color: #fdfdfd; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } .profile-form { display: flex; flex-direction: column; } .submit-button { background-color: #4CAF50; color: white; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; } .submit-button:hover { background-color: #45a049; } .avatar-container { width: 60px; height: 60px; display: flex; justify-content: center; align-items: center; overflow: hidden; } .avatar-container img { max-width: 100%; max-height: 100%; } .input-field { position: relative; margin-bottom: 5%; height: 40px; padding: 2px; border: 1px solid #ccc; border-radius: 5px; transition: border-color 0.2s ease; } .input-field input { width: 100%; height: 100%; border: none; outline: none; padding-left: 5px; padding-right: 5px; background-color: transparent; font-size: medium; transition: top 0.2s ease, left 0.3s ease, font-size 0.3s ease, color 0.3s; } .input-field label { position: absolute; top: 50%; left: 10px; color: #999; transform: translateY(-50%); transition: top 0.2s ease, left 0.3s ease, font-size 0.3s ease, color 0.3s; pointer-events: none; } .input-field input:focus + label { top: -1%; font-size: 12px; color: #007bff; background-color: #fdfdfd; border: white 2px solid; } .input-field input:not(:placeholder-shown) + label { top: -1%; font-size: 12px; background-color: #fdfdfd; border: white 2px solid; } .input-field:focus-within { border: 1px solid #007bff; } .input-field.with-button { display: flex; border-radius: 5px; justify-content: space-between; align-items: center; } .input-field.with-button select{ width: 100%; flex-grow: 1; margin-left: 5px; } .input-field.with-button input { flex-grow: 1; width: 100%; } .edit-button { cursor: pointer; margin-right: 2%; color: #007bff; background-color: #fdfdfd; border: 0; border-radius: 5px; padding: 5px 10px; text-decoration: none; transition: background-color 0.2s ease; } .edit-button:hover { background-color: #e5e5e5; } button { width: 100%; height: 43px; padding: 10px; font-size: medium; background-color: #007bff; color: white; border: none; border-radius: 5px; cursor: pointer; } button:hover { background-color: #0056b3; } .error { text-align: left; color: red; font-size: 14px; margin-top: -5%; margin-bottom: 5%; user-select: none; pointer-events: auto; -webkit-user-drag: none; } .non-resizable-textarea { border: none; /* Removes the border */ outline: none; /* Removes the outline */ resize: none; /* Prevents resizing */ box-shadow: none; /* Optional: Removes box shadow if there's any */ } /* To keep the appearance consistent when the textarea is focused */ .non-resizable-textarea:focus { border: none; outline: none; }