@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.contai {
    margin-left: 100px ;
    margin-right: 100px ;
}

.contai .headding {
    width: 50%;
    padding-bottom: 50px;
}

.contai .headding h3 {
    font-size: 3em;
    font-weight: bolder;
    border-bottom: 4px solid #000000;
}

.contai .box {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.contai .box .dream {
    display: flex;
    flex-direction: column;
    width: 32.5%;
}


.contai .box  .dream img {
    width: 100%;
    padding-bottom: 0px;
    cursor: pointer;
    transition: 0.2s ease;
}

.contai .box .dream img:hover {
    transform: scale(1.03);
    transition: 0.2s ease;
}

@media (max-width: 768px) {
    .contai .box {
        flex-direction: column;
    }

    .contai .box .dream {
        width: 100%;
    }
    .contai{
        margin: 20px;
        
    }

    #modalImage{
        display: flex;
        justify-content: center;
        align-items: center;
        height: 900vh;
        margin-top: 100px;
        background-color: rgb(252, 252, 252);
    }
    .prev{
        margin-top: -150px;
    }
    .next{
        margin-top: -150px;
    }
    .close{
        color: #000000;
    }
}

@media (min-width: 260px) and (max-width: 500px) {
  .prev{
    margin-top: -20px;
  }
  .next{
    margin-top: -20px;
  }
}


/* Basic styling for the gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    width: 80%;
    max-width: 900px;
}

.gallery-image {
    width: 100%;
    cursor: pointer;
    transition:all 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Modal styling */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    background-color: rgb(0, 0, 0);
}

.modal-content {
    position: relative;
    margin: auto;
    margin-top: 100px;
    width: 100%;
    max-width: 800px;
    overflow-y: hidden;
}

.modal-image {
    width: 100%;
    max-height: 85vh;
    margin-top: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
   
}

.close {
    position: absolute;
    top: 60px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    font-size: 50px;
}

.close:hover,
.close:focus {
    color: #e9e4e4;
}

button.prev,
button.next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    font-size: 35px;
    border-radius: 3px;
    transform: translateY(-50%);
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

#caption {
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 20px;
}
.pope{
    height: 200px;
    width: 900px;
}

/*card section*/

.container{
	margin-top: 4em;
}