@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body{margin: 0; background-color: black;}
header, nav, main, footer, article{
    width: 99,9%;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid black;
    border-radius: 5px 5px 5px 5px;
}
header, nav, footer{
    font-family: "Quicksand", sans-serif;
    text-align: center;
}
#stats{
      display: flex;
        justify-content: space-around;
}
main {
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

section{
    padding: 3px 3px 3px 3px;
    border: 2px solid black;
    border-radius: 5px 5px 5px 5px;
    width: 250px;
    text-align: center;
}

section > h3 {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-style: normal;
}

section > p {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: italic;
}

section > img {
    width: 100%;
    border-radius: 2px 2px 2px 2px;
}
button {
    width: 100%;
    font-family: "Quicksand", sans-serif;
    font-weight: 800;
    font-size: 14pt;
    background-color: whitesmoke;
    color: black;
    border-radius: 2px 2px 2px 2px;
}
header, footer{
    background-color: #232323;
    color: whitesmoke;
}
main{background-color: black;}
section{background-color: wheat;}
nav{
    background-color: aquamarine;
}
#info{
    background-color: red;
    color: white;
}

article{
    font-family: "Courier Prime", monospace;
    font-weight: 400;
    font-style: normal;
    text-align: justify;
    border: 2px solid black;
    width: 98%;
    background-color: whitesmoke;
    color: black;
}
article > h1 {
    text-align: center;
}
article > img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 98%;
    border: 3px solid black;
    border-radius: 5px 5px 5px 5px;
}
div{text-align: justify; width: 98%; margin-left: auto; margin-right: auto;}
div > img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    border: 3px solid black;
    border-radius: 5px 5px 5px 5px;
}
div > p{text-indent: 1em;}
div > table{width: 100%;}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    background-color: #ffffff; /* jasne tło */
    color: #333; /* ciemny tekst */
    font-family: "Quicksand", sans-serif;
    border-radius: 10px;
    overflow: hidden; /* zaokrąglenie dla całej tabeli */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

thead {
    background-color: #f4f4f4; /* nagłówek w jasnym szarym */
}

thead th {
    padding: 12px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    color: #222;
}

tbody td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

tbody tr:nth-child(even) {
    background-color: #fafafa; /* striped efekt */
}

tbody tr:hover {
    background-color: #f0f0f0; /* efekt hover */
    transition: background-color 0.3s ease;
}
