@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

html {
  height:100%;
}

body {
  margin:0;
}

.bg {
  animation:slide 3s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, rgb(216, 213, 30) 50%, rgb(2, 98, 253) 50%);
  bottom:0;
  left:-50%;
  opacity:.5;
  position:fixed;
  right:-50%;
  top:0;
  z-index:-1;
}

.bg2 {
  animation-direction:alternate-reverse;
  animation-duration:4s;
}

.bg3 {
  animation-duration:5s;
}
.center_div {
  margin:auto;
  width:90%;
  background-color:#00CCFF;
}
button {
  border: 1px #AAA solid;
  padding: 4px 10px;
}
.hide {
  display: none;
}

.content {
  background-color:rgba(255,255,255,.8);
  border-radius:.25em;
  box-shadow:0 0 .25em rgba(0,0,0,.25);
  box-sizing:border-box;
  left:50%;
  padding:10vmin;
  position:fixed;
  text-align:center;
  top:50%;
  transform:translate(-50%, -50%);
}
.content1{
  text-align: center;
  margin: auto;
  justify-content: center;
}
h2{
  font-family: "Trirong", serif;
}

h1 {
  font-family:monospace;
}

@keyframes slide {
  0% {
    transform:translateX(-25%);
  }
  100% {
    transform:translateX(25%);
  }
}
#logo img {
  max-width: 100%;
  height: auto !important;
  }
*{
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  /*box-sizing: border-box;
  /*background: #4f4d4d;*/
  background-image: url("bg5.jpg");
  justify-content: center;
}

.gallery-section{
  width: 100%;
  padding: 50px 0;
}

.inner-width{
  width: 100%;
  max-width: 1300px;
  margin: auto;
  padding: 20px 20px;
}
.gallery-section h1{
  font-size: 4vw;
  padding-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}
.gallery-section h2{
  font-size: 3vw;
  padding-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}
.gallery-section .gallery a {
  padding: 10px;
}

.border{
  width: 180px;
  height: 4px;
  background: #333;
  margin: 60px auto;
}

.gallery-section .gallery{
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: center;
}

.gallery-section .image{
  flex: 25%;
  overflow: hidden;
  cursor: pointer;
}

.gallery-section .image img{
  width: 100%;
  height: 100%;
  transition: 0.4s;
  border-radius: 25px;
}

.gallery-section .image:hover img{
  transform: scale(1.6);
}


@media screen and (max-width:960px) {
  .gallery-section .image{
    flex: 33.33%;
  }
}

@media screen and (max-width:768px) {
  .gallery-section .image{
    flex: 50%;
  }

  .gallery-section h1{
    font-size: 22px;
  }
  .gallery-section h2{
    font-size: 20px;
  }
 
}

@media screen and (max-width:480px) {
  .gallery-section .image{
    flex: 100%;
  }
}
@media only screen and (min-width: 20em) {
  .logo {
      background-position: center 300px;
 
  }
}
@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
  .gallery-section .image{
    flex: 50%;
}
.gallery-section h1{
  font-size: 22px;
}
.gallery-section h2{
  font-size: 20px;
}

}
