/*
 Theme Name:     Snail Neve Child
 Template:       neve
 Version:        1.0.0
*/

@import url("../neve/style.css");

.race-track {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centruje tory wyścigowe */
    align-items: center;
	    background-image: url('https://snail.ventura-studio.de/wp-content/uploads/2024/09/race-background.jpg');
    background-size: cover; /* Dopasowanie obrazu do wielkości toru */
    background-position: center; /* Wycentrowanie obrazu */
    background-repeat: no-repeat; /* Wyłączenie powtarzania obrazu */
}

.lane {
    width: 90%;
    height: 50px;
    background-color: transparent; /* Przezroczyste tło */
    border-bottom: 5px dashed white; /* Przerywane obramowanie na dole */
    position: relative;
    margin: 5px 0; /* Zmniejszony margines między torami */
}

.lane:last-child {
    border-bottom: none; /* Usunięcie obramowania z ostatniego toru */
}


.snail {
    position: absolute;
    top: 10px;
    left: 0;
    width: 50px;
    height: 50px;
    background-image: url('https://snail.ventura-studio.de/wp-content/uploads/2024/09/snail-sample.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-indent: -9999px; /* Ukrycie tekstu */
    border-radius: 50%; /* Opcjonalnie: jeśli chcesz zaokrąglone rogi obrazka */
}

.race-info {
    width: 90%;
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.participant {
    margin-bottom: 10px;
}
.controls {
    width: 90%;
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    border-top: 2px solid #ccc;
    padding-top: 20px;
}

.actions {
    display: flex;
    flex-direction: column;
}

.action-button {
    padding: 10px 20px;
    margin-bottom: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.action-button:hover {
    background-color: #0056b3;
}

.inventory {
    flex-basis: 50%;
}

.inventory h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
}

.inventory-items {
    display: flex;
    justify-content: space-around;
}

.item {
    width: 80px;
    height: 80px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    border-radius: 10px;
}

.item:hover {
    background-color: #ddd;
}

