html {
    font-weight: 900;
    font-size: 10;
    color: #000;
}

body {
    background-image: linear-gradient(90deg, #516471 8%, #1f4459 50%, #002642 100%);
    margin: 50px;
    font-family: sans-serif;
}
header {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    margin: 10px 0;
    text-align:center ;
    color: rgb(255, 255, 255);
    border-top: 2px solid black;
    box-shadow: 2px 0 5px black;
}
header img{
    width: 200px;
}

.characters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
}

.character {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-gap: 10px;
    align-items: center;
    font-weight: 100;
}

.char__artwork {
    width: 100%;
    cursor: pointer;
    transition: 1s;
}

.gryffyndor {
    color: red;
    text-shadow: 0 0 2px white;
}

.slytherin {
    color: rgb(13, 196, 28);
    text-shadow: 0 0 1px white;
}

.char__artwork:hover {
    transform: scale(1.5);
    box-shadow: 0 0 5px white;
    position: relative;
}
h2:hover{
    text-decoration: underline;
    cursor:pointer;
}