:root {
  --primary-color: rgb(255, 251, 0);
  --dark-text: rgb(77, 77, 77);
  --light-text: rgb(253, 239, 213);
  --background-dark: rgb(24, 24, 24);
  --background-drawer: rgb(29, 26, 27);
}

body {
  font-family: "Comfortaa", sans-serif;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3.75rem;
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  top: 0;
  left: 0;
}

#page-logo a {
  padding: 10px;
  font-family: "Oleo Script", sans-serif;
  color: rgb(245, 243, 160);
  font-size: 3.125rem;
  text-decoration: none;
  text-transform: uppercase; /*Made the writing all uppercase*/
  text-shadow: 1px 1px 2px rgb(0, 0, 0);
  background-color: transparent;
}

#page-logo a:hover,
#page-logo a:focus {
  color: rgb(245, 241, 33);
}

header ul {
  display: flex;
}

header li {
  margin-left: 1.25rem;
}

header a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.25rem;
  padding: 0.75rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: bolder;
  background-color: gray;
}

header nav a:hover,
header nav a:focus {
  color: var(--dark-text);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
}

.menu-btn {
  width: 3rem;
  height: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  display: none;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 0.1875rem;
  background-color: rgb(255, 251, 0);
}

/*----------------Side-Drawer-----------------*/
#side-drawer {
  width: 100%;
  height: 100%;
  background-color: var(--background-drawer);
  position: fixed;
  top: 0;
  left: 0;
  display: none;
}

#side-drawer:target {
  display: block;
}

#side-drawer header {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 5%;
}

#side-drawer ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 4rem;
  flex-direction: column;
  /* justify-content: center; */ /*Boylam için*/
  align-items: center; /*Enlem için*/
}

#side-drawer a {
  color: rgb(253, 239, 213);
}

#side-drawer li {
  margin: 1rem;
}

/*-----------------FOOTER---------------*/
footer {
  background: linear-gradient(70deg, rgb(24, 24, 24), rgb(25, 29, 29));
  padding: 2.25rem 0;
}

footer ul {
  display: flex;
  justify-content: center;
  /* padding: 40px; */
}

footer li {
  width: 5rem;
  height: 5rem;
  margin: 0 3.125rem;
}

footer img {
  width: 100%;
  height: 100%;
}

/*----------Media-Queries------------*/

@media (max-width: 48.5rem) {
  /*768px*/
  header {
    padding: 1rem 2rem;
    flex-wrap: nowrap;
  }

  header nav {
    display: none;
  }

  .menu-btn {
    display: flex;
  }
}

/*------- Styles for the noscript warning------- */

.noscript-warning {
  color: red;
  font-weight: bold;
  text-align: center;
  padding: 1rem;
  background-color: #ffe6e6;
  border: 1px solid red;
  margin: 2rem auto 0.5rem auto;
  border-radius: 5px;
}
