@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@100;200;300;400;500;600;700;900&display=swap');

			
.swatch {
    background-color: red;
    margin: 1px;
    width: 100px;
    height: 100px;
}

main {
    width: 700px;
    margin: auto;
    overflow: hidden;
}
/* #about, #popular, #swatches, #cart, #contact {
  min-height: 100vh;
} */

html {
    font-family: 'Montserrat Alternates';
    /* background-color: #fef7ce;
    color: #3a1f13;*/
} 


a {
  text-decoration: none;
  color: blue; /* Replace  */
}

  
  a {
    text-decoration: none;
    color: blue; /* Replace  */
  }
  

  #navbar {
    background: #f0f0f0; /* Replace*/
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    text-align: center;
  }
  
  #navbar nav {
    display: flex;
    justify-content: space-around;
    align-items: center; 
  }

  #navbar a {
    color: #3f7e97;
  }

  #navbar a:hover {
       background-color:#3f7e97 ;
       color: white;
       text-decoration: none;
}

#page-title {
    font-weight: 900;
    font-size: 18px;
    display: flex;
  align-items: center; 
}

#colorwheel{
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
}
  
  /* Cards */
  #popular {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px 10px;
  }
  
  #popular .card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    width: 30%;
    height: 300px;
    background-color: #a8c7d4;
  }
  
  #popular .card img {
    max-width: 100%;
    height: auto;
  }
  
  /* colors */
  #swatches .swatches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
    gap: 10px;
  }
  
  .swatch {
    width: 50px;
    height: 50px;
  }
  
  /* Shopping cart  */

  #cart {
    /* background-color: #a8c7d4;   */
    border: 1px solid black;
    align-self: center;
    padding: 15px;
    margin: 15px;
  }
  #cart h1{
    text-align: center;
  }
  #cart ul {
    list-style: none;
    padding: 0;
  }
  
  #cart li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  
  #cart button {
    padding: 5px 10px;
    margin-left: 5px;
  }
  
  #cart input[type='number'] {
    width: 50px;
  }
  
  /* Contact form  */
#contact {
    background-color: rgb(154, 170, 218);
    padding: 15px;
    margin: 15px;
}

#contact h1{
    text-align: center;
  }
  #contact form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  #contact input[type='text'], #contact textarea {
    padding: 5px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    border: 1px solid black;
  }
  
  #contact button {
    padding: 10px;
    background-color: rgb(224, 224, 239); 
    color: rgb(0, 0, 0);
    border-radius: 5px;
  }
  
  #banner {
    position: relative; 
    padding-bottom: 50px; 
  }
  ticker-tape {
    width: 100%;
    overflow: hidden;
    position: absolute; 
    box-sizing: border-box; 
  }
  
  ticker-tape h1 {
    display: inline-block;
    animation: ticker 10s linear infinite;
  }
  
  @keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }