
body {
    background-color: #f5f5f5;
    background-image: url(/assets/bg-howtouse.png);
}

.main {
    margin-top: 150px;
    width: 100%;
    padding: 0 3rem;
}

.restaurant-content {
    max-width: 1080px;
    height: auto;
    width: auto;
    margin: 0px auto 70px auto;
    background: #fff;
    padding: 0px 0px 25px 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.restaurant-content > h1 {
  margin-top: 5rem;
  color: var(--rest-color);
  font-size: 3.5rem;
  padding: 0 20px;
}

.restaurant-content > h1 > span {
  border-radius: 8px;
  padding: 0 5px;
  background: radial-gradient(circle, #fac14c 6%, #f58633 100%);
  color: #fff;
}

/* Search Bar */

.form-search {
  width: auto;
  height: 150px;
  border-radius: 10px;
  margin: 0 5rem;
  box-shadow: #e7e7e7 0px 0px 10px;
}

.form-search i {
  padding-right: 1rem;
  padding-left: 1rem;
  color: var(--rest-color);
  font-size: 2.6rem;
}

.filters {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 66%;
}

.filters .col-a,
.filters .col-b {
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid #e7e7e7;
  height: 50%;
}

.filters .col-a {
  border-right: 0px solid #e7e7e7;
}

.filters .col-b i {
  font-size: 2rem;
}

.col-a-items,
.col-b-items {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;
  padding-left: 1rem;
  padding-right: 1rem;
}

.col-b-items {
  padding-left: 0.6rem;
}

.col-a-items h5,
.col-b-items h5 {
  text-transform: uppercase;
  font-weight: normal;
  color: var(--rest-color);
  font-size: 1.8rem;
}

.col-a-items select,
.col-b-items select {
  appearance: none;
  /*  safari  */
 -webkit-appearance: none;
  /*  other styles for aesthetics */
  width: 100%;
  font-size: 1.3rem;
  padding: 0.3em 0 0.3em 0;
  background: transparent;
  background-image: url(/assets/arrow.png);
  background-repeat: no-repeat;
  background-size: 24px;
  background-position-x: 98%;
  background-position-y: -8px;
  color: var(--primary-color);
  cursor: pointer;
  border: none;
  font-family: "Montserrat", sans-serif;
}

.col-a-items select:focus,
.col-b-items select:focus {
  box-shadow: 0 0 0 0;
  outline: 0;
}

.search {
  display: flex;
  align-items: center;
  height: 33%;
  width: auto;
}

.input-search {
  width: 86%;
  height: 100%;
  border: 0;
  font-size: 1.2rem;
  font-family: "Montserrat", sans-serif;
  color: var(--rest-color);
}

.input-search::placeholder {
  color: #eaeaea;
}

.hidden {
  display: none;
}

/* Cards dos Estabelecimentos */

.cards {
    width: auto;
    display: grid;
    grid-template-columns: 250px;
    justify-content: space-around;
    justify-items: center;
    margin: 0 auto;
    grid-column-gap: 1rem;
    align-items: center;
    grid-row-gap: 3rem;
}

.cards:first-child {
    margin-top: 50px;
}

.cards:last-child {
    margin-bottom: 50px;
}

.card-wrap {
  filter: drop-shadow(rgba(0, 0, 0, 0.195) 0px 0px 3px);
  cursor: pointer;
}



.remove {
  display: none;
}

.card {
    position: relative;
    width: 250px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    background: transparent;
  }

.main-card {
    position: relative;
    top: 4px;
    left: 0px;
    width: 240px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    background: #fff;
    border-bottom: 4px solid var(--primary-color);
}

  .card-img {
    height: 162px;
    width: 100%;
    cursor: pointer;
  }

  .card-img img {
    width: auto;
    height: 162px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
  }

  .main-card a {
    margin: 0 auto;
  }

  .card-avatar {
    position: absolute;
    width: 105px;
    height: 105px;
    background: linear-gradient(90deg, #fac14c 6%, #f58633 100%);
    border-radius: 50%;
    top: calc(50% - 38px);
  }

  .card-avatar img {
    padding-top: 5px;
    border-radius: 50%;
    width: 96px;
    height: 100px;
  }

  /*
  .card-avatar img:hover {
    animation:spin 0.5s linear;
  }*/

  @keyframes spin {
    100% {
        -webkit-transform: rotate(720deg);
        transform:rotate(720deg);
    }
}

.city {
    position: absolute;
    right: 0px;
    top: 5%;
    width: auto;
    border-radius: 8px 0 0 8px;
    background: radial-gradient(circle, #fac14c 6%, #f58633 100%);
}

.city > p {
  color: var(--light-color);
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: normal;
  padding: 2px 5px;
}

  .card-text {
    padding: 0 10px 5px 10px;
    margin-top: 56px;
  }

  .card-text > .category {
    position: absolute;
    right: 10px;
    top: 60%;
    display: flex;
    flex-direction: column;
  }

  .category > i {
    color: var(--rest-color);
    font-size: 24px;
  }

  .category > svg {
    fill: var(--rest-color);
    margin: 0 auto;
  }

  .card-text h1 {
    font-size: 2rem;
    color: var(--rest-color);
  }

  .card-text h6 {
    color: var(--black);
    font-weight: normal;
    font-size: 1.5rem;
  }

  .card-text h6 i {
    padding-right: 5px;
  }

  .card-text a {
    color: var(--rest-color);
    font-size: 1.5rem;
  }

  .card-text p {
    padding: 5px 5px 0 5px;
    text-align: left;
    color: var(--black);
    font-size: 1.5rem;
    font-weight: normal;
  }

  .category > p {
    font-size: 1.5rem;
    color: var(--rest-color);
  }

  .card-hour {
    display: flex;
    align-items: center;
  }

  .card-hour p {
    text-transform: uppercase;
    line-height: 7px;
    font-weight: normal;
  }

  .card-hour p:nth-child(2) {
    color: var(--black);
  }

  .hour-available p {
    color: var(--rest-color);
  }

  .hour-not-available {
    color: var(--second-color);
    text-decoration: line-through;
  }

  .hour-not-available p {
    color: var(--second-color);
  }

  .card-days {
    margin-top: 15px;
    display: flex;
    gap: 5px;
  }

  .card-days-item {
    display: flex;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    align-items: center;
    cursor: pointer;
  }

  .card-available {
    background: radial-gradient(circle, #fac14c 6%, #f58633 100%);
    border: 0;
  }

  .card-available span {
    margin: 0 auto;
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--light-color);
  }

  .card-not-available {
    border: 2px solid var(--rest-color);
    background-color: #fff;
  }

  .card-not-available span {
    margin: 0 auto;
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--rest-color);
  }

  .restaurant-footer-text {
    padding: 0 2rem;
  }

  .restaurant-footer-text p {
    color: var(--second-color);
    font-size: 1.8rem;
    font-style: italic;
  }

  .restaurant-footer-text span {
    color: var(--second-color);
  }

/* Screen larger than 600px? 2 column */
@media (min-width: 600px) {

  .form-search * {
    margin: 0;
    padding: 0;
    visibility: initial;
    display: initial;
    opacity: initial;
    flex-direction: initial;
    position: initial;
    font-size: initial;
    font-weight: initial;
    transform: initial;
    color: initial;
    background: initial;
    filter: initial;
    width: initial;
  }

  .form-search {
    width: auto;
    height: 100px;
    border-radius: 10px;
    margin: 0 5rem;
    box-shadow: #e7e7e7 0px 0px 10px;
  }

  .form-search i {
    padding-right: 1rem;
    padding-left: 1rem;
    color: var(--primary-color);
    font-size: 2.6rem;
  }

  .filters {
    display: flex;
    justify-content: center;
    height: 50%;
  }

  .filters .col-a,
  .filters .col-b {
    display: flex;
    align-items: center;
    width: 50%;
    border-bottom: 1px solid #e7e7e7;
    height: auto;
  }

  .filters .col-a {
    border-right: 1px solid #e7e7e7;
  }

  .col-a-items,
  .col-b-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .col-a-items h5,
  .col-b-items h5 {
    text-transform: uppercase;
    font-weight: normal;
    color: var(--primary-color);
    font-size: 1.2rem;
  }

  .col-a-items select,
  .col-b-items select {
    appearance: none;
    /*  safari  */
   -webkit-appearance: none;
    /*  other styles for aesthetics */
    width: 100%;
    font-size: 1.3rem;
    padding: 0.3em 0 0.3em 0;
    background: transparent;
    background-image: url(/assets/arrow.png);
    background-repeat: no-repeat;
    background-size: 24px;
    background-position-x: 98%;
    background-position-y: -8px;
    color: var(--primary-color);
    cursor: pointer;
    border: none;
    font-family: "Montserrat", sans-serif;
  }

  .col-a-items select:focus,
  .col-b-items select:focus {
    box-shadow: 0 0 0 0;
    outline: 0;
  }

  .search {
    display: flex;
    align-items: center;
    height: 50%;
    width: auto;
  }

  .input-search {
    width: 94%;
    height: 100%;
    border: 0;
    font-size: 1.2rem;
    font-family: "Montserrat", sans-serif;
    color: var(--primary-color);
  }

  .input-search::placeholder {
    color: #eaeaea;
  }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

/* Screen larger than 900px? 3 columns */
@media (min-width: 900px) {

  .form-search * {
    margin: 0;
    padding: 0;
    visibility: initial;
    display: initial;
    opacity: initial;
    flex-direction: initial;
    position: initial;
    font-size: initial;
    font-weight: initial;
    transform: initial;
    color: initial;
    background: initial;
    filter: initial;
    width: initial;
  }

  .form-search {
    width: auto;
    height: 100px;
    border-radius: 10px;
    margin: 0 5rem;
    box-shadow: #e7e7e7 0px 0px 10px;
  }

  .form-search i {
    padding-right: 1rem;
    padding-left: 1rem;
    color: var(--primary-color);
    font-size: 2.6rem;
  }

  .filters {
    display: flex;
    justify-content: center;
    height: 50%;
  }

  .filters .col-a,
  .filters .col-b {
    display: flex;
    align-items: center;
    width: 50%;
    border-bottom: 1px solid #e7e7e7;
    height: auto;
  }

  .filters .col-a {
    border-right: 1px solid #e7e7e7;
  }

  .col-a-items,
  .col-b-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .col-a-items h5,
  .col-b-items h5 {
    text-transform: uppercase;
    font-weight: normal;
    color: var(--primary-color);
    font-size: 1.2rem;
  }

  .col-a-items select,
  .col-b-items select {
    appearance: none;
    /*  safari  */
   -webkit-appearance: none;
    /*  other styles for aesthetics */
    width: 100%;
    font-size: 1.3rem;
    padding: 0.3em 0 0.3em 0;
    background: transparent;
    background-image: url(/assets/arrow.png);
    background-repeat: no-repeat;
    background-size: 24px;
    background-position-x: 98%;
    background-position-y: -8px;
    color: var(--primary-color);
    cursor: pointer;
    border: none;
    font-family: "Montserrat", sans-serif;
  }

  .col-a-items select:focus,
  .col-b-items select:focus {
    box-shadow: 0 0 0 0;
    outline: 0;
  }

  .search {
    display: flex;
    align-items: center;
    height: 50%;
    width: auto;
  }

  .input-search {
    width: 94%;
    height: 100%;
    border: 0;
    font-size: 1.2rem;
    font-family: "Montserrat", sans-serif;
    color: var(--primary-color);
  }

  .input-search::placeholder {
    color: #eaeaea;
  }

  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* Screen larger than 1080px? 4 columns */
@media (min-width: 1080px) {

  .form-search * {
    margin: 0;
    padding: 0;
    visibility: initial;
    display: initial;
    opacity: initial;
    flex-direction: initial;
    position: initial;
    font-size: initial;
    font-weight: initial;
    transform: initial;
    color: initial;
    background: initial;
    filter: initial;
    width: initial;
    height: initial;
}

  .form-search {
    width: auto;
    height: 100px;
    border-radius: 10px;
    margin: 0 5rem;
    box-shadow: #e7e7e7 0px 0px 10px;
  }

  .form-search i {
    padding-right: 1rem;
    padding-left: 1rem;
    color: var(--rest-color);
    font-size: 2.6rem;
  }

  .filters {
    display: flex;
    justify-content: center;
    height: 50%;
  }

  .filters .col-a,
  .filters .col-b {
    display: flex;
    align-items: center;
    width: 50%;
    border-bottom: 1px solid #e7e7e7;
    height: auto;
  }

  .filters .col-a {
    border-right: 1px solid #e7e7e7;
  }

  .col-a-items,
  .col-b-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .col-a-items h5,
  .col-b-items h5 {
    text-transform: uppercase;
    font-weight: normal;
    color: var(--rest-color);
    font-size: 1.8rem;
  }

  .col-a-items select,
  .col-b-items select {
    appearance: none;
    /*  safari  */
   -webkit-appearance: none;
    /*  other styles for aesthetics */
    width: 100%;
    font-size: 1.3rem;
    padding: 0.3em 0 0.3em 0;
    background: transparent;
    background-image: url(/assets/arrow.png);
    background-repeat: no-repeat;
    background-size: 24px;
    background-position-x: 98%;
    background-position-y: -8px;
    color: var(--rest-color);
    cursor: pointer;
    border: none;
    font-family: "Montserrat", sans-serif;
  }

  .col-a-items select:focus,
  .col-b-items select:focus {
    box-shadow: 0 0 0 0;
    outline: 0;
  }

  .search {
    display: flex;
    align-items: center;
    height: 50%;
    width: auto;
  }

  .input-search {
    width: 94%;
    height: 100%;
    border: 0;
    font-size: 1.2rem;
    font-family: "Montserrat", sans-serif;
    color: var(--rest-color);
  }

  .input-search::placeholder {
    color: #eaeaea;
  }

  .cards { grid-template-columns: repeat(4, 1fr); }

}
