/* carousel */
.slider img {
    margin:auto;
    height:600px;
}
[class = "slider slick-initialized slick-slider slick-dotted"] {
    width: 70%;
    margin:auto;
}
.slick-dots{
    width:100%;
    padding: 0;
}
.slick-dots{
    width:100%;
    display: flex;
    justify-content: center;
}
[role = presentation]{
    height:25px;
    width:5%;
    margin-left: 10px;
}
.slider p {
    background-color: black;
    height:auto;
    width:100%;
    text-decoration: none;
    font-family: "inter";
    color: white;
    text-align: center;
}

body {
    background-image: url(kartinki/seriyphon.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
}
.container {
    width: 1120px;
    background-color: #c3c3c3;
}

/* HEADER */
header {
    background-image: url(kartinki/back_header.png);
    display: flex;
    justify-content: space-between;
}
.burger{
    border: 2px solid black;
    border-radius: 5px;
    margin: auto;
    display: none;
    background-color: grey;
    width: 55px;
    height:55px;
}
.polosa {
    width: 52px;
    height: 5px;
    display: block;
    margin: auto;
    margin-top: 10px;
    background-color: black;
    border-radius: 10px;
}
.logo {
    background-color: grey; 
    display: flex;
    justify-content: space-around;
    align-items: center;
    width:30%;
    height: 150px;
    margin: auto;
    margin-top: 40px;
}
.logo img {
    height:100%;
}
.logo.text {
    text-align: center;
}
.logo p{
    font-family: 'Inter';
    font-weight: 800;
    font-size: 24px;
}

nav {
    width: 60%;
    /* margin:auto; */
    margin-top: 80px;
}
ul {
    
    display: flex;
    justify-content: space-between;

}
li {display: flex;
    justify-content: center;
    background-color: grey;
    width: 150px;
    height: 90px;
}
nav a {
    width: 50%;
    height: 100%;
}
nav a img{
    width: 100%;
    height:100%;
}

button img{
    height:100%;
}
button {
    background-color: grey;
    width:100%;
    cursor: pointer;
}


#search_text {
    width: 80%;
}
#myFancySEARCH {
    display: none;

}
#myFancySEARCH button {
    margin-top: 15px;
}

#myFancyTEMS{
    display: none;
    
}
#myFancyTEMS button {
    margin-top: 10px;
}

#myFancyIST {
    display: none;
}
.h1 {
    background-color: black;
    height: 82px;
    margin-top: 20px;
}
.helpik {
    height: 27%;
}
h1{
    text-align: center;
    font-family: 'Inter';
    font-weight: 800;
    font-size: 32px;
    color: white;
    margin: auto;
}
main .maintext {
    padding: 10px;
}
main .maintext p{
    text-indent: 25px;
    width: 100%;
    font-family: 'inter';
}

.konec{
    padding:10px;
}

.videoandaudio{
    display: block;
    margin:auto;
    width: 95%;
    border-radius: 10px;
    background-color:darkgray;
}
.knopki button{
    width:10%;
    border-radius: 5px;
}
#controls {
    display: block;
    text-align: center;
    justify-content: space-between;
}
#currentTime{
    width: 72%;
}

#volumeControl {
    width: 17%;
}

.barContainer #volume {
    transform: scale(-1, 1);
    color: black;
}

#positionBar {
    height: 30px;
    color: black;
    font-weight: bold;
    
    text-align: center;
 }
 .barContainer {
    display: flex;
    align-items: center;
 }

.video_bar {
    position: relative;
}

.barContainer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    bottom: 10px;
}

 #positionBar span {
    display: inline-block;
    margin-top: 5px;
 }
 
 #durationBar {
    margin-left: 5px;
    width: 5%;
 }
footer{
    margin-top: 25px;
    background-color: darkgray;
    display: flex;
    justify-content: space-around;
}
footer a {
    margin: auto;
    text-align: end;
    width: 10%;
}

footer p{
    margin: auto;
    height: 100%;
}
.nomerstr {
    margin-right: 25px;
    text-align: end;
    font-family: 'Inter';
    font-weight: 800;
    font-size: 16px;
}
@media(max-width: 1120px){
    header{
        height: 190px;
    }
    .logo{
        width:336px;
        margin: 0;
        margin-top:40px;
    }
    .burger {
        display: block;
        margin-right: 10px;
    }

    .MENU{
        width: 100%;    
        margin: 0;
        margin-top: 200px;
        position: absolute;
        float: right;
    }

    nav ul {
        float: right;
        z-index: 10;
        display: flex;
        flex-direction: column;
    }

    .container {
        width: 100%;
    }
    
}
@media(max-width: 700px){
    .slider img{
        height: 350px;
    }
}
@media(max-width:607px){
    .h1 {
        height: 100%;
    }
    .prava {
        display: none;
    }
}
@media(max-width:520px){
    .breje {
        width: 100%;
    }
    .tabl_alc{
        width:100%;
    }

}
@media(max-width:400px) {
    .text{
        display: none;
    }
    .logo {
        width: 150px;
    }
}

@media(max-width: 370px){
    .leviy img{
        width: 100%;
    }
    
    .praviy img {
        width: 100%;
    }
}