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

body {
  font-family: basic-sans, sans-serif;
  background-color: rgb(32, 32, 32);
}
body::-webkit-scrollbar{
  display: none;
}

/* NAVIGATION BAR */

.header {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.24),rgba(0,0,0,10)), url(/assets/wallpaper.jpg);
  box-shadow: 0 0 30px black;
  background-size: cover;
  background-position: center;
  position: relative;
  font-family: basic-sans, sans-serif;
  color: white;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #000000aa;
  padding: 0 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 45px;
  width: 100%;
}

nav p {
  color: rgba(255, 255, 255, 0.152);
  font-family: 'Indie Flower', cursive;
  font-style: italic;
  font-weight: bold;
}

/* nav img {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  margin: 0;
  color: white;
  cursor: pointer;
} */

nav ul {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  list-style: none;
  margin: 0;
}

nav ul li {
  margin: 0 10px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

nav ul li a:hover {
  color: rgb(88, 150, 166);
  transition: 0.3s;
}

/* INTRO SECTION */

.title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  filter: drop-shadow(7px 5px 2px #0000007b);
  font-size: 40px;
}

.title p {
  text-align: center;
  color: #fff;
  font-size: 35px;
  font-family: 'Indie Flower', cursive;
  font-style: italic;
  font-weight: bold;
  margin-top: 10px;
}

/* ABOUT ME SECTION */

.om-meg {
  padding: 50px 20px;
  height: 100vh;
  background-color: rgb(235, 235, 235);
  display: flex;
  align-items: center;
  justify-content: center;
}

.row1 {
  display: flex;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
}

.picMe {
  flex-basis: 50%;
}
.picMe img {
  display: block;
  width: 70%;
  margin: auto;
  border-radius: 30px;
  filter: drop-shadow(0px 4px 8px #000000bb);
}
.picMe img:hover {
  transition: all .2s ease-in-out;
  transform: scale(1.05); 
}
.om-meg h2 {
  filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.395));
  color: rgb(88, 150, 166);
  font-size: 40px;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
}
.aboutmetext {
  flex-basis: 50%;
  font-size: 25px;
  color: rgb(26, 26, 26);
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}

/* PROJECTS SECTION */

.prosjekter {
  padding: 50px 20px;
  height: 100vh;
  background-color: rgb(32, 32, 32);
  filter: drop-shadow(0px 0px 6px #000000bb);
  display: flex;
  align-items: center;
  justify-content: center;
}

.row2 {
  display: flex;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
}

.prosjekter h2 {
  color: rgb(88, 150, 166);
  font-size: 40px;
  filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.395));
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 10px;
}
.text-col {
  flex-basis: 50%;
  font-size: 25px;
  color: rgb(255, 255, 255);
  font-family: 'Montserrat', sans-serif;
}
.text-col .prosjbtn {
  width: 30%;
  height: 60px;
  background-color: rgb(88, 150, 166);
  color: rgb(255, 255, 255);
  cursor: pointer;
  font-weight: 600;
  font-size: 20px;
  border: none;
  border-radius: 10px;
  filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.395));
  margin-top: 50px;
  transition: all .2s ease-in-out; 
}
.prosjbtn:hover {
  transform: scale(1.1); 
}

.img-col {
  flex-basis: 50%;
  position: relative;
  z-index: 1;
  transition: all .2s ease-in-out; 
}
.img-col p {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.267);
}
.img-col img {
  width: 100%;
  margin: auto;
  border-radius: 20px; 
  filter: drop-shadow(0px 0px 6px #000000bb);

}
.img-col:hover {
  transform: scale(1.05); 
}

/* RESPONSIVE DESIGN */

@media (max-width: 768px) {
  nav {
    height: auto;
    flex-direction: column;
    align-items: center;
  }
  nav ul {
    flex-direction: column;
    position: static;
    transform: none;
    left: auto;
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    padding: 10px 0;
  }

  nav ul li {
    margin: 5px 0;
  }

  .title h1 {
    font-size: 30px;
  }

  .title p {
    font-size: 25px;
  }

  .om-meg h2, .prosjekter h2 {
    font-size: 30px;
  }

  .row1, .row2 {
    flex-direction: column;
    text-align: center;
  }

  .picMe, .aboutmetext, .text-col, .img-col {
    flex-basis: 100%;
  }

  .picMe img {
    width: 80%;
  }

  .aboutmetext, .text-col {
    font-size: 20px;
  }

  .prosjbtn {
    width: 60%;
  }

  .img-col {
    margin-top: 30px;
  }

  .img-col img {
    width: 80%;
  }
}

@media (max-width: 480px) {
  .title h1 {
    font-size: 25px;
  }

  .title p {
    font-size: 20px;
  }

  .om-meg h2, .prosjekter h2 {
    font-size: 25px;
  }

  .aboutmetext, .text-col {
    font-size: 18px;
  }

  .img-col p {
    font-size: 14px;
    bottom: 15px;
    left: 15px;
    right: 15px;
  }

  .prosjbtn {
    width: 80%;
    height: 50px;
    font-size: 18px;
  }
}