

.container {
    display: flex;
    width: 100%;
  /*  height: 800px;  задай нужную высоту */
    background: url("../images_fon/fon_header.jpg") center/cover no-repeat;
}

.text-block-proba {
    display: block;
    width: 100%;
    color: #fff;
    font-family: "Trebuchet MS";                                 
	font-size: 1.8em;
	font-style: italic;
    align-self: center;
    text-align: center;
    padding: 10px;
    margin: 2%;
}

.image-block-proba {
    flex: 1;
    display: flex;
    display: block;
	width: 100%;
 
}
.image-block-proba img {
   /* margin-left: auto;  */
    display: block;
    max-width: 100%;
    height: auto; 
}

.text-block_100_proz, .text-block_100_proz_h800 {
	display: block;
	width: 100%;
	background: url("../images_fon/fon_header.jpg") center/cover no-repeat;
	font-family: "Trebuchet MS";                                 
	font-size: 2.75em;
	font-style: italic;
	color: #fff;
    text-align: center;
    padding-top: 200px;
  }

.text-block_100_proz_h800 {
	display: block;
	padding-top: 200px;

}
.fotka {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    padding-top: 1%;
    padding-left: 5%;
    box-sizing: border-box;
}   
.fotka > img {
    width: 300px;
    height: auto;
    flex-shrink: 0;
}





.proba-block_100_proz {
    display: block;
	width: 100%;
	background: url("../images_fon/fon_header.jpg") center/cover no-repeat;
	
}
.right-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.book-description {
    max-width: 800px;
    font-size: 16px;
    line-height: 1.5;
    color: white;
    text-align: left;
    font-style: normal;
    margin: 0;
}

/*
.projects_proba {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 100px)); 
    gap: 15px;
    justify-content: center;
} 
 */

.projects_proba {
    display: grid;
    grid-template-columns: repeat(6, 100px);
    gap: 10px;
}






.projects_proba img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #fff;
    cursor: pointer;
    transition: 0.3s ease;
}

.projects_proba img:hover {
    transform: scale(1.06);
}

/* MODAL */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.gallery-modal.active {
    display: flex;
}

.modal-img {
    width: auto;
    height: auto;
    max-width: min(90vw, 900px);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(255,255,255,0.2);
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 42px;
    color: white;
    cursor: pointer;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 20px;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}


@media (max-width: 780px) {
  .text-block-proba  {
    font-size: 1.0em;
  }
  .text-block_100_proz, .text-block_100_proz_h800 {
     font-size: 2.0em;
  }
 }
 
 @media (max-width: 780px) {
    .fotka {
        flex-direction: column;
        align-items: center;
    }

    .projects_proba {
        grid-template-columns: repeat(3, 100px);
    }
}