* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background: #8e00fa;
    background: linear-gradient(45deg, rgba(142, 0, 250, 1) 0%, rgba(235, 7, 219, 1) 100%);
    color: white;
}

html, body {
    height: 100%;
    margin: 0;
}

main {
    display: grid;
    place-items: center;
    flex: 1;
    padding: 10px;
}

nav {
    position: fixed;
    display: flex;
    padding: 0px 30px 0px 0px;
    top: 0;
    width: 100%;
    height: 70px;
    align-items: center;
    justify-content: flex-end;
    background-color: rgba(92, 0, 100, 0.651);
}

nav a {
    background-color: #f801f8f8;
    border-radius: 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 20px;
    transition: all 0.2s ease;
}

nav a:hover {
    background-color: #0000009d;
}

footer {
    position: fixed;
    display: flex;
    padding: 5px;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: rgba(27, 27, 27, 0.651);
    font-size: 15px;
    align-items: center;
    justify-content: center;
}

footer a {
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-track {
    background-color: #005e27;
}
::-webkit-scrollbar-thumb {
    background: #00ff6a;
    border-radius: 10px;
}



.ports {
    border: 3px solid white;
    border-radius: 10px;
    margin: 5px 0px;
    padding: 5px;
    font-size: 25px;
    display: flex; 
}

article {
    padding: 80px 0px;
    width: 100%;
    place-items: center;
    display: grid;
}

/* Popover styling */
div[popover] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: black;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
  }

  div[popover][data-show] {
    display: block;
  }

  /* Close button styling */
  div[popover] .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
  }

  div[popover] .close-btn:hover {
    color: white;
  }