@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: "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/parthenon50.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.4;
  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: white;
  text-decoration: none;
}

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

h1 {
  font-size: 55px;
  font-family: "astloch-regular";
  text-decoration: none;
  padding-bottom: 50px;
}

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

h2 a:hover {
  text-decoration: underline;
}

h3 {
  font-weight: normal;
}

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-top: 20px;
  padding-bottom: 20px;
  padding-left: 40px;
  padding-right: 40px;
  height: 100vh;
}

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

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

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

#me img {
  margin-top: 20px;
  transition: transform 0.5s;
  	object-fit: cover;
  clip-path: ellipse(50% 10% at 50% 50%);
  transition: color 0.6s ease-in-out, box-shadow 0.8s ease-in-out;
}

#me img:hover {
  transition: transform 0.5s;
  transition: color 0.6s ease-in-out, box-shadow 0.6s ease-in-out;
  color: #000;
  box-shadow: 0 0 500px #b78c54;
}

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: 200px;
  font-family: helvetica;
}

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

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

@keyframes pulse {
  0%,
  100% {
    text-shadow: 0 0 5px #441300;
  }
  50% {
    text-shadow: 0 0 10px #c63700;
  }
}

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

  #one {
  }

  #two {
  }

  #three {
  }

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

  #me img {
    margin-top: 50px;
  }

  h1 {
    font-size: 35px;
  }
}
