@font-face {
    font-family:"Poppins";
    src: url('FOnts/poppins-v23-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family:"Unna";
    src: url("FOnts/unna-v23-latin-regular.woff2!") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family:"Ballet";
    src: url("FOnts/ballet-v27-latin-regular.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
.ballet{
    font-family: "Ballet";
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.logo a{
    font-family: "Ballet";
    color: rgb(0, 0, 0);
    font-weight: 600;
    font-size: 24px;
    transition: 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; 
    border-width: 10px;
    text-decoration: none;
    display: flex;
    left: 100%;
    margin-bottom: 10px;
}
.logo:hover{
    color: rgba(255, 255, 255, 0.863);
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.863),
                 0 0 50px rgb(204, 194, 191);
    animation: zoomi2 0.3s ease-in-out;
    transform: scale(1.4, 1.4);
    
}

html h1{
  font-size: 200%;
  padding: 30px 20% 20px;
  margin: 3em 0 3em;
  margin-top: 50px;
  margin-bottom: -10px;
 }

 body {
     font-family: "Unna";
     font-size: 20px;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     min-height: 100vh;
     margin: 0;
     text-align: center;
     align-items: center;
 }
 h1 {
     margin-bottom: 20px;
 }
.content{
    text-align: center;
}
.gallery {
    display: grid;
    max-width: 70%;
    border-collapse: collapse;
    grid-auto-rows: auto;
    grid-template-columns: repeat(4, 3fr);
    gap: 10px;
    justify-items: center;
    margin: 0 auto;
    padding: 0;
}
.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.2s ease-in-out;
}
.gallery img:hover {
    transform: scale(1.1);
}

.gallery img:active {
    transform: scale(2);
}
.img1 { grid-column: span 2; grid-row: span 1; } 
.img2 { grid-column: span 1; grid-row: span 1; }
.img3 { grid-column: span 1; grid-row: span 1; }
.img4 { grid-column: span 2; grid-row: span 1; }
.img5 { grid-column: span 2; grid-row: span 1; }
.img6 { grid-column: span 1; grid-row: span 1; }
.img7 { grid-column: span 1; grid-row: span 1; }
.img8 { grid-column: span 1; grid-row: span 1; }
.img9 { grid-column: span 1; grid-row: span 1; }


@keyframes zoomi{
   from{
       transform: scale(1,1);


   }
   to {
       transform: scale(1.1, 1.1);

   }
}
@keyframes zoomi2{
   from{
       transform: scale(1,1);


   }
   to {
       transform: scale(1.4, 1.4);

   }
}
.lightbox {
    display: none;
}

.lightbox:target {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.6);
    padding: 10px;
    border-radius: 5px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.6);
    padding: 10px;
    border-radius: 5px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.footer {
    margin-top: 50px;
    padding: 5% 8%;
}
.footer {
    margin-top: 40px;
}

.back-button {
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    background: linear-gradient(135deg, #6aabd2, #3b6978);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

button:hover, .back-button:hover {
    background: linear-gradient(135deg, #5a98b9, #335a66);
    transform: translateY(-2px);
}