*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    font-family: Rubik, sans-serif;
    color: white;
}

body,html{
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
    background: #050554;
    font-family: Rubik, sans-serif;
    font-weight: 100;
}

h1{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 100%;
    font-weight: 700;
    padding: 20px;
    padding-top: 40px;
    font-size: 40px;
    background: ;
    margin: 5px 0;
}

.mini{
    font-size: 14px;
    height: 10px;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    display: flex;
    background: ;
    margin-bottom: 30px;
    color: #FFF;
    font-weight: 700;
}

#btn1{background: royalblue;}

input{
    display: block;
    margin: 10px auto;
    width: 90%;
    padding: 5px;
    outline: none;
    border: 1px solid #ccc;
    text-decoration: none;
    border-radius: 1px;
    font-size: 17px;
    font-family: Rubik, sans-serif;
    font-weight: 500;
    color: #171725;
}

button{
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
  width: 90%;
  font-weight: 500;
}

section{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 20px auto;
}

section button{
    width: 40%;
    margin: 0;

}

#Box{
    height: 170px;
    width: 99%;
    background: white;
    margin: 10px auto;
    box-shadow: ;
    border-radius: 2px 2px 15px 15px;   
    border: 2px solid #050554;
    position: relative;
}

#AdsBox{
    height: 120px;
    width: 204%;
    border: 2px solid white;
    margin: 10px auto;
    box-shadow: ;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h3{
    background: ;
}

#SearchH3{display: none;}

h3,#Box h3{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40.1px;
    width: 100%;
    font-weight: 600;
    font-size: 18px;
    
}

#Box h3{ background: #171725;border-radius: 0px 0px 8px 8px;border: 2px solid #171725; width: 100.2%;
left: -0.1%; position: absolute;
}

#ColorDisplay{
    height: 130px;
    width: 100%;
}

#GenerateArea,#SearchResult{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    margin: 10px auto;
    position: relative;
    grid-gap: 10px;
    padding: 2px;
    padding: 0 5px;
}

@media(max-width: 700px){
    #GenerateArea,#SearchResult{
    grid-template-columns: repeat(2,1fr);
    }
}



#GenerateArea #H3,#SearchResult #H3{
  width: 200%;
}

nav{
    position: fixed;
    height: 55px;
    width: 100%;
    background: #05037D;
    bottom: 0;
    align-items: center;
    justify-content: space-between;
    display: flex;
    
    opacity: 1;
}

nav label{
    padding: 5px 15px;
    border-radius: 10px;
    margin: 0 20px;
    background: #02A739;
    color: white;
    font-weight: 800;
}

#bestColor{
    background: black;
}

#BestColors{
    height: 100%;
    width: 100%;
    background: #050554;
    position: fixed;
    top: 0;
    overflow: scroll;
    display: none;
    flex-direction: column;
}

#BestColors label{
    padding: 0 5px;
}

#BestColors h1{
    margin: 25px auto;
}
#BestColorHere{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 10px;
}

#BestColors span{
    margin: 20px auto;
}

select{
    background: #101019;
    width: 98%;
    margin: 10px auto;
    display: flex;
    border: none;
    font-size: 16px;
    padding: 10px 8px;
    outline: none;
}

#ThemeSelect{
    display: none;
}
