:root {
  --primary-color: #ffd987;
  --secondary-color: #e9edef;
  --highlight-color: #4b8eb8;
  --bg-color: #132132;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Source Code Pro", monospace;
  transition-duration: 200ms;
}

body {
  background: var(--bg-color);
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*input time box size*/
input {
  width: 85px;
  text-align: center;
}

span{
  font-size: 16px;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.startTimeContainer,
.endTimeContainer{
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

button {
  background-color: var(--bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 5px 15px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 15px;
  border-radius: 7px;
}

button:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
  border: 2px solid var(--bg-color);
}

#hourForm {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#hourForm button{
  display: flex;
  justify-content: center;
  align-items: center;
}

/*input labels*/
#hourForm label{
  margin: 5px;
  font-size: 20px;
}

/*time inputs*/
#hourForm input {
  margin: 5px;
  font-size: 30px;
}

/*AM PM drop-down*/
#hourForm select{
  font-size: 18px;
}

#hourForm button{
  font-size: 18px;
}

#result{
  color: var(--highlight-color);
  font-size: 20px;
  font-weight: 600;
  margin-top: 10px;
}

footer {
  width: 100%;
  display: flex;
  position: absolute;
  align-items:center;
  justify-content: center;
  padding: 10px 0;
  bottom: 0;
}

nav {
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 30px;
}

.icons {
  color: var(--secondary-color);
}

.icons:hover {
  opacity: 0.85;
  color: var(--primary-color);
  cursor: pointer;
  text-decoration: none;
}