* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Rubik', Arial, sans-serif;
  font-weight: normal;
  color: #0d0d0d;
}

/*---------*/

.grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #b5a69a;
}
.grid .i {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.b2 img.log {         /*logo*/
  width: 40px;
  height: 64px;
  padding: 10px;
}
.i ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 50vw;
}
.i ul li {
  text-decoration: none;
  font-size: 1em;
  font-weight: 400;
  list-style: none;
  color: #0d0d0d;
}
a {
  text-decoration: none;
  color: #0d0d0d;
}
a:hover {
  color: white;
}

/*-----end nav-----*/

.header {
  background-color: #b5a69a;
  position: fixed;
  width: 100%;
  z-index: 3;
}
.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #aaa;
}
.header ul a {
  display: block;
  padding: 20px;
  text-decoration: none;
  border-right: 1px solid #aaa;
  color: #0d0d0d;
  font-weight: normal;
  font-size: 1em;
  text-align: center;
}
.header ul a:hover {
  background-color: #b5a69a;
}
.header img.logo {
  width: 25px;
  height: 40px;
  margin-top: 10px;
  margin-left: 10%;
}
.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height 0.2s ease-out;
}
.header .menu-icon {
  padding: 28px 20px;
  position: relative;
  float: right;
  cursor: pointer;
  margin-right: 10%;
}
.header .menu-icon .nav-icon {
  background: #333;
  display: block;
  height: 3px;
  width: 30px;
  position: relative;
  transition: background 0.2s ease-out;
}
.header .menu-icon .nav-icon:before {
  background: #333;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 10px;
  transition: all 0.2s ease-out;
}
.header .menu-icon .nav-icon:after {
  background: #333;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: -10px;
  transition: all 0.2s ease-out;
}
.header .menu-btn {
  display: none;
}
.header .menu-btn:checked~.menu {
  max-height: 240px;
}
.header .menu-btn:checked~.menu-icon .nav-icon {
  background: transparent;
}
.header .menu-btn:checked~.menu-icon .nav-icon:before {
  transform: rotate(-45deg);
  top: 0;
}
.header .menu-btn:checked~.menu-icon .nav-icon:after {
  transform: rotate(45deg);
  top: 0;
}

/*-----xxxxx-----*/

.uxui {
  display: grid;
}
.grid .b2 {
  margin-left: 10%;
}
.pic {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.gallery {
  display: inline-block;
  border: 1px solid hsl(0, 0%, 60%);
  margin: 10px;
  width: 90%;
}
.gallery:hover {
  border: 1px solid hsl(0, 0%, 20%);
}
.gallery img {
  width: 100%;
  height: auto;
}
.i ul {
  margin-right: 10%;
}