@import url("https://use.typekit.net/zoj0fcc.css");

/* 
COLORS FROM STYLE TILE

#85CFC3 = TEALISH
#F2CFC4 = PINKISH 

*/
* {
  margin: 0;
  padding: 0;
  font-family: balboa-plus-fill, sans-serif;
}

body {
  background-color: #f2cfc4;
  overflow-x: hidden;
}

/* CATEGORY HEADER */

.board {
  position: relative;
  margin-top: 8vh;
  width: 100vw;
  height: 140px;

  background-color: teal;
  margin-bottom: 3vh;
}

.bline {
  width: 100vw;
  height: 19%;
  background-color: white;
  border-bottom: 10px solid black;
}

.bline:first-child {
  border-top: 10px solid black;
}

.lettr {
  display: inline-block;
  width: 8%;
  height: 75%;
  background-color: white;

  /* position: absolute;
  left: 50%;
  top: 50%; */
  position: relative;
  bottom: 132px;
  margin-left: 0;
}

.fir {
  margin-left: 25%;
}

.lettr p {
  font-size: 2em;
  position: relative;
  float: left;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.board-flex {
  height: 100%;
  width: 100vw;
  display: flex;
  direction: row;

  justify-content: space-evenly;
  /* align-content: center; */
}

.board-flex .lettr {
  margin-left: 0;
  font-size: 4vmin;
}

@media screen and (max-width: 479px) {
  .board {
    margin-top: 0;
    height: 10vh;
  }
  .bline {
    border-bottom: 5px solid black;
  }

  .bline:first-child {
    border-top: 5px solid black;
  }

  .lettr {
    /* MAKE BOTTOM BOARD HEIGHT-1 */
    bottom: 9vh;
    width: 9%;
  }

  /* .board-flex {
    align-items: center;
  } */
}

@media screen and (min-width: 480px) and (max-width: 1024px) {
  .board {
    margin-top: 3.5vh;
    height: 14vh;
  }
  .bline {
    border-bottom: 6px solid black;
  }

  .bline:first-child {
    border-top: 6px solid black;
  }

  .lettr {
    /* MAKE BOTTOM BOARD HEIGHT-1 */
    bottom: 13vh;
    width: 9%;
  }
}

/*END OF CATEGORY HEADER */

/* TEA FLEXBOX */
.menu-container {
  position: relative;
  width: 100vw;

  display: flex;
  justify-content: space-around;
  flex-direction: row;
  background-color: #f2cfc4;

  flex-wrap: wrap;
  align-items: flex-start;
}

.menu-container > div {
  background-color: #f2cfc4;
  width: 20vw;
  height: 20vw;
  margin-top: 5%;
}

.menu-container > i {
  width: 20vw;
  height: 20vw;
  margin-top: 5%;
}

@media screen and (max-width: 479px) {
  .menu-container {
    width: 96vw;

    align-content: flex-start;
  }
  /* HEIGHT = 25VW PER ROW PRESENT */
  /* .teamenu {
    height: 75vh;
  }

  .coffee {
    height: 175vh;
  }

  .baked {
    height: 75vh;
  }

  .addon {
    height: 100vh;
    margin-bottom: 10vh;
  } */

  .addon {
    margin-bottom: 10vh;
  }

  .menu-container > div {
    width: 35vw;
    height: 35vw;
    margin-bottom: 5vh;
    /* margin-top: 15%; */
  }

  .item-container:last-of-type {
    margin-bottom: 10vh;
  }
  .menu-container:first-child > div {
    /* margin-top: 0%; */
  }
  .menu-container:nth-child(2) > div {
    /* margin-top: 0%; */
  }

  .menu-container > i {
    width: 35vw;
    height: 35vw;
    margin-top: 0;
  }
}

@media screen and (min-width: 480px) and (max-width: 1024px) {
  .menu-container {
    width: 98vw;

    align-content: flex-start;
  }
  /* HEIGHT = 25VW PER ROW PRESENT */
  /* .teamenu {
    height: 75vh;
  }

  .coffee {
    height: 175vh;
  }

  .baked {
    height: 75vh;
  }

  .addon {
    height: 100vh;
    margin-bottom: 10vh;
  } */

  .addon {
    margin-bottom: 10vh;
  }

  .menu-container > div {
    width: 20vw;
    height: 20vw;
    margin-bottom: 5vh;
    /* margin-top: 15%; */
  }

  .item-container:last-of-type {
    margin-bottom: 10vh;
  }
  .menu-container:first-child > div {
    /* margin-top: 0%; */
  }
  .menu-container:nth-child(2) > div {
    /* margin-top: 0%; */
  }

  .menu-container > i {
    width: 20vw;
    height: 20vw;
    margin-top: 0;
  }
}

/* FLEX ITEMS */

.item-container {
  position: relative;
  border: 3px solid black;
}

.photo {
  opacity: 1;
  display: block;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: 0.3s;
  object-fit: cover;
}

/*INTERNAL ITEM FLEXBOX */
.appear {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;

  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.item-container:hover .photo {
  opacity: 0.2;
}

.item-container:hover .appear {
  opacity: 1;
}

.inform {
  color: white;
  font-family: "Staatliches", cursive;
  /* position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  text-align: center;
  font-size: 2em;
}

.price {
  font-family: "Staatliches", cursive;
  text-align: center;
  font-size: 2em;
  /* border: 2px solid yellow; */
}

.addr {
  font-family: "Staatliches", cursive;
  width: 60%;
  margin: 0 auto;
  background-color: transparent;
  border-style: none;
  border: 3px solid white;
  font-family: "Staatliches", cursive;
  line-height: 160%;
  font-size: 1.3em;
  color: white;
  cursor: pointer;
  /* margin-top: 15%; */
}

button:focus {
  outline: none;
}

button:hover {
  color: black;
  border-color: black;
}

button:active {
  color: #85cfc3;
  border-color: #85cfc3;
}

.name {
  text-align: center;
  line-height: 7vh;
  font-size: 2em;
  font-family: "Staatliches", cursive;
}

@media screen and (max-width: 479px) {
  .name {
    font-size: 5vw;
    line-height: 8vh;
  }

  .inform {
    font-size: 4vw;
  }

  .price {
    font-size: 7vw;
  }

  .addr {
    font-size: 4vw;
    width: 80%;
    line-height: 270%;
  }
}
@media screen and (min-width: 480px) and (max-width: 1024px) {
  .name {
    margin-top: 1.4vw;
    font-size: 2.8vw;
    line-height: 5vw;
  }

  .inform {
    font-size: 2vw;
  }

  .price {
    font-size: 5vw;
  }

  .addr {
    font-size: 2vw;
    width: 80%;
    line-height: 250%;
  }
}

/* NEWSLETTER ON BOTTOM   */
.ground {
  position: fixed;
  top: auto !important;
  bottom: 0;
}

@media screen and (max-width: 479px) {
  .ground {
    display: none;
    bottom: auto;
    top: 0;
  }
}

@media screen and (min-width: 480px) and (max-width: 1024px) {
  .ground {
    bottom: auto;
    top: 0 !important;
  }
}

/* MODAL */
/* .togo {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
} */
/* END OF MODAL */

/* TEA SPECIFIC LETTERING SO LETTERS ARENT TOO FAR APART */

#tea-board {
  /* justify-content: space-evenly; */
  width: 50vw;
  margin: 0 auto;
}

#tea-board .lettr {
  width: 15%;
}

/* END OF TEA */

/*MODIFYING SOCIAL BAR FOR 4 SQUARES */
@media screen and (max-width: 479px) {
  #social {
    width: 40vh !important;
  }

  #social li {
    width: 25% !important;
  }
}

@media screen and (min-width: 480px) and (max-width: 1024px) {
  #social {
    width: 40vh !important;
  }

  #social li {
    width: 25% !important;
  }
}
