/* Nastavenie hladkeho posúvania a vysky stranky */
html {
    scroll-behavior: smooth; 
    height: 100%; 
}

/* Rozlozenie, pozadie a styl textu */
body {
    display: flex;           
    flex-direction: column;
    min-height: 100vh;      
    margin: 0;
    font-family: Arial, sans-serif;
    color: #000000;            
    background-image: url(../images/4394.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Hlavna hlavicka stranky */
.header-main {
    display: flex;
    flex-direction: column;
    background-color: red;
    padding: 5px 10px;
}

/* Hlavny nadpis */
h1 {
    font-weight: bold;
}

/* Logo a nazov stranky */
.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo */
img.logo-image {
    width: 80px;
    border-radius: 10px;
    float: left;
    margin: 0 10px;
    padding-bottom: 2px;
}

/* Nazov stranky */
#site-title {
    color: rgb(255, 255, 255);
    margin: 0;
}

/* Horizontalne menu */
.navigation {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    padding-left: 60px;
}

.navigation a {
    color: black;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s;
}

.navigation a:hover {
    background-color: #cb0505; 
    color: #000;
    transform: scale(1.05);
}

.navigation a.active {
    background-color: #ff0000;
    color: #000;
}

/* Hlavny kontajner s obsahom */
.main-container {
    flex: 1;                
    margin: 20px 200px;
    background-color: rgba(135, 3, 3, 0.9);
    border-radius: 10px;
    padding: 20px;
}

/* Rozbalovacie casti obsahu */
details {
    background-color: #a20909;
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0;
    transition: all 0.3s;
}

details:hover {
    background: rgba(236, 0, 0, 0.2);
    transform: scale(1.01);
}

summary {
    font-weight: bold;
    cursor: pointer;
}

/* Tabulka s obrazkami */
table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 20px;
    overflow: hidden;
    background-image: url("../images/background.webp");
    background-position: center;
    background-size: cover;
}

th, td {
    padding: 10px;
    text-align: center;
    color: #fff;
    background-color: rgba(0,0,0,0.5);
}

tr:hover {
    background-color: rgba(255,0,0,0.5);
}


table td img {
    width: 80px;
    border-radius: 10px;
    transition: transform 0.3s;
}

table td img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Vsetky obrazky (konfiguracia) */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
}

.trophie_photo {
    width: 300px;
    height: 300px;
}

.stadium {
    width: 400px;
}

.harry_main_page {
    width: 200px;
}

.muller_ph {
    width: 200px;
}

.sepp_ph {
    width: 200px;
}

.lothar_ph {
    width: 200px;
}

.lahm_ph {
    width: 200px;
}

.players img {
    width: 120px;
}

.legend img {
    width: 200px;
}

.manuel_ph {
    width: 200px;
}

.robert_ph {
    width: 200px;
}

.players_konf img {
    width: 120px;
    height: 150px;
}

img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Spodna cast stranky */
footer {
    text-align: center;
    padding: 10px;
    background-color: red;
    color: #000;
    margin-top: auto; 
}

/* Medzery medzi castami obsahu */
aside, section, article {
    margin-top: 20px;
}

/* Audio a video subory */
video {
    width: 400px;
    height: 240px;
    display: block;
    margin: 10px 250px;
    border-radius: 10px;
}

audio {
    max-width: 100%;
    display: block;
    margin: 10px 250px;
}

/* Tlacidlo na index.php */
a.home-link {
    display: inline-block;
    padding: 8px 12px;
    background-color: #ff0000;
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

a.home-link:hover {
    transform: scale(1.05);
    background-color: #97000091;
    color: black;
}

/* Rozbalovacie casti pre hracov */
article.players details {
    display: block;
    background-color: #a20909;
    border-radius: 10px;
    padding: 10px;
    margin: 10px 150px;
    transition: all 0.3s;
}

article.players img {
    display: flex;
    transition: all 0.3s;
    margin-left: 40%;
}

/* Image map cursor */
map {
    display: block;
    border-radius: 10px;
}

area {
    cursor: pointer;
}

iframe {
    display: flex;
    border-radius: 10px;
}


body
{
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
}



header
{
    background-color: darkred;
    color: white;
    padding: 10px;
    text-align: center;
}

h1, h2
{
    color: darkred;
}



a
{
    text-decoration: none;
    color: blue;
    font-weight: bold;
}

a:hover
{
    color: red;
}


.container
{
    width: 800px;
    margin: auto;
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    margin-top: 20px;
}


form
{
    width: 300px;
    padding: 15px;
    background-color: #eeeeee;
    border: 1px solid black;
    margin-top: 10px;
}

input
{
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
}

input[type=submit]
{
    background-color: darkred;
    color: white;
    border: none;
    cursor: pointer;
}

input[type=submit]:hover
{
    background-color: red;
}



table
{
    border-collapse: collapse;
    width: 100%;
    margin-top: 10px;
}

td, th
{
    border: 1px solid black;
    padding: 5px;
    text-align: center;
}

th
{
    background-color: darkred;
    color: white;
}



.button
{
    background-color: darkred;
    color: white;
    padding: 5px;
    border: none;
}

.button:hover
{
    background-color: red;
}

.menu
{
    background-color: #222;
    padding: 10px;
}

.menu a
{
    color: white;
    margin-right: 10px;
}

.menu a:hover
{
    color: red;
}


footer
{
    background-color: darkred;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

table
{
    border-collapse: collapse;
}

td,th
{
    border:1px solid black;
    padding:5px;
}

.header-players {
    display: flex;
    justify-content: center;
}

.players_d a {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    color: black;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.4s;
}

.players_d a:hover {
    background-color: #cb0505;
    color: #000;
    transform: scale(1.08);
}

.player-form {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.player-form form {
    border-radius: 10px;
}

.player-form input {
    border-radius: 10px;
}


.btn {
    display: inline-block;
    padding: 10px 18px;
    margin: 5px;
    text-decoration: none;
    color: white;
    background-color: #7b7b7b;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.2s;
}

.btn:hover {
    background-color: #6f6f6f;
}


.btn-add {
    background-color: #6a6a6a;
}

.btn-add:hover {
    background-color: #6a6a6a;
}


.btn-search {
    background-color: #6c6c6c;
    color: black;
}

.btn-search:hover {
    background-color: #5c5c5c;
}
