body{
    background-color: #EDE3E9;

    padding: 0px;
    margin: 0px;
    color: #1f0942;

    font-family:Arial, Helvetica, sans-serif
   
}

header{
    background-color: #C09BD8;

    display: flex;

    height: 10vh;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.kontajner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 85vh;
}

h3{
    margin-top: 0px;
}

nav{
    background-color: #EBC3DB;
    display: flex;
    height: 7vh;

    flex-direction: row;
    align-items: center;
    justify-content: center;
}

nav>a{
    display: flex;

    height: 100%;
    width: 150px;
    justify-content: center;
    align-items: center;

    text-decoration: none;
    text-decoration-color: #1f0942;
    color: #1f0942;
    font-size: 20px;
}

nav>a:hover{
    background-color: #E6B3D1;
}

nav>a:active{  
    background-color: #E0A3C7;
    color: #1f0942;
}

main{
    background-color:#EDE3E9;
    height: 78vh;
    overflow: auto;

    padding-left: 5vw;
    padding-right: 5vw;

    text-align:justify;
    line-height: 2;
}


footer{
    background-color: #C09BD8;
    height: 5vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zrucnosti{
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: center;
}

.uvod{
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: center;
}

.obrazok-uvod{
    border-radius: 20px;
    width: 20vw;
    margin: 40px;
    min-width: 200px;
}

.obrazok-skola{
    display: block;
    border-radius: 20px;
    width: 30vw;
    min-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.obrazok-zaluby{
    border-radius: 20px;
    width: 100vw;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

.zaluby{
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
}

.projekty{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.projekty-text{
    flex: 1;
}
.projetky-obrazky{
    flex:1 ;
    display: flex;
    gap: 15px;
}
.obrazok-projekty{
    border-radius: 20px;
    width: 20vw;
    height: auto;
}

table,th,td{border:rgb(0, 0, 0) solid 1px;
            border-collapse: collapse;}
table{
    margin: 50px auto;
    background-image: url('https://images.unsplash.com/photo-1516979187457-637abb4f9353?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

    caption {
    font-family: 'Arial', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #56937e;
    padding-bottom: 15px;
    letter-spacing: 2px;
}

    tr.prvy-riadok {
    background-color: rgba(143, 83, 157, 0.6) !important;  
}

    tr:not(.prvy-riadok) td, tr:not(.prvy-riadok) th {
    background-color: rgba(255, 255, 255, 0.75);
}

    .najmenej-oblubeny {
    background-color: rgba(206, 119, 176, 0.8) !important;
    color: white;
}

    a.odkaz-predmet {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: bold;
}

    a.odkaz-predmet:hover {
    color: #ef4444;
    text-decoration: underline;
}

    .oblubeny-img {
    height: 30px;
    width: auto;
    vertical-align: middle;
}

    ul.th-aktivity {
    text-align: left;
    margin: 0;
    padding-left: 20px;
}

.video-tlacidlo{
    text-decoration: none;
    color: white;
    background-color: #EBC3DB;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}
.prezentacia-tlacidlo{
    text-decoration: none;
    color: white;
    background-color: #EBC3DB;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;


}