body {
    font-family: Ginto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #36393f;
    color: #ffffff;
    text-align: center;
}

.light {
    background-color: white;
    color: #101010;
}

h1 {
    margin-top: 4rem;
}

.action-btn {
    transition: 0.7s ease;
    padding: 12px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 5rem;
}

.action-btn:hover {
    background-color: #27292e;
    color: white;
}

.action-btn svg {
    height: 5rem;
}

.category div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

main button {
    color: black;
    font-weight: bold;
    border: 0;
    width: 6rem;
    word-wrap: break-word;
    height: 6rem;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 5px 5px 5px 0 #202225;
    margin: 1rem;
}

main button:hover {
    animation: pulsate 1s ease-in-out;
}

@keyframes pulsate {
    0%{
        box-shadow: 
        0 0 25px #5ddcff,
        0 0 50px #4e00c2;
    }
}

@media (max-width: 500px) {
    body {
        margin: 0;
    }
    .category div {
        width: 100%;
        justify-content: center;
    }
    main button {
        width: 5.5rem;
        height: 5.5rem;

    }
}

main button:active {
    box-shadow: inset 5px 5px 5px 0 #202225;
}

.lightgreen {
    background-color: rgba(30, 255, 127);
}

.pink {
    background-color: rgb(255, 38, 236);
}

.red {
    background-color: rgb(235, 82, 82);
}

.blue {
    background-color: rgb(90, 90, 224);
}

.yellow {
    background-color: rgb(235, 235, 94);
}

.green {
    background-color: greenyellow;
}

.aqua {
    background-color: aqua;
    border-color: aqua;
}

.cyan {
    background-color: #22ffc0;
}

.dark-red {
    background-color: darkred;
    border-color: darkred;
    color: white;
}

.msg-box {
    background-color:#202225;
    color: white;
    font-weight: bolder;
    padding: 0.5rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: fixed;
    width: calc(100% - 1rem);
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#github-button svg{
    height: 2rem;
    filter: invert(1);
}

#github-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.search-box, .search-input, .search-btn {
    margin: 0;
    box-sizing: border-box;
  }
  
  .search-box {
    width: 19rem;
    height: 60px;
    background: #27292e;
    line-height: 40px;
    padding: 10px;
    border-radius: 60px;
    cursor: pointer;
  }
  
  .search-input {
    background: #27292e;
    color: #fff;
    outline: none;
    border: none;
    line-height: 40px;
    font-size: 1em;
    transition: 0.7s ease;
  }
  
  .search-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background: #27292e;
    padding: 12px;
    border-radius: 50%;
    float: right;
    color: #22ffc0;
    transition: 0.4s ease;
  }

  .search-box:hover > .search-btn, 
  .search-input:focus + .search-btn {
    background: #22ffc0;
    color: #101010;
  }

  .flexbox {
      display: flex;
      justify-content: center;
  }

  .action-btn, .search-box {
    margin: 0.5rem;
    font-weight: bolder;
}

.light .search-input, .light .search-btn, .light .search-box {
    background-color: rgb(200, 200, 200);
    color: black;
}

#settings-menu {
    border-radius: 1rem;
    background-color: white;
    width: 30rem;
    height: 30rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: x-large;
}

#save-settings {
    border: 3px solid black;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 2rem;
    font-weight: bolder;
    background: none;
    width: 6rem;
    font-size: large;
}

#settings-background {
    position:fixed;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

#settings-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

#settings-btn i {
    filter: invert(1);
    font-size: x-large;
}

.light #settings-btn i {
    filter: invert(0);
}