@import url('https://fonts.googleapis.com/css2?family=DM+Sans&display=swap');
*{
    font-family: 'DM Sans', sans-serif;
    box-sizing: border-box;
}
body{
    margin: 0;
    max-width: 100%;
}
*::-webkit-scrollbar{
    background: none;
    width: 5px;
    height: 5px;
}
*::-webkit-scrollbar-thumb{
    background-color: #aaaaaa;
}
a{
    color: black;
    text-decoration: none;
    cursor: pointer;
}
p{
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.link{
    color: #0077aa;
    text-decoration: underline;
}
.link:hover{
    color: #004477;
    text-decoration: underline;
}
.file{
    color: black;
}
.file:hover{
    text-decoration: underline;
}
.file i{
    color: #0077aa;
    font-size: 25px;
    text-decoration: none;
    width: 30px;
}

/* HEADINGS */

h1{
    font-size: 40px;
    color: #00aaff;
    margin-top: 5px;
    margin-bottom: 5px;
}
h2{
    font-size: 35px;
    color: #00aaff;
    margin-top: 5px;
    margin-bottom: 5px;
}
h3{
    font-size: 30px;
    color: #00aaff;
    margin-top: 5px;
    margin-bottom: 5px;
}
h4{
    font-size: 25px;
    color: #00aaff;
    margin-top: 5px;
    margin-bottom: 5px;
}
h5{
    font-size: 23px;
    color: #00aaff;
    margin-top: 5px;
    margin-bottom: 5px;
}
h6{
    font-size: 20px;
    color: #00aaff;
    margin-top: 5px;
    margin-bottom: 5px;
}
code, pre{
    padding: 5px;
    background-color: #dddddd;
    font-family: monospace;
    font-size: 15px;
    color: #0077aa;
    border-radius: 5px;
}

/* MSG */

.notifyDiv{
    padding: 10px;
    margin: 10px auto;
    width: fit-content;
    background-color: #ffffffff;
    border: #f7941d 2px solid;
    border-radius: 10px;
    font-size: 20px;
    color: #818285;
}
.notify i{
    color: #f7941d;
}

.errorDiv{
    padding: 10px;
    margin: 10px auto;
    width: fit-content;
    background-color: #ffffffff;
    border: #ff3333 2px solid;
    border-radius: 10px;
    font-size: 20px;
    color: #ff3333;
}

.warnDiv{
    padding: 10px;
    margin: 10px auto;
    width: fit-content;
    background-color: #ffffffff;
    border: #ffc107 2px solid;
    border-radius: 10px;
    font-size: 20px;
    color: #ffc107;
}

.successDiv{
    padding: 10px;
    margin: 10px auto;
    width: fit-content;
    background-color: #ffffffff;
    border: #33aa33 2px solid;
    border-radius: 10px;
    font-size: 20px;
    color: #33aa33;
}

.infoDiv{
    padding: 10px;
    margin: 10px auto;
    width: fit-content;
    background-color: #ffffffff;
    border: #3333ff 2px solid;
    border-radius: 10px;
    font-size: 20px;
    color: #3333ff;
}

.debugDiv{
    padding: 10px;
    margin: 10px auto;
    width: fit-content;
    background-color: #1f2833;
    border: #00ffff 2px solid;
    border-radius: 10px;
    font-size: 20px;
    color: #00ffff;
}

/* BUTTONS */

.btn-wrap{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.btn-a{
    color: #00aaff;
    cursor: pointer;
    transition: 0.3s;
}
.btn-a:hover{
    color: #0066bb;
}

.btn{
    color: #00aaff;
    cursor: pointer;
    border: 1px #00aaff solid;
    padding: 10px;
    margin: 10px 10px 10px 0px;
    width: fit-content;
    max-width: 100%;
    height: fit-content;
    font-size: 17px;
    background: #ffffff;
    display: block;
    transition: 0.3s;
}
.btn i{
    font-size: 20px;
    width: 25px;
    text-align: left;
}
.btn:hover{
    background-color: #00aaff;
    color: white;
    box-shadow: 0 0 5px #00aaff;
    border: 1px solid #00aaff;
}
.btn.green{
    color: #11bb11;
    border: 1px #11bb11 solid;
}
.btn.green:hover{
    background-color: #11bb11;
    box-shadow: 0 0 5px #11bb11;
    border: 1px solid #11bb11;
    color: white;
}
.btn.red{
    color: #ff2222;
    border: 1px #ff2222 solid;
}
.btn.red:hover{
    background-color: #ff2222;
    box-shadow: 0 0 5px #ff2222;
    border: 1px solid #ff2222;
    color: white;
}
.btn.orange{
    color: #ff8800;
    border: 1px #ff8800 solid;
}
.btn.orange:hover{
    background-color: #ff8800;
    box-shadow: 0 0 5px #ff8800;
    border: 1px solid #ff8800;
    color: white;
}
.btn.yellow{
    color: #ffcc00;
    border: 1px #ffcc00 solid;
}
.btn.yellow:hover{
    background-color: #ffcc00;
    box-shadow: 0 0 5px #ffcc00;
    border: 1px solid #ffcc00;
    color: white;
}
.btn.blue{
    color: #0022ff;
    border: 1px #0022ff solid;
}
.btn.blue:hover{
    background-color: #0022ff;
    box-shadow: 0 0 5px #0022ff;
    border: 1px solid #0022ff;
    color: white;
}

.btn-table{
    color: #00aaff;
    cursor: pointer;
    border: 1px #00aaff solid;
    padding: 10px;
    margin: 10px;
    width: fit-content;
    max-width: 100%;
    height: fit-content;
    font-size: 17px;
    background: #ffffff;
    display: block;
    transition: 0.3s;
}
.btn-table i{
    font-size: 20px;
    width: 20px;
    text-align: center;
}
.btn-table:hover{
    background-color: #00aaff;
    color: white;
    box-shadow: 0 0 5px #00aaff;
    border: 1px solid #00aaff;
}


/* TEXT STYLING */

.center{
    text-align: center;
}

/* FORM STYLING */

.form{
    max-width: 100%;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="url"],
.form input[type="number"],
.form input[type="submit"],
.form input[type="reset"],
.form input[type="password"],
.form input[type="date"],
.form input[type="search"],
.form textarea{
    margin: 10px 0;
    background: #ffffff;
    display: block;
    font-size: 18px;
    border: #bbbbbb solid 1px;
    padding: 10px;
    width: 100%;
    transition: 0.3s;
    outline: none;
}
.form textarea{
    transition: none;
}
.form select{
    margin: 10px 0;
    background: #ffffff;
    display: block;
    font-size: 18px;
    border: #bbbbbb solid 1px;
    padding: 10px;
    width: 100%;
    transition: 0.3s;
    outline: none;
}
.form select option{
    font-size: 15px;
}
.form input[type="reset"]{
    margin: 10px 0;
    background: white;
    display: block;
    font-size: 18px;
    border: #ff3333 solid 1px;
    padding: 10px 0;
    width: 100%;
    color: #ff3333;
    transition: 0.3s;
}
.form input[type="reset"]:hover{
    background-color: #ff3333;
    color: white;
    box-shadow: 0 0 5px #ff3333;
    border: 1px solid #ff3333;
}
.form input[type="reset"],
.form input[type="submit"]{
    cursor: pointer;
}
.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form input[type="number"]:focus,
.form input[type="reset"]:focus,
.form input[type="submit"]:focus,
.form input[type="password"]:focus,
.form input[type="url"]:focus,
.form input[type="date"]:focus,
.form input[type="search"]:focus,
.form textarea:focus{
    box-shadow: 1px 1px 5px #00aaff;
    outline: #00aaff 1px solid;
}
.form textarea{
    height: 200px;
    resize: vertical;
}
.box{
    width: 1fr;
    padding: 10px;
    border: 1px solid #bbbbbb;
}

.form input[type="submit"]{
    background: #ffffff;
    display: block;
    margin: 10px auto;
    border: #bbbbbb solid 1px;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
}
.form input[type="submit"]:hover{
    background-color: #00aaff;
    color: white;
    box-shadow: 0 0 5px #00aaff;
    border: 1px solid #00aaff;
}
.form optgroup.title{
    color: #00aaff;
    font-size: 18px;
}

/* ERRORS */

.errcode{
    margin: 20px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 20px #777
}
.errcode i{
    font-size: 40px;
    color: #f7941d;
    margin-right: 10px;
}
.errcode span{
    font-size: 35px;
    color: #f7941d;
}
.errcode .desc{
    color: black;
    font-size: 20px;
}

/* CARDS */

.card{
    border-radius: 10px;
    border: 1px solid #cccccc;
    max-width: 500px;
    min-width: 300px;
    margin: 10px;
    padding: 10px;
    border-top: 10px #0077aa solid;
    height: 350px;
    overflow-y: scroll;
    background-color: #ffffff;
}
.card-small{
    border-radius: 10px;
    border: 1px solid #cccccc;
    max-width: 100%;
    width: 250px;
    margin: 10px;
    padding: 10px;
    border-top: 10px #0077aa solid;
    height: 350px;
    overflow-y: scroll;
    background-color: #ffffff;
}
.card-big{
    border-radius: 10px;
    border: 1px solid #cccccc;
    width: 100%;
    margin: 10px;
    padding: 10px;
    border-top: 10px #0077aa solid;
    overflow-y: scroll;
    background-color: #ffffff;
}
@media (max-width: 600px){
    .card,
    .card-small,
    .card-big{
        border-radius: 10px;
        border: 1px solid #cccccc;
        width: 100%;
        margin: 10px;
        padding: 10px;
        min-width: 0;
        border-top: 10px #0077aa solid;
        height: 300px;
        overflow-y: scroll;
        background-color: #ffffff;
        height: fit-content;
    }
    .card,
    .card-small{
        max-height: 500px;
    }
}
.table-card{
    border-collapse: collapse;
    width: 100%;
}
.table-card td, .table-card th{
    padding: 10px;
}
.table-card td{
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}
.table-card th{
    color: #555555;
    text-align: left;
}

.table-card-big{
    border-collapse: collapse;
    width: 100%;
}
.table-card-big td, .table-card-big th{
    padding: 20px;
}
.table-card-big td{
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}
.table-card-big th{
    color: #555555;
    text-align: left;
}

.table-user td{
    padding: 10px;
}
.table-user td{
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}
.table-user{
    border-collapse: collapse;
}

.table-users-big{
    border-collapse: collapse;
    width: 100%;
}
.table-users-big td, .table-users-big th{
    padding: 20px;
}
.table-users-big td{
    border: 1px solid #cccccc;
}
.table-users-big th{
    border: 1px solid #cccccc;
}
.table-users-big th{
    background-color: #eeeeee;
}
.table-users-big th{
    color: #555555;
    text-align: left;
}

.variable{
    color: #00aaff;
}
.value{
    color: black;
}
