/* Global*/
*{
    margin: 0;
    padding: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: trasparent;
    line-height: 1.2em;

}

html, body{
    font-family: sofia-pro, sans-serif;
    overflow-x: hidden;
}

header {
    max-width: 1088px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 120px;
}


.picture{
    background-image: url(../img/school.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    width: 100%;
    min-height: 620px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -2;
}

.title{
    font-size: 65pt;
    font-weight: bold;
    text-align: left;
    padding-left: 10px;
    display: block;
    color: white;
    float: left;
}

.info{
    font-size: 32pt;
    color: white;
    text-align: right;
    display: block;
    float: right;
    padding-right: 10px;
    margin-top: 20px;
}

.nav{
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 530px;
    text-align: center;
    
}

.nav li{
    display: inline;
    font-weight: 400;
}

.nav a{
    display: inline-block;
    margin: 0 30px;
    margin-bottom: 15px;
    color: black;
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s ease;
}

.nav #active{
    color: white;
    border-radius: 15px;
    background-color: #6D89FD;
    padding: 7px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-weight: 700
}

.nav #active:hover{
    opacity: 1;
}


.nav a:hover{
    opacity: 0.5;
}


/*------------------Content----------------*/
.time{
    margin-top: 10px;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size: 30pt;
    font-weight: 500;
}

.content{
    height: auto;
    margin: 40px 10px 0 10px;
}


.item{
    background-color: white;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    margin-top: 5px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    transition: 0.8s ease;
    
}

.item:hover{
    box-shadow: 0 5px 17px rgba(0, 0, 0, 0.4);
}


.popis{
    padding: 25px 30px 25px 30px;
    font-weight: 300;
    color: black;
    line-height: 1.3em;
    text-align: justify;
}

.form{
    width: 300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.form #username{
    width: calc(100% - 15px);
    margin-bottom: 10px;
    height: 30px;
    border-radius: 20px;
    padding-left: 15px;
    border-style: solid;
    border-color: #999;
    color: #444;
    font-family: sofia-pro, sans-serif;
}

.form #password{
    width: 215px;
    float: left;
    height: 30px;
    border-radius: 20px;
    padding-left: 15px;
    border-style: solid;
    border-color: #999;
    border-width: 2px;
    color: #444;
}

.form #submit{
    width: 60px;
    float: right;
    background-color: #fff;
    color: #6D89FD;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 800;
    border-style: solid;
    border-color: #6D89FD;
    height: 34px;
    border-width: 2px;
    transition: 0.3s ease;
}

.form #submit:hover{
    
    background-color: #6D89FD;
    color: #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}
















/*Footer*/

footer{
    padding: 30px 0 50px 0;
    display: block;
    text-align: center;
    line-height: 20px;
    font-weight: 300;
    opacity: 0.6;
}

.admin{
    width: 50px;
    height: 50px;
    float: right;
}



/*Responsive*/

@media only screen and (max-width: 770px){
    body{
        width: 100%;
    }
    
    .header{
        padding-top: 50px;
        width: 100%;
    }
    
    .title{
        padding-left: 20px;
        font-size: 40pt;
        display: block;
        width: 100%;
    }
    
    .picture{
        min-height: 430px
    }
    
    .info{
        display: block;
        float: left;
        text-align: left;
        font-size: 22pt;
        margin: 10px 0 0 20px;
        padding: 0;
    }
    
    .nav{
        margin-top: 400px;
    }
    
    .nav li{
        margin-bottom: 5px;
    }
    
    .time{
        width: calc(100% - 20px);
        margin-right: auto;
        margin-left: auto;
    }
    

    .item{
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .admin{
        width: 0px;
        height: 0px;
    }
}

@media only screen and (max-width: 700px){
    .nav li{
        display: block;
        margin-bottom: 5px;
    }
    .admin{
        width: 0px;
        height: 0px;
    }
}


















