

body {
font-family: Arial, sans-serif;
margin:0 auto;
background-color: darkgreen;
}

.navbar {
    padding: 10px; 
    position:sticky;
    top:0;
    margin:0 auto;
    width:80%;
    background-color: #055105;
    color: white;
    font-size: large; 
    font-family: arial, sans-serif;
    font-weight:400;
    z-index: 2;
    
}

.radiusnav {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.navlinks {
    list-style: none;
    display: flex;
    justify-content:flex-end;
    gap: 25px;
    margin-right: 5%;
}

.navlinks li a {
    position: relative;
    text-decoration: none;
    color: white;
    transition: linear 0.3s;
}

.navlinks li a:hover {
    color:#509352;
    transition: linear 0.3s;

}

.nav-icons {
display: none;
}

.logopzd {
    margin-top: -10px;
    position:absolute;
    background-image: url('logo-pzd.png');
    background-size: 70px 70px;
    height: 70px;
    width: 70px;
}

.inbmtext {
    margin: auto;
    padding: 10px;
    width: 80%; 
    color:white; 
    font-size: x-large; 
    background-color: black; 
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    opacity: 0.7;
}

.alert {
  margin:auto; 
  margin-top:-30px; 
  width: 80%; padding: 10px; 
  background-color: rgb(191, 0, 0); 
  color:white; 
  border-top-left-radius: 10px; 
  border-top-right-radius: 10px;
}

.container {
    width:100%;
    margin:0px;
}
.maincontent {
    min-height: 1000px;
    width:80%;
    margin: auto;
    padding: 10px;
    background-color: white;
    
}

.box1 {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin: auto;
width: 80%;
}

.row {
 width: 80%; margin:auto; display: flex;
}

.maincontent p {
    text-align: justify;
    line-height: 1.5;
    letter-spacing: 0.3px;
    word-spacing: 2px;
}

.maincontent p:first-child::first-letter{
    color:#055105;
    font-weight: bold;
    font-size: 70px;
    float: left;
    line-height: 60px;
    padding-right: 8px;
    margin-top: -3px;
}

.gallery {
  width: 80%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.gallery-item {
  border-radius: 10px;
  margin: 10px;
  width: 200px;
  height: 200px;
  transition: linear 0.5s;
}

.gallery-item img {
  border-radius: 10px;
  width: 100%;
  height: 200px;
}

.gallery-item div.desc {
  border-radius: 5px;
  max-width: 180px;
  width: 160px;
  position: absolute;
  background-color: #FFF;
  margin: -60px 5px 10px 10px;
  padding: 10px;
  font-size: small;
  opacity: 0%;
  transition: linear 0.5s;
}
.gallery-item:hover {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
transition: linear 0.5s;
cursor: pointer;
}

.gallery-item:hover div.desc{
opacity: 85%;
transition: linear 0.5s;
}

.gallery-img-view {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: contain;
  background-repeat: no-repeat no-repeat;
  background-position: center center;
  background-color: black;
}

.gallery-img-view-close {
  display: none;
  padding:7px;
  position: fixed;
  top:5%;
  right:4%;
  width:13px;
  background-color: white;
  border-radius: 13px;
  height:13px;
  z-index: 1001;
  
}

.backmovingimg {
background-color: rgb(0, 92, 0);
min-height: 300px;
background: url('spiner.gif');
background-position: center;
background-repeat: no-repeat;
}

.backmovingimgAL{
background-position:none;
background-repeat: repeat;
background: url('bg.webp');
background-size: 120% auto;
animation: slideBgImg 200s linear infinite; 
transition: 0.4s ease;
}

@keyframes slideBgImg{
    25% { background-position: right; }
    50% { background-position: right bottom; }
    75% { background-position: bottom left; }

}


.footer {
  display:flex;
  justify-content: space-around;
  margin: auto;
  margin-top: -10px;
  width: 80%;
  padding: 10px;
  background-color: #055105;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-size: small;
  color: #509352;
}

@media only screen and (max-width: 755px) {
    div.logopzd {
    margin-left: 0px;
    margin-top: -5px;
    background-repeat: no-repeat;
    background-size: 50px 50px;
  }
  div.navbar {
    width: 100%;
    font-size: small;
    justify-content:space-around;
  }
  div.backmovingimg {
    min-height: 100px;
    animation: none;
    background-size: cover;
  }
  div.maincontent {
    width: 100%;
  }
  div.footer {
    width: 100%;
  }
  div.row {
  width: 100%;  
  display: block;
  }

  div.inbmtext {
   width: 100%;
  }
  div.alert {
  width:100%
  }
}

@media only screen and (max-width: 420px) {
  div.logopzd {
    margin-left: 0px;
    margin-top: -5px;
    background-repeat: no-repeat;
    background-size: 50px 50px;
  }
  div.navbar {
    width: 95%;
    min-height: 50px;
    font-size: xx-large;
  }
  
  div.nav-icons #check { display: none; }
  
  .navlinks {
    display: none;
    margin-left: -25px;
    margin-top: 55px;
    flex-direction: column;
    align-items: center;
  }  
  .mv {
    display: flex;
  }

  div.nav-icons {
    display: inline-flex;
    position: absolute;
    top: 10px;
    right: 35px;
  }
  #check:checked~.nav-menu #menu-open { display: none; }
  #menu-close { display: none;}
  #check:checked~.nav-menu #menu-close { display: inline-flex; }
  
  div.backmovingimg {
    width:100%;
    min-height: 100px;
    animation: none;
    background-size: cover;
  }
  div.maincontent {
    width: 95%;
  }

  div.row {
  width: 100%;  
  display: block;
  }

  div.footer {
  width: 95%;
  border-radius: 0px;
  }

  div.inbmtext {
  width: 95%;
  }
  div.alert {
  width:95%
  }


}