@font-face{
    font-family: atkinson;
    src: url("include/AtkinsonHyperlegibleNext-Regular.ttf");
}

*, *::after, *::before{
    box-sizing: border-box;
    margin:0;
}

body{
    margin: 10px;
    font-family: atkinson, 'Sitka Text', Cambria, serif;
    height:100%;
    display:grid;
}

#build_app{
    width:100vw;
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-content: center;
}

#render_app{
    width:100vw;
    display:grid;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    padding-left: 2.5%;
}


@media all and (max-width:900px){
    #render_app{
        grid-template-columns: 1fr;
        row-gap: 10px;
        padding-left: 7.5%;
    }
}

#input{
    width: 90%;
}

#json{
    width: 90%;
    max-width: 90%;
    border: 1px solid black;
    font-family: monospace;
}

#card{
    width: 90%;
    border: 2px solid black;
    border-radius: 10px;
    padding: 10px;
}

input, textarea{
    width: 100%;
    resize: none;
    margin-bottom: 1em;
    font-family: monospace;
}


#card_top{
    width:100%;
    display:grid;
    grid-template-columns: min(30%, 300px) auto;
    column-gap: 10px;
    align-items: center;  /* vertical */
    margin-bottom: 1em;
}

#card_img{
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
}

#card_title{
    width: 100%;
    font-size: 2em;
    font-weight: bold;
}

ul{
    margin-bottom: 1em;
}

.card_ins_txt{
    margin-left: 10px;
}

h1{
    width: 100vw;
    text-align: center;
    margin-bottom: 1em;
}

#recipe_list{
    width: 90%;
    border: 2px solid black;
    border-radius: 10px;
    padding: 10px;
}

.li_link{
    color: #0000EE;
    text-decoration: underline;
    cursor: pointer;
}
.li_link::marker{
    color: #000000;
}

summary{
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
}

.indent-10px{ padding-left: 10px; }
.indent-20px{ padding-left: 20px; }

button{
    background-color: white;
    border:none;
}

dialog{
    margin:auto;
}
dialog::backdrop {
  background: rgb(0 0 0 / 50%);
}

.img-pop{
    height: min(90vh, 90vw);
}
