/* Боди */
body {
    color: darkmagenta;
    background-color: #171717;
    font-family: 'Open Sans', sans-serif;
}

#note {
    text-align: center;
}

#textNote {
    width: 99%;
    height: 180px;
    background: #2b2b2b;
    color: white;
}
#nav_pan{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-bottom: solid 1px darkviolet;
    font-size: 24px;
    padding-bottom: 5px;
    justify-content: space-between;
}
#nav{ 
    margin-left: 1%;
    display: inline-table;
    float: left;
}
#time{
    float: right;
    margin-right: 1%;
    position: inherit;
    color: gold;
}
#today{
    float: right;
    margin-right: 1%;
    position: inherit;
    color: aqua;
}

/* Расписание */
#list {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

#list ul {
    list-style: none;
    width: 180px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#list ul li:nth-child(1) {
    border: solid 3px darkviolet;
    font-size: 24px;
}

#list ul li:nth-child(n+2) {
    border-bottom: solid 1px darkviolet;
    transition: 0.5s;
    margin-top: 4px;
}

#list ul li:nth-child(n+2):hover {
    border-bottom: solid 1px darkviolet;
    background-color: darkviolet;
    transition: 0.5s;
}
.hw{
    padding: 10px 0px;
    background-color: #101010;
    overflow: auto;
}
#day {
    background-color: slategrey;
    color: black;
} 
#Date {
    color: yellow;
    /*display: block;*/
    float: right;
}

@media only screen and (max-width: 768px) {
    #nav_pan {
        text-align: center;
    }
    #time {
        float: none;
        margin-right: 0;
    }
    #list {
        display: contents;
        flex-direction: column;
    }
    #list ul {
        width: 100%;
        text-align: center;
        padding-left: 0px;
    }
}