@import '@s-ui/react-atom-icon/lib/index';

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  list-style: none;
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  color: #333;
  font-family: system-ui, sans-serif;
  font-weight: 300;
  margin: 0;
  padding: 0;
}

header {
  backdrop-filter: blur(3px);
  background: rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1000px;
  padding: 16px 32px;
  position: sticky;
  top: 0;
  z-index: 1;

  input[type='search'] {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAA3lBMVEUAAAAAAAAAAACAgICqqqqAgIBmZmaqqqqSkpKIiIiOjo6GhoaQkJCVlZWNjY2UlJSPj4+WlpaSkpKQkJCTk5OQkJCPj4+QkJCPj4+QkJCPj4+RkZGPj4+QkJCRkZGQkJCRkZGPj4+QkJCQkJCQkJCPj4+QkJCRkZGPj4+RkZGQkJCRkZGQkJCPj4+RkZGPj4+RkZGQkJCRkZGQkJCRkZGRkZGQkJCRkZGQkJCQkJCRkZGRkZGQkJCQkJCRkZGQkJCQkJCRkZGRkZGSkpKTk5OVlZWWlpaXl5eZmZmamppU6X/JAAAAQnRSTlMAAQICAwQFBgcPEhMXGB0fICIjN0JOUFNUXF1hYmVmZ2hpdXd4e35/gICeoKGiq7Cys8rk7O3w9PX29/j5+vr8/f3ehEp9AAACDElEQVRYw+2WaXPaMBCG30US4QhXIEmdEGgLjalpzeVAqHsQO13s//+H+oGZhgEfwp7OdDLZb5Z2H1kr6d0F3uyVGxFR5mChFAEAKSUyhEsJAKVyufTydcrqAmh2rfliuVzMrW5jN6JvCuhMnoKQvdXK4zDYTDqA0s+cwsWMw0f7rl2vVOrtnr0OedqC0swnCdy4gTM4fxmqDZzANSBIM95kHlcBqWSBqCCVBKpjZlOPoGBu/T5Q3HOmItD3t6ZOHhRu2L/G4dELhWufjXSCwIXLfZwdz5yhz24LIhUwC8bR6yiMg2kaQKLDTjXaS6DqcAcyBTAJByhGTxYxDCfJAIHm0+M5Yg6LUFtvGombUOgGdvwaEnZwm3gQClZ4F++h0AutRABhzu2kP2jzHJQUX1p4dRTi5guoe4tSAoFQXq4q8Q6EympZ/reAnFvInUQoWGEvzzFqXKRuIkCgscl1lXM/prTn/JD6nCEwjReUL+mCAoFWrKS915E0KBgxovrueWvoyXK0rH/wf3/UKm8xheUr/3oeQpIewXADZ1jbK23Dh+Cb7/FnTYJCa8rh2u7tFddZ/RP/5JEeYVfeNwflHSb/0CYIATRu/zYYTUBIgdEJhIgWh+RphOMm62TCUZuXhXDA+58ImRtYkhjxd76HyEm4gsxBuGe+zA4AEa4usydhp1v54jN072/2+u0PFKZHW4NguwIAAAAASUVORK5CYII=');
    background-position: 8px;
    background-repeat: no-repeat;
    background-size: 18px;
    border: 1px solid #f1f1f1;
    border-radius: 15px;
    color: #666;
    font-size: 12px;
    margin: 0 5%;
    outline: none;
    padding: 4px 4px 4px 32px;
  }

  input[type='search']:focus {
    background-color: #fafafa;
    border: 1px solid #09f;
  }

  div {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  select {
    font-size: 12px;
    margin-right: 16px;
  }

  span {
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
  }

  select:last-child {
    margin-right: 0;
  }
}

section {
  margin: 0 auto;
  max-width: 1000px;
  padding-top: 32px;
  text-align: center;
}

i {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  height: 120px;
  flex-direction: column;
  justify-content: center;
  position: relative;
  text-align: center;
  width: 120px;
}

i:before,
i:after {
  left: 0;
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
  right: 0;
  visibility: hidden;
}

i:before {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 2px;
  bottom: 100%;
  color: #fff;
  content: attr(data-tooltip);
  font-size: 10px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 5px;
  overflow: hidden;
  padding: 4px 8px;
  position: absolute;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

/* Triangle hack to make tooltip look like a speech bubble */
i:after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(0, 0, 0, 0.6);
  bottom: 100%;
  content: '';
  font-size: 0;
  line-height: 0;
  position: absolute;
  width: 0;
}

i:hover {
  background: #eee;
}
/* Show tooltip content on hover */
i:hover:before,
i:hover:after {
  opacity: 1;
  visibility: visible;
}
