@import url("https://fonts.googleapis.com/css?family=Oxygen:400,700");
*,
*:before,
*:after {
  transform-origin: top left;
  transform-style: preserve-3d;
  perspective-origin: top left;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scroll: touch;
}

html,
body {

  width: 100vw;
  height: 100vh;
  background-color: #008000;
  transform-style: flat;
  transform: none;
}

body {

  margin: 0;
  color: #f0f0f0;
  font: normal 16px/1.4 "Oxygen", BlinkMacSystemFont, -apple-system, "Roboto", "Helvetica Neue", sans-serif;
  overflow-x: hidden;
  overflow-y: hidden;
  opacity: 0;
  animation: bodyIn 0.75s ease-in 0.5s forwards;
}

a {
  color: #fff;
  text-decoration: none;
}

p a {
  border-bottom: 1px solid #fff;
}

header {
  position: absolute;
  top: 5vh;
  left: 5vw;
  transform: translateZ(6px);
}
header svg {
  width: 60px;
}

.back {
  position: absolute;
  right: 5vw;
  top: 5vh;
  line-height: 36px;
  transform: translateZ(1px);
  overflow: hidden;
  padding: 12px 0;
}
.back a {
  display: inline-block;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.86, 0, 0.07, 1) 0.5s;
  padding: 0 1em;
}
.back a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 227, 0, 0.5);
  transform: translateX(100%) translateZ(-1px);
  transition: transform 0.1s cubic-bezier(0.86, 0, 0.07, 1) 0s;
}
.back a:hover::before {
  transform: translateX(0) translateZ(-1px);
}

.opened .back a {
  transform: translateX(0);
}

.back2 {
  /*position: absolute;
  right: 5vw;*/
  top: 5vh;
  line-height: 36px;
  transform: translateZ(1px);
  overflow: hidden;
  padding: 12px 0;
  
}
.back2 a {
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.25s cubic-bezier(0.86, 0, 0.07, 1) 0.5s;
  padding: 0 1em;
}
.back2 a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 227, 0, 0.5);
  transform: translateX(0) translateZ(-1px);
  transition: transform 0.1s cubic-bezier(0.86, 0, 0.07, 1) 0s;
}
.back2 a:hover::before {
  transform: translateX(100%) translateZ(-1px);
}

.opened .back2 a {
  transform: translateX(100%);
  /*display: none;*/
}

.closed .back2 a {
  transform: translateX(0);
  /*display: none;*/
}



#nav_menu{
  display: flex;
  align-items: center;
}

.color-4 {
  background: #008000;
}

.logo{
  float: left;
  height: auto;
  width: 200px;
  padding: 5px;
  position: relative;
}

.logo_dropdown{
  display: none;
  float: left;
  height: auto;
  width: 200px;
  padding: 5px;
  position: relative;
}


nav #next, nav #prev {
  width: 20vw;
  height: 100vh;
  background: none;
  border: none;
  position: absolute;
  color: transparent;
  outline: none;
}
nav #prev {
  cursor: url(../left.png), auto;
  transform: translateZ(3px);
}
nav #next {
  cursor: url(../right.png), auto;
  transform: translateX(80vw) translateZ(3px);
}


.opened nav {
  display: none;
}

aside {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 12vw;
  text-align: center;
  line-height: 100vh;
  color: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  transform: translateZ(0);
}

main {
  display: block;
  height: 100%;
  user-select: none;
  text-size-adjust: none;
}

section {
  display: flex;
  align-items: center;
  height: 100%;
  transform: translateX(20vw);
  transition: transform 0.75s cubic-bezier(0.86, 0, 0.07, 1) 0.25s;
}

.item {
  width: 60vw;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.item.active {
  overflow: visible;
}

.opened .item:not(.active) {
  visibility: hidden;
  transition: visibility 0.75s cubic-bezier(0.86, 0, 0.07, 1) 0s;
}

.thumbnail {
  transform: translateZ(1px);
}

.background {
  width: 80%;
  margin: 0 10%;
  padding-top: 45%;
  background-color: #3A506B;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transform-origin: center;
}

.heading {
  position: absolute;
  height: 7vw;
  top: 0;
  overflow: hidden;
  width: 100%;
  transform: translateY(200%) translateZ(1px);
}
.heading a {
  color: #fff;
  cursor: pointer;
  margin: 0;
  line-height: 7vw;
  font-size: 5vw;
  font-weight: 700;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.25);
  display: block;
  text-decoration: none;
}

.active .heading a {
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1) 0.75s;
}

article {
  position: absolute;
  top: 7vw;
  width: 100%;
  opacity: 0;
}
article::before {
  content: "";
  width: 60px;
  background-color: white;
  height: 2px;
  display: inline-block;
  margin: 3em 0 0;
  transform: scaleX(0);
  transform-origin: top left;
}
article h1 {
  font-size: 7vw;
  line-height: 1.5;
  margin: 0;
}
article h1 a::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: white;
  transform: scaleX(0);
  margin: 1em 0 0;
}
article p {
  margin: 2em 0;
  font-size: 15px;
  line-height: 1.5;
  max-width: 500px;
}
article img {
  max-width: 100%;
}
article h1, article p, article img, article .youtube {
  transform: translateY(10vh);
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1) 0.25s;
}

.youtube {
  position: relative;
  padding-bottom: 65.25%;
  padding-top: 30px;
  height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: solid black 1px;
  margin: 2em 0;
}
.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.agrobuisness .background {
  background-image: url("../img/header4.webp");
}

.ken-dala .background {
  background-image: url("../img/ken_dala.webp");
}

.sybaga .background {
  background-image: url("../img/header6.webp");
}

.isker .background {
  background-image: url("../img/isker.webp");
}

.agroteh .background {
  background-image: url("../img/agroteh.webp");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .agrobuisness .background {
    background-image: url("../img/header4.webp");
  }

  .ken-dala .background {
    background-image: url("../img/ken_dala.webp");
  }

  .sybaga .background {
    background-image: url("../img/header6.webp");
  }

  .isker .background {
    background-image: url("../img/isker.webp");
  }

  .agroteh .background {
    background-image: url("../img/agroteh.webp");
  }
}
@media screen and (min-width: 768px) {
  article h1 {
    display: none;
  }

  .opened #prev, .opened #next {
    display: none;
  }
  .opened .background {
    animation: rollup 0.75s cubic-bezier(0.86, 0, 0.07, 1) 0s forwards;
  }
  .opened .active .heading {
    animation: headingUp 0.75s cubic-bezier(0.86, 0, 0.07, 1) 0s forwards;
  }
  .opened .active article {
    animation: articleIn 0.75s cubic-bezier(0.86, 0, 0.07, 1) 0.25s forwards;
  }
  .opened .active article::before {
    animation: slideIn 0.5s cubic-bezier(0.86, 0, 0.07, 1) 0.75s forwards;
  }
  .opened .active article h1, .opened .active article p, .opened .active article img, .opened .active article .youtube {
    transform: translateY(0);
  }

  .closed .background {
    opacity: 0;
    transform: scale(1);
    animation: rolldown 0.5s cubic-bezier(0.86, 0, 0.07, 1) 1s forwards;
  }
  .closed .active .heading {
    transform: translateY(0);
    animation: headingDown 0.5s cubic-bezier(0.86, 0, 0.07, 1) 0.75s forwards;
  }
  .closed .active article {
    opacity: 1;
    transform: translateY(0);
    animation: articleOut 0.5s cubic-bezier(0.86, 0, 0.07, 1) 0.25s forwards;
  }
  .closed .active article::before {
    transform: scaleX(1);
    animation: slideOut 0.5s cubic-bezier(0.86, 0, 0.07, 1) 0s forwards;
  }
}
@media screen and (max-width: 767px) {
  nav {
    display: none;
  }

  header {
    top: 3vh;
    left: 2em;
  }
  header img {
    width: 50px;
  }

  .back {
    top: 3vh;
    right: 2em;
    line-height: 40px;
  }

  section {
    transform: translateX(0);
  }

  .item {
    width: 100%;
    height: 100%;
  }

  .thumbnail {
    transform: translateY(12.5vh) translateX(12.5vw) translateZ(1px);
    height: 75vh;
    width: 75vw;
  }

  .background {
    width: 90%;
    height: 100%;
    padding-top: 0;
    margin: 0 auto;
  }

  .heading {
    transform: translateY(calc(45vh - 13vw)) translateZ(1px);
    height: 13vw;
  }
  .heading a {
    font-size: 10vw;
    line-height: 13vw;
    transform: translateY(0);
  }

  article {
    padding: 2em;
    top: 0;
  }
  article::before {
    content: none;
  }

  .opened .heading {
    transform: translateY(calc(-97vh + 9vw)) translateZ(1px);
    text-align: left;
    padding-left: 2em;
  }
  .opened .active .heading {
    animation: none;
  }
  .opened .active .thumbnail {
    animation: thumbnailOut 0.5s cubic-bezier(0.86, 0, 0.07, 1) 0s forwards;
  }
  .opened .active article {
    animation: articleInMobile 0.75s cubic-bezier(0.86, 0, 0.07, 1) 0.25s forwards;
  }
  .opened .active article h1 a::after {
    animation: slideIn 0.5s cubic-bezier(0.86, 0, 0.07, 1) 0.75s forwards;
  }
  .opened .active article h1, .opened .active article p, .opened .active article img, .opened .active article .youtube {
    transform: translateY(0);
  }

  .closed .active .thumbnail {
    opacity: 0;
    animation: thumbnailIn 0.5s cubic-bezier(0.86, 0, 0.07, 1) 0.75s forwards;
  }
  .closed .active article {
    opacity: 1;
    transform: translateY(calc(3vh + 50px));
    animation: articleOutMobile 0.5s cubic-bezier(0.86, 0, 0.07, 1) 0.25s forwards;
  }
  .closed .active article h1 a::after {
    transform: scaleX(1);
    animation: slideOut 0.5s cubic-bezier(0.86, 0, 0.07, 1) 0s forwards;
  }
}
@keyframes rollup {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.5);
  }
}
@keyframes rolldown {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}
@keyframes headingUp {
  from {
    transform: translateY(200%) translateZ(1px);
  }
  to {
    transform: translateY(0) translateZ(1px);
  }
}
@keyframes headingDown {
  from {
    transform: translateY(0) translateZ(1px);
  }
  to {
    transform: translateY(200%) translateZ(1px);
  }
}
@keyframes slideIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes slideOut {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
@keyframes articleIn {
  from {
    opacity: 0;
    transform: translateY(10vh);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes articleOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(10vh);
  }
}
@keyframes bodyIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes thumbnailOut {
  from {
    transform: translateY(12.5vh) translateX(12.5vw) translateZ(1px);
    opacity: 1;
  }
  to {
    transform: translateY(2.5vh) translateX(12.5vw) translateZ(0);
    opacity: 0;
  }
}
@keyframes thumbnailIn {
  from {
    transform: translateY(2.5vh) translateX(12.5vw) translateZ(0);
    opacity: 0;
  }
  to {
    transform: translateY(12.5vh) translateX(12.5vw) translateZ(1px);
    opacity: 1;
  }
}
@keyframes articleInMobile {
  from {
    opacity: 0;
    transform: translateY(15vh);
  }
  to {
    opacity: 1;
    transform: translateY(calc(3vh + 50px));
  }
}
@keyframes articleOutMobile {
  from {
    opacity: 1;
    transform: translateY(calc(3vh + 50px));
  }
  to {
    opacity: 0;
    transform: translateY(15vh);
  }
}

#customers {
  font-family: "Roboto" sans-serif;
  border-collapse: collapse;
  width: auto;
  margin-top: 50px;
}


#customers td, #customers th {
  border: 1px solid #ddd;
  padding: 8px;
}

#customers td{
  font-size: 20px;
  text-align: center;
}

#customers th {
  font-weight: 700;
  font-size: 25px;
}

/*#customers tr:nth-child(even){background-color: #f2f2f2;}*/

#customers tr:hover {background-color: rgba(255, 227, 0, 0.5);}

#customers th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  background-color: #FFE300;
  color: white;
}

/* If the screen size is 790px wide or more, set the font-size of <div> to 80px */
@media only screen and (min-width : 790px) {
    #customers th {
    font-size: 25px;
  }
}

/* If the screen size is 789px wide or less, set the font-size of <div> to 30px */
@media only screen and (max-width : 789px) {
  #customers th {
    font-size: 22px;
  }

  #customers td{
    font-size: 18px;

  }
}

/* If the screen size is 445px wide or less, set the font-size of <div> to 30px */
@media only screen and (max-width : 445px) {
  #customers th {
    font-size: 18px;
  }

  #customers td{
  font-size: 15px;
}
}

/* If the screen size is 385px wide or less, set the font-size of <div> to 30px */
@media only screen and (max-width : 385px) {
  #customers th {
    font-size: 15px;
  }
  #customers td{
  font-size: 12px;
}

article p {
  font-size: 12px;
 }
}


/* If the screen size is 331px wide or less, set the font-size of <div> to 30px */
@media only screen and (max-width : 331px) {
  #customers th {
    font-size: 13px;
  }
  #customers td{
  font-size: 10px;
}

article p {
  font-size: 10px;
 }
}

