@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
 
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}
html, body{
    width: 100%;
    height: 100%;
}
a {
    text-decoration: none;
}
.hide{
    display: none;
}
.active{
    background: #cecece !important;
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    position: fixed;
    padding: 35px 40px;
    border-bottom: solid;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
}
.input-active{
    top: 0 !important;
}
input {
    position: absolute;
    top: -100px;
    right: 0;
    font-size: 1.3rem;
    font-weight: 500;
    padding: 22.05px 30px;
    width: 100vw;
    border: none;
    outline: none;
    transition: top 0.5s ease;
}
button {
    border-radius: 10px;
    padding: 5px;
    font-size: 1.4rem;
    border: 1px solid rgba(138, 138, 138, 0.285);
    background: white;
    cursor: pointer;
    transition: 0.3s ease;
}
button:active{
    scale: 0.5;
}
h1{
    font-size: 2.4rem;
    font-weight: 600;
}
.container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40vw, 1fr));
    padding: 40px;
    gap: 20px;
    margin-top: 55px;
}
.container > .students {
    background: rgba(189, 189, 189, 0.351);
    padding: 20px;
    border-radius: 8px;
    transition: background .5s ease;
}
.container > .students > .id {
    font-size: 1.2rem;
    color: #707070f1;
}
.container > .students > .id::before {
    content: 'Roll No. ';
}
.container > .students > .name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 8px;
}
@media (width < 800px) {
    .container{
        grid-template-columns: repeat(auto-fill, minmax(80vw, 1fr));
        padding: 35px 20px;

    }
    h1{
        font-size: 2rem;
    }
    .navbar {
        padding: 35px 20px;
    }
}
