body {
  font-family: "Yusei Magic", sans-serif;
  background-color: #2F2C00;
  font-size: 20px;
}

/*type*/

h1,
h2,
h3{
    font-family: "Rammetto One", sans-serif;
    margin-bottom: 0;
    color:#2F2C00;
}

p{
  font-family: "Yusei Magic", sans-serif;
  color: #2F2C00;
}

h4{
  font-family: "Rammetto One", sans-serif;
  color: #E8E5CF;
}

p2{
  font-family: "Yusei Magic", sans-serif;
  color: #E8E5CF;
}

/*IMAGES*/

img{
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: auto;
}

.left-align{
  float: left;
  margin: 0 1em 0 0;

}

.right-align{
  float: right;
  margin-left: 1em;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 0;
}

figure{
  outline: #E8E5CF, 3px solid;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

figure img{
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
}

figcaption{
  background-color: #2F2C00;
  color: #E8E5CF;
  font-family: "Yusei Magic";
  text-align: center;
  padding: 0.5em;
  font-size: 14px;
  line-height: 1em;
  margin: 0 auto;
}

#wrapper{
  max-width: 1280px;
  margin: 0, auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
}

header{
  background-color: #B31F2A;
  min-height: 200px;
  padding: 1em;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.img-hover-zoom {
  height: 100%; /* [1.1] Set it as per your need */
}

.img-hover-zoom img {
  transition: transform .5s ease;
}

.img-hover-zoom:hover img {
  transform: scale(1.1);
}

/*logo*/

.logo{
  max-width: 100%;
  height: auto;
}

a img:hover{
  animation-name: shake;
  animation-duration: 0.4s;
  cursor: pointer;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/*grid*/

.Gallery {
  display: flex;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  flex: 55%;
  max-width: 100%;
  padding: 4px;
}

.Gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin-top: 8px;
  vertical-align: middle;
}

/*navigation*/

nav{
  background-color: #2F2C00;
  padding: 1.5em;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

nav ul{
  margin: 0;
  padding: 0;
}

nav li{
  display: inline;
  margin-right: 3.5em;
}

nav li:last-child{
  margin-right: 0;
}

nav a{
  color: #E8E5CF;
  text-decoration: none;
}

nav a:hover, nav a:focus{
  color: #D8AF28;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

a{
  color: #B31F2A;
  text-decoration: none;
}

a:hover, a:focus{
  text-decoration: underline;
  transition: 0.2s ease-in-out;
}

.mobile_menu{
  border-bottom: none;
  margin-top: 5px;
  margin-bottom: 5px;
  color: #E8E5CF;
  background-color: #2F2C00;
  font-family: "Yusei Magic";
  width: 100%;
  text-align: center;
  padding: 0.5em 0;
  display: none;
}

nav input[type=checkbox]{
  display: none;
}

nav input[type=checkbox]:checked~#menu{
  display: block;
}

/*content*/

main {
  background-color: #D8AF28;
  width: 100%;
  padding: 20px;
  min-height: 600px;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.main_with_aside{
  width: 75%;
  padding: 50px,0px, 60px, 0px;
  float: left;
}

aside{
  background-color: #B31F2A;
  text-align: center;
  width: 25%;
  min-height: 250px;
  padding: 10px;
  box-sizing: border-box;
  float: right;
}

/*E-MAIL ASIDE*/

.e-mail_aside{
  background-color: #B31F2A;
  width: 100%;
  min-height: 90px;
  text-align: center;
  margin-bottom: 0em;
}

hr{
  color: #2F2C00;
  border-style: solid;
  border-width: 5px;
}

/*table*/

table{
  border-collapse: separate;
  border-spacing: 0.5em;
  border-color: #2F2C00;
  padding: 0.5em;
  border-style: none;
  margin-left: auto;
  margin-right: auto;
}

table caption{
  font-family: "Yusei Magic";
  color: #B31F2A;
  margin-bottom: 1em;
  margin-top: -1em;
}
th{
  font-family: "Yusei Magic";
  font-size: 20px;
  color:#E8E5CF;
  padding: 0;
  text-align: center;
  background-color: #2F2C00;
}

tr{
  font-family: "Yusei Magic";
  color: #E8E5CF;
  font-size: 20px;
  line-height: 1.25em;
  text-align: center;
  background-size: cover;
  border-style: none;
}

td{
  vertical-align: top;
  background-color: #2F2C00;
  padding: 0.5em;
}

.table_replacement{
  display: none;
}

/*forms*/

label{
  font-family: "Yusei Magic";
  color: white;
  text-align: left;
  float:left;
  width: 15%;
}

.inputs{
  width: 75%;
  padding: 0.5em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: whitef;
  border: 0px;
}

/*custom styles*/
.clearfix{
  clear: both;
}

.content-columns{
  -webkit-column-count: 4;
  -moz-column-count: 4;
  column-count: 4;
  -webkit-column-gap: 1.5em;
  -moz-column-gap: 1.5em;
  column-gap: 1.5em;
  }

footer {
  background-color: #2F2C00;
  background-size: cover;
  padding: 20px;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: small;
  color:rgb(255, 220, 65);
}

footer a:link, footer a:active{
  color: #D8AF28;
}

footer a:hover, footer a:focus{
  color: #D8AF28;
  text-decoration: underline;
  transition: 0.2s ease-in-out;
}

footer nav{
  background-color: #2F2C00;
  background-size: cover;
  padding: 10px;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: small;
  color:rgb(255, 220, 65);
}

/*buttons*/

.button{
  background-color: #2F2C00;
  color: #E8E5CF;
  border-bottom: none;
  padding: 10px;
  margin: 2px;
  width: 25%;
  max-width: 200%;
  font-size: 20px;
  margin-top: 12px;
  margin-bottom: 12px;
  display: inline-block;
  border-radius: 10px;
  border-style: none;
}

.button:hover, .button:focus{
  background-color: #E8E5CF;
  color: #2F2C00;
  transition: 0.2s ease-in-out;
  text-decoration: none;
}

/*CUSTOM STYLES*/
.clearfix{
  clear: both;
}

.centered-content-box{
  margin: 0, auto;
  text-align: center;
}

.content-columns{
-webkit-column-count: 4;
-moz-column-count: 4;
column-count: 4;
-webkit-column-gap: 1.5em;
-moz-column-gap: 1.5em;
column-gap: 1.5em;
}

#header_ad{
  position: static;
  right: 1.5em;
}

@media screen and (max-width: 1024px){
  .main_with_aside{
      width: 100%;
      padding: 20px;
      clear: both;
  }
  aside{
      width: 100%;
      clear: both;
      margin-bottom: 2em;
  }
}

@media screen and (max-width: 768px){
  .content-columns{
      -webkit-column-count: 1;
      -moz-column-count: 1;
      column-count: 1;
  }

  main{
      width: 100%;
      padding: 20px;
      clear: both;
  }

  .main_with_aside{
      width: 100%;
      padding: 20px;
      clear: both;
  }
  aside{
      width: 100%;
      clear: both;
      margin-bottom: 2em;
  }
  .inputs{
      width: 100%;
  }

  #menu{
      display: none;
  }

  .mobile_menu{
      display: block;
  }

  .primary_navigation{
      padding: 0;
  }

  .primary_navigation ul{
      padding: 0;
  }

  .primary_navigation li{
      display: block;
      margin-right: 0;
      margin-left: 0;
      margin: 0, auto;
      padding: 0.5em;
  }

  .logo{
      float: none;
      text-align: center;
      position: static;
  }

  a img:hover{
      animation: none;
  }
  
  .button:hover{
      animation: none;
  }

  .left-align{
      float: none;
      margin: 0, auto;
  
  }
  
  .right-align{
      float: none;
      margin: 0, auto;
  }

  #header_nav{
      position: static;
  }
  
  #header_space{
      display: none;
  }
}

@media screen and (max-width: 480px){
  
  .content-columns{
      -webkit-column-count: 1;
      -moz-column-count: 1;
      column-count: 1;
  }
  main{
      padding: 20px;
  }
  aside{
      padding: 20px;
  }
  .main_with_aside{
      padding: 20px;
  }
  
  table{
      display: none;
  }
  .table_replacement{
      display: block;
      text-align: center;
      padding: 1em;
      background-image: url(EPNAVBG.png);
      background-size: cover;
      background-color: #B31F2A;
      border-style: none;
  }

  .table_replacement h3{
      margin-bottom: 15px;
      margin-top: -5px;
  }

}

