/* Header styles */
.header-bar {
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

/* Dropdown menu styles */
.header-link {
    color: #535353;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    margin-left: 20px;
}

.header-link:hover {
    text-decoration: underline;
}
  
/* Dropdown menu styles */
.dropdown {
    position: relative;
}
  
.dropbtn {
    background-color: #737373;
    color: rgb(26, 26, 26);
    padding: 8px 16px;
    border: 1px #555 solid;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}    
  
.dropbtn:hover {
    background-color: #949494;
}
  
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #1e1e1e;
    border: 1px solid #535353;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    min-width: 200px;
    max-height: 380px; /* Set a maximum height for the dropdown */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 10px 0;
}

  
.dropdown-content a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    display: block;
    font-size: 14px;
}
  
.dropdown-content a:hover {
    background-color: #535353;
}
  
.dropdown.show .dropdown-content {
    display: block;
}

body {
    font-family: Arial, sans-serif;
    background: #131313;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
}
.toggle-switch {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    flex-direction: column; /* Stack text above the toggle switch */
    margin-bottom: 20px; /* Add spacing below the switch */
}
.toggle-switch p {
    font-size: 14px; 
    margin: 0 0 5px;
    colour: #fff;
    text-align: centre;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}
input:checked + .slider {
    background-color: #2196F3;
}
input:checked + .slider:before {
    transform: translateX(26px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}

.app {
    text-align: center;
    background: #161616;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
}

button {
    background: #d84800;;
    border: none;
    color: black;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px 0;
    position: relative;
    z-index: 10;
}

button:hover {
    background: #ec2f00;
    color: white;
}
#profileContainer {
    margin-top: 10px;
    font-size: 16px;
    colour: #333;
}

a {
    color: black;
}

/* Footer styles */
#footer {
    position: fixed;
    bottom: 10px; /* 10px from the bottom of the page */
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #535353; /* Light grey text */
  }
  
  #footer a {
    color: #ff6347; /* A distinct colour for the link */
    text-decoration: none;
  }
  
  #footer a:hover {
    text-decoration: underline;
  }