@font-face {
    font-family: Akrobat-Wellen;
    src: url(fonty/Akrobat-Wellen-Regular.otf);
}
@font-face {
    font-family: Akrobat-Wellen-Bold;
    src: url(fonty/Akrobat-Wellen-Bold.otf);
}
@font-face {
    font-family: Akrobat-Wellen-SemiBold;
    src: url(fonty/Akrobat-Wellen-SemiBold.otf);
}
@font-face {
    font-family: Akrobat-Wellen-ExtraBold;
    src: url(fonty/Akrobat-Wellen-ExtraBold.otf);
}

/* * * spolecny prvky * * */
html, body {
    padding: 0px;
    margin: 0px;
    font-family: Akrobat-Wellen, Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    background: linear-gradient(to right, #082e31,#000000, #370304);
    scroll-behavior: smooth;
}
body::-webkit-scrollbar {
    width: 10px;
    /*border: 1px solid #ff3300;*/
    background-color: #370304;
}
body::-webkit-scrollbar-thumb {
    background: #1db5c0; 

  }
/* * * navigace * * */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    font-family: Akrobat-Wellen-SemiBold;
    font-size: 1em;
    background-image: linear-gradient(rgba(0,0,0,1), rgba(0,0,0,0));
    z-index: 10;
    display: flex;
    justify-content: space-between;
}
nav ul {
    display: flex;
    position: relative;
    right: 0;
    padding: 10px;
    margin: 0 0 0 auto;
    text-align: right;
}
nav ul li {
    display: inline-block;
    height: 3.5rem;
    list-style-type: none;
    border-left: 1px solid #ff3300;
    padding: 0rem 1rem 0rem 1rem;
    vertical-align: top;
    text-align: left;
    flex: 0.5;
}

nav ul li:first-child {
    border-left: 0;
}
nav ul li:last-child {
    padding-right: 1em;
}
nav ul li a:link, nav ul li a:visited {
    text-decoration: none;
    color: #ff3300;
}
nav ul li a.active, 
nav ul li a:hover  {
    color: #1db5c0;
}
nav ul li .language {
    color: #ff3300;
    cursor: pointer;
}
nav ul li .language.active, 
nav ul li .language:hover  {
    color: #1db5c0;
}
.ema_logo {
    height: 3rem;
    padding: 1rem;
}
.mobile-nav-icon {
    height: 3rem;
    display: none;
}
/* * * page a detaily * * */
section {
    width: 100%;
    /*min-height: 100vh;*/
    color: #1db5c0;
    display: flex;
    align-items: flex-start;
    transition: all 1s ease;
    position: relative;
    padding: 4rem 0 2rem 0;
}
#home {
    min-height: auto;
    position: relative;
    top: 1rem;
}
.vlastnivideo {
    width: 89vw;
    padding: 0 5vw;
    display: none;
}
.vlastnivideo.active {
    display: block;
}
.texty {
    padding: 0 5vh;
    width: 47.5%;
    flex: 1;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    margin-block-start: 0;
    margin-block-end: 0;
}
.texty.active {
    display: flex;
}
h1 {
    font-family: Akrobat-Wellen-ExtraBold;
    font-size: 3em;
    line-height: 1;
    width: 70%;
    padding-top: 0rem;
    margin-block-start: 0;
    margin-block-end: 0;
}
h2 {
    color: #ff3300;
    width: 70%;
}
.contacts h2 {
    font-size: 1.15rem;
}
.texty ul {
    padding: 20px;
    width: 70%;
}
.texty ul li {
    font-size: 1.15rem;
}
h2 a {
    color: #ff3300;
    font-weight: bold;
}

.fotky {
    position: relative;
    width: 47.5%;
    flex: 1;
    height: 100%;
    overflow: hidden;
    padding: 0 5vw;
    top: 0;
}
.samotnyfotky{
    max-width: 40vw;
}
/* * * swiper * * */
.swiper {
    max-height: 90vh;
    width: 100%;
    --swiper-theme-color: #ff3300;
}
.swiper-slide img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

/* * * media queries * * */
@media only screen and (max-width: 1200px){
    h1 {
        width: 100%;
    }
    h2 {
        width: 100%;
    }
    .texty ul {
        width: 100%;
    }
}
@media only screen and (max-width: 1100px){
    nav ul {
        margin: 0;
    }
    nav ul li {
        padding: 0.5rem;
    }
}
@media only screen and (max-width: 930px){
    section {
        flex-direction: column;
        width: 100%;
        min-height: auto;
    }
    .texty{
        width: auto;
        padding-bottom: 0;
    };
    h1 {
        width: 100%;
    }
    h2 {
        width: 100%;
    }
    .texty ul {
        width: 100%;
    }
    .fotky {
        width: 90%;
        min-height: auto;
    }
    .samotnyfotky{
        max-width: 90vw;
        object-fit: contain;

    }
    .mezera {
        display: none;
    }
    nav ul {
        position: absolute;
        right: 3rem;
        flex-direction: column;
        padding-right: 1rem;
        background-color: rgba(0,0,0,0.5);
        display: none;
        margin: 0 0 0 auto;
    }
    nav ul li {
        border-left: 0;
        border-top: 1px solid #ff3300;
    }
    .mobile-nav-icon {
        display: block;
        padding: 0.5rem;
    }
    #menuclose {
        display: none;
    }
    .mobile-nav-icon {
        height: 2rem;
    }
}

@media only screen and (max-width: 500px){
    nav ul li a {
        font-size: 1.2rem;
    }
    .texty ul li {
        font-size: 1.2rem;
    }
    .ema_logo {
        display: none;
    }

    .fotky {
         padding: auto;
    }
}