*{
  box-sizing: border-box;
}

body {
  background-color: #eaeaea;
  font-family: pretendard, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.1vw;
  margin: 0;
  padding: 0;    
  background-size: 100% auto;
  width: 100%;
  max-width: auto;
  background-image: url("/Pictures/Layout/Main_Background_4.png");
}

h1 {
  padding: 8px;
  padding-bottom: 2px;
  font-size: 4vw;
  text-align: center;
  font-family: unbounded, sans-serif;
  font-weight: 400;
  font-style: normal;
}
h2 {
  padding-left: 1vw;
  padding-bottom: 0;
  font-family: unbounded, sans-serif;
  font-weight: 500;
  font-style: normal;
}
h3{
  padding: 0%;
  margin: 0%;
  font-family: unbounded, sans-serif;
  font-weight: 400;
  font-style: normal;
}

.stan-box {
  text-align: center;
}

.techbox{
  display: flex;
  flex-wrap: wrap;
}

.tech{
  background-color: #46967f;
  margin: 0.2vw;
  border: none;
  width: auto;
  height: auto;
  padding: 0.55vw;
  border-radius: 0.5vw;
  color: white;
  font-size: 0.9vw;
  font-family: chivo, sans-serif;
  font-style: normal;
  font-weight: 400;
}


.mainbodydiv{
  width: 94%;
  height: 100%;
  min-height: 100vh;
  max-height: 100%;
  background-color: #a8a8a8df;
  margin: 3%;
  padding: 1%;
  margin-top: 0%;
  box-sizing: border-box;
  padding-bottom: 0%;
  margin-bottom: 0%;
}

#pimdesc{
  margin-top: 7vh;
  font-size: clamp(11px, 1.5vw, 50px);
  padding: 5%;
}

#filter-buttons {
  padding-left: 0;
  padding-top: 0;
}

.filter-button{
  background-color: #46967f;
  margin: 0.25vw;
  border: none;
  width: auto;
  height: auto;
  padding: 0.8vw;
  border-radius: 10px;
  color: white;
  font-size: 1.1vw;
  transition: background-color 0.1s ease, filter 0.1s ease;
  overflow: hidden;
  position: relative;
  font-family: chivo, sans-serif;
  font-style: normal;
  font-weight: 400;
}

.filter-button:hover::before {
  content: '';
  position: absolute;
  display: inline-block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  mix-blend-mode: overlay; 
  opacity: 0.4; 
}

.filter-button:hover{
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}


#project-container {
  display:  flex;  
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}
.project {
  flex: 0 1 calc(100% - 20px);
  box-sizing: border-box;
  border: none;
  margin: 10px;
  padding: 15px;
  border-radius: 5px;
  background-color: rgb(155, 155, 155);
  transition: all 0.2s ease-in;
  display: flex;
  box-shadow: 4px 4px 10px rgb(129, 129, 129);
}

.project:hover{
  background-color: #b8b7b7cb;
  cursor: pointer;
}

.project ul{
  font-weight: 600;

}

.inactive-project {
  box-sizing: border-box;
  border: none;
  margin: 10px;
  padding: 15px;
  border-radius: 5px;
  background-color: rgb(151, 151, 151);
  color: rgb(104, 104, 104);
  box-shadow: 4px 4px 10px rgb(191, 191, 191);
}

.inactive-project:hover{
  background-color: rgb(140, 140, 140);
  cursor: pointer;
}

.inactive-project img{
  filter: grayscale(100%);
}

.inactive-project .tech{
  filter: grayscale(100%);
}

.expanded {
  flex: 1 1 calc(100% - 20px); 
  height: auto;
  background-color: rgb(222, 222, 222);
  transition: all 0.2s ease-in;
  color: rgb(0, 0, 0);
  display: flex;
}

.expanded img{
  filter: grayscale(0%);
}

.expanded .tech{
  filter: grayscale(0%);
}

.expanded:hover{
  background-color: rgb(222, 222, 222);
  cursor: auto;
}

.topbarnav{
  z-index: 1000;
  width: 100%;
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: clamp(8.5px, 1.2vw, 24px);
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  backdrop-filter: blur(1px);
}

.topbarnav ul{
  list-style: none;
  width: 100%;
  text-align: left;
  padding-left: 5%;
}

.topbarnav ul li{
  display: inline-block;
  padding: 0px 20px;
  margin: 10px 0px;
  border-right: 1px solid #c4c4c459;
}

.topbarnav ul li a{
  color: #fff;
  text-decoration: none;
}

.topbarnav a:hover{
  color: #56642e;
  text-shadow: #738b85 1px 0 10px;
}

.projectimg{
  width: auto;
  max-width: 98%;
  height: auto;
  max-height: 100%;
  transition: opacity 1s ease-in-out;
  border-radius: 5px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

.swiper-container{
  position: relative;
  width: 28vw;
  height: 90%;
  overflow: hidden;
  flex: 55%;
  margin-top: 3vw;
}

.swiper-wrapper{
  height: 85%;
  margin-bottom: 0%;
  padding-bottom: 0%;
}

.swiper-slide{
  text-align: center;
}

.swiper-pagination{
  margin: 0%;
  margin-bottom: 3%;
}

.column{
  flex: 35%;
  margin-top: 3vw;
  margin-left: 20px;
  margin-right: 30px;
}
.column h2{
  padding: 0%;
}

.landerpicturepim{
  margin-right: 5%;
  margin-top: 5vh;
  height: auto;
  width: 95%;
  max-height: 80%;
  border-radius: 5%;
  object-fit: cover;
}

.projectcoverimg{
  padding: 0%;
  margin: 0%;
  width: 100%;
  padding: 10%;
  padding-right: 15%;
  height: auto;
  border-radius: 5px;
}

.contactlinks{
  text-align: center;
}

.icon{
  width: 2vw;
  min-width: 24px;
  height: 2vw;
  min-height: 24px;
  background-size: contain;
  display: inline-block;
}

.icon:hover{
  filter: invert(0.3) sepia(1) saturate(2) hue-rotate(35deg); 
}


#linkedin{
  background-image: url("/Pictures/Layout/104493_linkedin_icon.png");
}

#artstation{
  background-image: url("/Pictures/Layout/8666128_artstation_icon.png");
}

#emailto{
  background-image: url("/Pictures/Layout/134147_mail_email_icon.png");
}

#itch{
  background-image: url("/Pictures/Layout/104493_itch_icon.png");
}

.linksaboutpage{
  font-size: 1.1vw;
  font-family: unbounded, sans-serif;
  font-weight: 500;
  font-style: normal;  
}


.linksaboutpage .icon{
  width: 2.5vw;
  height: 2.5vw;
  margin: 3px;
}

.coverproject{
  font-size: 1.4vw;
  margin-right: 10%;
}

.coverproject h2{
  font-size: 1.8vw;
  margin: 0;
  padding: 0;
  padding-top: 5%;
  padding-bottom: 1%;
}

.aboutmetext{
  margin-top: 5vh;
  margin-right: 5vw; 
  margin-right: 3vw;
}

.aboutmetext p{
  font-size: 1.1vw; 
}
