*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    /*list-style: none; */
    box-sizing: border-box;
}

a{
    color: white;
    text-decoration: none;
}

body{
    min-height: 100vh;
    min-width: 300px;

    padding-inline: 5em;
    font-family: Helvetica;
    background-image: url("background.jpg");
    background-size: 30em;
}

/* nav,footer{ */
footer{
    height: 100px;
    flex: 0 1 auto;
    /* background-color: rgb(92, 92, 227); */
    
}

header{
    background-color: rgba(80, 156, 228, 0.6);
    display: flex;
    font-size: 50px;
    align-items: center;
    justify-content: center;

    font-weight: bold;
    color: white;
}

footer{
    font-size: 15px;
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    padding-inline: 2em;
    background-color: rgba(80, 156, 228, 0.95);

    color: rgb(226, 231, 235);
}


main{
    min-height: 100vh;
}

.flexContainer{
    display:flex;
    flex-direction: column;
}

/* ====================================== */

.navigation{
    /* flex-direction: column;
    flex: 0 0 auto;
    align-items: center;

    font-size: 20px;
    font-weight: 600; */
    min-height: 100px;
    display: flex;
    justify-content: space-between;

    padding: 0px 20px;
    background-color: rgb(121, 174, 228);
    color: white;

    
}

nav{
    position: sticky;
    top: 0px;  
}

.navSection{
    display: flex;
    justify-content: space-between;
    align-items: center;
     /*background-color: brown;*/
}

.navLogo{
    font-size: 22px;
    /* font-weight: 600; */
    font-weight: bold;
    word-break: keep-all;
}

.navItem {
    padding: 10px 20px;
    font-size: 25px;
    list-style: none;
}
.navItem1 {
    padding: 10px 20px;
    font-size: 20px;
    list-style: none;
}

.navButSection{
    display: flex;
    padding: 10px 15px;
}
.navButSection a{
    font-weight: bold;
}

.navBut:hover, .navBut1:hover {
    background-color: rgb(59, 110, 192);
    border-radius: 4px;
    cursor: pointer;
}

.navBut1{
    width: 110px;
    white-space: nowrap;
    background-color: rgb(121, 174, 228);
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 20px;
    list-style: none;
}



.search-box{
    display: flex;
}
.searchInput{
    height: 30px;
    width: 150px;
    border: none;
    outline: none;
    padding: 0 10px;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}
.searchButton{
    padding: 5px;
    display: block;
    height: 30px;
    border: none;
    background-color: silver;
    font-size: 14px;
    border-radius: 0 5px 5px 0; 
    color: rgb(50, 50, 55); 
    /* font-weight: 600; */
    font-weight: bold;
}

.searchButton:hover{
    background-color: grey;
    border-radius: 5px;
    cursor: pointer;
}


/* ====================================== */

main{
    /* background-color: silver; */
    background-color: ghostwhite;
}

.mainInform{
    margin: 50px 100px 50px 100px;
     /* background-color: blue;     */

    display:flex;
    flex-direction: column;
    flex: 1;

    align-items: center;
    
     /* background-color: rgb(150, 201, 241);  */
   
    /* background-color: whitesmoke; */
    /* background-color: ghostwhite; */
     
}  



.mainInform hr{
    border: 1px solid silver;
    margin: 5px;
    /* width: 80vh; */
    width: 60%;
}

.mainInformlessons{
    margin: 50px 0px 50px 100px;
}

.mainInformlessons{
    align-content: center;
}

.InformBlock{
     /* background-color: brown;   */
    padding: 10px;  

    display: flex;
    flex-direction: column;
    align-items: center;
    
    text-align: center;
}

.InformBlockRow{
    /* background-color: brown;  */
    padding: 20px;  
    display: flex;
    flex-direction: row;
    align-items: center;
    
    text-align: center;
}

.InformBlockRow p{
    font-size: 18px;
    padding-inline: 20px;
}

.InformBlockHeader{
    /* background-color: greenyellow;  */
    align-self: center;
    padding: 10px;
    max-width: 800px;
     
    /* background-color: brown; position fixed */
}


.InformBlockText p{
    /* background-color: silver;   */
    padding: 10px;
    font-size: 20px;
    max-width: 1000px;
    text-align: left;
    line-height: 1.5em;
    text-indent: 50px;
}

.InformBlockTextShort{
    max-width: 800px;
}

.InformBlockTextShort p{
    padding: 2px;
}

.InformBlockTextUl li{
    /* background-color: silver;   */
    padding: 10px;
    font-size: 20px;
    max-width: 1000px;
    text-align: left;
}

.InformBlock ul li{
    /* list-style: none; */
    font-size: 18px;
    padding: 5px;
    margin-left: 50px;
    padding-left: 0px;
}


/* ====================================== */
.footer-1{
    word-break: break-all;
} 
.footer-2{
    font-weight: 900;
    font-size: 25px;
} 
.footer-3{
    text-align-last: center;
}

/* footer .footer-2{
    justify-self: start;
} */


.mmain{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.bothr{
    border-bottom: 2px solid rgb(59, 110, 192);
    
    width: 100%;
    margin-bottom: 10px;
}

.mainLessonSelector{
     /* background-color: brown;  */
     
    display: flex;
    flex-direction: column;  
    flex-wrap: wrap;
}

.mainLessonSelector .navBut1{
    margin-bottom: 10px;
}



.mainControl{
    
    /* background-color: blue;   */
    text-align: center;
    padding: 5px;
}

/* .mainInformlessons{
    background-color: brown; 
} */

.mainControlSection{
 /* background-color: gray;   */
   
   padding: 10px 20px;
   margin: 40px;
   border: 3px solid rgb(59, 110, 192);
   border-radius: 5px;
}

.mainControlSection p{
    font-size: 20px;
    padding: 10px;
    color: rgb(59, 110, 192);
    /* font-weight: 600; */
    font-weight: bold;
}





.alfabet tr td{
    font-size: 25px;
    /* font-weight: 600; */
    font-weight: bold;
    padding-inline: 10px;
}

.alfabet tr th{
    font-size: 25px;
    /* font-weight: 600; */
    font-weight: bold;
}

.alfabet{
    display: flex;
    padding: 10px;
    justify-content: center;
}

iframe{
    padding: 15px;
}


ol li{
    text-align: left;
    padding: 10px;
}

span{
    /* font-weight: 600; */
    font-weight: bold;
}

.border1{
    border-collapse: collapse;
}

.border1 td{
    border: 2px solid silver;
}

.border1 th{
    background-color: rgb(150, 200, 250);
    border: 2px solid rgb(50, 150, 200);;
}

@media screen and (max-width: 1100px){

    body{
        padding-inline: 3em;
    }
    /* .search-box{
        justify-self: space-around;
    } */
    .navigation{
        padding: 0px 20px;
    }
    .navButSection{
        flex-direction: column;
        padding: 5px 0px;
        /* margin-left: 10%; */
    }
    
    .navItem{
        padding: 5px;
    }

    .mainInform{
        margin: 50px 50px 50px 50px;
    }
    .navLogo{
        writing-mode: vertical-lr;
        padding: 15px 5px;
    }

    .trans tbody{
        /* width:500px; */
        display:flex;
    }
    .trans tr{
        display:flex;
        flex-direction: column;
        width:25%;
    }
    .trans td{
        height: 100%;
        width: 100%;
         /* border:1px solid #333;   */
    }
    .trans th{
        flex: 1;
        height: 100%;
        width: 100%;
        /* border:1px solid #333;  */
    }

    .mmain{
        flex-direction: column;
    }
    
    .mainControl{
        order: -1;
        display: flex;
        justify-content: center;
    }

    .mainControlSection{
        justify-self: center;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 80%;
    }
    .mainLessonSelector{
        flex-direction: row;
        justify-content: left;
        width: 100%;   
    }
    .mainLessonSelector a{
        margin: 1%;
    }
    .bothr{ 
        /* background-color: aqua; */
        width: auto;
        height: min-content;
        border-bottom: 0px;
        border-width: 0px; 
    }
}

@media screen and (max-width: 630px){
    .footer-2{
        font-size: 22px;
    }
    .searchInput{
        width: 120px;
    }
    .mainLessonSelector a{
        margin: 2%;
    }
}

@media screen and (max-width: 575px){
    .searchInput{
        width: 70px;
    }
    .footer-1{
        font-size: 12px;
    }
    .footer-2{
        font-size: 18px;
    }
    .footer-3{
        font-size: 12px;
    }
    footer{
        padding-inline: 1em;
    }

    .mainLessonSelector{
        /* background-color: brown; */
        justify-content: center;
    }
   /*
   .mainLessonSelector .navBut1{
       margin-bottom: 10px;
   } */

   .mainControlSection{
        flex-direction: column;
        padding: 10px 20px;
        margin: 40px;
        border: 3px solid rgb(59, 110, 192);
        border-radius: 5px;
   }

   /* .mainControlSection{
    justify-self: center;
    
    justify-content: space-between;
} */
    .bothr{
        border-bottom: 3px solid rgb(59, 110, 192);
        
        width: 100%;
        margin-bottom: 10px;
    }
    
   .mainControlSection p{
       font-size: 20px;
       padding: 10px;
       color: rgb(59, 110, 192);
       font-weight: bold;
   }

   iframe{
       width: 125%;

       height: calc(width+50px);
   }
}