@import url("https://fonts.googleapis.com/css?family=Roboto");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

p {
  margin-bottom: 0 !important;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
}
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 2rem;
  z-index: 1;
  width: 100%;
  opacity: 0.9;
}

.navbar ul {
  display: flex;
}

.navbar li {
  text-align: center;
}

.navbar a {
  color: #fff;
  padding: 0.45rem;
  margin: 0 0.25rem;
}

.lang a {
  padding: 0.45rem;
  margin: 0 0.25rem;
}

.menuitem {
  padding: 15px;
}

.navbar a:hover {
  background-color: #7c7c7c;
  border-radius: 5px;
  text-decoration: none;
}

.navbar .welcome span {
  margin-right: 0.6rem;
}

.navbar img {
  height: 37px;
  width: 37px;
}
.navbar img:hover {
  opacity: 0.5;
}
.lang {
  margin-left: 10px;
}

.button-color {
  background-color: #85480f;
  border: none;
}

.brown-color {
  color: #85480f;
}

.main-image {
  background: url("../img/vinyl-lg.jpg") no-repeat center right/cover;
  /* background-size: contain; */
  /* background-repeat: no-repeat; */
  /* background-position-x: center; */
  background-color: #000;
  /* background-size: auto cover; */
  /* width: 100vw; */
  /* height: 100vh; */

  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  /* height: 0; */
  /* padding-top: 43.875%; */
  height: 43.2vw;
  padding-top: 0;
}

.maintext {
  margin-top: 140px;
  color: rgb(252, 220, 162);
  font-size: 1.5rem;
  font-weight: bold;
}

.bigbutton {
  margin-top: 2rem;
}

/* work */
.container {
  max-width: 1280px;
  padding: 0 1.5rem;
  margin: auto;
  overflow: hidden;
}

.items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);
}

.item {
  position: relative;
  background: #85480f;
  overflow: hidden;
}
.item:after {
  content: "";
  position: absolute;
  display: block;
  background: inherit;
  opacity: 0.9;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(2) translateX(-75%) translateY(-75%) rotate(-28deg);
  transition: transform 3s cubic-bezier(0.2, 1, 0.3, 1);
}
.item:hover:after {
  transform: scale(2) translateX(0) translateY(0) rotate(-28deg);
  transition: transform 3s cubic-bezier(0.2, 1, 0.3, 1);
}
.item:hover .item-image {
  transform: scale(1.2);
}
.item:hover .item-text {
  opacity: 1;
  /* transform: translateY(0); */
  transform: translateY(-100px);
}
.item-image {
  transform: translateZ(0);
  display: block;
  transition: transform 750ms cubic-bezier(0.2, 1, 0.3, 1);
}
.item-image:before {
  content: "";
  display: block;
  padding-top: 75%;
  overflow: hidden;
}
.item-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  line-height: 0;
}
.item-text {
  position: absolute;
  /* top: 0; */
  top: 80%;
  left: 0;
  bottom: 0;
  right: 0;
  /* opacity: 0; */
  text-align: center;
  z-index: 1;
  color: #fff;
  transform: translateY(-20%);
  transition: opacity 500ms cubic-bezier(0.2, 1, 0.3, 1),
    transform 800ms cubic-bezier(0.2, 1, 0.3, 1);
  transition-delay: 300ms;
}
.item-text-wrap {
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.item-text-title {
  font-size: 2rem;
  padding: 0 1rem;
  margin: 5px 0 0 0;
}
.item-text-category {
  text-transform: uppercase;
  font-size: 1.2rem;
  opacity: 0.7;
  margin: 0;
}

.single-image {
  max-width: 100%;
  max-height: 100%;
}

@media (max-width: 1100px) {
  .maintext {
    margin-top: 100px;
    font-size: 1.2rem;
  }

  .items {
    grid-template-columns: repeat(2, 1fr);
  }
}

.green-text-list a {
  color: #85480f;
  text-decoration: none;
}

.green-text,
.green-text:hover {
  color: #ffffff;
  font-weight: bold;
  text-shadow: 2px 2px #000000;
  text-decoration: none;
}

.list-group > a {
  margin-bottom: 2rem;
}

.latest-list-h {
  background-color: #85480f;
  color: #fff;
  padding: 5px;
}

.latest-list {
  text-decoration: none;
}

.latest-list:hover {
  background-color: #cae4ac;
  color: #fff;
}
.latest-list-h h3 {
  margin-bottom: 0;
}

.about-text p,
.about-text h3 {
  padding-bottom: 1.5rem;
}

.foot {
  color: #fff;
}

.copyright {
  color: #fff;
}

@media (max-width: 1090px) {
  .lang {
    margin: auto;
  }

  .search-box {
    display: none;
  }
}

@media (max-width: 900px) {
  .main-image {
    background: url("../img/vinyl.jpg") no-repeat center right/cover;
    height: 67.2vw;
    background-size: contain;
    background-color: #000;
    /* width: 100vw; */
  }
  .maintext {
    visibility: hidden;
  }
  .bigbutton {
    visibility: hidden;
  }
}

@media (max-width: 700px) {
  .items {
    grid-template-columns: 1fr;

    background-size: auto cover;
  }
}

video {
  max-width: 100%;
  height: auto;
}
/* test */
