@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --DungeonsRed: #CF0000;
    --TextRed:#BF0000;
}

html, body{
    font-family: "Nunito", Arial, Helvetica, sans-serif;
    height: 100%;
    background-color: var(--TextRed);
}

main{
    height: 100%;
    background-image: url(dragons.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

a {
	color: inherit;
    text-decoration: none;
}

.content-table{
    margin: 25px auto; 
    min-width: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    background-color: white;
}

.content-table thead tr{
    color: white;
    background-color: var(--DungeonsRed);
    text-align: left;
    font-weight: bold;
}

.content-table th, .content-table td {
    padding: 6px 10px;
}

.content-table tbody tr {
    border-bottom:  1px solid #ddd;
    cursor: pointer;
    transition: ease-in-out 0.1s;
    background-color: #fff;
}

.content-table tbody tr:last-child {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.content-table tbody tr:hover {
    transform: scale(1.005);
}

.content-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.content-table tbody tr:last-of-type {
    border-bottom: 2px solid var(--DungeonsRed);
}

.content-table tbody tr.active-row{
    text-shadow: 0 0 0.9px var(--TextRed), 0 0 0.9px var(--TextRed), 0 0 0.9px var(--TextRed), 0 0 10px #5f5f5f;
    color: var(--TextRed);
}

h1{
    text-align: center;
    padding: 10px;
    font-size: 32px;
    background-color: var(--TextRed);
    color: white;
    font-weight: bold;
    font-family: "Noto Sans", sans-serif;
}

.paginator{
    border: 1px solid #5f5f5f;
    box-sizing: border-box;
    padding: 3px;
    width: 25px;
    text-align: center;
    background-color: white;
    transition: ease-in-out 0.1s;
}

.paginator:nth-of-type(even){
    background-color: #dddddd;
}

.paginator:hover{
    transform: scale(1.05);
}

.container {
    display: flex;
    justify-content: center;
    column-gap: 5px;
}

.search {
    text-align: center;
    background-color: var(--TextRed);
    color: white;
}
.search * {
    padding: 5px;
    margin: 5px;
}


.search input {
    color: black;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

h3, h2{
    color: white;
    text-align: center;
    padding: 5px;
}

.alert{
    text-align: center;
    color: white;
    font-weight: bold;
}

.required{
    color: var(--DungeonsRed);
    padding: 0;
    margin: 0;
}

footer{
    background-color: var(--DungeonsRed);
    width: 100%;
    text-align: center;
    padding: 5px;
    color: white;
    box-sizing: border-box;
}

.flex-form{
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}

.flex-form form{
    background-color: rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
    width: 25%;
    height: min-content;
    padding: 10px;
    margin: 20px;

}
.flex-form form .field{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: right;
}

h2{
    font-size: 28px;
}

.angry{
    background-color: #ffcaca;
}