* {
    box-sizing: border-box;
    font-size: 18px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
}


    h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #d4f1f4, #75e6da);
}

#search-input {
    width: 12rem;
    height: 2.2rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}
#search-input:focus {
    border-color: #0077b6;
    }

#search-button {
    border-radius: 999px;
    width: 5rem;
    height: 2.2rem;
    border: none;
    background-color: #0077b6;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}
#search-button:hover {
    background-color: #023e8a;
}

label {
    font-size: 1.1rem;
    margin-bottom: 0.5rem; 


}

.main-container {
    background-color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 25px;
    width: 23%;
      padding: 2rem 1rem;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
      min-width: 300px;
}

.general-descr   {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.row-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}


p, h3, h4 {
    margin: 0;
}
#creature-name, #creature-id, h4 {
    font-size: 1.2rem;
    font-weight: bold;


    }

table {
    border-collapse: separate;
    border-spacing: 5px;

    
    width: 100%;
    margin-top: 1rem;
}
th, td {
    background: purple;
    color: white;
    padding: 8px 12px;
    text-align: center;
    border-radius: 6px;
}
td {
    font-size: 1rem;
    font-weight: 300;
}
.name {
    width: 60%;
}
.data {
    width: 40%;
    }

.type-container {
    text-align: center;
    min-width: 3rem;
    padding: 0.3rem 0.5rem;
    margin-left: 1rem;
    border-radius: 8px;
    font-weight: bold;
    color: white;
    }
.special-container {
    margin-top: 1.5rem;
    text-align: center;
}