*{
    margin:0;
    box-sizing: border-box;
    padding: 0;
}

body{
    
    font-family: Arial, Helvetica, sans-serif;
}

header{
    background-color: burlywood;
    padding: 0.5rem 2rem 0.5rem 1rem;
    box-shadow: 0px 2px 2px black;;

    h1{
        font-size: 1.7rem;
    }
}

dialog{
   margin: 2rem auto;
   padding: 1rem;
   border: none;
   background-color: rgb(223, 210, 193);
    border-radius: 0.25rem;

 

   h2{
      display: flex;
      font-size: 1rem;
      align-items: center;

      gap:1rem;
   }
}

main{
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap: 1rem;

}

table{
    border-spacing: 0rem 0rem;

}

section{
    display: flex;
    flex-direction: column;
    background-color: rgb(223, 210, 193);
    border-radius: 0.25rem;
    padding: 0.5rem;
    gap:0.5rem;

    textarea{
        height:100%;
    }

    label{
        font-size: 0.8rem;
    }
}

th,td{
    
    text-align: center;
    padding:0.4rem;
  
}

th:nth-child(odd), td:nth-child(odd){
    background-color: burlywood
}



td button{
    width: 2rem;
    border-radius: 1rem;
}

::backdrop{
    background-color: rgba(0, 0, 0, 0.664);
}

.storage-key-delete{
    background-color: transparent;
    border: none;
    color: red;
}

.storage-key-btn{
   width: 100%;
   border:none;
   background-color: burlywood;
}

.storage-panel{
    display: flex;
    width:100%;
    gap: 1rem;
}

#storage-key-container{
    display: flex;
    flex-direction: column;
    padding:0.5rem;
    gap:0.5rem;
    overflow-y:scroll;
    height: calc( 100vh - 8rem );
}

td{
    font-weight: bold;
    font-size: 2rem;
    text-shadow: 2px 2px 2px black;
}


#average{
    font-weight:bold;
    color: green;
}

.note:nth-child(3), .note:nth-child(2), .note:nth-child(1){
    color: green;
}

.note:nth-child(4){
    color: orange;
}

.note:nth-child(6), .note:nth-child(5){
    color: red;
}

#adPanel{
    margin-top:1rem;
    padding: 1rem;

    #adContent{
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.2rem;
        font-size: 0.8rem;
        border-radius: 0.25rem;
        border: 1px solid grey;
    }

    #ads{
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

footer{
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;

    a{
        color: black;
    }
}

#supportFooter{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

#consent{
    form{
        margin-top:2rem;
        width:100%;
        text-align: center;
    }
}
@media only screen and (max-width: 1024px) {


   

    main{
        flex-direction: column;
        height: initial;

        
    }
}

@media only screen and (max-width: 700px) {


   

    section table{
        flex-direction: column;
        height: initial;

        
    }
}
