@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

a {
  text-decoration: none;
}

:root {
  --font: #fff;
  --bg: #131313;
  --main: #da9e34;
}

body {
  width: 100vw;
  height: 136vh;
  font-size: 1rem;
  background: var(--bg);
  color: var(--font);
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

.container {
  width: 100vw;
  height: 100%;
  display: grid;
  grid-template-rows: 10vh 120vh 6vh;
  place-items: center;
}

::-webkit-scrollbar {
  width: 0.5vw;
}

::-webkit-scrollbar-track {
  background: #525252;
}

::-webkit-scrollbar-thumb {
  background: var(--main);
}

::-webkit-scrollbar-thumb:hover {
  background: #ab7b28;
}

nav {
  grid-row: 1;
  width: 60vw;
  height: 6vh;
  background: rgb(24, 24, 24);
  border-radius: 2vw;
  display: grid;
  grid-template-columns: 20% 30% 50%;
  place-items: center;
}

.menu {
  width: 1.5rem;
  grid-column: 3;
  display: none;
}

.logo {
  grid-column: 1;
  width: 100%;
  height: 6vh;
  background-image: url(../img/rsjoblogo.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.links {
  grid-column: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.links a {
  color: var(--font);
  margin-left: 1vw;
  position: relative;
  transition: 0.1s color linear;
}

.links a:hover {
  color: var(--main);
}

.links a:nth-child(1) {
  margin-left: 0;
}

.spacer {
  width: 0.1vw;
  height: 1rem;
  background: var(--main);
  margin-left: 1vw;
}

.lang {
  width: 1vw;
  height: 2vh;
  background: url(../img/pl.webp);
  background-position: center;
  background-size: cover;
  border-radius: 100%;
  overflow: hidden;
  grid-column: 4;
  display: grid;
  place-items: center;
}

.lang::after {
  content: "";
  width: 30%;
  height: 200%;
  position: absolute;
  left: -100%;
  top: 0;
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.2);
}

.lang:hover:after {
  animation: shine 0.3s linear;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes btn-shine {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.sm {
  display: flex;
  gap: 1vw;
  margin-left: 1vw;
}

.ic {
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  transition: 0.2s color ease-in-out;
}

.ic:hover {
  color: #da9e34;
}

.ic:active {
  color: #da9e34;
}
