@import url("https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-family: "Exo", sans-serif;
  color: rgb(247, 237, 223);
  font-weight: 500;
  font-size: 1.2em;
  text-shadow: 0px 0px 3px #7b7b7b;
}

.goHome {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  position: fixed;
  right: 10px;
  top: 15vh;
  width: 4vw;
  color: white;
}

.fa-home {
  display: inline-block;
  color: white;
}

@media (max-width: 850px) {
  .homeBox {
    display: none;
  }
}
main {
  padding: 0px 15px;
  height: 100vh;
  display: flex;
  justify-content: space-between;
}

#left {
  padding: 15px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  width: 30vw;
}

.middle {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  width: 40vw;
}
#niceText {
  font-size: 20px;
}
#time {
  font-size: 7rem;
}

#author {
  font-size: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

#crypto {
  font-size: 1rem;

  line-height: 5px;
}
.fab {
  margin-right: 7px;
  font-size: 18px;
}

.fas {
  margin-right: 7px;
  font-size: 18px;
}

#weather {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#weather > img {
  width: 60px;
  margin-top: -10px;
}
p.city {
  width: 100%;
  text-align: right;
  margin-top: -10px;
}
p.temp {
  font-size: 1.6rem;
}

.joke {
  max-width: 500px;
  text-align: center;
  display: flex;
  align-items: center;
}
.right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 100vh;
  padding: 15px 15px;
  width: 30vw;
  max-height: 100vh;
}

.box {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
  padding: 20px 20px;
  text-align: center;
  text-shadow: none;
  color: black;
  font-size: 12px;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  width: 20vw;
  margin-bottom: 10px;
}
#header p {
  font-size: 20px;
}
.user-input {
  margin-top: 15px;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}
.user-input input {
  margin-top: px;
  outline: none;
  border-style: none;
  border-bottom: 1px solid black;
}
#btn,
#add-item {
  padding: 5px 10px;
  width: fit-content;
  transition: 1s;
  font-size: 10px;
  outline: none;
  background-color: transparent;
  border-radius: 3px;
  border: 1px solid black;
  font-weight: 500;
}
#add-item {
  margin-left: 10px;
}
#btn:hover,
#add-item:hover {
  background-color: black;
  color: white;
  border-radius: 3px;
}
#input {
  height: 20px;
  padding: 10px 0;
  font-family: "Exo", sans-serif;
  width: 80%;
}
.nav {
  font-size: 15px;
}
.nav i {
  font-size: 12px;
}

#todo-list {
  margin-top: 15px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.item {
  display: flex;
  text-align: left;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  height: auto;
}
.item i {
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
}
.iconsContainer {
  display: flex;
  align-items: center;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* quotes generetor */
.quotes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 15px;
  background-color: aqua;
  width: 100%;
  text-align: center;
  background: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
}

#quote {
  font-size: 10px;
  line-height: 2;
}

#quoteAuthor {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* sticky note */

#app {
  display: grid;
  grid-template-columns: repeat(auto-fill, 200px);

  gap: 10px;
}

.note {
  height: 200px;
  padding: 12px;
  border: none;
  border-radius: 5px;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.15);
  resize: none;
  font-size: 15px;
  outline: none;
}

.add-note {
  height: 30px;
  width: 30px;
  border: none;
  background: white;
  border-radius: 5px;
  font-size: 20px;
  color: black;
  cursor: pointer;
  transition: background 0.3s;
  align-self: center;
}

.add-note:hover {
  background: rgba(0, 0, 0, 0.2);
  color: white;
}

@media (max-width: 1200px) {
  #niceText {
    font-size: 20px;
  }
  #greeting,
  #name {
    font-size: 30px;
  }
  #time {
    font-size: 5rem;
  }
  .box {
    width: 25vw;
    font-size: 10px;
    padding: 10px 10px;
  }
  #quote {
    line-height: 1rem;
  }
  #quoteAuthor {
    font-size: 12px;
  }
  #header p,
  .fa-list {
    font-size: 14px;
  }
  .quotes {
    padding: 10px 10px;
  }
  .container {
    padding: 10px 10px;
  }
}

@media (max-width: 700px) {
  #niceText {
    font-size: 15px;
  }
  #greeting,
  #name {
    font-size: 23px;
  }
  #time {
    font-size: 4rem;
  }

  #quote {
    line-height: 0.9rem;
  }
  #quoteAuthor {
    font-size: 11px;
  }
  #header p,
  .fa-list {
    font-size: 12px;
  }
  #btn,
  #add-item {
    padding: 3px 6px;
    font-size: 9px;
    outline: none;
  }
}

@media (max-width: 550px) {
  #niceText {
    font-size: 15px;
  }
  #greeting,
  #name {
    font-size: 20px;
  }
  #time {
    font-size: 3rem;
  }

  #quote {
    line-height: 0.7rem;
    font-size: 8px;
  }
  #quoteAuthor {
    font-size: 11px;
  }
  #header p,
  .fa-list {
    font-size: 12px;
  }

  p.city {
    font-size: 15px;
  }
  .note {
    height: 80px;
    font-size: 13px;
  }
  #app {
    grid-template-columns: repeat(auto-fill, 100px);
  }
  #crypto {
    font-size: 0.9rem;
  }
  #actual {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }
  .fab {
    margin-right: 1vw;
    font-size: 15px;
  }

  .fas {
    margin-right: 1vw;
    font-size: 15px;
  }

  #weather > img {
    width: 40px;
    margin-top: -10px;
  }
  p.city {
    font-size: 12px;
  }
  p.temp {
    font-size: 19px;
  }
}

@media (max-width: 450px) {
  .box:nth-of-type(1) {
    display: none;
  }
  .box:nth-of-type(3) {
    display: none;
  }
  .box {
    padding: 5px 2px;
  }
  #quoteAuthor {
    font-size: 10px;
  }
  .quotes #btn {
    padding: 3px 3px;
    font-size: 7px;
    outline: none;
  }
  textarea.note {
    font-size: 9px;
    text-align: center;
  }
}

@media (max-width: 410px) {
  #time {
    font-size: 2rem;
  }
  #niceText {
    display: none;
  }
  #greeting,
  #name {
    font-size: 15px;
  }
  .fa-coins i {
    display: none;
  }

  #app {
    grid-template-columns: repeat(auto-fill, 80px);
  }
  .note {
    height: 80px;
  }
  #author {
    font-size: 12px;
  }
  #crypto {
    font-size: 12px;
  }
  .joke {
    font-size: 7px;
  }
}
