html, body { margin: 0; padding: 0; height: 100%; overflow-x: hidden; background-color: #141414; } .topPanelH { width: 100%; display: flex; justify-content: center; align-items: center; margin-bottom: 20px; } .logo { width: 80px; } .title { text-align: center; font-size: 2.5em; font-weight: 700; text-transform: uppercase; color: #333333; font-family: "Oswald", sans-serif; margin-bottom: 0; text-decoration: none; } .titleLink { text-decoration: none; } .titleLink:hover{ text-decoration: none; } .paragraph { color: #cccccc; } .guideWrapper { display: flex; justify-content: center; align-items: center; margin: 0; width: 100%; } .wrapper { display: flex; height: 100vh; background-color: #141414; overflow: hidden; } .cont { flex-grow: 1; width: 85vw; height: 90vh; background-color: #161616; border: 1px solid gray; margin: 50px; } .panel { width: 10vw; height: 100vh; display: flex; flex-direction: column; align-items: center; /* Center elements horizontally */ padding: 20px; background-color: #1c1c1c; color: #ffffff; overflow-y: auto; box-sizing: border-box; margin-right: 10px; border-radius: 20px; overflow-x: hidden; } .buttonContainer { display: flex; justify-content: center; align-items: center; margin-top: 2rem; gap: 10px; width: 100%; } .renderButton { width: 100%; height: 50px; background-color: #e67e22; color: #ffffff; border: none; border-radius: 8px; font-size: 20px; font-weight: bold; cursor: pointer; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s; } .renderButton:hover { background-color: #d2691e; transform: scale(1.05); box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); } .renderButton:active { background-color: #b35418; transform: scale(0.98); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); } .shapeOptions { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; justify-items: center; align-items: center; } .shapeOption { width: 4vw; height: 4vw; border: 2px solid #804047; border-radius: 5px; background-color: #362929; color: white; font-size: 12px; font-weight: bold; background-size: contain; background-repeat: no-repeat; background-position: center; cursor: pointer; transition: background-color 0.3s, border-color 0.3s; } .shapeOption:hover { background-color: #94183b; border-color: #94183b; } .templateCont { display: flex; flex-direction: column; align-items: center; /* Center section horizontally */ width: 100%; } .fpscounter { border: 1px solid #00b822; margin: 20px 0; text-align: center; width: 100%; } .fpscounter p { color: #00740c; font-weight: bold; margin: 0; padding: 5px 0; } .popup { position: fixed; top: 40%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(73, 73, 73, 0.8); color: white; padding: 20px; border-radius: 8px; z-index: 1000; width: 300px; text-align: center; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); opacity: 0; animation: fadeInOut 3s ease-in-out forwards; } @keyframes fadeInOut { 0%, 100% { opacity: 0; transform: translate(-50%, -40%); } 10%, 90% { opacity: 1; transform: translate(-50%, -50%); } } .popupContent { display: flex; flex-direction: column; gap: 10px; } .entrance { background-image: url("./shapeImages/entrance_icon.png"); } .wall { background-image: url("./shapeImages/wall_icon.png"); } .room { background-image: url("./shapeImages/room_icon.png"); } .stairs { background-image: url("./shapeImages/stairs_icon.png"); } .floorSection { display: flex; flex-direction: column; align-items: center; gap: 20px; background-color: #2d2d2d; padding: 20px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); width: 100%; } .floorLabel { font-size: 16px; font-weight: bold; color: #ffffff; margin-bottom: 10px; text-align: center; } .floorList { display: flex; flex-direction: column; align-items: center; gap: 15px; width: 100%; } .floorItems { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; } .addFloorButton { background-color: #e67e22; border: none; border-radius: 50%; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: background-color 0.3s, transform 0.2s; } .addFloorButton:hover { background-color: #d2691e; transform: scale(1.1); } .addFloorButton:active { background-color: #b35418; transform: scale(0.95); } .icon { width: 20px; height: 20px; filter: invert(1); } .floorButton { padding: 10px 15px; font-size: 14px; color: #ffffff; background-color: #3a3a3a; border: 1px solid #555555; border-radius: 8px; width: 100%; text-align: center; cursor: pointer; transition: background-color 0.3s, transform 0.2s; } .floorButton:hover { background-color: #4a4a4a; } .floorButton.active { background-color: #1e90ff; color: #ffffff; font-weight: bold; } .floorInput { width: 60%; padding: 8px; font-size: 14px; border: 1px solid #ccc; border-radius: 5px; background-color: #3a3a3a; color: #ffffff; text-align: center; transition: border-color 0.3s; } .floorInput:focus { outline: none; border-color: #1e90ff; } .floorActions { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 10px; } .errorMessage { color: red; font-size: 12px; margin-top: 10px; text-align: center; } .floorItemWrapper { display: flex; align-items: center; gap: 10px; width: 100%; } .floorItem { padding: 10px 15px; font-size: 14px; color: #ffffff; background-color: #3a3a3a; border: 1px solid #555555; border-radius: 8px; text-align: center; cursor: pointer; flex-grow: 1; transition: background-color 0.3s; } .floorItem:hover { background-color: #4a4a4a; } .activeFloor { background-color: #1e90ff; color: #ffffff; font-weight: bold; } .deleteFloorButton { background-color: #ff4d4d; border: none; border-radius: 8px; padding: 10px; color: white; cursor: pointer; transition: background-color 0.3s, transform 0.2s; } .deleteFloorButton:hover { background-color: #e60000; transform: scale(1.1); } .deleteFloorButton:active { background-color: #cc0000; transform: scale(0.95); }