
.metamorphous-regular {
  font-family: "Metamorphous", serif;
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: rgb(250, 245, 240);
  font-family: "Ubuntu", sans-serif;
}

.banner {
    display: flex;
    width:auto;
    padding:15px;
    margin:0px auto 0px auto;
    border-top:3px solid #333;
    border-bottom:3px solid #333;
    justify-content: center;
    text-align:center;
}

.li1 {
  font-family: "Metamorphous", serif;
  font-weight: 400;
  font-style: normal;
  display:inline;
  margin:0px 5px;
  padding:15px;
}

#lia {
    font-family: "Metamorphous", serif;
    font-weight: 500;
    font-style: normal;
    color:#333;
    text-transform:uppercase;
    text-decoration:none;
    padding:6px 18px 5px 18px;
}

#lib {
    font-family: "Metamorphous", serif;
    font-weight: 400;
    font-style: normal;;
    color:#333;
    text-decoration:none;
    padding:6px 18px 5px 18px;
}

#lia:hover{
    color:#c4de94;
}

#lib:hover{
    color:#c4de94;
}

.containerl {
  display: flex;
  justify-content: center;
  align-items: center;   
  gap: 20px;          
  padding: 20px;
}

.hero-banner {
  width: 100vw;
  height: 60vh;
  background-color:#c4de94;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px;
}

.banner-image {
  max-width: 900px;
  height: auto;
  border-radius: 12px;
  animation: tv-flicker 2s infinite steps(2, end);
}

@keyframes tv-flicker {
  0%, 100% {
    filter: brightness(1) contrast(1);
  }
  50% {
    filter: brightness(1.2) contrast(1.3) saturate(1.2);
  }
}

@keyframes slideFade {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #fff 0%, #c4de94 60%, transparent 100%);
  border-radius: 50%;
  animation: twinkle 1.5s infinite ease-in-out;
}

.sparkle:nth-child(1) {
  top: 20%;
  left: 25%;
  animation-delay: 0s;
}

.sparkle:nth-child(2) {
  top: 50%;
  left: 70%;
  animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
  top: 80%;
  left: 40%;
  animation-delay: 1s;
}

.sparkle:nth-child(4) {
  top: 70%;
  left: 30%;
  animation-delay: 1s;
}

.sparkle:nth-child(5) {
  top: 10%;
  left: 90%;
  animation-delay: 1s;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

@media (max-width: 600px) {
  .containerl {
    flex-direction: column;
    align-items: center;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.8) translateY(-20px);
    opacity: 0;
  }
  60% {
    transform: scale(1.05) translateY(10px);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

.name {
  font-family: "Metamorphous", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  color: #c4de94;
  padding: 15px;
  margin: 0;
  text-align: center;
}

h1 {
  margin: 0;
  text-align: center;
}

.head2 {
  font-family: "Metamorphous", serif;
  font-weight: 400;
  font-style: normal;
  margin:20px;
}

blockquote {
  font-family: "ubuntu", sans-serif;;
  font-weight: 400;
  font-style: normal
}

p {
  font-family: "Ubuntu", sans-serif;
  font-weight: 350;
  font-style: normal;
}

.projectlist {
  list-style-type: circle;
}

--index--

.containerm {
    display: block;
    margin: auto;
    justify-content: center;
    width:auto;
}
#computer {
    padding:30px;
    width:300px;
    display:block;
    justify-self: center;
}
.inline-nav {
    width:950px;
    padding-inline: 15px;
    margin:0px 5px;
    text-align: center; 
    display: inline;
    background-color: #0000fb;
}

#banner2 {
    width:auto;
    padding:15px;
    margin:auto;
    text-align:center;
    background-color: #0000fb;
}

.link{
  color:antiquewhite;
}

--midterm--

.food {
  display: flex;
  justify-content: center; /* centers items horizontally */
  align-items: center;
  gap: 20px;
  padding: 20px;
  text-align: center;
  flex-wrap: nowrap; /* optional: keeps items in one row */
}

.food figure {
  display: inline-block;
  margin: 0;
}

#dogs,
#fries,
#smoothie {
  max-width: 150px;
  height: auto;
  display: inline-block;
  align-items: center;
  padding: 10px;
}

#h4 {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  color: #c4de94;
  width:auto;
  margin:0px auto 0px auto;
  text-align:left;
}

@media (max-width: 600px) {
  .food {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  #dogs,
  #fries,
  #smoothie {
    flex: 0 0 auto;
  }
}

.burgers {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
}

--recipe--

#infographic {
   max-width: 100%;
    height:100%;
    display:inline-flex; 
    margin:auto;
    padding:20px; 
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
}

h2 {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  color: #c4de94;
  width:auto;
  margin:0px auto 0px auto;
  text-align:left;
}

.card:hover {
    color:rgb(250, 245, 240);
    background:#c4de94;
    border-radius:10px;
    border: solid 3px #333;
}

.card {
  background-color: #333; 
  color: #c4de94;        
  font-family: "Metamorphous", serif;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(196, 222, 148, 0.7);
}

.card-img-top {
  width: 80%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.top-image {
  text-align: center;
  margin-top: 20px;
}

.centered-banner {
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(196, 222, 148, 0.5);
}
