/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background: #ffdab9;
    color: #333;
    padding: 10px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 5px 0 15px;
    font-size: 1.2rem;
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin: 0 10px;
}

header nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Section Styles */
.section {
    padding: 20px 10px;
    margin: 20px 0;
    background: #fff5e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section h2 {
    text-align: center;
    color: #ff4500;
    margin-bottom: 20px;
}

.section p {
    margin: 0 20px;
}

.section a {
    color: #ff4500;
    text-decoration: none;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background: #ffe4c4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
	max-width: 90%;	
    display: flex;
    flex-direction: column; /* Umožní zarovnat logo a text vertikálně */
    align-items: center;
    position: relative;
}

.card .logo-container {
	max-height: 100px; /* Maximální výška loga */
	max-width: 100%;
}

.card .logo-container img {
	max-height: 100%;
	object-fit: contain;
    margin-bottom: 15px;
    width: auto; /* Logo se přizpůsobí šířce */
}

.card h3 {
    margin-top: 20px;
}

.card p {
    font-size: 1rem;
    margin: 10px 0;
}

.card .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff4500;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
	width: 80%;
}

.card .btn:hover {
    background: #e63e00;
}

.game {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.game .logo {
	padding: 20px;
	width: 100px;
	display: flex;
    justify-content: center;
}

.game .logo img {
	max-width: 100%;
	object-fit: contain;
}

.game .info {
	display: flex;
	flex-direction: column;
}

/* Accordion Styles for Archive */
.accordion {
    background: #ffe4c4;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    padding: 15px 15px 5px 15px;
    cursor: pointer;
    transition: background 0.3s;
	width: 80%;
}

.accordion:hover {
    background: #ffdab9;
}

.accordion:after {
    content: '\002B';
    font-size: 1.2rem;
    float: right;
    transition: transform 0.3s;
}

.accordion.active:after {
    transform: rotate(45deg);
}

.panel {
    display: none;
    background: #fff5e6;
    overflow: hidden;
    padding: 10px 15px;
    border-top: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
	width: 80%;
}

.panel ul {
    list-style: none;
    padding: 0;
}

.panel ul li {
    padding: 5px 0;
}

.panel ul li a {
    color: #ff4500;
    text-decoration: none;
}

.panel ul li a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

footer a {
    color: #ff4500;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


@media only screen and (min-width: 600px) {
  .card {
    max-width: 500px;
  }
  
  .container {	  
    width: 90%;
  }
}

