* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 .page1 {
     font-family: Arial, sans-serif;
     background: url("dak.jpg") no-repeat center/cover;
     color: white;
 }
 


 .navbar {
     display: flex;
     justify-content: space-between;
     padding: 20px;
     position: absolute;
     width: 100%;
     height: 10vh;
 }
 

 .navbar ul {
     list-style: none;
     display: flex;
 }

 .navbar ul li {
     margin: 0 15px;
 }

 .navbar ul li a {
     text-decoration: none;
     color: white;
     font-weight: bold;
 }
  @media screen and (max-width: 1200px) {
  .navbar ul li a {
    font-size: 12px;
    opacity: 50%;
  }
}
 
 .navbar h2 {
	 font-size:40px;
	 text-decoration: none;
	 color: white;
 }
 @media screen and (max-width: 1200px) {
  .navbar h2 {
    font-size: 25px;
  }
}

.mid {
  height: 80vh;
  display: grid;
  place-content: center;
}


.gallery {
  --s: 500px; /* control the size */
  --g: 10px;  /* control the gap */
  --f: 0.6;   /* control the scale factor */
  
  display: grid;
  gap: var(--g);
  width: calc(3*var(--s) + 2*var(--g));
  aspect-ratio: 3;
  grid-template-columns: repeat(6,auto);
}
@media screen and (max-width: 420px) {
  .gallery {
  --s: 300px; /* control the size */
  --g: 10px;  /* control the gap */
  --f: 0.6;   /* control the scale factor */
  
  width: calc(1.2*var(--s) + 2*var(--g));
  aspect-ratio: 1;
  grid-template-columns: repeat(3,auto)
  }
}
@media screen and (min-width: 420px) {
  .gallery {
  --s: 310px; /* control the size */
  --g: 10px;  /* control the gap */
  --f: 0.6;   /* control the scale factor */
  
  width: calc(1.3*var(--s) + 2*var(--g));
  aspect-ratio: 1;
  grid-template-columns: repeat(3,auto)
  
  }
}
@media screen and (min-width: 800px) {
  .gallery {
  --s: 350px; /* control the size */
  --g: 10px;  /* control the gap */
  --f: 0.6;   /* control the scale factor */
  
  width: calc(1.9*var(--s) + 2*var(--g));
  aspect-ratio: 1.5;
  grid-template-columns: repeat(4,auto)
  
  }
}

@media screen and (min-width: 1000px) {
  .gallery {
  --s: 400px; /* control the size */
  --g: 10px;  /* control the gap */
  --f: 0.6;   /* control the scale factor */
  
  width: calc(2.2*var(--s) + 2*var(--g));
  aspect-ratio: 2;
  grid-template-columns: repeat(5,auto)
  
  }
}

@media screen and (min-width: 1300px) {
  .gallery {
  --s: 450px; /* control the size */
  --g: 10px;  /* control the gap */
  --f: 0.6;   /* control the scale factor */
  
  width: calc(2.7*var(--s) + 2*var(--g));
  aspect-ratio: 2.9;
  grid-template-columns: repeat(6,auto)
  
  }
}

@media screen and (min-width: 1800px) {
  .gallery {
  --s: 650px; /* control the size */
  --g: 10px;  /* control the gap */
  --f: 0.6;   /* control the scale factor */
  
  
  width: calc(2.7*var(--s) + 2*var(--g));
  aspect-ratio: 2.9;
  grid-template-columns: repeat(6,auto)
  }
}

.gallery > img {
  width: 0;
  height: 0;
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
  cursor: pointer;
  filter: grayscale(80%);
  transition: .35s linear;
}


.gallery img:hover{
  filter: grayscale(0);
  width:  calc(var(--s)*var(--f));
  height: calc(var(--s)*var(--f));
}

.videos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -50px;
}

@media screen and (max-width: 420px) {
  .videos {
    margin-top: -10px;
    display: inline-block;
    padding: 0% 2%;
  }
}
@media screen and (min-width: 420px) {
  .videos {
   margin-top: 0px;
   gap: 0% 3%;
   display: inline-block;
   padding: 0% 15%;
  }
}
@media screen and (min-width: 1000px) {
  .videos {
   margin-top: 0px;
   padding: 0% 10%;
  }
}
@media screen and (min-width: 1300px) {
  .videos {
   margin-top: 0px;
   padding: 0% 10%;
   margin-left: 5%;
  }
}
@media screen and (min-width: 1800px) {
  .videos {
   margin-top: 0px;
   padding: 0% 10%;
   margin-left: 10%;
  }
}

.videos video {
	border: 3px solid white;
	height: 300px;
}


.foot {
	background-color: black;
	height: 10vh;
}
@media screen and (max-width: 420px) {
  .foot {
  margin-top: 27%;
  }
}
@media screen and (min-width: 420px) {
  .foot {
  margin-top: 12%;
  }
}
@media screen and (min-width: 700px) {
  .foot {
  margin-top: 5%;
  }
}
@media screen and (min-width: 800px) {
  .foot {
  margin-top: 3%;
  }
}

.footer {
            background-color: #1c1c1c;
            padding: 10px;
            text-align: center;
        }
        .social-icons {
            list-style: none;
            padding: 0;
        }
        .social-icons li {
            display: inline-block;
            margin: 0 5px;
        }
        .social-icons a img {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border: 2px solid none;
            border-radius: 50%;
            color: white;
            text-decoration: none;
            font-size: 20px;
        }
        @media screen and (max-width: 800px) {
  .social-icons a img {
  width: 25px;
  height: 25px;
  }
}
		
        .copyright {
            color: white;
            margin-top: 10px;
        }
        @media screen and (max-width: 800px) {
  .copyright {
  font-size: 13px;
  }
}
.footer p2 {
	font-size:10px;
	color: darkgrey;