
.container {
    width: 100%;
    height: 100vh;
    background: url(images/bgg12.jpg);
    background-size: cover;
    
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-color: #d3ad7f;

}

.container h1 {
    color: #d3ad7f;
    margin-right: 40px;
    font-size: 50px;
    text-align: center;

}

.container h1 span {
    color: rgb(202, 234, 236);
    font-size: 40px;
    text-decoration: underline;
}

.img {
    width: 150px;
    height: 500px;
    border-radius: 30px;
    position: relative;
    transition: width 0.8s;
}

.img:nth-child(1) {
    background-image: url(images/img1.jpg);
    background-size: cover;
    background-position:center;
}

.img:nth-child(2) {
    background-image: url(images/img2.jpg);
    background-size: cover;
    background-position: center;
}

.img:nth-child(3) {
    background-image: url(images/img3.jpg);
    background-size: cover;
    background-position: center;
}

.img:nth-child(4) {
    background-image: url(images/img4.jpg);
    background-size: cover;
    background-position: center;
}
.img:nth-child(5) {
    background-image: url(images/img5.jpg);
    background-size: cover;
    background-position: center;
}
.img:nth-child(6) {
    background-image: url(images/img6.jpg);
    background-size: cover;
    background-position: center;
}

.img h3 {
    position: absolute;
    bottom: 0;
    left: 30px;
    opacity: 0;
    transition: bottom 0.2s, opacity 0.3s;
    color: aliceblue;
}

.img:hover {
    width: 400px;
    cursor: pointer;
}

.img:hover h3 {
    opacity: 1;
    bottom: 25px;
}



@media (max-width: 1024px) {
  .container {
    display: none;
  }

}

@media (max-width: 768px) {
    .container {
        margin-top: 50px;
    }

    .container h1 {
        font-size: 40px;
    }

    .container h1 span {
        font-size: 30px;
    }

   
}

@media (max-width: 480px) {
    .container h1 {
        font-size: 30px;
    }

    .container h1 span {
        font-size: 25px;
    }

   
}