/* globalne nastavenie font*/
body{
    /*font-family: Arial, Helvetica, sans-serif;
    font-size:15px;
    line-height:1.5;*/
    font: 15px/1.5 Arial, Helvetica, sans-serif; 
    padding:0;
    margin:0;
    background-color:#dfdcec;
}
/*Global*/
html {
    scroll-behavior: smooth; /*smooth scrollovanie - najmä pre button totop*/
}
.container{
    width:80%;
    margin:auto; /*centrovanie*/
    overflow:hidden; /*pretekanie*/
}
ul{
    margin:0;
    padding:0; /*odstránenie predvoleného*/
}
h4{
    display:inline;
    overflow:hidden;
    font-size: 24px;
}
/*mark vizuál*/
mark {
    background-color: #8eaec4;
    padding: 0.2em 0.4em;
    border-radius: 0.3em;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
/*Header*/
header .current a{
    padding: 10px;
    background-color: #993636;
    font-weight:bold;
    border-radius: 0.4em;
}
header{
    background:#2b5859; /*farba celej hlavy*/
    color:#ffff; /*farba písma*/
    padding-top:30px; /*priestor*/
    min-height:70px; /*minimálna výška*/
    border-bottom:#940d0d 4px solid; /*farba, veľkosť, typ dolného okraju*/
}
header a{
    color:#ffff; /*farba písma*/
    text-decoration:none; /*odstránenie podčiarknutia*/
    font-size: 16px;
}
header li{
    float:left; /*umiestnenie v ľavo*/
    display:inline; /*horizontalne zarovanie*/
    padding: 0 40px 0 20px; /*medzery medzi položkami*/
}
.nadpis {
    font-size: 24px; /*veľkosť písma*/
    text-decoration: none; /*odstránenie podčiarknutia*/
    text-transform: uppercase; /*zmena na uppercase*/
    /*štýl na nadpis - img "démonický šašo*/
}
.icon {
    width: 50px;
    height: 50px;
    margin-right: 8px; /*medzera*/
    vertical-align: middle; /*zarovnanie img s textom*/
}
@media (max-width: 768px) {/*prispôsobenie na menšiu obrazovku*/
    .icon {
        width: 40px; 
        height: 40px;
    }
    header li{
        padding:0 15px 0 10px;
    }
    header a{
        font-size:10px;
    }
    header .current a{
        padding: 3px;
        border-radius: 0.4em;
    }
}
header nav{/*podstranky*/
    float:right; /*umiestnenie*/
    margin-top:10px; /*posun položiek z topu*/ 
    text-transform: uppercase; /*zmení písmo na uppercase*/
}
header a:hover{/*pri prejdeni myškou*/
    color:#940d0d; /*farba*/
    font-weight:bold; /*hrubé písmo*/
    /*zmena pri prechode myšou*/
}
/*obsah*/
#obsah {/*kotva*/
    background-color: rgba(128, 27, 27, 0.4); /*pozadie s opacity*/
    padding: 1rem; /*vnútorný posun*/
    margin-bottom: 2rem; /*vzdialenosť pod sekciou*/
    float:left; /*umiestnenie*/
    border-radius: 0.5em; /*zaoblenie*/
}

#obsah li {
    margin: 0 15px; /*medzery*/
    display:inline; /*horizontálne*/
}

#obsah a {
    text-decoration: none; /*odstránenie podčiarknutia*/
    font-size: 18px; /*veľkosť písma*/
    color: #dfdcec; /*farba písma*/
}
@media (max-width: 1500px) {/*zmizne pri <1500px*/
    #obsah li:first-child {/*prvý link*/
        display: none;
    }
}
@media (max-width: 768px) {/*prispôsobenie na menšiu obrazovku*/
    #obsah{
        padding: 10px;
    }
    #obsah a{
        font-size: 10px;
    }
}
/*Showcase*/
#showcase{
    min-height:400px; /*minimálna veľkosť*/
    background:url('../images/pozadie.jpg') no-repeat center 0px;
    background-size:cover;
    text-align:center; /*centrovanie písma na stred*/
    color:#ffffff;
}
#showcase h1{
    font-size:60px; /*veľkosť písma nadpisu*/
    margin-bottom: 10px; /*vzdialenosť odspodu*/
}
#showcase p{
    font-size:20px;
}
@media (max-width: 460px){
    #showcase h1{
        font-size:50px
    }
}
/*imagemap*/
#map{
    width: 1500px;
    text-align: center;
    justify-content: center;
    margin:auto;
    overflow:hidden;
}
#imagemap{
    width: 1400px;
    border: #630909 6px solid;
    padding:30px;
}
#map img{
    height: auto;
    width:auto;
    max-width: 100%;
}
@media (max-width: 1500px){ /*potreba javasrciptu na resize-ovanie s linkami, alebo novú mapu*/
    #map {
        display:none;
    }
}
/*lol*/
.image{
    justify-content: center; /*na stred*/
}
.image img {
    max-width: 100%; /*maximálna šírka*/
    height: auto;  /*prispôsobenie img*/
} 
#lol{
    margin-top: 20px;/*priestor nad sekciou*/
    text-align: center; /*centrovanie textu*/
    border-bottom: #940d0d 5px solid; /*dolné ohraničenie*/
    overflow:hidden; /*pretekanie*/
    font-size: larger; /*veľkosť písma*/
}
/*jng*/
#jng { /*všetko vysvetlené vyšie*/
    background: url('../images/map.jpg') no-repeat center;
    background-size: cover;
    color: #ffffff;
    padding: 0;
    border-bottom: #940d0d 5px solid;
    overflow: hidden;
    font-size: large;
    margin-bottom: 0;
}
#jng .container{
    padding-top: 50%;/*veľkosť obrázka v tomto prípade*/
}
/*about*/
#about { /*všetko vysvetlené vyšie*/
    background-color: #5c8788;
    padding: 0 20px 20px 20px; 
    margin-top: 0;
}
#informacie-header {
    text-align: center;
    font-size: 2rem;
    margin: 20px auto;
    color: #dfdcec;
}
#about h2 {
    text-align: center; 
    font-size: 1.5rem; 
    margin: 0 auto 20px auto; 
    padding-top: 20px; 
}

.about-container {
    display: flex;
    justify-content: flex-start; 
    gap: 50px; /*medzera*/
}

#tabulka {
    flex-shrink: 0; /* zabraňuje zmenšeniu pri zmene veľkosti */
    width: 298px;
    margin-left: 20px; /* medzera z ľava */
    margin-top:20px;
}

#quote {
    font-size: 1.2rem;
    color: #dfdcec;
    background-color: #7f1819;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
}

#quote cite {
    display: block; /* nový riadok */
    margin-top: 10px;
    font-size: 0.9rem;
}

.about-content {
    flex: 1; /* flexibilná veľkosť */
    display: flex;
    flex-direction: column; /*  do stĺpca */
    justify-content: flex-start;
}

#funfacts {
    margin-left:45px;
    margin-top: auto;
    font-size: 15px;
    text-align: left;
}
#funfacts h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #7f1819;
}

#funfacts p {
    font-size: 18px;
    margin: 10px 0;
    line-height: 1.5;
}

#funfacts a {
    color: #aad4ff;
    text-decoration: none;
}

#funfacts a:hover {
    color: #78c0e0;
    text-decoration: underline;
}

#tabulka table {
    width: 100%;
    color: #191937; 
    background-color: #dfdcec; 
    border-radius: 8px;
    overflow: hidden;
}

#tabulka table td {
    padding: 10px;
    font-weight: bold;
}

@media(max-width: 690px){
    #about {
        padding: 20px;
        margin-top: 0;
        display: flex;
        flex-direction: column; /* zoradenie do stĺpca na menšej obrazovke */
        align-items: center;
    }

    .about-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        padding: 0;
    }
    #funfacts {
        width: 80%;
    }
}

/* boxy */
#boxes {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap; /* dávanie na nový riadok */
    justify-content: space-around; /* rovnomerné rozmiestnenie */
}
#boxes .box {
    flex: 1 1 calc(30% - 20px); /* flexibilná veľkosť*/
    text-align: center;
    margin: 10px;
    box-sizing: border-box; /* okraje a vnútorné odsadenie do celkovej veľkosti */
}
#boxes img {
    max-width: 50%; /* obmedzenie šírky obrázkov */
    height: auto;
}

@media (max-width: 768px) {
    #boxes .box {
        flex: 1 1 100%; /* box na celej šírke*/
        margin: 5px 0;
    }
} 

/*footer*/
footer {
    padding: 20px;
    margin-top: 20px;
    color: #ffffff; 
    background-color: #940d0d;
    text-align: center;
}

/*TO TOP BUTTON*/
.totop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #940d0d;
    border-radius: 0.5rem;
    padding: 0.5vw;
    text-decoration: none;
    transition: 0.2s ease-out;
    font-size: 1vw;
}
.totop span {
    color: #ffffff;
    font-size: 3vw;
    transition: 0.2s ease-out;
}
.totop:hover {
    background-color: #630909;
}

.totop:hover span {
    transform: translateY(-4px); /* posunutie textu pri prechode myšou */
}
@media (max-width: 768px) {
    .totop {
        bottom: 1rem;
        right: 1rem;
        padding: 0.5rem;
        font-size: 4vw;
    }
    .totop span {
        font-size: 4vw;
    }
}

/* lore */
#lore {
    color: #ffffff;
    background: url('../images/lore.jpg') no-repeat center;
    background-size: cover;
}
#lore p {
    padding: 10%;
    font-size: large;
    width: 30%;
    margin: auto;
    overflow: hidden;
}

@media (max-width: 768px) {
    #lore p {
        width: 80%;
    }
}

/* skiny */
.skiny {
    display: flex;
    overflow-x: auto; /* posúvanie vodorovne */
    height: auto;
}
.skiny .item {
    max-height: 885px;
    flex: 0 0 auto;
    width: 100%;
    max-width: 1500px;
    text-align: center;
    position: relative;
}
.skiny .item img { /* Štýlovanie obrázkov */
    width: 100%;
    height: auto;
    max-height: 845px;
}
.skiny .item p { /* Štýlovanie textu */
    position: absolute;
    bottom: -5%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #ffffff;
    background-color: rgba(43, 88, 89, 0.5);
    border-radius: 0.5rem;
    padding: 10px;
}

@media (max-width: 768px) {
    .skiny .item {
        max-width: 300px; /*zmenšenie*/
    }
    .skiny .item p {
        font-size: 0.8em;
    }
}

/* schopnosti */
#schopnosti {/*všetko vysvetlené vyšie*/
    width: 100%;
    font: 20px/1.5 Arial, Helvetica, sans-serif;
}
#schopnosti .abilities {
    display: flex;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

#schopnosti .abilities h1 {
    margin: 0;
    font-size: 24px;
    text-align: center;
    width: 100%;
    padding: 10px 0;
    color: #2b5859;
}
#schopnosti .abilities img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    vertical-align: middle;
}
#schopnosti video {
    border: 2px solid #555;
    border-radius: 8px;
    max-width: 60%;
    vertical-align: middle;
}
@media (max-width: 768px) {/*prispôsobenie na menšiu obrazovku*/
    #schopnosti video{
        max-width: 100%;
    }
}
/*builds*/
main {/*všetko vysvetlené vyšie*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #11112a;
    padding: 20px;
    color: white;
}

#ap, #ad {
    background-color: #191937;
    padding: 10px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 800px;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.center p {
    margin: 0;
    text-align: center;
}

.center .summonerspells {
    display: flex;
    flex-direction: column;
    align-items: center;
}

main img {
    max-width: 100%;
    margin: 10px 0;
}

main h1 {
    margin-top: 20px;
    text-align: center;
}
@media (max-width: 768px) {
    .center {
        flex-direction: column;
        gap: 10px;
    }
}
/* playstyle*/
#playstyle {/*všetko vysvetlené vyšie*/
    background-color: #11112a;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#playstyle h2 {
    text-align: center;
    font-size: 2rem;
    color: #940d0d;
    margin-bottom: 20px;
}

#playstyle article {
    line-height: 1.6;
    margin: 0 auto;
    max-width: 800px;
}

#playstyle h3 {
    font-size: 1.5rem;
    color: #dfdcec;
    margin-top: 15px;
    margin-bottom: 10px;
}

#playstyle p {
    font-size: 1rem;
    color: #8eaec4;
    margin-bottom: 15px;
}

#playstyle h4 {
    font-size: 1.2rem;
    color: #8eaec4;
    margin-top: 20px;
    line-height: 1.5;
    font-weight: normal;
}

#playstyle p strong {
    color: #993636;
}

#playstyle img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


#playstyle video {
    cursor: pointer;
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#playstyle a {
    color: #940d0d;
    text-decoration: underline;
}

#playstyle a:hover {
    color: #630909;
    text-decoration: none;
}
#funfacts audio {
    height: 20px;
    vertical-align: middle;
}

#funfacts audio::-webkit-media-controls-panel {/*tvar, farba*/
    background-color: #940d0d; 
    border-radius: 8px;
}
#funfacts audio::-webkit-media-controls-current-time-display,
#funfacts audio::-webkit-media-controls-time-remaining-display {
    color: #dfdcec;/*farba času*/
}
@media (max-width: 768px) {
    #playstyle h2 {
        font-size: 1.5rem;
    }

    #playstyle h3 {
        font-size: 1.2rem;
    }

    #playstyle p {
        font-size: 0.9rem;
    }
    
    #playstyle h4 {
        font-size: 1rem;
    }
}
/*kontakt*/
.kontakt-box{
    display: flex;
}
.left{
    flex-basis: 60%;
    padding: 40px 60px;
}
.right{
    flex-basis: 40%;
    margin-bottom: 350px;
    padding: 40px;
    background-color: #993636;
    color:#ffff;
    border-radius: 0.3em;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
.input-row{
    display:flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.input-row .input-group{
    flex-basis: 45%;
}
input{
    width:100%;
    border: none;
    border-bottom: 1px solid #993636;
    outline: none;
    background-color: #dfdcec;
}
textarea{
    width: 100%;
    border: 1px solid #993636;
    outline: none;
    padding: 10px;
}
label{
    margin-bottom: 6px;
    display: block;
}
button{
    outline: none;
    color:#dfdcec;
    background: #993636;
    border: none;
    width: 100px;
    height: 25px;
    border-radius: 30px;
    margin-top: 10px;
    box-shadow: rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
    .kontakt-box {
        flex-direction: column;
    }
    .left{
        flex-basis: 20%;
        padding: 0px;
    }
    textarea{
        width: 90%;
    }
    .right {
        margin-bottom: 0;
        margin-top: 20px;
    }
}