* {
    margin: 0;
    padding: 0;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: #FFF;
    cursor: pointer;
    transition: color .3s ease-in-out;
}

a:hover {
    color: #BBB;
}

.hdr-right-icon-1:hover,
.hdr-right-icon-2:hover {
	background-color: #CC3300;
}

.hdr-right-menu-unfolding:hover {
    background-color: #CC3300 !important;
}

/*.hovered {
	background-color: #CC3300;
}*/

/*.hovered-green {
	background: green;
}*/


/*ul {
     padding: .1rem;
}*/

.main-menu li {
    margin-bottom: 1.5rem;
    display: block;
}

.hdr-center-menu li {
    /*margin: .5rem;*/
    display: inline-block;
    /* background-color: aqua; */
    padding: 5px;
    width: 100px;
    overflow: hidden;
}

.current-page {
    background-color: #FFF;
    color: #000;
    padding: 5px 4px; 
}

::selection {
    background: #CC3300;
    color: #FFF;
}

html,
body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    letter-spacing: 1px;
    font-size: 1rem;
    background-color: #000;
}

.container {
   /* border: 1px solid red; */
    margin: 0 auto;
    max-width: 1280px;
    position: relative;
    color: #FFF;
}

.header-container {
    /* border: 1px solid green; */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 888; 
}

.header {
    /* border: 1px solid red; */
    /* background: #000; */
    height: 70px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    /*width: 100%;*/
    max-width: 1280px;
    margin: 0 auto;
    position: relative;

    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(7px);

   
}

.hdr {
    text-align: center;
    margin: 0 10px;
    /* background: #999; */
}

.hdr-left {
    flex-grow: 1;
    /* min-height: 35px; */
}

.hdr-center-menu {
    flex-grow: 2;
    /* min-height: 35px; */
}

.hdr-right-icon-1, .hdr-right-icon-2, .hdr-right-menu-unfolding {
    width: 35px;
    height: 35px;
    /* background-color: green;*/
    border-radius: 50%;
    transition: background-color .3s ease-in-out;
}

.hdr-right-icon-2 {
    cursor: pointer;
}


.hdr-right-menu-unfolding {
    display: none;
}

.just-page {
    max-width: 700px;
    min-height: 300px;
    margin: 70px auto;
    background: #000;
   /* border-radius: 10px;*/
   /* border: 1px solid #CC3300;*/
    overflow: hidden;
    padding: 20px 50px;
    position: relative;
    
}

.just-page p,
.just-page ul {
    color: #BBB;
    line-height: 150%;
    /* padding: 10px 0; */
    margin-bottom: 10px;
}

h1 {
    font-size: 1.9rem;
}

h2 {
    font-size: 1.9rem;
}

h3 {
    font-size: 1rem;
}

.just-page h1,
.just-page h2,
.just-page h3 {
    margin-bottom: 20px;
    /*margin-bottom: 10px;*/
    color: #FFF;
}

.just-page h3::before {
    content: ">";
	margin-right: 5px;
}

.just-page h1::before,
.just-page h2::before {
    content: ".";
}

.just-page ul {
    /* padding: 10px 50px;*/
    /* margin: 10px 50px;*/
    margin-left: 50px;
}

.just-page p {
    text-align: justify;
}

ul li {
    list-style-type: square;
    line-height: 150%;
}

.main-menu {
    /* border: 2px solid #a53030;*/
    display: none;
    /* min-height: 100px; */
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 70px;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(7px);
    overflow: auto;
}

.main-menu ul {
    /*b ackground-color: #CC3300; */
    padding: 60px 0 100px 90px;
}

.photo-stack {
    /* border: 1px solid pink; */
    /*background: #999;*/
    min-height: 1100px;
    position: relative;
    top: 80px;


    display: grid;
    grid-template-areas: 
    "t1 t2 t3"
    "t4 t5 t6"
    "t7 t8 t9"
    "t10 t11 t12"
    "footer footer footer";
    grid-gap: 1px;
    grid-template-rows: 1fr 1fr 1fr 360px;
    grid-template-columns: 360px 360px 360px;

   /* justify-items: center;*/
    justify-content: center;
}

.pht {
    width: 320px;
    height: 320px;
   /* margin: 0 auto; */
    background-color: #000; 
    position: relative;
    overflow: hidden;
	cursor: pointer;
}

.pht-zero {
    width: 320px;
    height: 320px;
    position: relative;
    overflow: hidden;
}

.noisy {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4X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DTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
}

.pht img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    /* object-position: center; */

}

.pht:hover img {
    object-fit: contain;
    
}  

.pht-info {
    width: 100%;
    height: 28px;
    background-color: #999;
    position: absolute;
    left: 0px;
    bottom: 0px;
    opacity: 0.8;
    padding: 0 10px;
    font-size: .7rem;
}

.pht-info-no-small {
    width: 100%;
    height: 28px;
    background-color: #872bdd;
    position: absolute;
    left: 0px;
    bottom: 0px;
    opacity: 0.8;
    padding: 0 10px;
    font-size: .7rem;
}

.pht-info-zero {
	width: 0;
    height: 0;
	padding: 0;
}

.t1, .t2, .t3, .t4, .t5, .t6, .t7, .t8, .t9, .t10, .t11, .t12 {
    padding: 20px;
    grid-area: t1;
    background-color: #000;
    
}

.t2 {
    grid-area: t2;
}

.t3 {
    grid-area: t3;
}

.t4 {
    grid-area: t4;
}

.t5 {
    grid-area: t5;
}

.t6 {
    grid-area: t6;
}

.t7 {
    grid-area: t7;
}

.t8 {
    grid-area: t8;
}

.t9 {
    grid-area: t9;
}

.t10 {
    grid-area: t10;
}

.t11 {
    grid-area: t11;
}

.t12 {
    grid-area: t12;
}

.footer {
    padding: 20px;
    grid-area: footer;
    /*background-color: purple; */
    text-align: center;
	
	display: flex;
	justify-content: center;

}

.footer::after {
    content: "© 2022-2025 by Mikhail Kalinin aka MiSH \A https://mishsu.com";
    white-space: pre;
    color: #333;
    font-size: 0.7rem;
    position: absolute;
	bottom: -30px;
}


.title-name {
    color: #FFF;
    font-size: 22px;
}

.title-name::after {
	content: "β";
	font-size: 10px;
	margin-left: 5px;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 900;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(7px);
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    /*width: 80%;
    max-width: 1924px;*/
	max-width: 80%;
	max-height: 95%;
}

/*.modal-content-horisontal {
	width: 90%;
    max-width: 1924px;
	height: auto;
}

.modal-content-vertical {
	height: 90%;
	max-height: 1080px; 
	max-width: 90%; 
}*/


/* Caption of Modal Image */
.caption {
    margin: auto;
    display: block;
    width: 70%;
    max-width: 700px;
    text-align: center;
    color: #FFF;
    padding: 50px 0;
    height: 100px;
}


  /* Add Animation */
.modal-content, .caption {  
    animation-name: zoom;
    animation-duration: 0.6s;
}
  
@keyframes zoom {
    from {transform: scale(0.1)} 
    to {transform: scale(1)}
}
  
/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #FFF;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
  
.close:hover {
    color: #BBB;
    text-decoration: none;
    cursor: pointer;
}

/*  The End of The Modal (background) */

.big-red-button,
.big-green-button {
    /*border: none;*/
    padding: 15px 32px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 1rem;
    background-color: #CC3300;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.big-green-button {
    background-color: #00CC55;
}

/*hr {
    margin: 20px 0;
}*/

.img-error-center {
    /* border: 2px solid #a53030; */
    margin: auto;
    width: 300px;
    height: 300px;
}

.photo-left {
    /*float: left;*/
    display: block;
    /*margin-right: 20px;*/
    margin: 0 auto 20px auto;
    border-radius: 5%;
}

.photo-right {
    /*float: right;*/
    display: block;
    /*margin-left: 20px;*/
    margin: 0 auto 20px auto;
    border-radius: 5%;
}

/*.bottom-nav-btn {
	position: relative;
	width: 150px;
    margin: 0 auto 20px auto;
}*/

.navigationBot {
	position: fixed;
	bottom: 70px;
	
	width: 32px;
	height: 80px;
	margin-left: 1040px;
	/*background-color: green;*/
}

.navigationBot a {
	all: unset;
}

.navigationBot a {
	cursor: pointer;
	/*display: block;*/
}

.page-id {
	position: absolute;
	right: -5px;
	top: 20px;
	font-size: 12px;
}

.next-btn,
.prev-btn,
.inactive-next-btn,
.inactive-prev-btn {
    /*background-color: #CC3300;*/
    /*padding: 5px 4px; */
	position: absolute;
	backdrop-filter: blur(1px);
	transition: .3s;

}

.next-btn:hover {
    border-left-color: rgba(204,51,0,1);
}

.prev-btn:hover {
    border-right-color: rgba(204,51,0,1);
}

/*.next-btn,
.prev-btn {
	cursor: pointer;
}*/

.next-btn,
.inactive-next-btn {
	top: 0;
	right: 0;
	
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-left: 24px solid rgba(204,51,0,0.8);
	border-bottom: 12px solid transparent;
}

.prev-btn,
.inactive-prev-btn {
	bottom: 0;
	left: 0;
	
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-right: 24px solid rgba(204,51,0,0.8);
	border-bottom: 12px solid transparent;
}


.inactive-next-btn {
	border-left-color: rgba(153,153,153,0.8);
}

.inactive-prev-btn {
	border-right-color: rgba(153,153,153,0.8);
}

.strong {
  font-weight: bold;
}

/*.footer-pages {
	margin: 0 0 20px 0;
}*/

.errstring {
	font-weight: bold;
	font-size: 31rem;
	color: rgba(153,153,153,0.1);
	text-align: center;
	margin: -138px 0;
}

@media screen and (max-width: 1110px) { 

    .photo-stack {

        display: grid;
        grid-template-areas: 
        "t1 t2"
        "t3 t4"
        "t5 t6"
        "t7 t8"
        "t9 t10"
        "t11 t12"
        "footer footer";
        grid-template-rows: 1fr 1fr 360px;
        grid-template-columns: 360px 360px;

        /*justify-content: center;*/
       
    }
	
	.navigationBot {
	
		margin-left: 680px;
	
	}

}

@media screen and (max-width: 925px) { 

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

    .hdr-center-menu {
        display: none;
    }
    
    .hdr-right-menu-unfolding {
        cursor: pointer;
        display: block;
    }

    .just-page {

        padding: 20px 30px;

    }

}

@media screen and (max-width: 740px) { 

    .photo-stack {

        display: grid;
        grid-template-areas: 
        "t1"
        "t2"
        "t3"
        "t4"
        "t5"
        "t6"
        "t7"
        "t8"
        "t9"
        "t10"
        "t11"
        "t12"
        "footer";
        grid-template-rows: 1fr 360px;
        grid-template-columns: 360px;


        /*justify-content: unset;
        justify-items: center;*/
        
    }
	
	.navigationBot {
	
		margin-left: 320px;
	
	}
	
   /* .pht {
        width: 320px;
        height: 320px;
    }*/
    
}