@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

@media (prefers-reduced-motion: no-preference) {
    * {
      scroll-behavior: smooth;
    }
  }

  * {
    box-sizing: border-box;
  }
  
  body {
    background-color: rgb(145, 145, 145);
    color: #1b1b32;
    font-family: Nunito, Helvetica;
    margin: 0;
    background-image: url("src/img/iqpuzzles_tlo.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
  
  header {
    width: 100%;
    height: 30px;
    background-color: rgb(107, 107, 107);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
  }
  /*
  #header-img {
    height: 90%;

  }
  */
  h1 {
    color: #f1be32;
    font-size: min(5vw, 1.2em);
    text-align: center;
  }

  .no-gap-p {
    margin-bottom: 0;
  }

  /*
  nav {
    width: 50%;
    max-width: 300px;
    height: 50px;
  }
  
  nav > ul {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: center;
    padding-inline-start: 0;
    margin-block: 0;
    height: 100%;
  }
  
  nav > ul > li {
    color: #dfdfe2;
    margin: 0 0.2rem;
    padding: 0.2rem;
    display: block;
  }
  
  nav > ul > li:hover {
    background-color: #dfdfe2;
    color: #1b1b32;
    cursor: pointer;
  }
  
  li > a {
    color: inherit;
    text-decoration: none;
  }
  */
.nav-am {
    margin: 5px;
    color: #343434;
    font-size: 15px;
    text-decoration: none;
    font-weight: 500;
}

.nav-am:hover {
    color: #0011ff;
    font-weight: 500;
}

.navbar-margin {
  margin: 10px;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.5);
    border-radius: 40px;
}

  main {
    padding-top: 5px;
  }
  /*
  section {
    width: 80%;
    margin: 0 auto 10px auto;
    max-width: 600px;
  }
  */
  h1,
  h2 {
    font-family: Nunito, Verdana, Tahoma;
  }
  
  h2 {
    border-bottom: 4px solid #dfdfe2;
    margin-top: 0px;
    padding-top: 60px;
    text-align: center;
  }
  /*
  .info {
    padding: 10px 0 0 5px;
    text-align: center;
  }
  */
  .formrow {
    margin-top: 30px;
    padding: 0px 15px;
  }
  /*
  input {
    font-size: 16px;
  }
  
  .info label, .info input {
    display: inline-block;
  }
  
  .info input {
    width: 50%;
    text-align: left;
  }
  
  .info label {
    width: 10%;
    min-width: 55px;
    text-align: right;
  }
  */
  p {
    margin-top: 5px;
    padding-left: 15px;
    font-size: 15px;
  }
  /*
  button {
    display: block;
    margin: 40px auto;
    width: 40%;
    padding: 15px;
    font-size: 23px;
    background: #d0d0d5;
    border: 3px solid #3b3b4f;
  }
  */
  .widget {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 10px;
  }
  .widget-main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    max-width: 95%;
    margin: 0 auto;
    padding: 5px 10px;
  }
  
  .lekcja-widget {
    width: 95%;
    max-width: 350px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    background-color: lightgray;
    text-align: center;
  }
  .lekcja-widget-main {
    width: 95%; /* Domyślnie dla małych ekranów */
    max-width: 800px;
    object-fit: cover;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    text-align: center;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.5);
  }

  /* Dla dużych ekranów */
@media (min-width: 1024px) {
  .lekcja-widget-main {
    width: 70%; /* Zmieniamy szerokość na 70% */
  }
}
  
  .widget::after {
    content: "";
    width: 350px;
  }

  footer {
    background-color: rgba(160, 164, 167);
    display: flex;
    justify-content: center;
  }
  
  footer,
  footer a {
    color: #343434;
  }

  .footer-margin {
    margin: 0 7px 3px;
      border-radius: 30px 30px 0 0;
  }
  
  address {
    text-align: center;
    padding: 0.3em;
  }
  /*
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
    */

/*
  .button-send {
    background-color: #c2fbd7;
   border-radius: 100px;
   box-shadow: rgba(44, 187, 99, .2) 0 -25px 18px -14px inset,rgba(44, 187, 99, .15) 0 1px 2px,rgba(44, 187, 99, .15) 0 2px 4px,rgba(44, 187, 99, .15) 0 4px 8px,rgba(44, 187, 99, .15) 0 8px 16px,rgba(44, 187, 99, .15) 0 16px 32px;
   color: green;
   cursor: pointer;
   font-family: CerebriSans-Regular,-apple-system,system-ui,Roboto,sans-serif;
    padding: 7px 20px;
   text-align: center;
   text-decoration: none;
    transition: all 250ms;
   border: 0;
    font-size: 16px;
   user-select: none;
   -webkit-user-select: none;
   touch-action: manipulation;
  }

  .button-send:hover {
    box-shadow: rgba(44,187,99,.35) 0 -25px 18px -14px inset,rgba(44,187,99,.25) 0 1px 2px,rgba(44,187,99,.25) 0 2px 4px,rgba(44,187,99,.25) 0 4px 8px,rgba(44,187,99,.25) 0 8px 16px,rgba(44,187,99,.25) 0 16px 32px;
   transform: scale(1.05) rotate(-1deg);
  }
*/
.outer-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
    }
    .papirus-svg {
      width: 90%;
      max-width: 700px;
      aspect-ratio: 6 / 6.5;
      background-image: url('src/img/papirus.png');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      position: relative;
      border-radius: 20px;
    }
        .svg-wrapper {
      position: absolute;
      top: 10%;
      left: 10%;
      width: 80%;
      height: 80%;
    }
  svg {
    width: 98%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    border: 0px;
}
.weight {
  fill: #ffcccb;
  stroke: #000;
  stroke-width: 2;
}
.text-math {
  font-family: 'Cambria Math', serif;
  font-size: 10px;
  fill: #000;
  text-anchor: middle;
}

.text-math-big {
  font-family: 'Cambria Math', serif;
  font-size: 25px;
  fill: #000;
  text-anchor: middle;
}

.beam {
  stroke: #000;
  stroke-width: 3;
}
.pivot {
  fill: #8b0000;
}

.tick {
  stroke: #000;
  stroke-width: 2;
}
.quote {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  font-style: italic;
  color: #555;
  line-height: 1.2;
  margin: 20px auto;
  max-width: 600px;
  padding: 20px 30px;
  border-left: 5px solid #0022ff;
  background-color: #edf0ff;
  border-radius: 10px;
}

/* zadanie 004 */
table {
  border-collapse: collapse;
  margin: 20px auto;
}
td {
  width: 30px;
  height: 30px;
  text-align: center;
  border: 1px solid black;
}
.tdzad6 {
  width: 50% !important;
  height: auto;
}
.red {
  background-color:rgb(255, 171, 171); /* Puste pola */
  border: 1px solid black;
}
.green {
  background-color:rgb(159, 255, 152); /* Puste pola */
  border: 1px solid black;
}
.gray {
  background-color:rgb(138, 138, 138); /* Puste pola */
  border: 1px solid black;
}
.filled {
  background-color: white;
  border: 1px solid black;
}
.border0 {
  border: 0px;
}
.ul004 {
  list-style-type: circle; /* Zmiana kropek na okręgi */
  margin: 20px;
  padding-left: 40px; /* Odstęp od lewej */
}
.li004 {
  text-align: left;
}

/* logowanie modal */
.user_cardl {
  height: 400px;
  width: 350px;
  margin-top: auto;
  margin-bottom: auto;
  background: #d5d5d5da;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 5px;
  border: none;

}
.brand_logo_containerl {
  position: absolute;
  height: 170px;
  width: 170px;
  top: -75px;
  border-radius: 50%;
  background: none;
  padding: 10px;
  text-align: center;
}
.brand_logol {
  height: 150px;
  width: 150px;
  border-radius: 50%;
  border: 0px;
}
.form_containerl {
  margin-top: 100px;
  border: none;
}
.login_btn {
  width: 100%;
  background: #006eff !important;
  color: white !important;
}
.login_btn:focus {
  box-shadow: none !important;
  outline: 0px !important;
}
.login_containerl {
  padding: 0 2rem;
}
.input-group-text {
  background: #006eff !important;
  color: white !important;
  border: 0 !important;
  border-radius: 0.25rem 0 0 0.25rem !important;
}
.input_user,
.input_pass:focus {
  box-shadow: none !important;
  outline: 0px !important;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
  background-color: #006eff !important;
}
.transparent-modall {
  background: none !important;
  border: none;
  box-shadow: none;
}
/* zadanie 7 */
.circle_zad7 {
  fill: none;
  stroke: black;
  stroke-width: 2;
}
.number_zad7 {
  font-family: Arial, sans-serif;
  font-size: 16px;
  text-anchor: middle;
  dominant-baseline: middle;
}
/* Egyptian style */
.egyptian-body {
  font-family: 'Papyrus', fantasy, sans-serif;
  color: #ffd9a8 !important;
  background-image: url('src/img/egipt_1.webp');
  background-size: contain;
  background-attachment: fixed;
  background-position: center;
  margin: 0;
  padding: 0;
}

.egyptian-puzzle {
  background-color: rgba(255, 250, 240, 0.9);
  border: 2px solid #A0522D;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 15px;
  max-width: 800px;
  margin: 30px auto;
}

.egyptian-header {
  background-color: #8B4513;
  color: #fffbe4 !important;
  text-align: center;
  padding: 10px;
  border-radius: 10px 10px 0 0;
}

.egyptian-table {
  margin: 20px auto;
  border-collapse: collapse;
}

.egyptian-td {
  width: 40px;
  height: 40px;
  text-align: center;
  border: 1px solid #4B2A00;
  font-size: 18px;
}

.egyptian-filled {
  background-color: #FFFACD;
}

.egyptian-card-footer {
  font-style: italic;
  color: #da8548;
  text-shadow: 1px 1px 2px #FFD700;
}
.egyptian-quote {
  color: #ffb948 !important;
  line-height: 1.2;
  margin: 20px auto;
  max-width: 600px;
  padding: 20px 30px;
  border-left: 5px solid #bf5f00;
  background-color: #5f30006c;
  border-radius: 10px;
}
.grid008 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.box008 {
  border: 2px solid blue;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  font-size: 32px;
  color: blue;
  font-weight: bold;
}
.digit008 {
  max-width: 40px;
  width: 40%;
  height: 50px;
}
.red008 {
  fill: red;
}
.blue008 {
  fill: blue;
}
.brick010 {
  fill: #f4a261;
  stroke: #000;
  stroke-width: 2;
}
.text010 {
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-anchor: middle;
}
.text011 {
  font-family: Arial, sans-serif;
  font-size: 8px;
  text-anchor: middle;
}