:root{
    --light: #b2b2b2;
    --dark: #c0a181 /*rgba(127, 127, 127, 255 /*0.75);*/
}

@font-face {
    font-family: "Futura";
    src: url(static/FuturaBT-Light.ttf) format("truetype");
}

@font-face {
    font-family: "Bold";
    src: url(static/FuturaBT-Medium.ttf) format("truetype");
}

html{
    background: url(static/pozadi.webp) no-repeat;
    background-size: cover;
    background-color: #b2b2b2;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
}

body{
    width: 90%;
    height: 100%;
    margin: 0 auto;
    border:0;
    font: 300 25px Futura, sans-serif;
    color: #000000;
}

/*** main ***/
main{
    padding-bottom: 30px;
    position: relative;
}

/** bold **/
b{
    font: 500 25px Bold, sans-serif;
}


/*** link ***/
a{
    text-decoration: none;
    color: #141414;
}
a:hover{
    text-decoration: underline;
    color: #404040;
}
a:active{
    text-decoration: none;
    color: #3f4953;
}

/*** header ***/
header {
    background: var(--dark);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}
.header {
    width: fit-content;
    margin: 0 auto;
    padding: 20px;
    cursor: pointer;
}
.header > span{
    display: block;
    margin: 0 auto;
    width: fit-content;
    word-spacing: 20px;
    border-top: 1px solid black;
    border-bottom: 1px solid black
}
.header > span > span{
    word-spacing: normal;
}
#logo{
    height: 70px;
    display: block;
    margin: 0 auto 0.5rem;
}
@media only screen and (max-width: 500px){
    #logo{
        height: 50px;
    }
    body{
        font: 500 25px Futura, sans-serif;
    }
}
@media only screen and (max-height: 600px){
    #logo{
        height: 50px;
    }
}

/*** h2 ***/
h2{
    width: fit-content;
    margin: 0.83em auto 1.5rem;
    font: 500 30px Bold, sans-serif;
    word-spacing: 30px;
}
h2 > span {
    word-spacing: normal;
}

/**** figure ****/
figure{
    margin: 0 0 20px;
}
figure * img{
    width: 100%;
    object-fit: contain;
    aspect-ratio: 2 / 3;
}
.empty{
    background-color: var(--dark);
}
@media only screen and (max-width: 430px){
    .header{
        padding: 10px
    }
    figure * img {
        width: 300px !important;
    }
}
@media only screen and (min-width: 430px) {
    figure{
        width: 45%;
    }
}
@media only screen and (min-width: 700px) {
    figure{
        width: 30%;
    }
}
@media only screen and (min-width: 1000px) {
    figure{
        width: 22%;
    }
}
@media only screen and (min-width: 1200px) {
    figure{
        width: 19%;
    }
}

@media only screen and (min-aspect-ratio: 1/1) and (min-width: 1500px) {
    @media only screen and (min-aspect-ratio: 2/1){
        body{
            width: 90%
        }
    }
    @media only screen and (min-aspect-ratio: 10/8) and (max-aspect-ratio: 2/1){
        body{
            width: 95%
        }
    }
    @media only screen and (max-aspect-ratio: 10/8){
        body{
            width: 96%;
        }
    }
    .reference {
        display: flex;
    }

    .year {
        margin: 0 1rem;
    }

    figure{
        margin: 0 0 20px;
        flex: 1 1 0;
        padding: 0 1rem;
    }
}

/*** reference ***/
.reference_content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

/*** ruchaři ***/
.ruchari * b{
    font-size: 25px;
}
.ruchari * a{
    font-size: 1rem;
    font-weight: normal;
}
.ruchari * p{
    width: fit-content;
    margin: 0 auto;
}
.ruchari * ul{
    margin-top: 0;
    list-style: none;
}
.column > h2 {
    margin-bottom: 0;
}
small {
    display: block;
    width: fit-content;
    margin: 0 auto 10px;
    word-spacing: 20px;
}
small > span {
    word-spacing: normal;
}
small.ruchari{
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/** columns **/
@media only screen and (min-width: 650px) {
    .columns{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .column{
        flex: 0 0 50%
    }
}

/*** hr ***/
hr {
    border: none;
    border-top: black solid 1px;
}

/*** ikony ***/
.ikony > a, .ikony * img {
    height: 25px;
}
.ikony {
    width: fit-content;
    margin: 0 auto 1rem;
}
.ikony > a {
    margin: 0.5rem;
    display: inline-block;
}

/*** year ***/
.year > small {
    margin-top: 1rem;
}
