@font-face {
  font-family: "haxrcorp";
  src: url("haxrcorpttf.ttf");
}

body {
  background-color: #010001;
}

#navbar {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: #010001;
  color: white;
  font-family: "haxrcorp", monospace;
  font-size: 24px;
  height: 30px;
  margin-bottom: 45px;
}

.nav-item {
  font-family: "haxcorp", monospace;
  opacity: .70;
  font-size: 16px;
  width: 40px;
  height: 30px;
  margin-top: 5px;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #010001;
}

.nav-item p {
  margin: 0;
}

#welcome-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 300px;
  color: white;
  margin-right:200px;
  margin-left: 200px;
}

#welcome-message {
  font-family: 'haxcorp', monospace;
  opacity: .70;
  margin: 0;
  font-size: 15px;
  text-align: center;
}

#date p,
#time p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 30px;
  font-family: "haxcorp", monospace;
  opacity: .70;
  font-size: 12px;
  background-color: #0f9ff4;
}

#date, #time {
    margin-top: 5px;
}

#date p {
  width: 80px;
  padding-left: 5px;
}

#time p {
  width: 50px;
}

#container {
  display: flex;
  justify-content: right;
  flex-direction: row;
  flex-wrap: wrap;
}

#weather-image {
  max-width: 150px;
  margin-right: 10px;
  opacity: .70;
}

#weather-text {
  font-family: "haxrcorp", monospace;
  text-decoration: none;
  color: white;
  opacity: .50;
  margin: 0;
  padding: 0;
}

#coordinates-text {
  font-family: "haxrcorp", monospace;
  text-decoration: none;
  color: white;
  opacity: .50;
  margin: 0;
  padding: 0;
}

#image-container {
  display: block;
  justify-content: center;
}

#card {
  max-width: 450px;
  opacity: .70;
}

#favorites {
  color: white;
  height: 240px;
  opacity: .50;
  border: 3px solid #0f9ff4;
  padding-left: 10px;
  width: 400px;
  margin-left: 10px;
}

#links {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
  /* Set width to 100% to occupy full width */
}

#links-list {
  list-style: none;
  padding: 0;
  width: 50%;
  /* Set width to 50% for two columns */
  margin: 0;
  /* Remove default margin */
}

#links-list li {
  margin-bottom: 5px;
  transition: 0.1s ease;
}

#links-list li a {
  font-family: "haxrcorp", monospace;
  text-decoration: none;
  font-size: 16px;
  color: white;
  transition: 0.3s ease;
}

li:hover {
  background-color: #0f9ff4;
}

#links-list li a:hover {
  color: black;
  background-color: #0f9ff4;
}

#search-container {
  width: 100%;
  /* Set width to 100% for full width */
  display: flex;
  margin-left: 50px;
  justify-content: center;
  margin-top: 5px;
  /* Add margin top to create space between favorites and search */
}

#search {
  width: 386px;
  height: 20px;
  background: none;
  font-family: "Roboto", "Consolas", "Helvetica", sans-serif;
  font-size: 12px;
  letter-spacing: 0.5;
  color: white;
  border: none;
  outline: none;
  float: right;
  padding: 0;
}

#search-border {
  border: 2.5px solid #0f9ff4;
  opacity: .50;
  padding: 0;
  width: 448px;
  height: 20px;
}

#search-text {
  margin: 0px;
  padding: 0px;
  margin-top: 3px;
  margin-left: 4px;
  color: white;
  font-family: "Roboto", "Consolas", "Helvetica", sans-serif;
  text-decoration: none;
  font-size: 12px;
  float: left;
}
