html {
    background-color: #7d83ee;
}

html, body {
	margin: 0;
	height: 100%;
	width: 100%;
}

header {
	width: 100%;
	padding-bottom: 25px;
	flex-direction: column;
}

/* Gallery photo: fits the screen on any device, never stretched */
.photo {
	display: block;
	width: auto;
	height: auto;
	max-width: min(92vw, 560px);
	max-height: 70vh;
	border-radius: 8px;
	cursor: zoom-in;
}

.zdrantler {
	width: clamp(140px, 30%, 420px);
}

.flex {
	display: flex;
	justify-content: center;
	align-items: center;
}

.majmune {
    margin-top:5px;
}

h1 {
   
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

button {
    display:inline-block;
    padding:0.35em 1.2em;
    order:0.1em solid #FFFFFF;
    margin:0 0.3em 0.3em 0;
    border-radius:0.12em;
    box-sizing: border-box;
    text-decoration:none;
    font-weight:300;
    color:#000000;
    text-align:center;
    transition: all 0.2s;
}

button:hover{
    color:#ffffff;
    background-color: #000000;
}
@media all and (max-width:30em){
    button{
        display:block;
        margin:0.4em auto;
    }
}

#extraText {
            opacity: 0;
            transition: opacity 1s ease-in-out;
            display: none;
            text-align: center;
            font-size: 32px;
            margin-top: 20px;
			font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
			font-weight: bold;
			display: flex;
        }

.tchange {
	margin-top: 15px;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.change {
text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}



  
  .nav-button {
    display: inline-block;
  padding: 10px 18px;
  background: #6366f1;
  color: white;
  text-decoration: none;
  
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
  }
  
  .nav-button:hover {
    background: #4f46e5;
    transform: translateY(-2px);
  }


  .header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 16px 24px;
  }
  

  .header h1 {
    margin: 0;
    text-align: center;
  }
  
  .ghost {
    visibility: hidden;
    pointer-events: none;
  }

  @media (max-width: 30em) {
    .header { padding: 12px; gap: 8px; }
    .header h1 { font-size: 1.4em; }
  }
