body, html
{
	width: 100%;
	height: 100%;
	padding: 0px;
	margin: 0px;
	overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
}

.wrapper
{
	width: 100%;
	height: 100%;
}

.canvas
{
	width: 100%;
	height: 100%;
	background: #000;
}

.pickMenu{
    height: 100%;
    background-color: #e8e806e8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.garage{
    height: 100%;
    background-color: #e8e806e8;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.header{
    width: 100%;
    background-color: #e8e806e8;
    font-family: "Comic Sans MS", cursive, sans-serif;
    text-align: center;
	font-size: 60px;
	font-weight: bold;
}

.player1{
    width: 50%;
    float: left;
    font-family: "Comic Sans MS", cursive, sans-serif;
    text-align: center;
	font-size: 30px;
	font-weight: bold;
}

.player2{
    width: 50%;
    float: right;
    font-family: "Comic Sans MS", cursive, sans-serif;
    text-align: center;
	font-size: 30px;
	font-weight: bold;
}

.item{
    width: 25%;
}
.item:hover{
    transform: scale(1.3);
    transition: 0.3s;
}

.item:hover p{
    opacity: 1;
    background: #06e88e;
    cursor: pointer;
}

p {
    opacity: 0;
    font-size: 30px;
    font-weight: 700;
    font-family: "Comic Sans MS", cursive, sans-serif;
    line-height: 50px;
    text-align: center;
    color: #fff;
    transition: .5s ease;
  }

.controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.back-button {
    z-index: 100;
}

#backToMenu {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #089cd3;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-family: "Comic Sans MS", cursive, sans-serif;
}

#backToMenu:hover {
    background-color: #0077a3;
}

.volume-control {
    font-family: "Comic Sans MS", cursive, sans-serif;
    color: #fff;
}

#volume {
    width: 150px;
}

.selected-car {
    transform: scale(1.5); 
}

.start-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#startGame {
    padding: 10px 20px;
    font-size: 22px;
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-family: "Comic Sans MS", cursive, sans-serif;
    transition: background-color 0.3s ease;
}

#startGame:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

#startGame:hover:not(:disabled) {
    background-color: #218838;
}

.info-container {
    width: 100%;
    height: 100%;
    background-color: #e8e806e8;
    font-size: 22px;
    line-height: 1.6;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    font-family: "Comic Sans MS", cursive, sans-serif;
    text-align: left;
}
