/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
html{
  cursor: url("/assets/cursor.png"), auto;
}

body {
  background-image: url("/assets/kratka.jpg");
  color: black;
  font-family: Comic Sans MS;
  min-height: 100vh;
}

a,
a:hover,
a:active,
a:visited {
    cursor: url("/assets/cursor.png"), auto;
}

#wrapper{
  width: 70%;
  background-color: #FFECB3;
  margin-right: auto;
  margin-left: 10%;
  padding-left: 0.5%;
  padding-right: 0.5%;
}
#logo{
  position: fixed;
  z-index: 1000;
  left: 1.5%;
  top: 1%;
  
}
  
#menu{
  z-index: 1000;
  position: fixed;
  left: 0;
  top: 13%;
  width: 9%;
  padding: 10px 0;
}

.menu{
  color: white;
  display: block;
  text-decoration: none;
  background-image: url("/assets/tartan.jpg");
  background-size: cover;
  font-size: 20px;
  margin: 10px;
  transform: translateY(0);
  transition: all 0.3s ease;
  border-radius: 10px;
}

.menu:hover{
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.menuAktywne{
  color: white;
  display: block;
  text-decoration: underline wavy white;
  background-image: url("/assets/tartan.jpg");
  background-size: cover;
  font-size: 20px;
  margin: 0 10px;
  border-radius: 10px;
}

#rightSideBar{
  position: absolute;
  right: 3%;
  top: 5%;
  width: 15.6%;
  display: flex;
  flex-direction: column;
  background-color: #018141;
}

#changelog{
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
  z-index: 1000;
  height: 500px;
  overflow-y: auto;
  font-size: 14px;
  background-image: url("/assets/ramka_changelog.png");
  background-repeat: no-repeat;
  background-size: 300px 500px;
}

#sociale{
  color: white;
}

.przyciskSocialny{
  background-image: url("/assets/papier.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 5px;
  transition: all 0.3s ease;
  transform: translateY(0px);
}

.przyciskSocialny:hover{
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.przyciskSocialny a{
  text-decoration: none;
  color: black;
}
#404{
  width: 1550px;
  background-color: #FFECB3;
  margin-right: auto;
  margin-left: auto;
}

#zainteresowania{
  background-image: url("/assets/karton.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 5px;
}

#muzyka{
  background-image: url("/assets/deska.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}

.przepisy{
  display: grid;
  grid-template-columns: repeat(auto-fit, 400px);
  column-gap: 15px;
  margin: 0 auto;
}

.przyciskPrzepisowy{
  display: block;
  background-image: url("/assets/papier.jpg");
  background-size: cover;
  overflow: hidden;
  text-decoration: none;
  color: black;
  border-radius: 5px;
  transition: all 0.3s ease;
  transform: translateY(0);
  margin-bottom: 15px;
}

.przyciskPrzepisowy:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.przyciskPrzepisowy img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.listaPrzepisowa{
  list-style: none;
  background-image: url("/assets/papier.jpg");
  background-size: cover;
  border-radius: 10px;
}

.listaPrzepisowa li {
  position: relative;
  margin-bottom: 10px;
  font-size: 18px;
}

.listaPrzepisowa li::before{
  content: "📌";
  position: absolute;
  left: -30px;
}

.przygotowanie{
  background-image: url("/assets/papier.jpg");
  background-size: cover;
  font-size: 18px;
}

.infoODaniu{
  position: absolute;
  z-index: 1000;
  right: 3%;
  top: 5%;
  width: 15.6%;
  display: flex;
  flex-direction: column;
  background-image: url("/assets/karton.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding-left: 0.5%;
  border-radius: 5px;
}

#mikroBlogi{
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  background-image: url("/assets/siano.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  padding: 15px 0;
}

.mikroblogowyPost{
  height: 200px;
  width: 50%;
  overflow-y: auto;
  background-image: url("/assets/deska.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 15px;
}

.mikroblogowyTytul{
  padding-left: 0.2%;
  margin: 0;
  border-bottom: 2px dotted blue;
}

@media (max-width: 768px) {

  body{
    font-family: Comic Sans MS;
  }
  #menu {
    padding: 15px 0;
    display: flex;            /* flex, żeby linki były w kolumnie */
    flex-direction: column;    /*linki jeden pod drugim */
    text-align: center;
  }
  #wrapper{
    width: 700px;
  }
  #rightSideBar{
    position: absolute;
    display: flex;
    flex-direction: column;
    right: 0;
    top: 5%;
    width: 10%;
  }
  #changelog{
    z-index: 1000;
    position: absolute;
    left: 40%;
    top: 25px;
    height: 150px;
  }
  
  .przygotowanie{
    font-size: 24px;
  }
  .menu,
  .menuAktywne {
    display: block;
    width: 100%;
    margin: 8px auto;         /* ładne odstępy i wyśrodkowanie */
    padding: 9px 10px;
    font-size: 24px;
    border-radius: 20px;      /* zaokrąglone rogi*/
  }

  /* delikatny cień dla głębi */
  .menu:hover,
  .menuAktywne:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s;
  }
}