* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Arial;
}

body {
	background: rgb(7, 14, 19);
	overflow-x: hidden;
}

/*Strona glowna*/
#menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
	color: rgb(255, 255, 255);
    padding: 10px;
    background-color: rgb(7, 14, 19);
	border-bottom: 2px solid rgb(20, 25, 75);
	box-shadow: 0 0 20px rgba(20, 0, 90, .75);
}

.navigation {
    display: flex;
    align-items: center;
}

.link {
    color: rgb(255, 255, 255);
    text-decoration: none;
    margin: 0 10px;
	padding: 15px;
	transition: .1s all ease;
	font-weight: bold;
}

.link:hover {
	color: rgb(254, 140, 3);
    font-weight: bold;
}

#active {
	color: rgb(254, 140, 3);
	border-bottom: 5px solid rgb(254, 140, 3);
}

#skarbowka {
    width: 125px;
    height: auto;
}

#section {
	width: 100%;
	margin: 150px auto;
	display: flex;
	justify-content: center;
	align-items: center;
    flex-direction: column;
}

#cases {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, 200px);
	justify-content: center;
	gap: 30px;
	padding: 20px;
	background-color: rgb(7, 14, 19);
	list-style: none;
}

.case {
	width: 200px;
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background-color: rgb(7, 14, 19);
	box-shadow: 0 0 50px rgba(20, 0, 90, .75);
	transition: .2s all ease;
}

.case:hover {
	transform: scale(110%, 110%);
}

#footer {
	position: relative;
	bottom: 0;
	width: 100%;
	color: rgb(255, 255, 255);
	padding: 20px;
	text-align: center;
	background-color: rgb(7, 14, 19);
	border-top: 2px solid rgb(20, 25, 75);
	box-shadow: 0 0 20px rgba(20, 0, 90, .75);
}

#speech {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-direction: row;
	flex-wrap: wrap;
	margin-top: 30px;
}

.person {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.person_info {
	width: 200px;
    height: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.person_img {
	border-radius: 50%;
	width: 100px;
	height: 100px;
}

.person h4 {
	margin-top: 15px;
}


/*Skrzynki*/
#roll_background {
	position: relative;
	height: 150px;
	width: 1050px;
	margin-top: 15%;
	left: 50%;
    transform: translateX(-50%);
	overflow: hidden;
	border-radius: 10px;
	background-color: rgb(7, 14, 19);
	border: 2px solid rgb(28, 51, 68);
	box-shadow: 0 0 50px rgba(5, 83, 88, .75);
	z-index: 98;
}

#roll {
	position: relative;
	height: 150px;
	width: 7500px;
	list-style: none;
}

#roll_line {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 0;
	right: 50%;
	transform: translateX(50%);
	z-index: 99;
}

.item {
	position: absolute;
    width: 150px;
	height: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgb(7, 14, 19);
}

.item::after {
    bottom: 0;
    content: "";
    display: block;
    height: 50%;
    left: 0;
    margin: auto 0;
    position: absolute;
    top: 0;
    width: 1px;
	background: rgba(240,248,255,.5);
}

.win_item {
	position: relative;
    width: 150px;
	height: 150px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: rgb(255, 255, 255);
}

.image {
    width: 100px;
	margin: 5px;
    z-index: 2;
}

.buttons {
	margin-top: 75px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

#open, #open:active, #open:focus {
	outline: none;
	border: none;
}

#open {
	display: flex;
	height: 40px;
	padding: 15px;
	font-size: 16px;
	font-weight: bold;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	cursor: pointer;
	border-radius: 5px;
	background-color: rgb(254, 140, 3);
	color: rgb(14, 26, 35);
}

#open:hover, #open:active, #open:focus {
	background-color: rgb(14, 26, 35);
	color: rgb(254, 140, 3);
	box-shadow: 0 0 5px rgba(254, 140, 3, .75);
}

#info {
	margin: 150px 25%;
	display: flex;
	justify-content: center;
	align-items: center;
    flex-direction: column;
}

#item_info {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, 125px);
	justify-content: center;
	gap: 30px;
	padding: 20px;
	background-color: rgb(7, 14, 19);
	list-style: none;
	border: 2px solid rgb(20, 25, 75);
	border-radius: 15px;
	box-shadow: 0 0 10px rgba(20, 0, 90, .75);
}


/*Zmiana rozdzielczości*/
@media screen and (min-width: 1680px) {
	#item_info {
		width: 946px;
	}
}
