@font-face {
    font-family: sans;
    src: url(Resources/Font/InriaSerif-Regular.ttf);
}
body{
    margin: 0;
    padding: 0;
    background-color: rgba(68, 68, 68, 1);
    height: 100vh;
}
#header{
    width: 100%;
    height: 13vh;
    background-color: rgba(175, 175, 175, 1);
    border-radius: 0 0 2vh 2vh;
    box-shadow: 10px 8px 5px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
}
#logo{
    max-height: 13vh;
}
#Scientia{
    font-size: 10vh;
    font-family: sans;
    user-select: none;
    width: 65vw;
    max-height: 13vh;
}
#search{
    width: 20vw;
    height: 7vh;
    background-color: rgba(52, 48, 48, 1);
    border-radius: 3vh;
    box-shadow: 0.5vw 0.8vh 4px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: row;
}
#значок{
    height: 6vh;
    margin-top: 0.5vh;
    margin-right: 1vw;
}
#Search{
    margin: 0;
    font-size: 4vh;
    color:rgba(175, 175, 175, 1);
    margin: auto;
    font-family: sans;
    text-decoration: underline;
    user-select: none;
}
#windown{
    width: auto;
    height: 87vh;
    display: flex;
    align-items: center;   
    justify-content: space-between;
}
#panel{
    width: 20vw;
    height: 70vh;
    background-color:rgba(175, 175, 175, 1);
    border-radius: 0 3vh 3vh 0;
    box-shadow: 6px 4px 4px rgba(0, 0, 0, 0.25),-6px 4px 4px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: auto;
}
.panelmini{
    width: 16vw;
    height: auto;
    background-color: rgba(161, 161, 161, 1);
    border-radius: 2vh;
    display: grid;
    margin-top: 3vh;
    box-shadow: 4px 2px 2px rgba(0, 0, 0, 0.25);
}
.subject,.subject2{
    font-size: 4vh;
    margin: auto;
    color: black;
    padding: 1vh;
}
#mainpanel{
    width: 60vw;
    height: 70vh;
    background-color: rgba(175, 175, 175, 1);
    border-radius: 3vh;
    margin-right: 10%;
    box-shadow: 6px 4px 4px rgba(0, 0, 0, 0.25),-6px 4px 4px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mainpanelmini{
    width: 55vw;
    height:auto;
    overflow: auto;
    border-radius: 2vh;
    background-color:rgba(161, 161, 161, 1);
    margin-top: 3vh;
    box-shadow: 4px 2px 2px rgba(0, 0, 0, 0.25);
}
.subject2{
    padding-left: 1vw;
}






@media (max-width:992px){
    #search{
        background: rgba(52, 48, 48, 1);
        border-radius: 50%;
        box-shadow: 0.5vw 0.5vh 4px rgba(0, 0, 0, 0.25);
        height: 7em;
        width: 7em;
        display: flex;
        margin-right: 2em;
    }
    #Scientia{  
        font-size: 15vw;
    }
    #значок{
        height: 3vh;
        margin: auto;
        
    }
    #Search{
        display: none;
    }
    #logo{
        width: 15em;
        height: auto;
    }
    #windown{
        flex-direction: column;
        justify-content:none;
        height: auto;
    }
    #panel{
        flex-direction: row;
        width: 90%;
        height: auto;
        align-items: center;
        padding-right: 5vw;
        margin-top: 5vh;
        border-radius: 3vh;
    }
    .panelmini{
        margin: 0;
        width: auto;
        margin-left: 5vw;
        margin-top: 1vh;
        margin-bottom: 1vh;
    }
    #mainpanel{
        width: 90%;
        height: auto;
        padding-bottom: 3vh;
        margin-bottom: 5vh;
        margin-top: 5vh;
        margin-right: 0%;
    }
    .mainpanelmini{
        width: 90%;
        padding-left: 2vw;
        margin: auto;
        margin-top: 2vh;
    }
}