.main__header {
    margin-top: 80px;
    font-size: 45px;
}

.main__paragraph {
    font-size: 20px;
    line-height: 1.7;
    margin: 40px 0;
}

.main__pictures-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main__picture-wrapper {
    width: 30%;
    margin: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main__picture {
    width: 100%;
    border: 1px solid #ccc;
    height: 300px;
    object-fit: cover;
}

.main__picture-title {
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    color: #333;
}

.contain-fit {
    object-fit: contain;
}

.main__picture:hover {
    cursor: zoom-in;
    transform: scale(1.05);
    transition-property: transform;
    transition-duration: 0.3s;
}

.modal {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease-out;
}

.modal:hover {
    cursor: zoom-out;
}

.open {
    opacity: 1;
    pointer-events: all;
}

.modal img {
    max-width: 80%;
    max-height: 100%;
}

.modal img:hover {
    cursor: auto;
}

@media(max-width:1200px) {
    .main__picture-wrapper {
        width: 45%;
    }
    .main__header {
        margin-top: 50px;
        font-size: 35px;
    }
    .main__paragraph {
        font-size: 17px;
        line-height: 1.7;
        margin: 40px 0;
    }
}

@media(max-width:600px) {
    .main__picture-wrapper {
        width: 100%;
        margin: 10px 0;
    }
}