@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: 'Interval';
    src: url('fonts/Interval-Book.woff2') format('woff2'),
        url('fonts/Interval-Book.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;
}

@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;
}



html {
    margin: 0;
  padding: 0;
    box-sizing: border-box;
    height: 100%; 
    overflow: hidden
}

body {
  transition: 2s background-color ease;
  box-sizing: border-box;
  width: 100%;
  background-color: white;
    position:relative;
       margin: 0;
  padding: 0;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

main::before {
  content: "";
  position: absolute;
  background-image: url(bg/reversedcat.jpg);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index:-5;
  mix-blend-mode: color-burn;
  opacity:1;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

:root {
  --black: #b37b48;
}


#preloader {
  background: var(--black)
    url("https://samherbert.net/svg-loaders/svg-loaders/spinning-circles.svg")
    no-repeat center;
  align-items: center;
  justify-content: center;
  width: 100%;
  display: flex;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 999;
}


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

#bg-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3; 
    opacity: 0.4;
    mix-blend-mode: overlay;
}

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

p {
     font-style: normal;
  color: black;
    cursor: help;
    font-family: "LS Mimesis Trial";
}

p:hover {
  font-style: italic;
  cursor: help;
}

h1 {
  font-size: 55px;
  font-family: "astloch-regular";
  text-decoration: none;
  color: black;
  margin-bottom: 140px;
}

h2 {
       font-family: helvetica;
  font-style: normal;
  text-decoration: none;
  font-size: 20px;
  color: black;
}

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  padding-top: 20px;
  padding-bottom: 20px;
}

#one {
  grid-area: 1 / 1 / 1 / 1;
  text-align: center;
}

#two {
  grid-area: 1 / 2 / 1 / 2;
  text-align: center;
}

#three {
  grid-area: 1 / 3 / 1 / 3;
  text-align: center;
}

nav {
  position: relative;
  text-decoration: none;
}

nav h2 {
  position: relative;
  display: flex;
  justify-content: center;
  text-decoration: none;
}


#two img{
  margin-top:20px;
     transition: transform .5s;
      transition: color 0.6s ease-in-out, box-shadow 0.6s ease-in-out;
        transform: scale(1);
  transition: transform 1s;
  }

#two img:hover{
     transition: transform .5s;
           transition: color 0.6s ease-in-out, box-shadow 0.6s ease-in-out;
  box-shadow: 0 0 500px #d4bf9f;
    transform: scale(1.5, 1);
  transition: transform 1s;
  }
  

#toggle {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 1;
  opacity: 0;
  cursor: pointer;
  height: 40px;
}

#toggle:checked ~ ul {
  visibility: hidden;
  opacity: 0;
}

#toggle:not(:checked) ~ ul {
  opacity: 1;
}

nav ul {
  padding-left: 0;
  margin-top: 0;
  list-style: none;
  overflow: hidden;
  text-align: center;
  width: 100%;
  text-decoration: none;
}

nav ul li {
  position: relative;
  display: inline-block;
  line-height: 1.5;
  width: 100%;
  margin: 0 0 0.25rem 0;
  text-decoration: none;
  color: white;
}

ul a {
  font-family: helvetica;
}

ul a:hover {
  color: white;
  text-decoration: underline;
}

.next {
  margin-top: 45px;
  margin-bottom: 50px;
  text-align: center;
  transition: color 0.6s ease-in-out, text-shadow 0.6s ease-in-out;
}

.click{
     animation-name: click;
    animation-duration: 10s;
    animation-delay: 10s;
    color:black;
    opacity:0;
        transition: opacity 10s ease-in-out;
}

 @keyframes click {
            from {opacity:0;}
            to {opacity:1;}
        }

#phone {
  display: none;
}

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

  #one {
    grid-area: 1/1/1/1;
  }

  #two {
    grid-area: 2/1/2/1;
  }

  #three {
    grid-area: 3/1/3/1;
    margin-top: 20px;
  }

  #phone {
    display: block;
    color: gray;
  }

  #phone p {
    color: gray;
  }

  p:active {
    font-style: italic;
  }

  p:hover {
    font-style: normal;
  }

  h1 {
    margin-bottom: 10px;
  }

  img:hover {
    transform: scale(1);
  }
}

@supports (font: -apple-system-body) {
main::before {
  content: "";
  mix-blend-mode: normal;
  opacity:1;
}

}