.section{
    background-color: #F5F5F5;
    display:flex;
}

.container {
    background-color: white;
    width: 90%;
    margin: 50px auto;
    padding:30px;
    
}

#blog-title{
    margin-bottom: 30px;
}

/* about us, terms and condition, privacy policy */
#title{
    text-align: center;
    width: 60%;
    margin: auto;
    margin-bottom: 40px;
    border-bottom: solid 2px transparent;
    border-image: linear-gradient(to left, #fffd6a, #fffb01, #23e8de, #00bfff) 2;
    padding-bottom: 15px;
}

#title + div{
    width: 60%;
    margin: auto;
}

#title + div h2{
    border-left: solid 5px #00bfff;
    padding-left: 5px;
}

#title + div p{
    margin-bottom:45px;
}

/* category */
#category-title{
    margin-bottom: 30px;
}

#image-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap:30px;
}


.image{
    width:100%; 
    height:100%; 
    object-fit:cover;
}

.image-block{
    position:relative;
    width:100%;
    height:170px;
    background-color: #A6A6A6;
}

.image-description{
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%);
    top: 80%;
    left: 50%;
    width: 100%;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis; 
    line-height: 67px;
    height: 67px; 
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: smaller;
}

/* download */
.download-images-continer{
    background-color: white;
    width: 90%;
    margin: 50px auto;
    padding: 50px;
    display: flex;
    align-items: center;
    flex-direction: column;
    
}

.download{
    width: 70%;
    margin: auto;
    display: flex;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

}


.download-buttons {
    display: flex;
    gap: 12px; 
    flex-wrap: wrap; 
    justify-content: center;
}

.download-link {
    padding: 10px 18px;
    background: linear-gradient(135deg, #fffd6a, #23e8de, #00bfff);
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 404 */
.home-link:hover{
    color:#A6A6A6;
}

@media (max-width: 572px) { 
    .image-description{
        font-size: small;
    }
}

@media (max-width: 480px) { 
    .container {
        width: 80%;
        margin: 20px auto;
        padding: 20px;
    }

    #title, #category-title {
        width: 90%;
    }

    #title + div {
        width: 90%;
    }
}

@media (min-width: 481px) and (max-width: 767px) { 
    .container {
        width: 75%;
        margin: 35px auto;
        padding: 20px;
    }

    
    #title,#category-title {
        width: 85%;
    }

    #title + div {
        width: 85%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) { 
    .container {
        width: 70%;
        margin: 30px auto;
        padding: 20px;
    }

    
    #title,#category-title {
        width: 80%;
    }

    #title + div {
        width: 80%;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) { 

}