/*? global clearing */
*,
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root {
  --color-black-primary: rgb(0, 0, 0, 0.65);
  --color-black-secondary: rgb(0, 0, 0, 0.15);
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: auto;
  width: 100%;
  border-bottom: 1px solid var(--color-black-secondary);
}

.tabs {
  display: flex;
  align-items: center;
  padding: 5px;
  border-bottom: 1px solid var(--color-black-secondary);
}

.tab {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--color-black-secondary);
  border-radius: 5px 5px 0 0;
  margin-right: 5px;
  cursor: pointer;
  background-color: #f1f1f1;
}

.tab.active {
  background-color: #fff;
  border-bottom: 1px solid #fff;
}

.tab .close-tab {
  margin-left: 10px;
  cursor: pointer;
}

.add-tab {
  cursor: pointer;
}

.address-bar {
  display: flex;
  align-items: center;
  padding: 5px;
  background-color: #fff;
}

#addressInput {
  flex: 1;
  border: 1px solid var(--color-black-secondary);
  padding: 5px;
  border-radius: 5px;
}

.header__right {
  display: flex;
  padding: 10px 20px;
}

.header__right a {
  margin-right: 16px;
  font-weight: 500;
  color: var(--color-black-primary);
}

.header__right a:hover {
  text-decoration: underline;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 600px;
}

.feature img {
  width: 285px;
  height: auto;
}

.search {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
  width: 100%;
}

.search__input {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid var(--color-black-secondary);
  padding: 0 16px;
  border-radius: 99px;
}

.search__input:hover {
  box-shadow: 1px 1px 7px 5px rgba(0, 0, 0, 0.11);
    -webkit-box-shadow: 1px 1px 7px 5px rgba(0, 0, 0, 0.11);
    -moz-box-shadow: 1px 1px 7px 5px rgba(0, 0, 0, 0.11);
}

.search__input input {
  flex: 1;
  padding: 10px;
  font-size: 18px;
  margin-bottom: 4px;
  border: none;
  outline: none;
}

.search__input .photo {
  cursor: pointer;
}

.search__action {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.search__action button {
  border: 1px solid transparent;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.search__action button:hover {
  border: 1px solid var(--color-black-secondary);
}

.language {
  display: flex;
  justify-content: center;
  font-size: 14px;
  color: var(--color-black-primary);
}

.language a {
  margin-right: 6px;
}

iframe {
  width: 100%;
  height: 100%;
}
