:root{
    --light-background: #fcfcfc;
    --shadow-color: #292929;
    --border-color: var(--shadow-color);
    --dark-background: #303030cf;
}

html{
    scroll-behavior: smooth;
}

body{
    background-attachment: fixed;
    background-image: url("https://picsum.photos/1920/1080");
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Roboto', sans-serif;
    font-size: 120%;
    margin: 0;
    overflow-y: scroll;
}

select{
    color: #fff;
    font-size: .7em;
    margin-left: 1em;
}
label {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
h2{
    font-weight: 900;
    overflow: hidden;
    overflow-wrap: normal;
}
p{
    margin: 0;
}


#checklistsContainer{
    display: flex;
    flex-direction: column-reverse;
    margin-top: 25vh;
    padding-bottom: 4em;
}

.checklistGroupElement{
    align-items: center;
    background-color: var(--dark-background);
    border-radius: 3em;
    box-shadow: 0.2em 0.2em 0.2em var(--shadow-color);
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    margin: 1em auto;
    max-height: 0px;
    max-width: 100%;
    opacity: 0;
    overflow: hidden;
    padding: 0 1em;
    width: max-content;
}

.checklistGroupElement *{
    margin: 0 .1em .5em .1em;
    padding: .4em;
    width: max-content;
}

.checklistGroupHeader{
    grid-column: 1 / -1;
    margin: 0.6em auto 0 auto;
}

.checklistItemDesc{
    margin-left: auto;
}

.numberInput{
    margin-left: 1em;
}
.textSubmitBtn{
    background-color: var(--light-background);
    border: unset;
    height: 100%;
    margin-left: .4em;
}
.textSubmitBtn:active{
    opacity: 0.3;
}

/*ANCHOR Login handlers*/
.google-login-div{
    position: fixed;
    right: 0;
    bottom: 0;
}

@media (max-width: 50em){
    body{
        font-size: 70%;
    }
    .checklistGroupElement{
        box-sizing: border-box;
        width: 100%;
    }
}