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

html {
    margin: 0;
  padding: 0;
    box-sizing: border-box;
}

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

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

main::before {
  content: "";
  position: absolute;
  background-image: url(bg/catradrawing.png);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index:-5;
  mix-blend-mode: soft-light;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}



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

p {
  color: black;
    cursor: help;
}

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

img {
  transform: scale(1);
  transition: transform 1s;
}

img:hover {
  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;
}

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