
:root {
--ui-font: 'Krub', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*{
  margin: 0;
  padding: 0;
  font-family: 'Krub', sans-serif;
  color: white;
  text-align: center;
  box-sizing: border-box
} 

body, html {
  max-width: 100%;
  overflow-x: auto;
}

@media screen and (min-width: 601px) {

  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1F1F1F;
    padding: 15px;
    height: 70px;
  }

  header .main-text {
    letter-spacing: 2px;
    font-size: 28px;
    color: white
  } 

  header .nav-icons {
    display: flex;
    gap: 2rem;
    align-items:center;
  }

  body{
      background-color: #000000;
      color: white;
      text-align: center;
    }

  .midsection {
    display: flex;
    align-items: center;
    flex-flow: column nowrap;
    justify-content: center;
    margin-top: 2rem;
  }

  .product img {
    display: block;
    object-fit: cover;
    height: 250px;
    width: auto;
    border-radius: 1rem;
  }

  .image-container p {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    opacity: 0.75;
    width: 100%;
  }
}


@media screen and (max-width: 600px) {

  header, .first-image, .new-products, .products-on-display, .featured, .goods, .services {
    display: block;
  }

  header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #1F1F1F;
  padding: 15px;
  height: 70px;
  }

  .nav-icons {
    display: flex;
    gap: 27px;
    align-items:center;
  }

  .bag img, .menu img {
    width: 24px;
    height: auto;
  }

  .logo p {
    letter-spacing: 2px;
    font-size: 28px;
    color: white
  }

  body{
    background-color: #000000;
  }

  .first-image {
    margin-top: 23px;
  }

  .image-container {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
  }

  .image-container p {
      position: absolute;
      transform: translatex(-50%);
      left: 50%;
      opacity: 0.75;
      width: 100%;
    }

  .image-container img {
    width: 100%;
    height: auto;
    display: block;
  }

  .new-products {
    margin-top: 40px;
    text-align: center;
  }

  .section-title{
    font-size:20px;
    color: white;
  }

  .products-on-display{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 0 15px;
    margin-top: 40px;
    flex-flow: row nowrap;
    max-width: 100%;
  }

  .product{
    display:flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  }
  
  .product img {
    display: block;
    object-fit: cover;
    height: 250px;
    width: 100%;
    border-radius: 1rem;
  }

  .product-title{
    text-align: center;
    font-size: 20px;
    text-decoration: underline;
    margin: 10px 0 5px 0;
    color: white;
  }

  .product-description{
    text-align: center;
    margin:0;
    color:white;
  }

  .featured{
    margin-top: 40px;
    text-align: center;
  }

  .goods{
    margin-top: 40px;
    padding: 0 15px;
  }

  .services{
    margin-top: 20px;
    padding: 0 15px;
  }
  
  .center-image-container {
    position: relative;
  }

  .center-image-container img{
    width: 100%;
    height: auto;
    display: block;
  }

  .center-image-container .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 20px;
    text-decoration: underline;
    margin: 0;
    color:white;
}


}