@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/*waka waka*/
@import url('https://fonts.googleapis.com/css2?family=Jersey+10&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');


* {
  margin: 0;
}





/*General_________________________________________*/

 body{
 background-image: url('img_girl.jpg');
 background-repeat: no-repeat;
 background-attachment: fixed;
 background-size: cover;
 font-family: "Public Sans", serif;
}

html{ scroll-behavior: smooth;}

.txt{
  font-size: 2vw;
  font-weight:normal;
}
.title{
  font-size: 3vw;
 font-weight: bolder
 ;
}

li{
  font-size: 2.5vw;
}

h2{
  font-size: 4vw;
}

hr{
  height:2px;
  border-width:0;
  color:black;
  background-color:black;
}



.header {
  background-color:black;
  text-align:center;
  width: 100%;
  height: 105vh;
  z-index: 0;
  position: relative;

}

.front{z-index: 1000;
position: relative;}

.about{
  width: 80%;
  margin: 10vh auto;
}


/*Down arrow in header___________________________*/
.down-arrow {
  cursor: pointer;
  position: absolute;
  bottom: 5vh;       /* place at bottom */
  left: 50%;          /* center horizontally */
  font-size: 2rem;
  font-weight: bold;
  color: white;
  user-select: none;
  transition: 0.3s ease;
  z-index: 1000; 
  pointer-events: auto;
}

.down-arrow:hover,
.down-arrow:hover .bounce {
  color: gray;
  animation: none;
  transform: rotate(90deg); /* rotate to point down */
}
/*

.arrow {
  text-align: center;
  margin: 8% 0;
}
*/
.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(90deg);
  }
  40% {
    transform: translateY(-30px) rotate(90deg);
  }
  60% {
    transform: translateY(-15px) rotate(90deg);
  }
}


/*Navigation bar_________________________________________*/

#navbar {
  
  position: fixed;
  top: -100px;
  width: 100%;
  display: block;
  transition: top 0.2s;
}

/* Style the top navigation bar */
.topnav {
  min-height: 12vh;
  max-height: 30vh;
  overflow: hidden;
  background-color: white;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  text-align: right;
  top: 0;
  z-index:10000;
  border-bottom: 2px solid black;
}

ul {
    font-size: 2,5vw;
    font-weight: 600;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}
.topnav li {
  font-size:2vw;
  margin-left:5vw;
  margin-right:1vw ; 
  display: inline-block;
  color: black;
}
/* Style the topnav links */
.topnav a {
  font-size:2.5vw;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font color: black;
}

/* Change color on hover */
.topnav a:hover {
 color: black;
}



a:active {
  color: yellow;
  background-color: transparent;
  text-decoration: bold;
}
.active {
  font-style: bold;
 color: black;
}

.icon {
  width: 6vh;
  height: 6vh;
  background-color: white;
  position: fixed; /* stays on screen */
 
  left: 10px;
  z-index: 1000000;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px; /* optional */
}

.icon svg {
  width: 100%;
  height: 100%;
   overflow: visible;
  

}

}
.main {
  float: left;
  background-color:#e5e5e5;
  width: 100%;
  padding: 2vw 4vw;
  margin-bottom:10px ; 
}


.port {
  float: left;
  background-color:;
  width: 100%;
  margin-bottom:10vw ; 
}


.target-text {
      font-weight: 300; /* default weight */
      font-size: 2rem;
      transition: font-weight 0.3s ease;
      text-align: center;
      padding: 2rem;
    }

 .bolded {
      font-weight: 800; /* your desired boldness */
    }


/*SLider_________________________________________*/

.slideshow-container {
  position: relative;
  width: 80%;
  max-height: 60vh;
  max-width: 1000px; /* optional max width */
  margin: 5vh auto;
  padding-top: 56.25%; /* 16:9 Aspect ratio (height / width * 100%) */
  overflow: visible;

}

.slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}




.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from { opacity: 0.4 }
  to { opacity: 1 }
}

.active {
  display: block;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 1rem;
  margin-top: -22px;
  color: #bbb;
  font-weight: bold;
  font-size: 2rem;
  transition: 0.3s ease;
  user-select: none;

  border-radius: 0.3rem;
}

.next {
  right: 0;
}

.prev {
  left: 0;
}

.prev:hover, .next:hover {
  color: #717171;
}

.dots {
  text-align: center;
  margin-top: 1rem;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active,
.dot:hover {
  background-color: #717171;
}

/*grid----------------------*/

    /*Buttons*/

.btn-group{
   display: flex;
  justify-content: center;
  align-items: center;
}
.btn-group .btn {
  background-color: white; 
color:black;
  border-radius: 3px;
  border: 2px solid black;
  padding: 1vw 1vw;
  text-align: center;
  text-decoration: none;
  font-size: 2vw;
  cursor: pointer;
  display: inline-block;
  margin: 1vw;
}

.btn-group .active, .btn:hover {
  background-color: black;
  color: white;
}




.buttons ul {
    font-size: 2.5vw;
    list-style: none;
    background-color: #e5e5e5;
    padding: 0;
    margin: 0;
    text-align: center;
}
.buttons li {
  font-size:2vw;
  display: inline-block;
  color: black;
}





.container {
  overflow: hidden;
}

.filterDiv {
  background-color:;
  display: none; /* Hidden by default */
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}




/*Grid_________________________________________*/
.cont{
   background-color:;
   margin: 8vh auto;
}
.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 5vw;
  margin: 8vh auto;
}
.tile{
  width: 90%;
  background-color: ;
  padding: 1vw;
  margin-bottom: 1vw
}
.descr h1{
font-size: 2vw;
}
.descr p{
font-size: 1.5vw;
}

.aroo{
  width:4vw;
  height:4vw;

}

.aroo:hover {
  color: blue;
}



/*Picture to grayscale_____________________*/

img {
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}

img:hover {
  filter: none;
  -webkit-filter: grayscale(0%);
}




/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 20%; /* IE10 */
  flex: 20%;
  max-width: 20%;
  padding: 2vw 2vw;
}

.column img {

  vertical-align: middle;
  margin-bottom: 1vw;
  display: block;
  width: 100%;
}

.column svg{
  float: right;

}






/*Footer_________________________________________*/

.foot {
  float: left;
  background-color:#e5e5e5;
  text-align:center;
  font-size: 2.5vh;
  color: black;
  width: 100%;
  padding:10px;
  margin-top:10px;
  box-sizing: border-box;
}


.foot svg{
  width:3vw;  
  height:3vw;
  margin-right: 2vw;
  float: right;
}



/*Dashed Line_________________________________________*/


.line {
  margin:5px 0;
  height:2px;
  background:
    repeating-linear-gradient(90deg,red 0 5px,#0000 0 7px)
    /*5px red then 2px transparent -> repeat this!*/
}

.line1 {
  margin:5px 0;
  height:2px;
  background:
    repeating-linear-gradient(90deg,red 0 3px,#0000 0 7px)
    /*3px red then 4px transparent -> repeat this!*/
}

.line2 {
  margin:5px 0;
  height:2px;
  width:100;
  background:
    repeating-linear-gradient(90deg, black 0 10px,#0000 0 12px)
    /*10px red then 2px transparent -> repeat this!*/
}
.line3 {
  margin:5px 0;
  height:2px;
  width:100;
  background-color: black
}



/*Squiggle_________________________________________*/


svg.squiggle {
  position: fixed;
  top: 15.5vh;
  left: 0;
  width: 100%;
  height: 180vh;
  z-index: 0;
  pointer-events: none;

}

svg.squiggle path {
  stroke-width: 1rem;
}




/*Work page______________________________________*/


.row-work{
  display: flex;
  flex-wrap: wrap;}

.imgwork {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.imgwork img {
  width: 100%;
  height: 100%;
   object-fit: contain;
  display: block;
}

/*columns________________*/
.column-work {
  float: left;
  width:50%;
  padding: 0 3vw;
  box-sizing: border-box;
}

.column-work p{
  font-size: 1.5vw;
}

/* Clear floats after the columns */
.row-work:after {
  content: "";
  display: table;
  clear: both;
}

.cont-work{
  width: 100%
}

.title-work{
  font-size: 7vw;
  font-family: 'Jersey 10';
  font-weight: 500;
  }

.iframe-container {
  position: relative;
  width: 99%;
  max-width: 600px; /* or whatever max size you prefer */
  padding-top: 90%; /* square aspect ratio */
  padding-left:
  margin: 0 auto;
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


.Work-image {
 filter: none;
  -webkit-filter: grayscale(0%);
}



/*controlls__________________________*/

.controls-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem;
  
  border-radius: 8px;
 width: 100%;
  color: black;
}

.controls-column {
  background-color: red;
  flex: 1 1 200px;
  display: block;
  flex-direction: column;
  gap: 0.5rem;
}

.control-item {
  font-size: 2.5vw;
}

.control-item kbd {
  
  padding: 0.2em 0.5em;
  border-radius: 4px;
  margin-right: 0.3em;

  
}



/*Screen Change______________________________________*/

@media screen and (max-width:400px) {
  .header {
  height: 30vh;
  }
  svg.squiggle {
  position: absolute;
  top: 5vh;
  left: 0;
  width: 100%;
  height: 100vh;
}
  .icon{
    width: 5vh;
    height:5vh
  }
}


@media screen and (min-width:600px) {
  .cont {
  width: 85vw;

  margin-left: auto;
  margin-right: auto;
  float: none;
  }
  .topnav{
    max-height: 8vh;
  }
}

@media screen and (min-width:900px) {
  .topnav{
    max-height: 10vh;
  }
  .icon{
    width: 10vh;
    height:10vh
  }
}

@media screen and (max-width:600px) {
  .txt , li{
    font-size: 2vw
  }
  h2{
    font-size: 24px
  }
  .title{
    font-size: 18px
  }
 .topnav a{
    font-size: 16px
  }
}  

@media (perfers-color-scheme: dark){
  :root{
  --color-primary:black;
  --color-secondary:gray;
  --color-text:;
}
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    -ms-flex: 45%;
    flex: 45%;
    max-width: 45%;
  }
  .descr h1{
font-size: 4vw;
}
.descr p{
font-size: 2vw;
}

.aroo{
  width:6vw;
  height:6vw;

}
.foot svg{
  width:4vw;  
  height:4vw;
  margin-right: 3vw;
  float: right;
}
.btn-group .btn {
  padding: 2vw 2vw;
  font-size: 3vw;
  margin: 2vw;

}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
  .descr h1{
font-size: 35px;
}
.descr p{
font-size: 15px;
}

.aroo{
  width:50px;
  height:50px;
}
.foot svg{
  width:35px;  
  height:35px;
  margin-right: 20px;
  float: right;
}
.btn-group .btn {
  padding: 3vw 3vw;
  font-size: 4vw;
  margin: 3vw;
}

}

@media screen and (max-width: 500px) {
  .row-work {
    flex-direction: column;
    align-items: center;
  }

  .column-work {
    width: 100%;
    max-width: 600px;
  }
}

  
  