body{
    margin:0;
    font-family: Trickster;
    background-image: url(fond/IMG_4177.PNG);
    }
    
    
@font-face {
    font-family: "Trickster";
    src: url('typo/Trickster-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

h2{
    font-family: Trickster;


}
.container{
    display:grid;
    gap:30px;
    justify-content:center;
    margin-top:40px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min-content 1fr;
    align-items: start;
    justify-items: start;
}

svg{
width: 100%;


}
#save{
    font-family:"Trickster";
    background: none;
    border: 3px solid pink;

}

img{
    width:30%;
    height:min-content;
}
.panel{
    width:550px;
    height: auto;
    background:rgb(186, 102, 225);
    padding:20px;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-items: center;

    border-radius:25px; 

    box-shadow:0 10px 30px rgba(236, 251, 18, 0.2);
}

.icon{
    width:80px;
    height:80px;

    object-fit:contain;

    cursor:pointer;

    margin:6px;

    padding:8px;

    background:#f2f2f2;   

    border-radius:15px;   

    box-shadow:0 4px 10px rgba(0,0,0,0.1);

    transition:0.2s;

    display:inline-block;
}

.monster{
    position:relative;

    width:500px;   
    height:500px;  

    background:rgb(255, 255, 255);

    border-radius:25px; 

    box-shadow:0 10px 30px rgba(0,0,0,0.2);

    overflow:hidden;
}


.layer{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:contain;
}
#fin {
    position: fixed;
    inset: 0;
    background: #000;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    display: none;
}
#fin a {
    color: currentColor;
}
#result img {
    width: 250px !important;
    height: auto !important;
}