*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit; 
}
html {
    font-size: 62.5%; 
    scroll-behavior: smooth;
}
body {
    box-sizing: border-box; 
    font-family: 'Rasa', serif;
    line-height: 1.7;
}
.navbar {
    padding-left: 3rem;
    padding-right: 3rem;
    position: absolute;
    width: 100%;
    z-index: 99;
}

.main {
    width: 100%;
    max-width: 40rem;
    margin: auto;
    padding: 30px;
    font-family: "Nunito", sans-serif;
}

.search-wrapper {
    position: relative;
    display: block;
}
.search-wrapper .form-input {
    width: 100%;
    padding: 6px 12px;
    font-size: 16px;
    border: 1px solid #C7C4C4;
    border-radius: 12px;
    outline: none;
    box-sizing: border-box;
    font-family: sans-serif;
}
.search-wrapper .form-input:focus {
    border-color: #999;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}
.search-icon {
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.search-icon:focus {
  outline: none;
}

.cards {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
    margin-top: 30px;
}
.card {
    width: 136px;
    height: 136px;
    border-radius: 12px;
    display: grid;
    justify-items: center;
    align-content: center;
    margin: auto;
    cursor: pointer;
}
.card.art {
    background: #88E1FD;
}
.card.coding {
    background: #C4F382;
}
.card.chess {
    background: #ff82a8;
}
.card.culinary {
    background: #EB5F79;
}
.card.dance {
    background: #FAD65C;
}
.card.drama {
    background: #88E1FD;
}
.card.fitness {
    background: #EB5F79;
}
.card.gardening {
    background: #C4F382;
}
.card.graphics {
    background: #FAD65C;
}
.card.language {
    background: #88E1FD;
}
.card.music {
    background: #ff82a8;
}
.card.martial {
    background: #C4F382;
}
.card.photography {
    background: #88E1FD;
}
.card.sports {
    background: #FAD65C;
}