@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;900&display=swap");

:root {
  --maincolor: #202020;
  --fontcolor: #eeeeee;
}

* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-color: #202020;
}



a {
  text-decoration: none;
  color: #fff;
}
.nav {
  width: 100%;
  position: fixed;
  align-items: center;
  display: flex;
  justify-content: space-between;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  height: 70px;
  z-index: 1000;
}

.nav > .nav-header {
  display: inline;
}

.nav > .nav-header > .nav-title img{
  width: 4rem;
  position: absolute;
  left: 45px;
  top: 0;
}

.nav > .nav-btn {
  display: none;
}

.nav > .nav-links {
  padding-right: 6rem;
  display: flex;
  float: right;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  z-index: 9999;
}

.nav > .nav-links > a {
  display: inline-block;
  padding: 13px 10px 13px 10px;
  text-decoration: none;
  color: #fff;
}

.nav > .nav-links > a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.nav > #nav-check {
  display: none;
}



/* RESPONSİVE ////////////////////////////////////////////////////////////*/

@media (max-width: 800px) {
  .nav > .nav-header > .nav-title img{
    width: 3rem;
    top: 1rem;
    left: 25px;
  }
  .navContainer {
    background-position: center;
  }
  .nav > .nav-btn {
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 8px;
    z-index: 22;
  }
  .nav > .nav-btn > label {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 1rem;
  }

  .nav > .nav-btn > label > span {
    display: flex;
    flex-direction: column;
    width: 25px;
    height: 10px;
    border-top: 2px solid #eee;
  }

  .nav > .nav-btn > label > span:first-child {
    display: flex;
    flex-direction: column;
    width: 15px;
    height: 10px;
    border-top: 2px solid #eee;
  }
  .nav > .nav-links {
    position: absolute;
    display: flex;
    padding-right: 0;
    flex-direction: column;
    text-align: center;
    width: 100%;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 0;
    z-index: 10;
    left: 0px;
    background-color: #202020;
  }
  .nav > .nav-links > a {
    display: block;
    width: 100%;
    padding-bottom: 10px;
  }
  .nav > #nav-check:not(:checked) ~ .nav-links {
    height: 0px;
  }
  .nav > #nav-check:checked ~ .nav-links {
    height: calc(50vh - 50px);
    overflow-y: auto;
  }
}
