body {
    background-color: #88452a;
    background-image: url(../img/bc.jpg);
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-repeat: repeat-y;
    overflow-x: hidden;
    font-family: "Open Sans", arial, sans-serif;
}

.navbar {
    width: 100vw;
    height: 50px;
    background: linear-gradient(180deg, rgba(23, 23, 23, 0.9), rgba(23, 23, 23, 0.9) 75%, rgba(185, 185, 185, 0));
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: first baseline;
    align-items: center;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-family: "Open Sans",arial,sans-serif;
    font-size: 15.5px;
    padding: 10px 15px;
    position: relative;
    top: -5px;
}

.navbar a:hover {
    text-decoration: underline;
    color: #ccc;
}

.login{
    margin-left: auto;
}
.categories-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.category {
    position: relative;
    width: 300px;
    margin: 30px;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s;
    box-shadow: 7px 7px 5px #00000075;
    animation: slideInFromTop 1s forwards;
}

.category img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.category .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 10px;
        box-sizing: border-box;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        text-align: center;
}

.category:hover .overlay {
    opacity: 1;
}

.category h3 {
    margin: 0;
    font-size: 2.5em;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


@media screen and (max-width: 550px) {
    .login{
        display: none;
    }
}

@media screen and (max-width: 404px) {
    .login{
        display: none;
    }

    .navbar{
        height: 32px;
    }

    .navbar a{
        font-size: 11.5px;
    }
}