@font-face {
 font-family: 'WindSong';
 src: url("../assets/fonts/WindSong/WindSong-Medium.ttf") format('truetype');

 font-weight: normal;
 font-style: normal;
}

@font-face {
 font-family: 'NunitoSans';
 src: url("../assets/fonts/Nunito_Sans/NunitoSans-VariableFont_YTLC\,opsz\,wdth\,wght.ttf") format('truetype');

 font-weight: normal;
 font-style: normal;
}


*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "NunitoSans";
}

:root {
  --prim-bck: #fdfdfd;
  --sec-bck: #ffe0f5;
  --third-bck: #eb5573;
  --prim-border: #272727;
  /* --sec-border: #fd88d8; */
  --sec-border: #e1bbd7;
  --third-border: #A63A50;
  --shadow: color-mix(in srgb, var(--prim-border) 20%, transparent);
  --sec-shadow: #e1bbd78a;

  --small-rounding: 10px;
  --medium-rounding: 20px;
}

body {
  background-color: var(--prim-bck);
}

.border {
  border: 5px solid black;
}

.hide-element {
  display: none;
  opacity: 0;
}

.no-bullets {
  list-style: none;
}

.eat-sweet-font {
  font-family: "WindSong";
}

.header-container h1 {
  font-weight: bold;
  font-size: 50px;
}

.header-container h2 {
  font-size: 40px;
}

/* tablets and down */
@media (max-width: 1024px) {
  .header-container {
    height: auto;
    margin: 0.5rem;
    display: grid;
    grid-template-columns: 1fr 6fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
  }

  .header-container h1 {
    text-align: center;
    align-content: center;
  }

  .header-container h2 {
    grid-row: 2;
    grid-column: 1/3;
    align-content: center;
  }

  .header-container .header-right-container {
    grid-column: 3;
    grid-row: 2;
  }

  .header-image {
    display: block;
    height: 10vh;
    image-rendering: optimizeSpeed;
  }
}


/* Dektops */
@media (min-width: 1024px) {
  .header-container {
    margin: 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .header-image {
    display: block;
    height: 100%;
    image-rendering: optimizeQuality;
  }
}

.header-cart-image-wrap {
  position: relative;
  display: inline-block;
}

.header-image-incart-number {
  position: absolute;
  bottom: 3%;
  right: 16%;
  min-width: 30%;
  padding: 2px;
  height: 30%;
  border-radius: 50%;
  font-size: medium;
  border: 4px solid var(--sec-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--sec-bck);
  color: var(--prim-border);
}

.icon-cart {
  height: 100%;
  aspect-ratio: 1 / 1;
  background-color: black;
  -webkit-mask: url('../assets/images/cart.svg') no-repeat center / contain;
  mask: url('../assets/images/cart.svg') no-repeat center / contain;
}

.header-right-container {
  display: flex;
  flex-direction: row;
  height: 100%;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

header {
  height: 110px;
}

button {
  background: none;
  border: solid 2px var(--prim-border);
  border-radius: var(--small-rounding);
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

button:hover {
  background: var(--third-bck);
  border: solid 2px var(--third-border);
  color: white;
  border-radius: var(--small-rounding);
}
