/***** Část Body - main *****/
section {
    display: inline-block;
    position: absolute;
    color: #fff;
    text-align: left;
    padding: 10px;
    /* border: 2px solid white; */
    /* border-radius: 20px; */
    /* width: calc((100% - 4%)/2); */
    height: 100%;
}

/* Sekce pro kategorie souborů ke stažení */
.download-category {
    height: calc(40% - 10px);
    width: calc(30% - 4% - 20px);
    left: 4%;
    margin: 10px 10px 0 10px;
    border-right: 2px solid white;
    padding: 20px;
    text-align: center;
    line-height: 100%;

    /* border: 2px solid white; */
    /* border-radius: 20px; */

    overflow: scroll;
}

.download-category h2 {
    padding-bottom: 5px;
    letter-spacing: 1px;
}

/* Scrollbar */
.download-category::-webkit-scrollbar {
    display: none;
}

.download-category-tab {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 5px;
}

.download-category-list-box {
    width: 100%;
    background: linear-gradient(rgb(245, 245, 245), rgb(200, 200, 200));
    margin-bottom: 1%;
    border-radius: 3px;
}

.download-category-list-box-active {
    background: linear-gradient(rgb(255, 255, 200),rgb(255, 230, 0));
}

.download-category-list-box a:link,
.download-category-list-box a:visited {
    color: rgb(20, 20, 20);
    text-decoration: none;
}

.download-category-list-box:hover,
.download-category-list-box:active {
    transition: 1s;
    background: linear-gradient(rgb(255, 255, 200),rgb(255, 230, 0));
}

.download-category-list-one {
    padding: 2% 2%;
}

.download-category-list-one p {
    font-size: 12px;
    text-align: left;
    font-weight: 700;
    overflow: hidden;
}

.download-category-list-one:hover,
.download-category-list-one:active {
    transition: 0.5s;
    box-shadow: 0 0 10px rgb(200, 200, 200);
}

/* Sekce pro nadpis seznamu souborů ke stažení */
.download-list-section-header {
    height: calc(20%);
    width: calc(30% - 4% - 20px);
    left: 4%;
    top: 40%;
    margin: 0px 10px 0px 10px;
    border-right: 2px solid white;
    padding: 20px;

    /* border: 2px solid white; */
    /* border-radius: 20px; */
    
    /* overflow: scroll; */
}

.download-list-section-header h2 {
    margin-bottom: 10px;
    font-size: 21px;
    text-align: center;
    letter-spacing: 1px;
}

.download-list-section-header-alert {
    text-align: center;
    font-style: italic;
}

/* Sekce pro seznam souborů ke stažení */
.download-list-section {
    height: calc(40% - 10px);
    width: calc(30% - 4% - 20px);
    left: 4%;
    top: 60%;
    margin: 0px 10px 10px 10px;
    border-right: 2px solid white;
    padding: 20px;

    /* border: 2px solid white; */
    /* border-radius: 20px; */

    overflow: scroll;
}

/* Scrollbar */
.download-list-section::-webkit-scrollbar {
    display: none;
}

.download-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.download-list-box {
    width: 100%;
    background: linear-gradient(rgb(245, 245, 245), rgb(200, 200, 200));
    margin-bottom: 1%;
    border-radius: 5px;
}

.download-list-box-active {
    background: linear-gradient(rgb(255, 255, 200),rgb(255, 230, 0));
}

.download-list-box a:link,
.download-list-box a:visited {
    color: rgb(20, 20, 20);
    text-decoration: none;
}

.download-list-box:hover,
.download-list-box:active {
    transition: 1s;
    background: linear-gradient(rgb(255, 255, 200),rgb(255, 230, 0));
}

.download-list-one {
    padding: 3% 5%;
}

.download-list-one:hover,
.download-list-one:active {
    transition: 0.5s;
    box-shadow: 0 0 10px rgb(200, 200, 200);
}

.download-list-one p:first-of-type {
    font-size: 15px;
    text-align: left;
    font-weight: 700;
    padding-bottom: 1%;
    overflow: hidden;
}

.download-list-one p:nth-of-type(2){
    font-size: 13px;
    text-align: left;
    padding-bottom: 2%;
}

.download-list-one p:nth-of-type(3){
    font-size: 12px;
    text-align: left;
    padding-bottom: 1%;
}

.download-list-one p:last-of-type{
    font-size: 10px;
    text-align: left;
}

/* Sekce pro popis konkrétního souboru ke stažení */
.download-specific {
    height: calc(30% - 10px);
    width: calc(70% - 10px);
    left: 30%;
    margin: 10px 10px 0 0;
    border-bottom: 2px solid #fff;
    padding: 20px 20px;
    text-align: center;
    /* position: relative; */
    /* display: inline-flex; */

    /* border: 2px solid white; */
    /* border-radius: 20px; */
}

.download-specific h1 {
    text-align: center;
    /* display: block; */
    /* position: absolute; */
    /* width: 30%; */
    border-bottom: 2px solid #fff;
    width: fit-content;
    font-size: 21px;

    /* border: 2px solid white; */
}

/* popis souboru ke stažení */
.download-specific-description {
    text-align: left;
    display: inline-block;
    position: absolute;
    width: 40%;
    top: 20%;
    margin: 10px 10px 10px 0;

    /* border: 2px solid white; */
}

/* YT video návod */
.download-specific-video {
    display: inline-block;
    position: absolute;
    left: 40%;
    margin: 0 10px;
    align-items: center;
    width: calc(60% - 20px);
    height: calc(100% - 40px);
}

.download-specific-video iframe {
    width: 50%;
    height: 100%;
}

/* Sekce pro konkrétní soubor ke stažení */
.download-specific-one {    
    height: calc(70% - 10px);
    width: calc(70% - 10px);
    left: 30%;
    top: 30%;
    margin: 0px 10px 10px 0;
    /* border: 2px solid white; */
    /* border-radius: 20px; */
    padding: 0 20px 20px 20px;
    text-align: center;

    overflow-y: scroll;
}

.download-specific-one-message{
    margin-top: 30px;
    font-size: 25px;
    letter-spacing: 0.5px;
}

.download-specific-one-message a:link,
.download-specific-one-message a:visited {
    color: #fff;
    text-decoration: none;
}

.download-specific-one-message a:hover,
.download-specific-one-message a:active {
    transition: 0.5s;
    border-bottom: 2px solid rgb(255, 230, 0);
    padding-bottom: 1px;
}

/* scrollbar */
.download-specific-one::-webkit-scrollbar {
    width: 10px;
}

.download-specific-one::-webkit-scrollbar-track {
    background: linear-gradient(rgb(245, 245, 245), rgb(200, 200, 200));
    border-radius: 3px;
}

.download-specific-one::-webkit-scrollbar-thumb {
    background: linear-gradient(rgb(255, 255, 200),rgb(255, 230, 0));
    border-radius: 3px;
}

/* Soboury ke stažení */
.download-specific-one-file {
    margin: 20px auto;

    /* border: 2px solid red; */
}

/* rozsáhlejší text k souboru */
.download-specific-one-text p {
    text-align: justify;
}