@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}
body {
  height: 100vh;
}

.categories {
    position:relative;
    z-index:5;
    font-weight: 250px;
    font-size: 0.7rem;
    max-width: 50%;
    min-height: 100vh;
    justify-content: flex-start;
    background-color: #f0f0f0; /* Add a background color */
}
.row{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    padding: 10px;
}
.col-3{
    flex-basis: 50%;
    max-width: 250px;
    min-width: 150px;
    margin-bottom: 10px;
}
.row .col-3 img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .2s linear;
}


.popup-img span{
    position: absolute;
    top: 0; right: 10px;
    font-size: 60px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
    z-index: 10;

}
.popup-img img{
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    border: 5px solid white;
    border-radius: 5px;
    width: 750px;
    object-fit: cover;
    display: none;
}
.categories .row .col-3 img:hover{
    transition: .1s;
    transform: scale(1.03);
}

.navbar {
    padding: 0 10px 0 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #000;
    background-color: gray;
    color: white; 
}
li a{
    text-decoration: none;
    color: white;
    font-weight: 500;

}
h1{
    font-size: 0.8rem;
}

.navbar .toggle_btn {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none; /* Initially hide the toggle button */
  }
  
.action_btn{
    background-color: rgb(66, 96, 245);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;

}
.action_btn:hover{
    transform: scale(1.05);
    color: white;
}
.action_btn:active{
    transform: scale(0.95);
}

.navbar .links {
    list-style: none;
    display: flex;
    margin: 10px 20px;
    gap: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;

}

ul li:hover {
  color: #007bff;
}

.logo{
    max-width: 120px;
}

.img {
  width: 95%;
}

.fa-facebook{
    padding-top: 10px;
    padding-left: 50%;
    font-size: 40px;
    color: rgb(66, 96, 245);
}
.popup-img .fa-circle-xmark{
    display: flex;
    margin-top: 28px;
    padding: 0;
    color: rgb(79, 79, 79);
    font-size: 24px
}
.dropdown_menu{
    display: none;
    position: absolute;
    right: 2rem;
    top: 60px;
    height: 0;
    width: 300px;
    background: rgba(79, 79, 79);
    backdrop-filter: blur(10px);
    opacity: 0.33;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 65px;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}
.dropdown_menu.open{
    height: 220px;
}
.dropdown_menu li{
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dropdown_menu .action_btn{
    width: 100%;
    display: flex;
    justify-content: center;
}
.close-popup {
    height: 10px;
    width: auto;
    margin-top: 200px;
    color: #000000;
    cursor: pointer;
  }
@media(max-width: 992px){
    .navbar .links,
    .navbar .action_btn{
        display: none;
    }
    .navbar .toggle_btn {
        display: block;
    }
    .dropdown_menu{
        display: block;
    }
}

@media(max-width: 576px){
    .dropdown_menu{
        left: 2rem;
        width: unset;
    }
    .categories .popup-img img{
        min-width: 150px;
        height: auto;
    }
}

