@font-face {
    font-family: "Roboto Condensed";
    font-weight: 700;
    src: url(fonts/RobotoCondensed-Bold.ttf);
}
@font-face {
    font-family: "Roboto Condensed";
    font-weight: 300;
    src: url(fonts/RobotoCondensed-Regular.ttf);
}
@font-face {
    font-family: "Roboto";
    font-weight: 300;
    src: url(fonts/Roboto-Regular.ttf);
}
@font-face {
    font-family: "Roboto";
    font-weight: 900;
    src: url(fonts/Roboto-Black.ttf);
}

@font-face {
    font-family: "Roboto Flex";
    font-weight: 100 1000;
	font-stretch: 25% 151%;
    src: url(fonts/RobotoFlex-VariableFont_GRAD,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf);
}

:root{
    --foreground-hard: rgb(27, 27, 27);
    --gray: #d8d8d8;
    --background-soft: rgb(238, 238, 238);
    --background-hard: rgb(253, 253, 253);
    --background-gradient: linear-gradient(0deg, rgb(255, 255, 255), rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0));;
}

@media (prefers-color-scheme: dark){

    :root{
        --foreground-hard: rgb(247, 247, 247) !important;
        --gray: #777777 !important;
        --background-soft: rgb(52, 52, 52) !important;
        --background-hard: rgb(29, 29, 29) !important;
        --background-gradient: linear-gradient(0deg, rgb(24, 24, 24), rgba(14, 14, 14, 0.74), rgba(0, 0, 0, 0));
    }


}


*{
    font-family: "Roboto Flex", sans-serif;
    font-weight: 300;
    -moz-transition: linear 0.3s all;
    -webkit-transition: linear 0.3s all;
    transition: linear 0.3s all;
    -webkit-user-select: none;  
-moz-user-select: none;     
-ms-user-select: none;      
-o-user-select: none;
user-select: none;

}

body{
    background: var(--background-hard);
}


h1{
    font-family: "Roboto Flex", sans-serif;
    color: var(--foreground-hard);
    font-weight: 900;
    font-stretch: 25%;
}



h2{
    font-family: "Roboto Flex", sans-serif;
    color: var(--foreground-hard);
    font-weight: 700;
    font-stretch: 25%;

}

option{
    font-family: "Roboto Flex", sans-serif;

    font-weight: 700;

}

h4{
    font-family: "Roboto Flex", sans-serif;
    font-weight: 900;
    color: var(--gray);
    font-size: 3rem;

}

html{
    overflow-y: scroll;
}
header{
    padding-left: 1%;
    padding-right: 1%;
    margin: 0 !important; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

main{
    max-width: 100%;
}

footer{
    position: fixed;
    bottom: 1;
    left: 1;
    right: 1;
    padding-bottom: 15px;
    padding-left: 1%;
    padding-right: 1%;
    margin: 0 !important; 
    display: flex;
    justify-content: space-between;
    background: var(--background-gradient);
}
button{
    height: 45px;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    border: none;
    overflow: hidden;
    border-radius: 100%;
    background: var(--background-hard);
    font-size: 22px;
    color: var(--foreground-hard);
}



a{
    text-decoration: none;
}


footer button{
    background-color: blueviolet !important;
    color: var(--background-hard);
}
footer button:active{
    background-color: rgb(111, 41, 177) !important;
}


input{
    height: 45px;
    border-radius: 50px;
    width: calc(100% - 55px);
    padding: 0 20px 0 20px;
    outline: none;
    background: var(--background-hard);
border: var(--background-soft) 2px solid;
-webkit-user-select: text;  
-moz-user-select: text;     
-ms-user-select: text;      
-o-user-select: text;
user-select: text;
color: var(--foreground-hard);
}

ul{
    list-style: none;
    padding: 0 1vw 0 1vw;
    
    
}

li{
    width: 100%;
    height: 50px;
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
   /* border-bottom: 1px var(--gray) solid;*/
    background: var(--background-soft);
    border-radius: 5px;
    color: var(--foreground-hard);

}
li div{
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: left;
    margin-left: 10px;
    -webkit-user-select: text;  
-moz-user-select: text;     
-ms-user-select: text;      
-o-user-select: text;
user-select: text;
}


button.check{
    height: 30px;
    width: 30px;
    margin-right: 15px;
}

button.delete{
    height: 45px !important;
    width: 45px !important;
    font-size: 15px;
    background-color: transparent;
    margin-right:1%;

}






button:active{
    background: var(--background-soft);    
}
input:focus{
    border-radius: 5px 5px 0 0;
    border: var(--background-soft) 0px solid;
background: var(--background-soft);
    border-bottom: 2px blueviolet solid ;
}
 input:focus + button{
    border-radius: 5px 5px 0 0;

}



#settings{
    z-index: 3;
    position: fixed;
    bottom: -50%;
    left: 0;
    right: 0;
    opacity: 0;
    height: 50%;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
    overflow: scroll;
    background-color: var(--background-hard);
    border-radius: 10px 10px 0 0;
    
}


@media (min-aspect-ratio: 5/5) and (min-width: 750px){
    #settings{
        left: 25%;
        right: 25%;
    }
}

#settings:target{
    -webkit-transform: translateY(-90%);
	transform: translateY(-90%);
    -moz-transform: translateY(-90%);
    will-change: transform;
    opacity: 1;
    -moz-transition: linear 0.1s all !important;
    -webkit-transition: linear 0.1s all !important;
    transition: linear 0.1s all !important;
    filter: drop-shadow(0 -10px 0.25rem rgba(0, 0, 0, 0.068))
}

#settings:target + #darken{
    width: 100%;
    height:100%;
    background-color: rgba(0, 0, 0, 0.418);
    
    
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
}

label{
    padding-top: 25px;
    padding-bottom: 25px;
    font-family: "Roboto Flex", sans-serif;
    font-stretch: 25%;
    color: var(--foreground-hard);
    font-weight: 300;
}

.bigbutton{
    width: 100%;
    margin-top: 5px;
    height: 45px;
    border-radius: 5px ;
    text-align: left;
    font-size: 15px;
    font-family: "Roboto Flex", sans-serif;
    font-stretch: 25%;

    font-weight: 700;
    background-color: var(--background-soft);
    border: none;
    color: var(--foreground-hard);
    
}


*:disabled{
    pointer-events: none;
    opacity: 0.4;
}

select{
    width: 100%;
    height: 45px;
    border-radius: 5px;
    border: none;
    background: var(--background-soft);
    font-family: "Roboto Flex", sans-serif;
    color: var(--foreground-hard);
    font-weight: 700;
    font-stretch: 25%;

    outline: none;
    margin-top: 15px ;
    
}




select::-ms-expand {
    display: none;
  }