@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

:root {
  --primary-color: #e0bf9c;
  --text-color: #37282d;
  --background-color: #e8e8e8;
  --padding: 15px;
  --margin: 15px;
  --raudis: 10px;
  --font-size: 1em;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  height: 100vh;
  direction: rtl;
  background-color: var(--background-color);
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.gototop a i {
  height: 50px;
  display: table-cell;
  vertical-align: middle;
  color: var(--text-color) !important;
}

.gototop a {
  width: 50px;
  height: 50px;
  display: table;
  background: rgba(0, 0, 0, 0.359);
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
}

.gototop {
  position: fixed;
  bottom: -20px;
  z-index: 9999999;
  visibility: hidden;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
}

.gototop.active {
  opacity: 1;
  visibility: visible;
  bottom: 20px;
}
.gototop {
  right: 20px;
}
.gototop {
  opacity: 0;
}

@media screen and (max-width: 600px) {
  main {
    padding: 0 10px !important;
  }
  header {
    padding: 0 10px !important;
  }
}
