@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: "fa_xcczcfncowregular";
  src: url("fonts/fa_xcczcfncow-webfont.woff2") format("woff2"),
    url("fonts/fa_xcczcfncow-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}


@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,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  box-sizing: border-box;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(bg/bgcatrasandmoreblur.jpg);
  background-attachment: fixed;
  background-color: black;
   position:relative;

}


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

:root {
  --black: #774e2c;
}

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

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

a {
  color: black;
  text-decoration: none;
     -webkit-animation: glow 1s ease-in-out infinite alternate;
  -moz-animation: glow 1s ease-in-out infinite alternate;
  animation: glow 1s ease-in-out infinite alternate;
}

p {
  color: black;
  font-weight: lighter;
  font-size: 12px;
  font-family: helvetica;
}

h1 {
    -webkit-animation: glow 1s ease-in-out infinite alternate;
  -moz-animation: glow 1s ease-in-out infinite alternate;
  animation: glow 1s ease-in-out infinite alternate;
  font-size: 55px;
  font-family: "astloch-regular";
  text-decoration: none;
  padding-bottom: 50px;
}

h1 a{
 color:black; 
}

h2 {
  text-decoration: none;
  font-size: 25px;
  font-family: "fa_xcczcfncowregular";
  font-weight: lighter;
}

h2 a:hover {
  text-decoration: underline;
  transition:color 0.5s ease-in-out;
}

h3 {
  font-weight: normal;
    font-family: "szlichta07";
font-size:17px;
}

h3:hover {
  font-style: italic;
}

.container {
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  padding-left: 40px;
  padding-right: 40px;
  height: 100vh;
}

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

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

#three {
  grid-area: 1 / 3 / 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

#me{
filter: drop-shadow(0px 5px 10px rgba(000, 000, 000, 0.51));
  transition: transform 0.5s;
  transition: filter 0.6s ease-in-out;
}

#me:hover{
filter: drop-shadow(0px 5px 5px rgba(000, 000, 000, 0.51));
transition: transform 0.5s;
  transition: filter 0.6s ease-in-out;
}


#me img {
  margin-top: 20px;
  	object-fit: cover;
clip-path: polygon(1% 52%, 8% 47%, 15% 49%, 18% 47%, 25% 49%, 29% 48%, 34% 50%, 37% 48%, 41% 50%, 49% 45%, 58% 47%, 66% 44%, 71% 48%, 76% 50%, 80% 50%, 82% 48%, 88% 50%, 94% 48%, 100% 52%, 95% 51%, 88% 53%, 83% 53%, 81% 55%, 76% 57%, 71% 55%, 66% 52%, 59% 57%, 50% 56%, 44% 59%, 38% 56%, 36% 58%, 30% 54%, 26% 54%, 19% 51%, 16% 53%, 9% 50%);
 transition: clip-path 0.6s ease-out;
}

#me img:hover {
  margin-top: 20px;
  	object-fit: cover;
clip-path: polygon(1% 52%, 8% 45%, 13% 48%, 18% 43%, 26% 48%, 30% 44%, 34% 47%, 38% 44%, 44% 49%, 52% 44%, 56% 47%, 65% 44%, 71% 48%, 76% 50%, 80% 49%, 83% 48%, 88% 50%, 94% 48%, 100% 52%, 94% 51%, 89% 54%, 84% 55%, 80% 57%, 76% 61%, 71% 56%, 66% 58%, 59% 62%, 51% 64%, 45% 68%, 39% 64%, 34% 65%, 30% 59%, 24% 59%, 18% 50%, 13% 53%, 9% 50%);
}

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

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

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

.socials {
  display: flex;
  justify-content: center;
  margin-top: 250px;
}

.fa-brands {
  padding: 5px;
  font-size: 20px;
  width: 20px;
  color: black;
  text-align: center;
  text-decoration: none;
  opacity: 1;
}

.fa-brands:hover {
  opacity: 0.7;
}

@-webkit-keyframes glow {
  from {
text-shadow: 0 0 10px #fff, 0 0 20px #fdea9f, 0 0 30px #fdea9f, 0 0 40px #fdea9f, 0 0 50px #e12f14, 0 0 60px #e62a0e, 0 0 70px #e62a0e;
}
  to {
text-shadow: 0 0 20px #fff, 0 0 30px #fadc6d, 0 0 40px #fadc6d, 0 0 50px #dd7333, 0 0 60px #d73b1d, 0 0 70px #e12f14, 0 0 80px #e62a0e;
}
}

.gradoutline {
  background: -webkit-linear-gradient(#fadc6d, #d73b1d);
  -webkit-background-clip: text;
-webkit-text-stroke: 2px transparent;
}

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

  #one {
    grid-area: 2 / 1 / 2 / 1;
    display:flex;
      justify-content: center;
  }

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

  #three {
    grid-area: 3 / 1 / 3 / 1;
     display:flex;
       justify-content: center;
  }

.next {
  margin-top: 45px;
  margin-bottom: 0px;
}

  .socials {
    display: inherit;
    margin-top: 0px;
  }

  #me {
     display: none;
  }

  h1 {
    font-size: 35px;
      padding-bottom: 10px;
  }
}
