body {
  background-image: url(https://pbs.twimg.com/media/F0b2AnpagAAB4RU?format=jpg&name=large) ;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
header {
  text-align: center;

}
footer {
  text-align: center;
}
h1, h2, h3{
  color: white;
  text-align: center;
  font-family:Helvetica;
}

figcaption{
  color: white;
  font-style: italic;
  padding: 10px;
  font-size: 15px;
}
p {
  font-family: verdana;
  color: white;
  font: bold;
  font-size: 15px;
}

a {
  color: rgb(156, 207, 247);
  font-family: sans-serif;
  text-decoration: none;
  
}
a:hover, a:focus {
	color: #528cb3;
}
figure{
  font: bold;
  font-size: 20px;
  font-family: sans-serif;
  text-align: center;
}

ul{
  color:white;
  padding: 10px;
  font-family: sans-serif;
}

.border {
  width: 80%;
  background-color: rgba(23, 38, 70, 0.9);
  border: 2px solid rgb(66, 89, 150);
  border-radius: 30px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  max-width:900px;
}

/* Table */
table {
  border-collapse: collapse;
  margin: 10px auto; 
  width:60%;

}

th {
  background-color: rgb(38, 38, 56);
  color: white;
}

td, th {
  border: 1px solid rgba(29, 26, 51, 0.9);
  font-family:Helvetica;
  text-align: center; 
}

table tr:nth-child(even) {
  background-color: #ddd;
}

table tr:nth-child(odd) {
  background-color: #ffffff;
}

li {
  color: ivory;
  font-family:Helvetica;
  margin: 0.2em auto
}

/* form */
form {
  max-width: 90%px;
  padding: 20px; 
  margin: 0 auto;
  padding-bottom: 2em;
  color: whitesmoke;
  font-family:Helvetica;
  text-align: left;
}
input{
  padding: 8.5px;
  text-align: left;
  border: none;
  border-radius: 5px;
}
.input-element{
  display: flex;
  flex-direction: column;
  margin: 10px;
  
  
}
select{
  padding: 5px;
  border: none;
  border-radius: 5px;
  
}
input[type="checkbox"]{
  width: 15px;
  height: 10px;
  margin: 0.5em auto;
  padding: 100px;
}
input[type="radio"]{
  width: 15px;
  height: 10px;
  margin: 0.5em auto;
}
button[type="reset"], button[type="submit"]{
  width: 100%;
  font-family: Helvetica;
  margin: 1em auto;
  height: 2em;
}

/* BYO Intro */
.course-input-row {
  text-align: left;
  margin-bottom: 10px; /* Add margin for spacing between courses */
}


/* slider slideshow */

* {
  box-sizing: border-box;
}

.container {
  position: relative;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(23, 38, 70, 0.9);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}


.numbertext {
  color: #cec7d4;
  font-size: 30px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  border-radius: 0 0 4px 0;
  background-color: rgba(23, 38, 70, 0.9);


}

.image-caption {
  text-align: center;
  background-color: rgba(48, 58, 79, 0.9);
  font-family:Helvetica;
  padding: 2px 16px;
  color: white;
  font-size: 20px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 14%;
  padding: 4px;
  
}

.demo {
  opacity: 0.6;
  border: 2px solid black;
  outline-style: solid;
  outline-color: rgb(85, 82, 82);
}

.active,
.demo:hover {
  opacity: 1;
  border: 2px solid black;
  outline-style: solid;
  outline-color: rgb(207, 186, 122);
}
/* arra */

.arrays-html body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arrays-html main {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  width: 80%; /* Adjust the width as needed */
  margin-top: 20px; /* Adjust the margin as needed */
}

.arrays-html .employee-container,
.arrays-html .addSalary-container {
  width: 48%; /* Adjust the width as needed */
  box-sizing: border-box;
  padding: 10px;
}

.arrays-html .addSalary-container {
  background-color: #f0f0f0; /* Optional: add background color */
}

.arrays-html #results_table {
  width: 100%;
}

#name-label,
#select-label,
#salary-label
 {
  margin: 2px;
  padding-bottom: .2em;
  color: whitesmoke;
  font-family:Helvetica;
  text-align: left;
}
#displaybtn {
  margin: 5px;
}
/* navbar */
/* Apply styles to the navigation bar with the nav-bar class */
.nav-bar {
  background-color: rgba(23, 38, 70);
  border: 2px solid rgb(66, 89, 150);
  border-radius: 30px;
  padding: 10px;
}

/* Style the main navigation list */
.nav-bar ul {
  list-style: none; /* Remove default list styles */
  margin: 0;
  padding: 0;
}

/* Style the navigation items */
.nav-bar li {
  display: inline-block; 
  margin-right: 20px; 
}


/* Style the dropdown */
.nav-bar .dropdown {
  display: none;
  position: absolute;
  background-color: rgba(23, 38, 70);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Style the dropdown items */
.nav-bar .dropdown li {
  display: block;
  padding: 5px;
}

/* Display the dropdown on hover */
.nav-bar li:hover .dropdown {
  display: block;
}

/* calculator */
.calc-container {
  position: relative;
  max-width: 300px;
  width: 100%;
  border-radius: 12px;
  padding: 10px 20px 20px;
  background: #7673ac37;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  margin: auto;
  margin-bottom: 20px;
}
.calc-display {
  height: 80px;
  width: 100%;
  outline: none;
  border: none;
  text-align: right;
  margin-bottom: 10px;
  font-size: 25px;
  color: #000e1a;
  pointer-events: none;
}
.calc-buttons {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}
.calc-buttons button {
  padding: 10px;
  border-radius: 6px;
  border: none;
  font-size: 20px;
  cursor: pointer;
  background-color: #eee;
}
.calc-buttons button:active {
  transform: scale(0.99);
}
.operator {
  color: #118cf8;
}

/* calc fcc */
.calculator__keys {
  display:grid;
}

.text-bubble{
  background-color: rgba(23, 38, 70);
  border: 2px solid rgb(66, 89, 150);
  border-radius: 30px;
  padding: 10px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}