
html, body {
height: 100vh;
margin: 0;
padding: 0;
}

body {
    
    
    background-size: cover;
    background-position: fixed;
    /*background-image: url('/main/images/back.jpg');*/
    font-family: 'HASENAT', serif !important;
}


.top {
    width: 100%;
    height: 50px;
    background: black;
    color: white;
    top:0;
    left: 0;

}


@font-face {
    font-family: 'HASENAT';
    src: url('/fonts/HASENAT.ttf') format('truetype');
}

.ck-content, .cke_editable {
    font-family: 'HASENAT', serif !important;
}



.btn-close:hover {
    color: white;
    background-color: transparent;
    opacity: 0.7;
}

.btn-close:focus {
    box-shadow: none;
    outline: none;
}


.card {
    width: 100%;
   
}

.card img {
    width: 75%;
    height: 450px;
    object-fit: cover;
    margin: auto;
}




button a{
    color: white;
    text-decoration: none;
}


.h-50 {
    height: 50px !important;
}


.nav-link {
    padding-left: 0 !important;
    font-size: 18px;
    
}

.logo {
    width: 70px; /* Adjust the width of the logo */
    height: auto; /* Maintain aspect ratio */
    background-image: url(../images/fff.svg);
    
    background-color: #ffffff; 
    border-radius: 5px;
    
}

.navbar {
    background: #667d92 !important;
}
.navbar-nav .nav-link {
    color: white !important;
}



.card-text {
    font-size: 14px; 
    display: flex;
    margin-top: 30px;
    max-width: 100%;
    display: block;
    height: 100%;
}

.navbar-toggler {
    background-color: white;
}



.more-link a {
    display: inline-block;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
    margin-top: 8px;
    padding-left: 10px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}



  .fa-clock {
    padding-top: 7px;
  }

  .fa-comment, .fa-thumbs-up, .fa-thumbs-down, .fa-share-alt {
    padding-top: 7px;
  }


.nav-item {
    font-size: 34px;
    
    padding: 18px;
    padding-top: 10px;
    
}


  .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}


.icons {
    display: flex;
    justify-content: space-between; /* ან space-around ან space-evenly */
    align-items: center;
    gap: 10px; /* აიქონებს შორის სივრცე */
    width: fit-content; /* საჭიროებისამებრ შეიძლება დაამატო */
  }
  
  .icons i {
    font-size: 24px;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .icons i:hover {
    color:  #007bff;
    transform: scale(1.2);
  }


.admin-info {
    display: flex;
    align-items: center;
    font-size: 15px;
}

.admin-info i {
    margin-right: 5px;
    position: relative;
    top: -5px;
}

 

/* მობილურის დიზაინი */
@media (max-width: 1200px) {
    .card-footer {
        flex-direction: column;
        }

    .icons {
        font-size: 18px;
        gap: 50px;
      
        margin-bottom: 4px;
    }

    .admin-info {
        font-size: 12px;
    }


/* Mobile responsive design */
@media (max-width: 991px) {
    .card-text {
        font-size: 14px; /* მობილურ ვერსიაზე ტექსტის ზომა */
        height: 97%;
    }
}

/* Further responsiveness for smaller screens */
@media (max-width: 720px) {
    .card-text {
        font-size: 14px; /* კიდევ უფრო მცირე ზომა */
        height: 40%;
    }
}

@media (max-width: 480px) {
    .card-text {
        font-size: 14px; /* ძალიან მცირე ზომა პატარა ეკრანებზე */
        height: 40%;
    }
}

@media only screen and (max-width: 1000px) {
    .card {
        width: 97%;
        margin: 0 auto;
    }

    .col-md-6 {
        flex: 0 0 97%;
        max-width: 97%;
    }

    .card-title {
        font-size: 20px;
    }

    .card-text {
        font-size: 16px;
    }
}


@media only screen and (max-width: 799px) {
    .card {
        width: 98%;
        margin: 0 auto;
    }

    .col-md-6 {
        flex: 0 0 98%;
        max-width: 98%;
    }

    .card-title {
        font-size: 20px;
    }

    .card-text {
        font-size: 14px;
    }
}


@media (max-width: 768px) {
    .card img {
        width: 100%;
       
    }
}

}