* {
  margin: 0;
  padding: 0;
}

body {
  background: rgb(95, 159, 203);
  background: radial-gradient(
    circle,
    rgba(95, 159, 203, 1) 50%,
    rgba(89, 170, 75, 1) 84%
  );
  font-family: Arial, sans-serif;
}

nav img {
  height: 40px;
}

nav div.login{
    padding: 25px;
}

nav div.login ul{
    list-style-type: none;
}

nav div.login li{
    display: inline;
    margin-left: 20px;
}
nav div.login a{
    text-decoration: none;
    color: black;
    padding: 5px;
}

nav div.login a:hover{
    color: white;
    background-color: lightgray;
}

nav div.icon{
    font-size: 60px;
}

nav .menu-right {
  display: flex;
  align-items: center; 
}

nav .menu-right .login {
  margin-right: 10px;
}

nav .menu-right .icon {
  flex: 1; 
  text-align: right; 
}


h1 {
  color: #333;
}

p {
  color: #666;
}

h3{
  text-align: center;
}

section .container-fluid {
  padding: 20px;
}

.bg-light {
  background-color: #f8f9fa;
}

.mt-5 {
  margin-top: 3rem !important;
}

#mapaRestaurantes {
  width: 100%;
  height: 100%;
  display: block;
  margin-bottom: 20px;
}

#avaliacoesContainer {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  margin-top: 20px;
  position: sticky;
  top: 0;
  height: calc(100vh - 280px);
}

.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.maiores-avaliacoes-lista li {
  margin-bottom: 20px;
}

.col-md-9,
.col-md-3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#divBusca {
  background: #fff;
  border: none;
  border-radius: 10px;
  width: 100%;
  height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

#divBusca input {
  background-color: transparent;
  padding-left: 5px;
  font-size: 18px;
  border: none;
  border-bottom: 2px solid #5F9EA0;
  height: 32px;
  width: 100%;
  color: black;
  outline: none;
}

#divBusca input:focus {
  border: none;
  border-bottom: 2px solid #008000;
  outline: none;
}

#btnBusca {
  border: none;
  height: 32px;
  border-radius: 0 10px 10px 0;
  width: 70px;
  font-weight: bold;
  background: #008000;
  color: #fff;
  font-size: 25px;
}

@media (max-width: 767px) {
  #divBusca {
    flex-direction: column;
    align-items: stretch;
  }

  #divBusca input {
    width: 100%;
    margin-bottom: 10px;
  }

  #btnBusca {
    width: 100%;
    padding: 5px;
  }

  #mapaRestaurantes {
    height: calc(100vh - 220px);
    margin-top: 10px;
  }

  #avaliacoesContainer {
    height: auto;
    margin-top: 10px;
  }

  .col-md-9,
  .col-md-3 {
    align-items: stretch;
  }

  #divBusca {
    background: #fff;
    border: none;
    border-radius: 10px;
    width: calc(100% - 20px);
    height: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 150px;
    position: relative;
    z-index: 1;
  }

  #mapaRestaurantes {
    position: relative;
    z-index: 0;
  }
}

#avaliacoesContainer .card-title {
  border-bottom: 2px solid #008000;
  margin-bottom: 10px;
}

.maiores-avaliacoes-lista li {
  border: 1px solid #008000;
  border-radius: 5px;
  padding: 10px;
}

.maiores-avaliacoes-lista {
  list-style-type: none;
  padding: 0;
}

.button{
  font-size: 25px;
}

.user-marker {
  width: 24px;
  height: 24px;
  background-image: url('https://docs.mapbox.com/mapbox-gl-js/assets/custom_marker.png'); /* URL do ícone do usuário */
  background-size: cover;
  cursor: pointer;
}
