@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;700;900&display=swap');

:root {
    --background-color: #f7f8fa;
    --primary-color: #d1d5db;
    --secondary-color: #9ca3af;
    --accent-color: #4b5563;
    --text-color: #374151;
    --navbar-color: #c8c8c880;
    --links-color: #007bff;
    --links-hover-color: #0056b3;     
}

* {
    box-sizing: border-box
}

body {
    font-family: 'Roboto', sans-serif !important;
    margin: 0;
    background-color: var(--background-color) !important;
}

.blog-write-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 60px 20px;
}

.container-fluid .own-button {
    background-color: transparent;
    border: .11rem solid black;
    color: var(--text-color);
    transition: background-color 0.5s ease;
}

.container-fluid .own-button:hover {
    background-color: rgba(0, 0, 0,.5);
    border: .11rem solid white;
    color: white;
}

.container-fluid .own-button:active {
    background-color: #ccc !important;
    border: none;
    transform: scale(0.95);
}

.blog-block {
    width: 100%;
    padding: 40px 20px;
}

.blog-img {
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    transition: 0.3s all ease-in-out;
}

.blog-img:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.3);
}

.blog-content {
    min-width: 60%; 
    flex-grow: 1;
}

.blog-content h1 {
    font-size: 2.5rem;
}

.blog-content p {
    font-size: 1.2rem;
    text-align: justify;

}

.like-container {
    margin-top: 40PX;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
}

.like-btn {
    font-size: 28px;
    color: grey;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.like-text {
    font-size: 16px;
    font-weight: 500;
    color: darkred; 
    text-align: center; 
}

.like-container:hover .like-btn i,
.like-container:hover .like-text {
    color: darkred;
}

.liked {
    color: red;
}

.separator {
    margin: 10px auto;
    width: 80%;
    height: 2px;
    background-color: #ddd;
}

@media (max-width: 768px) {
    .blog-container h1 {
        font-size: 2rem;
    }
    .blog-container h2 {
        font-size: 1.2rem;
    }
    .blog-content h1 {
        font-size: 1.2rem;
    }
    .blog-content p {
        font-size: .9rem;
    }
    #header-picture {
        height: 500px !important;
    }
    #header-picture img {
        height: 500px !important;
    }
}

/*********************************************Blog Post Items From Here*******************************************/
/*Modal elements*/
.zoom-out {
  aspect-ratio: 3 / 2;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .zoom-out {
    height: auto;
    max-height: 900px;
  }
}

.zoom-out__slide div {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.slide-inner {
  position: relative;
  overflow: hidden;
}

.caption-overlay {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  z-index: 2;
  box-sizing: border-box;
  text-align: center;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.3s ease;
}

.caption-overlay:hover {
  background: rgba(0, 0, 0, 0.75);
}

.zoom-out__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/*Footer Items*/
footer {
    font-size: 14px;
    color: #6c757d;
}

footer a {
    text-decoration: none;
    color: var(--links-color);
}

footer a:hover {
    color: var(--links-hover-color);
    font-weight: bold;
}

footer a i {
    color: var(--text-color);
}

footer a i:hover {
    color: var(--secondary-color);
}

