@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;700&display=swap');

/* font-family: 'Space Grotesk', sans-serif; */

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: 'Space Grotesk', sans-serif;
}

body {}

a {
  text-decoration: none;
}

a:link,
a:visited,
a:active {
  color: black;
}

nav {
  position: fixed;
  width: 100vw;
  height: 80px;
  background-color: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  top: 0px;
  font-size: 1.2em;
  display: flex;
  z-index: 1000;
  align-items: flex-start;
  transition: height 0.3s ease;
  overflow: hidden;
}

nav.expanded {
  height: 100vh;
}

.navCont {
  width: 1200px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
}

.logoCont {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  height: 80px;
}

.logo {
  width: auto;
  height: 40px;
}

.logoText {
  font-weight: 700;
}

.contactButton {
  width: 190px;
  display: flex;
  justify-content: flex-end;
}

.contactButton a {
  padding: 16px 24px 16px 24px;
  border: 2px black solid;
  border-radius: 8px;
  color: black;
  text-decoration: none;
}

.contactButton a:hover {
  background-color: black;
  color: white;
}

.menuCont {
  display: flex;
  gap: 20px;
  flex-direction: row;
}

.menuCont a {
  color: black;
  text-decoration: none;
  padding: 5px 10px 5px 10px;
}

.menuCont a:hover {
  background-color: black;
  color: white;
}

.burger {
  display: none;
}



.main {
  padding-top: 150px;
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 140px;
}

h1 {
  font-size: 3em;
}

h2 {
  font-size: 1.2em;
  color: gray;
  font-weight: 300;
}

p a {
  text-decoration: underline;
  opacity: 1;
  transition: opacity 0.3s ease;
}

p a:hover {
  opacity: 0.5;
}

.mainImage {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.mainImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.backarrow {
  font-family: 'lg';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.backbutton {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
  color: gray !important;
}

.backbutton:hover {
  transform: translate(-5px);
}

@media screen and (max-width:1280px) {
  .navCont {
    width: 100%;
    margin-left: 40px;
    margin-right: 40px;
  }

  .main {
    width: calc(100vw - 80px);
    margin-left: 40px;
    margin-right: 40px;
  }
}

@media screen and (max-width:900px) {
  .navCont {
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
    height: 100vh;
  }

  .contactButton {
    width: 100%;
    justify-content: center;
    margin-bottom: 40px;
  }

  .menuCont {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0px;
  }

  /*
  .menuCont, .contactButton {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
    transition-delay: 0.3s;
  }

  .menuCont.disp, .contactButton.disp {
    opacity: 1;
    visibility: visible;
  }
  */
  .burger {
    display: block;
    width: 30px;
    height: 30px;
  }
}

@media screen and (max-width:500px) {
  nav {
    height: 60px;
  }

  .logoCont {
    height: 60px;
  }

  .navCont {
    margin-left: 20px;
    margin-right: 20px;
  }

  .main {
    width: calc(100vw - 40px);
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 100px;
  }

  h1 {
    margin-bottom: 15px;
  }
}
