@font-face {
  font-family: "astloch-regular";
  src: url("fonts/astloch-regular-webfont.woff2") format("woff2"),
    url("fonts/astloch-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: "Guida Pro Trial";
  src: url("fonts/GuidaPro-Light.woff2") format("woff2"),
    url("fonts/GuidaPro-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TC Jovial Pro";
  src: url("fonts/TCJovialPro-Regular.woff2") format("woff2"),
    url("fonts/TCJovialPro-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LS Mimesis Trial";
  src: url("fonts/LSMimesis-Regular.woff2") format("woff2"),
    url("fonts/LSMimesis-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Amadis";
  src: url("fonts/Amadis-Regular.woff2") format("woff2"),
    url("fonts/Amadis-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "szlichta07";
  src: url("fonts/szlichta07-Regular.woff2") format("woff2"),
    url("fonts/szlichta07-Regular.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FA_YOTDMOSGPP";
  src: url("fonts/FA_YOTDMOSGPP.woff2") format("woff2"),
    url("fonts/FA_YOTDMOSGPP.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
   position:relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color:black;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3; 
    opacity: 0.3;
}

main {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

h1 {
  font-size: 55px;
  font-family: "astloch-regular";
    margin-top: 100px;
}

h1 a {
  text-decoration: none;
  color: white;
}

h2 {
  font-family: "LS Mimesis Trial";
  text-decoration: none;
  font-weight:lighter;
  font-size: 18px;
  color: white;
}

a {
  color: white;
  text-decoration: none;
}

p{
font-family: "szlichta07";
font-weight:lighter; 
  color: white;
}

#one {
  grid-area: 1/1/1/1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#one img {
  transition: opacity .5s;
      transition: opacity 0.6s ease-in-out;
        filter: grayscale(100%);
  opacity:0.7;
}

#one img:hover {
  -webkit-box-shadow:0px 0px 105px 45px rgba(206,190,101,0.84);
-moz-box-shadow: 0px 0px 105px 45px rgba(206,190,101,0.84);
box-shadow: 0px 0px 105px 45px rgb(123, 148, 58);
transition: opacity 0.6s ease-in-out;
       transition: opacity .5s;
  filter: grayscale(0%);
  opacity:1;
}

#two{
   grid-area: 1/2/1/2;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#two img {
  transition: opacity .5s;
      transition: opacity 0.6s ease-in-out;
  filter: grayscale(100%);
  opacity:0.7;
}

#two img:hover {
  -webkit-box-shadow:0px 0px 105px 45px rgba(206,190,101,0.84);
-moz-box-shadow: 0px 0px 105px 45px rgba(206,190,101,0.84);
  box-shadow: 0px 0px 105px 45px rgba(224, 121, 37, 0.84);
      transition: opacity 0.6s ease-in-out;
       transition: opacity .5s;
  filter: grayscale(0%);
  opacity:1;
}

.container {
  display: grid;
  text-align: center;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  margin-top: 50px;
}

.grid-item {
  padding: 5px;
}

#hide {
  display: none;
}

#bug:hover + #hide {
  display: block;
  color:white;
}

.button {
  width: 88px;
  font-size: 10px;
  background-color: black;
  color: white;
  height: 21px;
  margin-bottom: 10px;
}

footer{
   padding-top: 100px; 
   
}

@media only screen and (max-width: 1080px) {
  .container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  #one {
    grid-area: 2/1/2/1;
  }
  
  #two{
      grid-area: 1/1/1/1;
  }
  
  #one img {
  -webkit-box-shadow:0px 0px 105px 45px rgba(206,190,101,0.84);
-moz-box-shadow: 0px 0px 105px 45px rgba(206,190,101,0.84);
box-shadow: 0px 0px 105px 45px rgb(123, 148, 58);
transition: opacity 0.6s ease-in-out;
       transition: opacity .5s;
  filter: grayscale(0%);
  opacity:1;
}
  
  
  #two img {
  -webkit-box-shadow:0px 0px 105px 45px rgba(206,190,101,0.84);
-moz-box-shadow: 0px 0px 105px 45px rgba(206,190,101,0.84);
  box-shadow: 0px 0px 105px 45px rgba(224, 121, 37, 0.84);
      transition: opacity 0.6s ease-in-out;
       transition: opacity .5s;
  filter: grayscale(0%);
  opacity:1;
}

}