@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');
@import url(./colors.css);
@import url(./app.css);


/* BUTTONS */
button {
    background: #ffee00;
    color: #111;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
}

/* CONTAINER */
.container {
    padding: 2rem;

    & h1 {
        font-weight: bold;
        line-height: 140%;
        font-size: var(--step-5);
    }

    & > h2 {
        font-size: var(--step-1);
    }

    & span {
        background-color:#ffee00;
        color: black;
        font-weight: bold;
        padding: 0.25rem;

    }
	
	    margin-top: 2rem;
    background-color: var(--background-800);
    border-radius: 1rem;
    padding: clamp(0.5rem, 2vw, 2rem);
}

/* DASHBOARD */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    background-color: var(--background-800);
    border-radius: 1rem;
    padding: clamp(0.5rem, 2vw, 2rem);
}

.card {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap:1rem;
    background: var(--background-700);
    padding: 15px;
    border: 1px solid #333;
    border-radius: 0.5rem;
    box-shadow: 0 2px 7px var(--background-900);
}

.card h2 {
    margin-top: 0;
}
/* EVENTS GRID */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

/* TILE */
.event-tile {
    background: #222;
    border: 2px solid #333;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.event-tile:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px #ffee00;
}

/* IMAGE */
.event-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

/* CONTENT */
.event-content {
    padding: 15px;
}

.event-meta span {
    display: block;
    font-size: 14px;
    margin-top: 5px;
	max-width: 40%;
}

.event-alert {
    margin-top: 10px;
    padding: 6px;
    background: #ffee00;
    color: #111;
    font-weight: bold;
    border-radius: 5px;
}
form input, form textarea, form select {
    width: 100%;
    padding: 8px;
    margin: 6px 0;
    background: #111;
    border: 1px solid #333;
    color: #ffee00;
}

form button {
    margin-top: 10px;
    padding: 12px;
    width: 100%;
}
label {
    font-weight: bold; /* Tučný text pro důraz */
    margin-bottom: 5px; /* Malá mezera pod štítky */
}

.label-blue {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px; /* Zaoblené rohy */
    font-weight: bold;
    color: white; /* Text bílý */
    text-align: center;
    margin: 5px;
	background-color: blue;
	
}

.label-yellow {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px; /* Zaoblené rohy */
    font-weight: bold;
    color: black; /* Text bílý */
    text-align: center;
    margin: 5px;
	background-color: #ffee00;
	
	
}

.label-green {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px; /* Zaoblené rohy */
    font-weight: bold;
    color: white; /* Text bílý */
    text-align: center;
    margin: 5px;
	background-color: #2ecc71;
	
}

.label-red {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px; /* Zaoblené rohy */
    font-weight: bold;
    color: white; /* Text bílý */
    text-align: center;
    margin: 5px;
	background-color: #e74c3c;
	
}

.label-grey {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px; /* Zaoblené rohy */
    font-weight: bold;
    color: white; /* Text bílý */
    text-align: center;
    margin: 5px;
	background-color: #95a5a6;
	
}

.label-purple {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px; /* Zaoblené rohy */
    font-weight: bold;
    color: white; /* Text bílý */
    text-align: center;
    margin: 5px;
	background-color: purple;
	
}