
html {
  scroll-behavior: smooth !important;
}




body {
  font-family: kanit,arial;
  margin: 0;
}

.background {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
   z-index: -99;
}

.norrsken {
  object-fit: cover;
  width: 100%;
  height: 100vh;
  position: absolute;
  
}

.background_shadow {
  z-index: -98;
  background-color: black;
  width: 100%;
  height: 100vh;
  top: 0;
  opacity: 0.6;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(40px, 6.4vw, 80px);
  display: grid;
  grid-template-columns: clamp(85px, 13.6vw, 170px) clamp(515px, 66.4vw, 1030px);
  grid-template-rows: clamp(40px, 6.4vw, 80px);
  z-index: 100;
}

.header_blocker {
  width: 100%;
  height: clamp(40px, 6.4vw, 80px);
  z-index: 99;
  background-color: rgb(0, 0, 0);
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0.6;
  border-bottom: 3px solid rgb(150, 132, 224);
}

.header_design_element {
  grid-row: 1;
  grid-column: 1;
  width: clamp(85px, 13.6vw, 170px);
  margin-left: clamp(30px, 4.8vw, 60px);
  margin-top: clamp(6px, 0.96vw, 12px);
  margin-bottom: clamp(6px, 0.96vw, 12px);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  z-index: 200;
  pointer-events: all;
}

.header_design_element div {
  background-color: rgb(150, 132, 224);
  height: clamp(4.5px, 0.72vw, 9px);
  box-shadow: 0 0 30px rgb(150, 132, 224);
}

.design_element_1 {
  width: clamp(50px, 8vw, 100px);
}

.design_element_2 {
  width: clamp(40px, 6.4vw, 80px);
}

.design_element_3 {
  width: clamp(30px, 4.8vw, 60px);
}

.flexbox_header {
  grid-row: 1;
  grid-column: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.flexbox_header a {
  color: rgb(150, 132, 224);
  font-size: clamp(20px, 3.2vw, 40px);
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  transition: 0.15s;
  text-shadow: 0 0 20px rgb(150, 132, 224);
}

.flexbox_header div:hover {
  opacity: 0.8;
  font-size: clamp(21px, 3.3vw, 42px);
  text-shadow: none;
}

.phone_header {
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 0.4s;
}

.phone_header a {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.big_title_wrapper {
  width: 100%;
  height: 650px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(0px, 24vw, 400px);
}

.small_title_wrapper {
  width: 70%;
  height: 22.3%;
  margin-top: 40px;
}

.masked_text_wrapper p {
  background: url(Untitled\(1\).png) 0 0 / cover no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-clip: text;
}

.name {
  font-size: clamp(50px, 8vw, 100px);
  font-weight: 500;
  margin: 0;
  line-height: clamp(40px, 6.4vw, 80px);
  display: block;
}

.name_wrapper {
  display: block;
  margin: 0;
}

.masked_text_wrapper {
  display: inline-block;
}

.title_design_element {
  width: clamp(10px, 1.6vw, 20px);
  height: clamp(80px, 12.8vw, 160px);
  background: url(Untitled\(1\).png) 0 0 / cover no-repeat;
  display: inline-block;
  margin-right: clamp(5px, 0.8vw, 10px);
}

.portfolio_text {
  font-size: clamp(25px, 4vw, 50px);
  font-weight: 500;
  color: rgb(150, 132, 224);
  margin: 0;
  margin-top: 0;
}

.projekt_grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  width: 100%;
}

.projekt_title_wrapper {
  grid-row: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-self: end;
  
}



.projekt_design_element {
  width: clamp(8px, 1.6vw, 16px);
  height: clamp(40px, 8vw, 80px);
  background: url(Untitled\(1\).png) 0 0 / cover no-repeat;
  display: inline-block;
}

.projekt_title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 500;
  background: url(Untitled\(1\).png) 0 0 / cover no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-clip: text;
  margin-left: 5px;
  display: inline-block;

}

.projekt_flexbox1 {
  grid-row: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  /* margin-bottom: clamp(30px, 4.8vw, 60px); */
  margin-left: clamp(50px, 10vw, 200px);
  margin-right: clamp(50px, 10vw, 200px);
  margin-bottom: clamp(50px, 8vw, 100px);
}

.projekt {
  width: 25%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  background-color: grey;
  opacity: 0.6;
  margin-right: 2.25vw;
  margin-left: 2.25vw;
  margin-bottom: 4.5vw;
  transition: 0.15s;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.22);
  position: relative;
}


.projekt .projekt_tooltip {
  opacity: 0;
  transition: 0.15s;
  text-align: center;
  color: rgb(150, 132, 224);
  position: absolute;
  top: 100%;
  width: 100%;
  z-index: -1;
  background-color: rgb(128, 128, 128, 0.6);
  border-radius: clamp(2px, 0.5vw, 5px);
  padding: 0;
  margin: 0;
  margin-top: 0.5vw;
}

.projekt p {
  margin: 0;
  padding: 0;
  font-size: 1.5vw;
}

.projekt:hover {
  width: 25%;
  box-shadow: 0 0 30px rgb(150, 132, 224);
}

.first_figma:hover .projekt_tooltip {
  opacity: 1;
  display: block;
  z-index: 100;
  opacity: 1;
  transition: 0.15s;
}

.projekt:hover p {
  margin: 0;
  padding: 0;
  color: rgba(150, 132, 224, 1);
  transition: 0.15s;
}

.projekt img {
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
  height: 100%;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 0.6;
  transform: translateY(0);
}

.om_mig_grid {
  display: grid;
  grid-template-rows: 0.1fr 1fr;
  width: 100%;
  margin-bottom: clamp(50px, 8vw, 100px);
}

.om_mig_title_wrapper {
  grid-row: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.om_mig_design_element {
  width: clamp(8px, 1.6vw, 16px);
  height: clamp(40px, 8vw, 80px);
  background: url(Untitled\(1\).png) 0 0 / cover no-repeat;
  display: inline-block;
}

.om_mig_title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 500;
  background: url(Untitled\(1\).png) 0 0 / cover no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-clip: text;
  margin-left: 5px;
  display: inline-block;
}

.om_mig_flexbox {
  grid-row: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: clamp(50px, 8vw, 100px);
}

.om_mig_background {
  width: 40%;
  height: clamp(400px, calc(600px - 40vw), 500px);
  border-radius: 10px;
  background-color: grey;
  opacity: 0.6;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.22);
}

.om_mig_text {
  font-size: clamp(11.5px, 1.8vw, 23px);
  font-weight: 500;
  color: white;
  line-height: 1.4;
  margin-left: 20px;
  margin-right: 20px;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
  box-sizing: border-box;
  font-family: arial !important;
}

.ta_kontakt_grid {
  display: grid;
  grid-template-rows: 0.1fr 1fr;
  width: 100%;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  border-top: 3px solid rgb(150, 132, 224);
}

.ta_kontakt_title_wrapper {
  grid-row: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

}

.ta_kontakt_design_element {
  width: clamp(4px, 0.8vw, 8px);
  height: clamp(20px, 4vw, 40px);
  background: url(Untitled\(1\).png) 0 0 / cover no-repeat;
  display: inline-block;
  z-index: 1;
  opacity: 1;
}

.ta_kontakt_title {
  font-size: clamp(20px, 3vw, 40px);
  font-weight: 500;
  background: url(Untitled\(1\).png) 0 0 / cover no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-clip: text;
  margin-left: 5px;
  display: inline-block;
  z-index: 1;
  opacity: 1;
}

.ta_kontakt_flexbox {
  grid-row: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 0;
  padding-left: clamp(80px, 30vw, 600px);
  padding-right: clamp(80px, 30vw, 600px);
}

.ta_kontakt_flexbox div {
  aspect-ratio: 1/1;
  opacity: 0.6;
  width: clamp(60px, 9vw, 120px);
  margin-bottom: clamp(25px, 4vw, 50px);
}
 
.ta_kontakt_flexbox div img {
  width: 90%; 
  object-fit: contain;
  cursor: pointer;
  pointer-events: all;
}

.ta_kontakt_flexbox div img:hover {
  object-fit: contain;
  width: 100%;
  transition: 0.2s;
  filter: drop-shadow(0 0 16px rgb(150, 132, 224));
}

  @media (max-width: 750px) { 

  .header {
    z-index: 100;
    width: 20%;
  }
  .flexbox_header {
    display: none;
  }
  .header a{
    opacity: 0;
    pointer-events: none;
    display: none;
  }

  .header_design_element {
    margin-left: clamp(20px, 4.8vw, 60px);
    z-index: 100;
    cursor: pointer;
    pointer-events: all;
  }

  .header_design_element div {
    width: clamp(50px, 8vw, 100px);
  }

  .header_design_element:hover{
    opacity: 0.6;
  }

.header_blocker {
  display: none;
}

  .phone_header {
  display: none; 
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-around;
  height: 50vh;
  z-index: 99;
  opacity: 1;
  transition: 0.5s;
  transform: translateY(-100%);
  transition: transform 0.4s;
  background-color: rgba(0, 0, 0, 0.6);
  border-bottom: 3px solid rgb(150, 132, 224);
  }

.phone_header a {
  display: none;
  color: rgb(150, 132, 224);
  font-size: clamp(25px, 4vw, 50px);
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  transition: 0.4s;
  text-shadow: 0 0 20px rgb(150, 132, 224);
  margin-right: 20px;
  z-index: 101;
  opacity: 1;
} 

.phone_header.active {
  transform: translateY(0);
  pointer-events: none;
}

.phone_header a:hover {
    opacity: 0.8;
    font-size: clamp(26px, 4.1vw, 52px);
    text-shadow: none;
  }

  .big_title_wrapper {
    margin-bottom: 0;
  }
  .small_title_wrapper {
    width: 90%;
    height: 30%;
    margin-top: 0;
  }

  .name {
    font-size: clamp(40px, 10vw, 80px);
    line-height: clamp(32px, 8vw, 64px);
  }

  .title_design_element {
    height: clamp(60px, 15vw, 120px);
  }

 .projekt_grid {
   grid-template-rows: 1fr 1fr;
 }

  .projekt_flexbox1 {
    grid-row: 2;
    flex-wrap: wrap;
    row-gap: 40px;
  }

  .projekt {
    width: 40%;
    border-radius: 5px;
  }

  .projekt:hover {
    width: 41%;
    box-shadow: 0, 0, 30px, rgb(150, 132, 224) ;
  }

  .om_mig_background {
    width: 80%;
    height: clamp(200px, calc(400px - 20vw), 300px);
  }

  .om_mig_text {
    font-size: 13px;
  }

  .ta_kontakt_flexbox {
    flex-wrap: wrap;
    row-gap: 40px;
    padding-left: clamp(20px, 5vw, 100px);
    padding-right: clamp(20px, 5vw, 100px);
  }
}
