@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@900&display=swap');
* {
  box-sizing: border-box;
  /* border: solid 1px red; */
}
:root{
    --theme-fade:rgba(255, 86, 86,0.8);
    --theme: rgba(255, 86, 86,1);
    --blue: rgb(179, 225, 240);
    --black: rgb(54, 52, 52);
    --bg: rgb(246, 244, 239);
    
}
html,body{
    font-family: 'Montserrat','myriad pro', sans-serif;
    margin: .8rem;
    scroll-behavior: smooth;
}
h1,.cur1,.cur2,#capture{
    text-align: center;
}
p,td,label{
    font-size: clamp(0.6875rem, 0.6389rem + 0.2431vw, 1.125rem);
}
h2{
    font-size: clamp(1rem, 0.8611rem + 0.6944vw, 2.25rem);
}
legend{
    font-size: xx-small;
}
fieldset{
    display: flex;
    flex-direction: column;
    margin: 1rem auto;
    justify-content: center;
}
input{
    border: solid 1px var(--black);
    border-radius: .2rem;
    padding: .5rem;
    margin: .5rem;
}   
input:focus{
    outline: solid 1px var(--blue);
    border-color: var(--blue);
}

#fill{
    max-width: 80ch !important;
    min-height: 100vh;
    background-color: var(--bg);
    padding: 1rem;
}
.cur1,.cur2{
    /* min-width: clamp(4rem,50%,5rem); */
    width: 45%;
    display: inline-block;
    padding: .5rem;
    margin: .2rem;
}
.cur1 {
  border-radius: 0.5rem;
  background-color: var(--blue);
  
}
.cur2 {
  border-radius: 0.5rem;
  background-color: var(--theme);
  color: var(--bg);
}
.btn{
    display: block;
    padding: 1rem 3rem;
    max-width: 16rem;
    text-align: center;
    text-decoration: none;
    background-color: var(--theme-fade);
    border: none;
    color: var(--bg);
    cursor: pointer;
    transition: all ease-in-out 0.2s;
    margin: 2rem auto;
}
.btn:hover{
    background-color: var(--theme);
}
.group{
    display: flex;
    margin: .5rem;
    flex-direction: column;
}
.group *{
    flex-grow: 1;
}
.narrow{
    width: 100%;
    max-width: 50ch;
    margin: 0 auto;
}
.hidden{
    display: none;
}
#capture{
    background-color: var(--bg);
    padding: 2rem .5rem;
}
#sheet{
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 1rem; */
}
#search,#advance{
    font-size: xx-small;
    color: var(--theme-fade);
}
#advance{
    border: none;
    background: none;
    cursor: pointer;
    text-decoration: underline;
}

@media screen and (min-width:700px) {
    body{
        padding: 0;
    }
    fieldset,.group{
        flex-direction: row;
    }
    #capture{
        padding: 2rem;
    }
}


