/* Modal container */ .modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 1000; /* Sit on top */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */ align-items: center; /* Vertically center the modal */ justify-content: center; /* Horizontally center the modal */ } /* Modal content */ .modal-content { background-color: white; margin: 15% auto; /* Center the modal */ padding: 20px; border: 1px solid #888; width: 80%; /* Adjust as needed */ height: 80%; } .qrcode-image { object-fit: contain; grid-column:2; } /* Close button */ .close { color: black; float: right; font-size: 28px; font-weight: bold; cursor: pointer; } .grid { } /* General Reset */ body { margin: 0; font-family: Arial, sans-serif; display: grid; grid-template-columns: 1fr 3fr; height: 100vh; /* Full viewport height */ } /* Sidebar (Nav Links) */ .nav-links { background-color: #f4f4f4; /* Light gray background */ padding: 20px; box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); /* Add a slight shadow for separation */ grid-column: 1; min-height: 100vh; /* Stretch to full viewport height */ } .nav-links nav ul { list-style: none; /* Remove bullet points */ padding: 0; } .nav-links nav ul li { margin: 10px 0; /* Add spacing between links */ } .nav-links nav ul li a { text-decoration: none; /* Remove underline */ color: #333; } .nav-links nav ul li a:hover { color: #007BFF; /* Change link color on hover */ } .content { grid-column: 2; flex-grow: 1; /* Allow content to fill the remaining space */ padding: 20px; } .menu-icon { cursor: pointer; display: inline-block; } .menu-icon span { display: block; width: 25px; height: 3px; margin: 5px 0; background: #fff; transition: 0.4s; }