@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300&display=swap');

body{
    font-family: 'Rubik', sans-serif;
    margin: 0 auto;
    padding: 0;
}

h1{text-align: center;}

.rozcestnik{
    margin: 0 auto;
    width: 90%;
    margin-top: 20vh;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.rozcestnik button{
    border: none;
    padding: 20px;
    border-radius: 10px;
}

.rozcestnik button:hover{
    background-color: #202020;
    color: #fff;
    cursor: pointer;
}

select{
    border: none;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    width: 20%;
}

.theme-show{
    margin: 2% auto;
    position: relative;
}

.theme-slider {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.theme{
    text-align: center;
    min-width: 100%;
}

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
}

.theme-img{
    width: 60%;
    margin: 0 auto;
    display: block;
    border-radius: 21px;
    border: 1px solid #ddd;
}

.mobile-img{
    width: 98%;
    margin: 0 auto;
    display: block;
    border-radius: 21px;
    border: 1px solid #ddd;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ddd;
    color: #202020;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    font-size: 18px;
    font-weight: bolder;
}

.prev {
    left: 21%;
}

.next {
    right: 21%;
}

.prev:hover {
    background-color: #646464;
    color: #fff;
}

.next:hover {
    background-color: #646464;
    color: #fff;
}

.mik-logo{
    width: 300px;
    height: 100px;
    background-image: url(http://media-vykazy.mikenopa.network/media/logo.png);
    background-size: contain;
    margin: 2% auto;
    position: relative;
    display: block;
}

@media only screen and (max-width: 600px) {
    .theme-img {
        width: 99%;
        height: 50vh;
        object-fit: cover;
    }
    .prev {
        left: 2%;
    }
    
    .next {
        right: 2%;
    }

    .mik-logo{
        display: none !important;
    }

    select{
        width: 100%;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }
}
