@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.btn {
    background: transparent;
    border: 2px solid var(--darkGreen);
    color: var(--darkGreen);
    display: block;
    width: auto; /* Allow button width to adjust based on content */
    text-align: center;
    text-transform: uppercase;
    font-size: 15px;
    padding: 12px;
    border-radius: 25px;
    margin: 15px 0;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: var(--darkGreen);
    color: #fff;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh; /* Use min-height for better mobile display */
    color: #fff;
    background-color: #202020;
    padding: 20px; /* Adjust padding for smaller screens */
}

.container {
    max-width: 1000px;
}

header {
    background: url(bg.jpg) center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    padding: 20px 50px 60px;
    border-radius: 16px;
}

header .category {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
}

header .info {
    text-align: center;
}

header .info .tags i {
    font-size: 18px;
    margin-right: 4px;
}

header .info .tags span {
    font-size: 0.8rem;
}

header .info .title {
    margin: 20px 0;
    font-size: 3rem;
    font-weight: bold;
}

header .info .subtitle {
    min-width: 70%;
    margin: 0 auto 20px;
    font-size: 1rem;
}

.details {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.14);
    margin-top: 50px;
    padding: 20px 50px; /* Adjust padding */
    border-radius: 16px;
}

.details .item .item-title {
   color:#ccc; 
}

.details .item .item-text {
   margin-top :12px; 
   font-size :1.5rem; 
}

article {
   margin-top :50px; 
   padding-bottom :20px; 
   line-height :1.70; 
}

article h4 {
   margin-top :50px; 
   margin-bottom :20px; 
   font-size :1.25rem; 
}

article p {
   margin-bottom :20px; 
   color:#999; 
   font-size :1.1rem; 
}

article blockquote {
   margin :40px 0; 
   background-color :#181818; 
   padding :30px; 
   border-radius :16px; 
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {

   header {
       padding :10px 20px 30px; 
       min-height :300px; 
   }

   header .category {
       font-size :0.9rem; 
   }

   header .info .title {
       font-size :2.2rem; 
   }

   header .info .subtitle {
       font-size :0.8rem; 
   }

   .details {
       flex-direction :column; 
       padding :20px; /* Adjust padding for smaller screens */
   }

   .details .item:not(:last-child) {
       margin-bottom :30px; 
   }

   article h4 {
       font-size :1.5rem; /* Increase font size for better readability */
   }

   article p {
       font-size :1rem; /* Adjust paragraph font size */
   }

   .btn {
       padding :10px; /* Adjust padding for smaller screens */
   }
}
