@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* general */
.icon {
  width: 20px;
  height: 20px;
}

.icon:hover {
  cursor: pointer;
}

body {
  font-family: "Roboto", sans-serif;
}

/* navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 20px;
  padding: 10px;
}

#logo {
  width: 125px;
}

nav > div {
  width: 20%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#weather-div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#weather-div > div {
  width: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#weather-div > div > span {
  font-size: large;
}

#weather-div > span {
  font-weight: 350;
  font-size: small;
}

#cloud-icon {
  width: 35px;
  height: 35px;
}

/* main*/
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 90px;
}

main > h1 {
  font-weight: 400;
  font-size: 40px;
}

#today {
  margin-top: 10px;
}

#search-div {
  border: 1px solid lightgrey;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  margin-top: 20px;
  width: 50%;
  -webkit-box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.75);
}

#search-div:hover {
  -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
}

#search-div > input {
  border: none;
  height: 100%;
  outline: none;
  padding: 10px;
  width: 90%;
  font-size: large;
  /* box shadow */
}

#quick-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 20px;
  width: 40%;
}

#quick-links > div {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid lightgrey;
  border-radius: 20px;
  padding: 10px 15px;
  width: 100px;
  font-weight: 700;
  font-size: small;
}

#quick-links > div:hover {
  background-color: rgb(230, 249, 255);
  color: blue;
}

.notice {
  width: 50%;
  background-color: rgb(240, 243, 245);
  padding: 30px 10px;
  margin-top: 20px;
  border-radius: 10px;
  font-size: small;
  font-weight: 300;
}

#trending {
  margin-top: 20px;
  width: 30%;
  border: 1px solid lightgrey;
  padding: 10px 30px;
  border-radius: 10px;
}

#trending > h3 {
  padding-top: 10px;
  font-weight: 400;
}

#trending a {
  text-decoration: none;
  color: rgb(26, 36, 173);
}

#trending a:hover {
  text-decoration: underline;
}

#trending > div {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: small;
}

#trending li {
  margin-bottom: 10px;
}

/* footer*/

footer {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: 1px solid grey;
  padding: 10px;
  font-size: small;
  font-weight: 300;
  color: black;
}

footer a {
  text-decoration: none;
  color: black;
}

footer a:hover {
  text-decoration: underline;
}

#footer-links {
  display: flex;
  justify-content: space-between;
  justify-self: center;
  width: 40%;
}

#settings {
  display: flex;
  justify-content: center;
  align-items: center;
}
