body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: rgb(252, 252, 252);
  font-size: 120%;
}
.random-card {
  justify-content: flex-start;
  align-items: center;
  background: #a3a3a3;
  color: rgba(4, 4, 4, 0.585);
  padding: 2em;
  border-radius: 30px;
  width: 100%;
  max-width: 420px;
  margin: 1em;
  text-emphasis: bold;
}
.drink-card {
  align-items: center;
  background: #a3a3a3;
  color: rgb(0, 0, 0);
  padding: 2em;
  border-radius: 30px;
  width: 100%;
  max-width: 420px;
  margin: 1em;
}

.drink-img {
  width: 400px;
  align-items: center;
  border-radius: 10px;
}

.weather-card {
  justify-content: flex-start;
  align-items: center;
  background: #a3a3a3;
  color: rgb(2, 2, 2);
  padding: 2em;
  border-radius: 30px;
  width: 100%;
  max-width: 420px;
  margin: 1em;
  font-size: ;
}

button {
  margin: 0.5em;
  border-radius: 50%;
  border: none;
  height: 40px;
  width: 40px;
  outline: none;
  background: #7c7c7c2b;
  color: white;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  background-image: url('/searchicon.png');
  background-position: 11px 11px;
  background-size: 20px;
  background-repeat: no-repeat;
}

button:hover {
  background: #7c7c7c6b;
  background-image: url('/searchicon.png');
  background-position: 12px 12px;
  background-size: 20px;
  background-repeat: no-repeat;
}

.search {
  display: flex;
  align-items: center;
  justify-content: left;
}

input.search-bar {
  border: none;
  outline: none;
  padding: 0.4em 1em;
  border-radius: 24px;
  background: #7c7c7c2b;
  color: white;
  font-family: inherit;
  font-size: 105%;
  width: 26rem;
  margin-left: 20px;
}

.topnav {
  overflow: hidden;
  background-color: #e9e9e9;
}

.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;

}

.topnav a.active {
  background-color: #272727;
  color: white;
}
h2 {
  margin-left: 20px;
}
/*******************************************************************/


.mode {

  float: right;
  margin-top: 20px;
  margin-right: 20px;
}

.change {
  cursor: pointer;
  transition: 0.2s ease-in-out;
  border: 1px solid #555;
  border-radius: 10%;
  width: 20px;
  text-align: center;
  padding: 8px;
  margin-left: 8px;
}

.dark {
  background-color: #222;
  color: #e6e6e6;
}


.lightdark {
  background-color: #a3a3a3 ;
  color: #030303;

}