* {
  cursor: url(img/cursor.svg), auto;
}

body {
  background-color: #191c14;
  font-family: "EB Garamond", serif;
  font-weight: Regular;
  font-style: normal;
  letter-spacing: 0.08rem;
  padding: 0;
  margin: 0;
}

h1,h2 {
  padding-top: 5%;
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: center;
  font-weight: normal;
  margin: 1.1rem;
}

h2 a {
  color: white;
}

p {
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: center;
  margin: 1.1rem;
}

a {
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: center;
  align: center;
  color: black;
  text-decoration: none;
}

/* ID */

#main {
  background-color: white;
}

#empty {
  position:relative;
  width:100vw;
  height:100vh;
}

#about {
  position: relative;
  color: white;
  top: 50%;
  width: 100%;
  z-index: 3;
}

#about p{
  padding-left: 30%;
  padding-right: 30%;
}

#footer {
  position: relative;
  text-align: center;
  bottom:0;
  width: 100%;
  padding: 5% 0;
}

#footer a {
  color: white;
  text-align: center;
}

.contact{
  color:#191c14;
  position: sticky;
  margin: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 1;
  overflow: hidden;
}

#cursor {
 mix-blend-mode: difference;
}

a {
  color:#191c14;
}

/* CLASS */

.container {
  background-color: white;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container div {
  position: sticky;
  top: 10%;
  margin: 100px;
  z-index:3;
}

.image{
  height: 80vh;
}

.logo{
  margin: auto;
  padding-bottom: 5%;
}

.logo img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 40%;
  width: 10vw;
}

.about {
  padding-left: 30%;
  padding-right: 30%;
  padding-top: 10%;
  padding-bottom: 10%;
}

/* PERFORMANCE */

img {
  display:block;
}

.blur-load {
  background-size: cover;
  background-position: center;
}

.blur-load.loaded > img {
  opacity:1;
  object-position: center;
  object-fit: cover;
}

.blur-load > img {
  opacity:0;
  transition: opacity 250ms ease-in-out;
}

/* SELECTION */

::selection {
  background-color: lightgrey;
  color: white;
}

a {
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}

a:hover {
  letter-spacing: 1.5rem;
}

/* MOBILE */

@media screen and (max-width: 900px){
  html {
    font-size: 130%;
  }

  #empty{
    z-index: 0;
  }

  .contact{
    z-index: 1;
  }

  .container {
    background-color: white;
    position: relative;
    overflow:clip;
  }

  .container div {
    z-index: 3;
    position: sticky;
    top: 20%;
    margin: 100px;
  }

  .image{
    height: 65vh;
  }

  #about p {
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 10%;
    padding-bottom: 10%;
  }

  a{
    line-height: 2.2;
  }

  .logo{
    margin: auto;
    padding-top: 20%;
    padding-bottom: 30%;
  }

  .logo img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 30vw;
  }

  a:hover {
    letter-spacing: 0.08rem;
  }
}
