@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 35px;
  height: 25%;
}

.logo-container {
  display: flex;
}

.logo-container img {
  height: 50px;
  margin-left: 50px;
}

nav {
  display: flex;
  justify-content: space-between;      
}

nav a {
  text-decoration: none;
  color: #4d4d4d;
  font-family: 'Raleway';
  /* margin-right: 30px; */
}

nav ul li a.active {
  text-decoration: underline;
  font-weight: bold;
}



.menu-horizontal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 50px; /* Espacio entre elementos */
}

.menu-horizontal li a {
    text-decoration: none;
    color: #4d4d4d;
    font-family: 'Raleway'; /* Fuente llamativa */
    font-weight: bold;

}

.menu-horizontal li a:hover {
    color: #4d4d4d;
    font-weight: bold;
    font-size: large;
    text-decoration: underline;
}

.right-section {
    display: block;
    align-items: center;
    text-align: right;
    font-family: 'Raleway'; /* Fuente llamativa */
    color: #4d4d4d;
    margin-right: 50px;

}

.search-container {
    position: relative;
    width: 230px;
}

.search-container input {
    width: 100%;
    padding: 10px 35px 10px 10px;
    border: 0px solid #ccc;
    background-color: transparent;
    color: #4d4d4d;
    border-radius: 0px;
    font-size: 16px;
    outline: none;
    font-family: 'Raleway';
}

.search-container .icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #4d4d4d;
    pointer-events: none;
    font-size: 14px;
}


.input-line:hover {
  border-bottom: 2px solid #4d4d4d; /* Color de la línea al hacer hover */
}

.input-line:focus {
  border-bottom: 2px solid #4d4d4d;/* Color de la línea al hacer focus */
}

.suggestions {
  /* border: 1px solid #ccc; */
  border-top: none;
  max-height: 150px;
  overflow-y: auto;
  width: 250px;
  position: absolute;
  background: white;
  z-index: 1000;
}

.suggestions div {
  padding: 8px;
  cursor: pointer;
}

.suggestions div:hover {
  background-color: #f0f0f0;
}


/* Responsive celular*/
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .logo-container {
    display: block;
    margin-left: 25%;
  }

  nav {
    display: block;
    align-self:center;
    justify-content: center;

  }

  .menu-horizontal{
    gap: 20px;
  }

  .right-section {
    display: block;
    align-self:center;
    margin-left: 10%;
  }
  
}
