/* Elements */
h1 {
    color: rgb(7, 55, 143);
    text-shadow: 2px;
    font-size: 40px;
    font-weight: 700;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    height: 100vh;
    font-family: montserrat;
    background-color: rgb(247, 247, 247);
}

/* Classes */

.logo{
    margin-top: 50px;
    text-align: center;
}

.loginform{
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(-50%, -50%);
    width: 400px;
    border: solid 1px #0f0f0f;
    border-radius: 10px;
    background: rgb(254, 255, 255);
}

.loginform h1{
    text-align: center;
    padding: 0 0 20px 0;
    border-bottom: 1px solid silver;
}

.loginform form{
    padding: 0 40px;
    box-sizing: border-box;
}

form .text-field{
    position: relative;
    border-bottom: 2px solid #adadad;
    margin: 30px 0;
}

.text-field input{
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
}

.text-field label{
    position: absolute;
    top: 50%;
    left: 5px;
    color: #adadad;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
}

.text-field span::before{
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 0; 
    height: 2px;
    background: #2691d9;  
    transition: .5s;
}

.text-field input:focus ~ label,
.text-field input:valid ~ label{
    top: -5px;
    color: #2691d9;
}

.text-field input:focus ~ span::before,
.text-field input:valid ~ span::before{
    width: 100%;
}

.submit{
    width: 100%;
    height: 50px;
    border: 1px solid;
    background: #2691d9;
    border-radius: 25px;
    font-size: 18px;
    color: #e9f4fb;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    margin-bottom: 20px;
}

.submit:hover{
    border-color: #2691d9;
    transition: .5s;
}

nav{
    background: #0082e6;
    height: 80px;
    width: 100%;
}

label.logot{
    color: white;
    font-size: 35px;
    line-height: 80px;
    padding: 0 100px;
    font-weight: bold;
}

nav ul{
    float: right;
    margin-right: 20px;
}

nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

nav ul li a{
    color: white;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
    
}

a.active,a:hover{
    background: #1b9bff;
    transition: .5s;
}

.checkbtn{
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
    z-index: 5;
}

#check{
    display: none;
}

.table-container{
    padding: 0 10%;
    margin: 40px auto 0;
}
.heading{
   font-size: 40px;
   width: 100%;
   text-align: center;
   color: #161515;
   margin-bottom: 40px; 
}

.table{
    width: 100%;
    border-collapse: collapse;
    display: block;
    height: 650px;
    overflow-y: auto;
    float: left;
}

.table thead{
    background-color: #0082e6;
}


.table thead tr th{
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.35px;
    color: #fff;
    opacity: 1;
    padding: 12px;
    vertical-align: top;
    border:  1px solid #fff;
}

.table tbody tr td{
    width: 20%;
    font-size: 14px;
    letter-spacing: 0.35px;
    font-weight: normal;
    columns: #fff;
    background-color: rgb(219, 217, 217);
    padding: 8px;
    text-align: center;
    border: 1px solid #fff;
}





.table1{
    width: 100%;
    border-collapse: collapse;
}

.table1 thead{
    background-color: #0082e6;
}

.table1 thead tr th{
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.35px;
    color: #fff;
    opacity: 1;
    padding: 12px;
    vertical-align: top;
    border:  1px solid #fff;
}

.table1 tbody tr td{
    font-size: 14px;
    letter-spacing: 0.35px;
    font-weight: normal;
    columns: #fff;
    background-color: rgb(219, 217, 217);
    padding: 8px;
    text-align: center;
    border: 1px solid #fff;
}


.btn-group .btnedit{
    width: 30px;
    height: 15px;
    background: #868685;
    border: solid 1px transparent;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    color: white;
    padding: 10px 10px;
    font-size: 15px;
    font-weight: bold;
}
.btn-group .btndel{
    width: 30px;
    height: 15px;
    background: #b82905;
    border: solid 1px transparent;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: white;
    padding: 10px 10px;
    font-size: 15px;
    font-weight: bold;
}

.btnedit:hover{
    background: #444444;
}
.btndel:hover{
    background: #990303;
}

.searchbar i{
    font-size: 18px;
    padding: 10px 10px;
    cursor: pointer;
    text-decoration: none;
}

.searchbar button.search{
    color: #1a1919;
}

.searchbar button.add{
    color: #0fbe2c;
}




@media(max-width:1200px){
    .logo img{
        width: 85%;
    }
    .loginform{
        margin-top: 60px;
        width: 300px;
    }
    label.logot{
        font-size: 30px;
        padding-left: 50px;
    }
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 60px;
        transform: translateX(-100%);
        text-align: center;
        transition: all .5s;
    }
    nav{
        width: 100%;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    a:hover,a.active{
        background: none;
        color: #0082e6;
    }
    #check:checked ~ ul{
        transform: translateX(0);
        z-index: 5;
    }
    .searchbar{
        margin-bottom: 5px;
    }
    .table thead{
        display: none;
    }
    .table, .table tbody, .table tr, .table td{
        display: block;
        width: 100%;
    }
    .table tr{
        margin-bottom: 15px;
    }
    .table tbody tr td{
        text-align: right;
        padding-left: 50%;
        position: relative;
        width: 100%;
    }
    .table td:before{
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: 600;
        font-size: 14px;
        text-align: left;
    }
    .btn-group{
        margin-top: 7px;
    }
    .btn-group .btnedit{
        font-size: 10px;
    }
    .btn-group .btndel{
        font-size: 10px;
    }
}
