html {
	cursor: url("Elements/ji.png"), default;
}

a, a:hover {
  cursor: url('Elements/cursor.png'), pointer;
}

body {
  color: black;
  font-family: Verdana;
  margin-left: 4%;
  margin-right: 4%;
}

header {
background-color: #fce6c7;
background-image: url("https://www.transparenttextures.com/patterns/white-paperboard.png");
	padding: 15px;
	text-align: center;
	margin-top: 18px;
	border-top-left-radius: 100px;
	border-top-right-radius: 100px;
  }

nav {
	float: left;
	width: 19%;
	padding: 5px;
	background:#f3d5b5;
	height: 1550px;
	position: relative;
}

nav a {
	text-decoration: none;
	color: #402710;
}

nav2 {
	float: right;
	width: 19%;
	padding: 5px;
	background:#f3d5b5;
	height: 1550px;
	position: relative;
}

.topnav {
	overflow: hidden;
	background-color: #fce6c7;
	margin: 0;
}

.topnav p {
	color: #5A3B1F;
}


article {
	padding:10px ;
	margin: 0 auto;
	background-color:cornsilk;
	height: 54%;
}

section::after {
	content: "";
	display: table;
	clear: both;
}

footer {
	text-align: center;
	background-color: #CCD5AE;
	height: 90px;
}

@media (max-width: 600px) {
  nav, article {
    width: 100%;
    height: auto;
  }
}


.double {
  border-style: double;
  color: #7f4f24;
}

ul {
  list-style-type:circle;
  line-height: 1.6;
  font-family: "Darker Grotesque", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}




.bottom-element {
  position: absolute;
  bottom: 0;
width: inherit;}





 .table {
    border: none;
    font-size: 20px;
    text-align:left;
  }

  .table td {
    padding: 10px;
  }

  .table td:first-child {
    font-weight: bold;
    color: darkgreen;
  }


.page { display: none; }
    .active { display: block; }



.custom-border {
  display: inline-block;   /* szerokość = tekst */
  position: relative;
  padding: 3px 8px;
}

/* Górna linia */
.custom-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-top: 2px dashed #DF9628;
	border-radius: 25px;
}

/* Lewy bok */
.custom-border .left {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 50%;
  border-left: 2px dashed #DF9628;
	border-radius: 25px;
}

/* Prawy bok */
.custom-border .right {
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 50%;
  border-right: 2px dashed #DF9628;
	border-radius: 25px;
}

fieldset {
  background-color: #FBF6F0;
  border: 2px dashed #DF9628;
  border-radius: 10px;
  padding: 12px 8px 8px 5px;
  line-height: normal;
  text-align: center;  /* treść fieldset wyśrodkowana */
}

legend {
  padding: 0;
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  border-radius: 5px;
  color: #7F5539;
  background: #FBF6F0;
}

h3{
  font-family: "Poiret One", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 32px;
  color: #7F5539;
  text-align: center;
}


p {
  margin: 0;        /* wyłącza dziwne marginesy */
  font-family: "Darker Grotesque", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;

}



@keyframes slide {
			from {
				transform: translateX(0);}
			to{
				transform: translateX(-100%);}
		}
		
		.logos {
			overflow: hidden;
			padding: 10px 0;
			background-color: #E9EDC9;
			white-space: nowrap;
			position: relative;
		}
		
		.logos:before,
		.logos:after {
			position: absolute;
			top: 0;
			width: 250px;
			height: 100%;
			content: "";
			z-index: 2;

		}
		
		.logos:before {
			left: 0;

			background: linear-gradient(to left, transparent, beige);

		}
		
		.logos:after {
			right: 0;

			background: linear-gradient(to right, transparent, beige);

		}
		
	.logos:hover .logos-slide {
			
			animation-play-state: paused;
}
		
		.logos-slide {
			animation: 7s slide infinite linear;
			display: inline-block;
		}
		
		.logos-slide img {
			height: 35px;
			margin: 0 10px;
		}


.box {
	background-color: #FBF6F0;
	border: 2px inset #DF9628;
	border-style: dashed;
	border-radius: 10px;
	padding: 12px 5px 12px 5px;
	margin: 5px;
	position:relative;
	text-align: center;
	line-height: normal;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
	overflow: auto;
}


.box .title {
  position: absolute;
  top: -12px; 
  right: 10px; 
  background: transparent;
  font-weight: bold;
  padding: 0 10px;
}

.box li {
	color: #7F5539;
	list-style: outside;
}




.update {
	     background-color: #FBF6F0;
         border: 2px inset #DF9628;
		 border-style: dashed;
		 border-radius: 10px;
         padding: 10px;
         height: 70px; 
         overflow: auto;
         text-align: left;
	     font-family: "Poiret One", sans-serif;   
}


.scroll::-webkit-scrollbar {
 width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background:#F9F0D7; 
  border-radius: 5px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background:#C29055; 
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #C7A272; 
}




details > summary {
	margin-left: 7px;
	margin-right: 7px;
	padding: 8px 12px;
	font-family: "Poiret One", sans-serif;
	font-size: 15px;
	border-bottom: 2px dashed #411B0B;
	border-radius: 1px;
	text-align: inherit;
	position: static;
}

details::details-content {
  opacity: 0;
  transition:
    opacity 0.2s,
    content-visibility 0.2s allow-discrete;
}

details[open]::details-content {
  opacity: 1;
}


details ::marker {
content: "";

}

details > ul {
	line-height: 2;
	padding: 8px 12px;
	font-family: "Poiret One", sans-serif;
	font-size: 14px;
	border-bottom: 2px dashed #411B0B;
	border-radius: 1px;
  	transition: 0.2s;

}

details > li a {
  display: block;
  color: #000;
  margin-bottom: 8px;
  padding: 16px;
  text-decoration: none;
  transition: 0.2s;
  
}


details > summary:hover{
	background-color: #C7A272;
    color: white;
    border-radius: 1px;
    padding-right: 10px;
    transition: 0.2s; 
}

details li a:hover {
	background-color: #C7A272;
    color: white;
    border-radius: 1px;
	padding: 5px 5px 5px 5px; 
	transition: background-color 0.2s, color 0.2s; 

}


.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;

}


.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
	
}



.menu {
	margin-left: 7px;
	margin-right: 7px;
	font-family: "Poiret One", sans-serif;
	font-size: 15px;
}

.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #f1f1f1;
  border: 2px dashed #C7A272;
  
}

.menu li a {
  display: block;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
}

.menu li {
  text-align: start;
  border-bottom: 2px dashed #48260A;
}

.menu li a:hover {
  background-color: #C7A272;
  color: white;
	border-radius: 1px;
	transition: 0.2s;
}


 .active, .menu li a:hover {
  background-color: #C7A272;
  color: white;
	border-radius: 1px;
	 
}

.img-side {
	display: flex;
	align-items: flex-start;
	gap: 15px;	
}

.img-side img {
	width: 150px;
	height: 150px;
}


.simple-container {
	display: flex;
	justify-content:space-around;
	border: 2px dashed red;
	margin: 10px 0;
}


.simple-box {
	background-color: azure;
	border: 2px dashed #230405;
	flex: 1;
	padding: 5px;
	margin: 10px 8px;
	position: relative;
	height: 350px;
	scroll-behavior: auto;
	line-height: normal;
	overflow: auto;

}