@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comforter+Brush&family=Orbitron:wght@500&family=Poppins&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --light: white;
  --grey: #494949;
  --dark: #3a3a3a;
  --gold: rgba(255, 187, 0, 0.828);
  --blue: #2eb1c2;
  --green: #04a126;
  --lakegreen: #01871e;
  --purple: #6807c2;
  --orange: #ed490e;
  --red: #e51106;
  --dark: black;

}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #f5f5f5;
  background-image: url("images/sunflowerfractal.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: none;
  /* filter: invert(100%);
  -webkit-filter: invert(100%); */
}

html {
  font-family: 'Poppins',
    sans-serif;
}

.refresh {
  position: absolute;
  top: 2%;
  right: 2%;
  cursor: pointer
}

#refresh:hover {
  -webkit-animation: bounce-out 2s ease 0s 1 normal;
  -moz-animation: bounce-out 2s ease 0s 1 normal;
  -ms-animation: bounce-out 2s ease 0s 1 normal;
  animation: bounce-out 2s ease 0s 1 normal;
}

#sunflower_fractal {
cursor:pointer;
  position: absolute;
  left: 2%;
  width: 300px;
  height: auto;
   transition:rotate 0.5s ease 0s;
}

.sunflower_fractal:hover{
   -webkit-animation:rotate 1s ease 0s 1 normal;
   -moz-animation:rotate 1s ease 0s 1 normal;
   -ms-animation:rotate 1s ease 0s 1 normal;
   animation:rotate 1s ease 0s 1 normal;
}

@-webkit-keyframes rotate {
100%{ -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes rotate {
100%{ transform: rotate(360deg); }
}

#note {
  -webkit-animation: appear 1s ease-in-out 0s 1 normal;
  -moz-animation: appear 1s ease-in-out 0s 1 normal;
  -ms-animation: appear 1s ease-in-out 0s 1 normal;
  animation: appear 1s ease-in-out 0s 1 normal;
}

header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
}

header h1 {
  font-weight: 300;
  margin-left: 10px;
}

h1 {
  padding-left: 22px;
}

.container {
  max-width: 500px;
  margin: 30px auto;
  padding: 20px;
  background-color: whitesmoke;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.7);
}

.edit-mode {
  color: #ccc;
}

/* Form & Input */
.form-input {
  width: 100%;
  font-size: 18px;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
}

.form-input-filter {
  margin-top: 20px;
  width: 100%;
  font-size: 18px;
  margin-bottom: 20px;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  outline: none;
}

/* Buttons */

.up {
  --color: #e4cb58;
  --hover: #94e458;
}
button {
  background: none;
  border: 2px solid;
  font: inherit;
  line-height: 1;
  margin: 0.5em;
  padding: 1em 2em;
  color: var(--color);
  transition: 0.25s;
}

button:hover, button:focus {
  border-color: var(--hover);
  color: #fff;
}
.custom-tooltip {
  --bs-tooltip-bg: var(--purple);
  --bs-tooltip-color: var(--light);
}



.custom-popover {
  --bs-popover-max-width: 200px;
  --bs-popover-border-color: var(--lakegreen);
  --bs-popover-header-bg: var(--lakegreen);
  --bs-popover-header-color: var(--bs-white);
  --bs-popover-body-padding-x: 1rem;
  --bs-popover-body-padding-y: .5rem;
}


.btn {
  font-family: 'Poppins', 'Orbitron', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #fff;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all ease-in-out;
}

#btn:hover {
  color: whitesmoke;
  border: 2px solid black;
  filter: invert(20%);
  -webkit-filter: invert(20%);
}

.btn-link {
  font-size: 16px;
  background-color: transparent;
  color: #333;
  border: none;
  padding: 0;
  cursor: pointer;
}

.btn-clear {
  margin-top: 20px;
  width: 100%;
  font-size: 16px;
  background-color: transparent;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  font-family: 'Orbitron', 'Poppins', sans-serif;
  font-size: rem;
  letter-spacing: 4px;
  color: rgb(45, 45, 45);
}

.btn-clear:hover {
  background-color: #5614da;
  border: 1px solid black;
  color: whitesmoke;
  letter-spacing: 6px;
}

.text-red {
  color: red;
}

/* Items */

.items {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}

.items li {
  display: flex;
  justify-content: space-between;
  width: 45%;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px 15px;
  margin: 0 5px 20px;
  font-weight: 700;
  cursor: pointer;
}

/* Start of: Food apps */

a {
  text-decoration: none;
  font-family: 'Comforter Brush',
    cursive;
  font-weight: 300;
  font-size: 2rem;
}

a:hover {
  text-decoration: underline;
  color: var(--green);
  letter-spacing: 3px;
}

#calorie {
  padding-right: 66px;
  margin-left: -120px;
  left: 0%
}

#forkify {
  font-weight: 500;
  letter-spacing: 5px;
  margin-left: 10px;
  padding-right: 100px;
}

#meal_finder {
  right: 0%;
  margin-left: 400px;
}

.food_apps {
  position: absolute;
  padding: 12px;
  bottom: -10%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-decoration: none;
  font-family: 'Comforter Brush',
    cursive;
}

.inner_food_apps {
  z-index: 300;
  bottom: 0%;
  padding: 24px;
  font-family: "ComforterBrush-Regular";
  font-size: 1.3rem;
}

ul li {
  font-family: 'Orbitron', 'Poppins', sans-serif;
  font-weight: 300;
}

/* 
End of: Food Apps */

/* Start of: Healthy Code */
section {
  display: flex;
  align-items: center;
  left: -50%;
}

.healthy {
  position: absolute;
  bottom: -200%;
  text-align: center;
  -webkit-animation: appear 1s ease-in-out 0s 1 normal;
  -moz-animation: appear 1s ease-in-out 0s 1 normal;
  -ms-animation: appear 1s ease-in-out 0s 1 normal;
  animation: appear 1s ease-in-out 0s 1 normal;

}

.healthy_person {
  cursor: pointer;
  position: absolute;
  /* bottom: -150px; */
  left: 45%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;

}

.smart-code {
  margin-top: 100px;
  text-align: center;
  font-family: "ComforterBrush-Regular";
  font-size: 1.5rem;
  letter-spacing: 4px;
  font-weight: 500;
}

.message {
  color: black;
  font-family: 'Comforter Brush',
    cursive;
  font-size: 1.5rem;
  letter-spacing: 5px;
  font-weight: 550;
}

#bread_alone {
  border-left: none;
  font-family: 'Comforter Brush', cursive;
  font-size: 1.5rem;

}

#bread-alone {
  font-family: 'Comforter Brush', cursive;
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 7px;
  font-weight: 550;
  color: var(--green);
}

.bread-left {
  padding-right: 22px;
}

.bread-right {
  padding-left: 22px;
}

#w {
  font-size: 4rem;
}

#word {
  font-size: 2rem;
}

#flow {
  color: var(--purple);
}

#wearewhatatweeat {
  font-family: "ComforterBrush-Regular";
  font-size: 2rem;
  letter-spacing: 7px;
  font-weight: 550;
}

/* End of: Healthy Code */

/* Start of: Background Image Thumbnails */

.bgImageThumbnails {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: absolute;
  right: 1%;
  bottom: 1%;
  border: 1px solid black;
  -webkit-animation: bounce-in 1s ease 0s 1 normal;
  -moz-animation: bounce-in 1s ease 0s 1 normal;
  -ms-animation: bounce-in 1s ease 0s 1 normal;
  animation: bounce-in 1s ease 0s 1 normal;
}

#chemistry {
  cursor: pointer;
  height: 66px;
  width: auto;
  transitiion: scale 0.5 ease-in-out;
}

#chemistry:hover {
  filter: saturate(0.25) hue-rotate(320deg) invert(100%);
  -webkit-filter: saturate(0.25) hue-rotate(320deg) invert(100%);
  transform: scale(1.2);

}

#herbs {
  cursor: pointer;
  height: 66px;
  width: 70px;
  transitiion: scale 0.5 ease-in-out;
  padding-left: 3px;
  padding-right: 3px;
}

#herbs:hover {
  filter: grayscale();
  -webkit-filter: grayscale();
  transform: scale(1.2);
}

#invert {
  cursor: pointer;
  height: 66px;
  width: auto;
  transitiion: scale 0.5 ease-in-out;
}

#invert:hover {
  filter: invert();
  transform: scale(1.2);
}

/* End of: Backgrond  Image Thumbnails */

/* -----------------------------------*/

/* Start of: Animations */

@-webkit-keyframes appear {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes appear {
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  60% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@-webkit-keyframes bounce-in {
  0% {
    opacity: 0;
    -webkit-transform: scale(.3);
    transform: scale(.3);
  }

  50% {
    opacity: 1;
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }

  70% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(.3);
  }

  50% {
    opacity: 1;
    transform: scale(1.0);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

@-webkit-keyframes bounce-out {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(0.90);
    transform: scale(0.90);
  }

  70% {
    opacity: 1;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(0.3);
    transform: scale(0.3);
  }
}

@keyframes bounce-out {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.90);
  }

  70% {
    opacity: 1;
    transform: scale(1.1);
  }

  100% {
    opacity: 0;
    transform: scale(0.3);
  }
}

/* End of: Animations */

/* Start of: Breakpoints Media Queries  */

@media (max-width: 500px) {
  .items li {
    width: 100%;
  }

  #sunflower_fractal,
  .bgImageThumbnails,
  #refresh,
  .bread-alone,
  .btn,
  .bgImageThumbnails {
    display: none;
  }
}

/* Media Queries: Mobile Responsiveness */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .clear-btn {
    position: absolute;
    top: 77px;
    text-align: center;
    left: 48%;
    transform: translate(-50%, -50%);
  }

  .smart-code {
    max-width: 90%;
    text-align: center;
  }

  .bread-left {
    position: absolute;
    top: 22px;
    left: 12px;
    width: 66px;
  }

  .bread-right {
    position: absolute;
    top: 22px;
    right: 12px;
    width: 66px;
  }

  .smart-code {
    position: absolute;
    width: 98%;
    margin-bottom: 200px;
    text-align: center;
    font-family: "ComforterBrush-Regular";
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 500;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #bread_alone {
    border-left: none;
    font-family: 'Comforter Brush', cursive;
    font-size: 1rem;
    letter-spacing: 5px;
    font-weight: 550;
    color: var(--green);
    transform: translate(-50%, -50%);
  }


  #bread-alone {
    position: relative;
    font-family: "ComforterBrush-Regular";
    font-size: 1rem;
    letter-spacing: 5px;
    font-weight: 550;
    color: var(--green);
    left: 0%;
    transform: translate(-50%, -50%);
    padding-bottom: 240px;

  }

  #word {
    font-family: 1.2rem;
  }

  #w {
    font-family: 1.5rem;
  }

  #wearewhatatweeat {
    padding-bottom: 66px;
  }

  #sunflower_fractal,
  .bgImageThumbnails,
  #refresh,
  .bread-alone,
  .btn,
  .bgImageThumbnails {
    display: none;
  }

  .food_apps,
  .inner_food_apps {
    display: none;
  }
}


/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 600px) and (max-width:900px) {
  .smart-code {
    max-width: 90%;
  }

  .bread-left {
    position: absolute;
    top: 34px;
    left: 4px;
    width: 100px;
  }

  .bread-right {
    position: absolute;
    top: 34px;
    right: 4px;
    width: 100px;
  }

  .food_apps,
  .inner_food_apps {
    display: none;
  }

  #sunflower_fractal,
  .bgImageThumbnails,
  #refresh,
  .bread-alone,
  .btn,
  .bgImageThumbnails {
    display: none;
  }
}



/* Large devices (laptops/desktops, 992px and up) */
/* @media only screen and (min-width: 992px) {
} */

/* Extra large devices (large laptops and desktops, 1200px and up) */
/* @media only screen and (min-width: 1200px) {
} */
/* End of: Breakpoints Media Queries */