:root {
  --light-logo-text: #00ffff;
  --dark-logo-text: #1c1ca2;

  --dark-hover: #232323;
  --light-hover: #f5f5f5;
  --dark: #000;
  --light: #fff;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

h2 {
  margin-top: 1.5rem;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* UTILITY CLASSES */
.flex {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
#logo-text {
  font-size: 1.875rem;
  color: var(--dark-logo-text);
  font-weight: bold;
}

.container {
  max-width: 960px;
  margin: auto;
  /* margin: 2rem auto; */
}
nav#mobile-menu {
  /* display: none; */
}
nav#mobile-menu a {
  color: var(--dark);
  text-decoration: none;
  padding: 1rem;
  display: block;
}
nav#mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding-inline: 0;
}
nav#mobile-menu li {
  padding: 10px;
  list-style: none;
  width: 100vw;
  max-width: 100%;
}

nav#mobile-menu li a.active {
  font-weight: 900;
}

nav#mobile-menu li:hover {
  background-color: var(--light-hover);
  border-radius: 1rem;
}

.recipe {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.recipe ol {
  list-style: none;
}

.recipe ol li {
  counter-increment: item;
  margin-bottom: 1rem;
}
.recipe ol li::before {
  content: counter(item);
  /* counter-increment: item; */
  top: 2px;
  left: 0;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 3px;
  border-radius: 20%;
  background: #1c1ca218;
  color: var(--dark-logo-text);
  font-weight: bold;
  font-size: 13px;
  line-height: 24px;
  text-align: center;
  transform: translateY(-1px);
}

header {
  padding: 1rem;
}

.row {
  display: flex;
}
.col {
  display: flex;
  flex-direction: column;
}

.w-1\/2 {
  width: 50%;
}

article {
  padding: 1rem;
}

article img {
  max-width: 100%;
  width: 100%;
  border-radius: 1rem;
}
article table {
  text-align: left;
}
article table th,
td {
  padding: 0.25rem;
}
article .more-info {
  font-size: 1.5rem;
  color: #000;
  /* text-decoration: none; */
  margin-top: 1.5rem;
  margin-left: 0.25rem;
  display: block;
  font-weight: 500;
  margin-bottom: 2rem;
}

.row > div {
  padding: 1rem;
}

.reverse {
  flex-direction: row-reverse !important;
}

.w-1\/2 {
  width: 50%;
}

.float-left {
  float: left;
}

.clear {
  clear: both;
}

.text-center {
  text-align: center;
}

.p-3 {
  padding: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.m-0 {
  margin: 0;
}

.mt-3 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 2rem;
}

.block {
  display: block;
}

form * {
  padding: 0.5rem;
  margin: 0.5rem;
}

@media screen and (min-width: 768px) {
  /* tablet+ */
  .pc-row-reverse {
    flex-direction: row-reverse !important;
  }

  .row-md {
    flex-direction: row;
    display: flex;
  }

  nav#mobile-menu ul {
    flex-direction: row;
    align-items: center;
  }
  nav#mobile-menu li {
    width: auto;
    max-width: 100%;
  }

  .w-1\/2-pc {
    width: 50%;
  }
  .w-2\/3-pc {
    width: 66%;
  }
  article img {
    border-radius: 2rem;
    padding: 1rem;
  }
}
@media screen and (max-width: 960px) {
  /* omezení množství přebytečných prvků na tabletu/netbooku */
  .d-lg-none {
    display: none;
  }
}

/* DARKMODE styles */

.darkmode * {
  color: var(--light);
}
.darkmode {
  background: var(--dark);
}
.darkmode nav#mobile-menu li:hover {
  background-color: var(--dark-hover);
  border-radius: 1rem;
}
.darkmode nav#mobile-menu a {
  color: var(--light);
}
.darkmode .more-info {
  color: var(--light);
}
.darkmode input {
  background: var(--dark-hover);
}
.darkmode #logo-text {
  color: var(--light-logo-text);
}
.darkmode textarea,
.darkmode button,
.darkmode select {
  background: var(--dark-hover);
}
.darkmode .recipe ol li::before {
  content: counter(item);
  /* counter-increment: item; */
  top: 2px;
  left: 0;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 3px;
  border-radius: 20%;
  background: #00ffff23;
  color: var(--light-logo-text);
  font-weight: bold;
  font-size: 13px;
  line-height: 24px;
  text-align: center;
  transform: translateY(-1px);
}
