* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Alegreya Sans', sans-serif;
}

body {
  background-color: rgb(234, 231, 230);
  width: 100%;
  max-height: 150%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a:visited {
  text-decoration: none;
  color: rgb(104, 87, 90);
}

a:link {
  text-decoration: none;
}

.background2 {
  width: 100%;
  height: 80vh;
  filter: blur(6px);
  -webkit-filter: blur(6px);
}

.block1,
.block2,
.block3 {
    background-color: #aaaaaa;
    display: inline-block;
    position: relative;
    left: 2%;
    opacity: 60%;
}

.block1,
.block3 {
    height: 47vh;
    width: 30vw;
    bottom: 56vh;
}

.block2 {
    height: 62vh;
    width: 30vw;
    bottom: 59vh;
   
}

.block3 {
    height: 44vh !important;
}


.pic1,
.pic2,
.pic3 {
  z-index: 10;
}

.line {
  position: absolute;
  color: rgb(255, 255, 255);
  bottom: 40vh;
  z-index: 15;
  width: 28%;
  margin-left: 35vw;
}

/*arrow down*/
.arrow {
  border: solid rgb(0, 0, 0);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  width: 50px;
  height: 50px;
  position: absolute;
  left: 48vw;
  bottom: 20vh;
  transition: 1s;
}

.arrow:hover {
  border-bottom-width: 2px;
  border-right-width: 2px;
  margin-top: 15vh;
  border-color: rgb(150, 96, 73);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/*transition*/

@import url("https://fonts.googleapis.com/css2?family=Asap&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.section2 {
  position: relative;
  margin-left: 2vw;
  transform: translateY(150px);
  opacity: 0;
  transition: 2s all ease;
}

.section2.active {
  transform: translateY(0);
  opacity: 1;
}

.section2 {
  top: auto;
  min-height: 100vh;
  /* display: flex;
    justify-content: baseline; */
  align-items: center;
}

/*hamburger menu*/
/* Hide the menu by default */

.menu-toggle {
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 40%;
  left: 15%;
  overflow: hidden;
}

.menu-toggle .icon {
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  position: relative;
  transition: all 0.3s ease;
  display: block;
}

.menu-toggle .icon::before,
.menu-toggle .icon::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.menu-toggle .icon::before {
  transform: translateY(-6px);
}

.menu-toggle .icon::after {
  transform: translateY(6px);
}

.menu-toggle.active .icon {
  transform: rotate(45deg);
}

.menu-toggle.active .icon::before {
  transform: rotate(90deg) translate(6px, -6px);
}

.menu-toggle.active .icon::after {
  transform: rotate(-90deg) translate(6px, 6px);
}

.menu-toggle.active {
  background-color: black;
}

#links {
  display: none;
  background-color: white;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 10px;
}

.menu a {
  color: #000000;
  text-decoration: none;
}

.headtitle {
  position: absolute;
  text-align: center;
  color: white;
}

.title {
  color: rgb(0, 0, 0);
  position: relative;
  z-index: 10;
  font-style: italic;
  font-size: 90px;
}

.secondtitle {
  color: rgb(0, 0, 0);
  position: relative;
  z-index: 10;
}

.section1 {
  background-color: black;
  height: 13vh;
  position: sticky;
  top: 0;
  z-index: 16;
  width: 100%;
}

nav {
  width: 25vw;
}

ul {
  list-style: none;
}


.nackadjur {
  position: relative;
  z-index: 7;
  filter: brightness(90%);
  filter: contrast(90%);
  filter: drop-shadow(10px 10px 10px rgb(0, 0, 0));
}

.djurtext,
.djurtext2 {
  position: relative;
  z-index: 7;
}

.placeholder1,
.placeholder2 {
    position: relative;
    filter: brightness(120%);
    filter: contrast(120%);
    filter: drop-shadow(7px 7px 7px rgb(0, 0, 0));
}

.placeholder1 {
  margin-left: 12vw;
  float: left;
  width: 30%;
}

.placeholder2 {
  margin-right: 10vw;
  float: right;
  width: 30%;
}

.omoss1 {
  color: white;
  width: 30vw;
  font-size: 130%;
  float: left;
  position: relative;
  margin-left: 12vw;
  top: 8vh;
}

.omoss {
  background-color: black;
  height: 50vh;
  bottom: 10vh;
  position: relative;
}


.omoss2 {
  color: white;
  width: 39vw;
  font-size: 117%;
  float: right;
  position: relative;
  margin-right: 10vw;
  top: 8vh;
}


footer {
  background-color: #a66a6a;
  width: 100vw;
  margin-top: 20vh;
}

.footer {
  padding: 50px;
  margin-top: 40vh;
}

/*mobile*/
@media only screen and (min-width: 500px) and (max-width: 599px) {
  .section2 {
    top: 8vh;
    width: 70%;
    display: grid;
    grid-template-columns: repeat(1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-template-areas:
      "pic1"
      "pic2"
      "pic3";
  }

  .flexcontainer {
    display: none;
  }

  .headtitle {
    color: white;
    left: 27%;
    font-size: 6vw;
    top: 5vh;
  }

  .background2 {
    width: 100%;
    height: 110%;
  }

  .title {
    bottom: 28vh;
    left: 14%;
    font-style: italic;
    font-size: 190%;
  }

  .secondtitle {
    bottom: 23vh;
    left: 18%;
    position: relative;
    font-size: 120%;
    font-style: italic;
  }

  .line {
    bottom: 63%;
  }
  .arrow {
    width: 25px;
    height: 25px;
    bottom: 54vh;
    right: 10%;
  }

  .info,
  .info2 {
    font-size: 119%;
    width: 90%;
    position: relative;
    margin-left: 3vw;
  }

  .info {
    bottom: 252vh;
  }

  .info2 {
    bottom: 250vh;
  }

  .pic1 {
    grid-area: pic1;
    margin-top: 40vh;
    width: 120%;
    margin-left: 8vw;
  }

  .pic2 {
    grid-area: pic2;
    margin-top: 10vh;
    width: 120%;
    margin-left: 8vw;
  }

  .pic3 {
    grid-area: pic3;
    bottom: 20%;
    width: 120%;
    margin-left: 8vw;
  }


  .dots,
  .block1,
  .block2,
  .block3 {
    display: none;
  }

  .djurtexter {
    position: relative;
    bottom: 30vh;
    font-size: 95%;
    color: rgb(0, 0, 0);
  }

  .omoss {
    bottom: 20vh;
    position: relative;
    background-color: rgb(234, 231, 230);
    text-align: center;
  }

  .omoss1,
  .omoss2 {
    width: 80%;
    color: #000000;
  }

  .omoss2 {
    padding-top: 6px;
  }

  .nackadjur {
    bottom: 40vh;
  }

  .phs {
    position: relative;
    width: 150%;
  }

  .placeholder1 {
    margin-top: 5vh;
  }

  .placeholder2 {
    margin-right: 53vw;
    margin-bottom: 25vh;
  }

}

/*tablet*/
@media only screen and (min-width: 600px) and (max-width: 768px) {
  .section2 {
    filter: brightness(120%);
    filter: contrast(120%);
    filter: drop-shadow(7px 7px 7px rgb(0, 0, 0));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-template-areas:
      "pic1 . pic3"
      ". pic2 .";
  }

  .menu-toggle {
    top: 6vh;
  }
  .headtitle {
    top: 40%;
    color: white;
    margin-left: 28vw;
    font-size: 6vw;
  }

  .title {
    color: rgb(0, 0, 0);
    position: relative;
    z-index: 10;
    bottom: 35vh;
    left: 17%;
    font-style: italic;
    font-size: 35px;
  }

  .secondtitle {
    position: relative;
    bottom: 30vh;
    left: 23%;
    font-style: italic;
    font-size: 20px;
    width: 58%;
  }

  .line {
    bottom: 63vh;
  }

  .arrow {
    width: 25px;
    height: 25px;
    bottom: 52vh;
    right: 2%;
  }
  .flexcontainer,
  .dotdesign,
  .block1,
  .block2,
  .block3 {
    display: none;
  }

  .background2 {
    width: 100%;
    height: 50vh;
  }

  .pic1 {
    width: 120%;
    grid-area: pic1;
    margin-left: 4vw;
  }

  .pic2 {
    width: 130%;
    right: 10%;
    position: relative;
    grid-area: pic2;
    bottom: 10vh;
  }

  .pic3 {
    width: 120%;
    margin-left: 22vw;
  }

  #info {
    width: 70%;
    margin-left: 17vw;
    bottom: 10vh;
    padding-top: 6vh;
  }

  .dotdesign2 {
    bottom: 45vh;
    position: relative;
  }


  .nackadjur {
    width: 50%;
    margin-left: 28vw;
    bottom: 70vh;
  }

  .djurtext,
  .djurtext2  {
    width: 70vw;
    margin-left: 16vw;
    font-size: 120%;
  }

  .djurtext {
    bottom: 58vh;
  }

  .djurtext2 {
    bottom: 53vh;
  }

  .phs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-template-areas: "ph1 ph2";
  }

  .placeholder1 {
    width: 80%;
    right: 8%;
    float: left;
    top: 4vh;
 
  }

  .placeholder2 {
    width: 80%;
    float: right;
    margin-left: 5vw;
    top: 4vh;
  }

  .omoss {
    top:11vh;
  }
}

/*desktop*/
@media only screen and (min-width: 769px) {
  body {
    width: 100vw;
  }

  .background2 {
    width: 100%;
    height: 100%;
  }

  .section1 {
    display: grid;
    left: 40%;
    grid-template-columns: 80px 60px repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-template-areas: "ht . info ex om";
  }

  .headtitle {
    color: white;
    float: left;
    margin-left: 4vw;
    position: relative;
    font-size: 3vw;
    top: 20%;
    grid-area: ht;
  }

  .flexcontainer {
    margin-top: 5vh;
    margin-left: 25vw;
  }

  .title {
    color: rgb(0, 0, 0);
    position: absolute;
    z-index: 10;
    top: 43vh;
    left: 14%;
    font-style: italic;
    font-size: 90px;
  }

  .secondtitle {
    z-index: 10;
    position: absolute;
    top: 65vh;
    left: 35%;
    font-style: italic;
    font-size: 25px;
    width: 28%;
  }

  li {
    position: relative;
    width: 8vw;
    height: 3vh;
    bottom: 7vh;
    display: inline-block;
    text-align: center;
  }

  .b1 {
    grid-area: info;
  }

  .b2 {
    grid-area: ex;
  }

  .b3 {
    grid-area: om;
  }

  .section2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-template-areas: "pic1 pic2 pic3";
  }

  .pic1 {
    width: 90%;
    grid-area: pic1;
    margin-top: 30vh;
  }

  .pic2 {
    width: 90%;
    grid-area: pic2;
    margin-top: 25vh;
  }

  .pic3 {
    width: 90%;
    grid-area: pic3;
    margin-top: 30vh;
  }

  #info {
    font-size: 150%;
    width: 50vw;
    margin-left: 8vw;
    position: relative;
  }

  .info {
    margin-top: 20vh;
  }

  .info2 {
    margin-top: 8vh;
  }

  .dotdesign {
    width: 45%;
    margin-left: 55vw;
    bottom: 54vh;
    position: relative;
  }


  .nackadjur {
    margin-left: 10vw;
    bottom: 55vh;
    width: 30%;
  }

  .djurtext,
  .djurtext2 {
    font-size: 150%;
    width: 40vw;
    margin-left: 50vw;

  }

  .djurtext {
    bottom: 116vh;
  }

  .djurtext2 {
    bottom: 110vh;
  }

  .placeholder1,
  .placeholder2 {
    bottom: 40vh;
  }

  .topnav,
  .navbar,
  .menu-toggle,
  .dotdesign2 {
    display: none;
  }
}
