/* carousel */

.slider img {
    margin:auto;
    height:400px;
}
[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 and container*/
body {
    margin:0;
    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;
    width: 150px;
    height: 90px;
}
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;
}
/*  */

/* MAIN */
.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: auto;
    font-family: 'inter';
}


.leviyandpraviy {
    display: flex;
    justify-content: space-around;
}

.leviy {
    
    text-align: center;
}

.praviy {
    text-align: center;
}

.tablica {
    display: block;
    justify-content: center;
    width: 520px;
    margin: auto;
}
.tablica p {
    text-align: center;
    font-family: 'inter';
    margin:0;
}
table{
    background-color: lavender;
    border-radius: 10px;
    border: 2px solid black;
    width: 100%;
    height: 100%;
}
th {
    background-color: lavenderblush;
    font-family: 'inter';
}
td {
    font-family: 'inter';
    width: 100%;
    height: 25px;
    background-color: lavenderblush;
}


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 {
    text-align: center;
    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 {
        position: relative;
        float: right;
        z-index: 10;
        display: flex;
        flex-direction: column;
    }

    .container {
        width: 100%;
    }
    
}
@media(max-width:960px){
    .h1 {
        height: 100%;
    }
}

@media(max-width: 700px){
    .slider img{
        height: 350px;
    }
}
@media(max-width:600px){
    .prava {
        display: none;
    }
}
@media(max-width:520px){
    .breje {
        width: 100%;
    }
    .tabl_alc{
        width:100%;
    }

    .tablica{
        margin:0;
        width: 100%;
    }
}
@media(max-width:400px) {
    .text{
        display: none;
    }
    .logo {
        width: 150px;
    }
}

@media(max-width: 370px){
    .leviy img{
        width: 100%;
    }
    
    .praviy img {
        width: 100%;
    }
}