html {
  scroll-behavior: smooth;
  color: #333333;

}

body {
    background-color: white;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    margin: 0;
    
  }

a {
  text-decoration: none;
}




h1 {
  font-size: 72px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
}

h2 {
  font-size: 48px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
}

h3 {
  font-size: 36px;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: white;
  margin-top: -16px;
}

h4 {
  font-size: 30px;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: #333333;
  text-align: center;
}

h5 {
  font-size: 20px;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 24px;
  color: #333333;
  margin: 0px;
}


p {
  font-size: 24px;
  line-height: 32px;
}


p.small {
  font-size: 18px;
  line-height: 24px;
  margin: 0px;
}



/* BUTTONS
/////////////////////////////////////////////
//////////////////////////////////////////// */

#btncontact {
  width:210px;
  height:50px;
  position: relative;
  top:-10px;
  margin-top: 0%;
  display: inline;
}

.button {  
  transition: 0.2s;
  background: #333333;
  color: white;
  border-radius: 32px;
  width: auto;
  margin-right: 8px;
  padding: 16px;
}

.button-icon {  
  transition: 0.5s;
  background: #333333;
  color: white;
  border-radius: 32px;
  width: 48px;
  height: 48px;
  margin: 8px;
}

.button a {
  color: white;
}

.button:hover {
  --x: 100%;
  padding: 20px 32px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 40px;
  cursor: pointer;
}

.button-icon:hover {
  --x: 100%;
  padding: 2px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  cursor: pointer;
}

.button-white {  
  transition: 0.5s;
  background: white;
  color: #333333;
  border: 1px solid #BDBDBD;
  border-radius: 32px;
  width: auto;
  margin-right: 8px;
  padding: 16px;
  margin-bottom: 16px;
  text-align: center;
  text-decoration: none;
}

.button-white:hover{
  padding: 20px;
  color: #333333;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  cursor: pointer;
}

.button-white-icon {  
  transition: 0.5s;
  background: white;
  color: #333333;
  border-radius: 32px;
  border: 1px solid #BDBDBD;
  width: 46px;
  height: 46px;
  margin: 8px;
  text-align: center;
  text-decoration: none;
}

.button-white-icon:hover {
  padding: 2px;
  color: #333333;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  cursor: pointer;
}

.button-tag-white {
  transition: 0.5s;
  color: white;
  border-radius: 24px;
  border: 1px solid white;
  background-color: rgba(69, 39, 207, 0);
  width: auto;
  margin-right: 16px;
  margin-top: 16px;
  padding: 8px 16px 8px 16px;
  text-decoration: none;
  font-size: 18px;
  text-align: center;
  display: inline-block;
}

.button-tag-white:hover{
  padding: 8px 20px 8px 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  cursor: pointer;
}

.button-tag {
  transition: 0.5s;
  color: #333333;
  border-radius: 24px;
  border: 1px solid #BDBDBD;
  width: auto;
  margin: 8px;
  padding: 8px 16px 8px 16px;
  text-decoration: none;
  font-size: 18px;
  text-align: center;
  display: inline-block;
}

.button-tag:hover{
  padding: 8px 20px 8px 20px;
  cursor: pointer;
}

.active-tag {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  color: #333333;
}


.tags {
  padding-top: 16px;
}





/* NAV
/////////////////////////////////////////////
//////////////////////////////////////////// */

.topnav {
  position: fixed;
  top: 16px;
  right: 32px;
  width: auto;
  display: flex;
  padding: 4px 24px;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.topnav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.topnav li {
  margin: 0;
}

.topnav a {
  text-decoration: none;
}

.nav-element {
  transition: 0.5s;
  color: #333333;
  padding: 4px 12px;
}

.nav-element:hover {
  color: #0039CC;
  padding: 4px 16px;
}

.button-nav {
  transition: 0.5s;
  background: #333333;
  color: white;
  border-radius: 32px;
  padding: 18px 20px;
  margin-left: 8px;
}

.button-nav:hover {
  padding: 20px 22px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  cursor: pointer;
}

.language-selector {
  display: flex;
  flex-direction: column; /* Stack language links vertically */
  gap: 0px; /* Reduced gap for stacked links */
  align-items: flex-end; /* right align the language selectors*/
}

.language-link {
  font-size: 12px;
  color: #737373;
  padding: 2px 16px;
}

.language-link:hover {
  color: #0039CC;
}


/* HERO
/////////////////////////////////////////////
//////////////////////////////////////////// */

.hero {
  height: auto;
  width: 100%;
  padding-top: 70px;
}

.logo {
  padding-top: 10vh;
  width: 120px;
  height: 120px;
  margin: auto;
}

.headline {
  margin: auto;
  width: 66%;
}

.scroll {
  position: relative;
  bottom: 40px;
  width: 80px;
  height: 80px;
  margin: auto;
}

/*
ANIMATION
scroll*/

@keyframes play60 {
  0% {
    background-position: 0px 0px;
  }
  100% {
    background-position: -4800px 0px;
  }
}
.shapeshifter {
  animation-duration: 2000ms;
  animation-timing-function: steps(60);
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  animation-iteration-count: infinite;

}
.shapeshifter.play {
  animation-name: play60;
}


/*
ANIMATION
button drops*/

.drops {
  position: relative;
  bottom: 40px;
  width: 80px;
  height: 80px;
  margin: auto;
}

@keyframes dropsplay30 {
  0% {
    background-position: 0px 0px;
  }
  100% {
    background-position: -1680px 0px;
  }
}
.dropsshapeshifter {
  animation-duration: 1000ms;
  animation-timing-function: steps(30);
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  animation-iteration-count: infinite; /* modify to one on hover */
  background-color: aqua;
}
.dropsshapeshifter.play {
  animation-name: dropsplay30;
}




/* POTFOLIO - HOME PAGE
/////////////////////////////////////////////
//////////////////////////////////////////// */


.portfolio {
  position: relative;
  top: 2vh;
  left: 2vw;
  height: 95vh;
  width: 96vw;
  margin-bottom: 4vh;
  background-color: #ffffff;
}
.info {
  position: absolute;
  bottom: 54px;
  margin-left: 5%;
  z-index: 99;
  color: white;
}

.overlay-desk {
  position: absolute;
  left: 0%;
  right: 0%;
  top: 0%;
  bottom: 0%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 63.02%, rgba(0, 0, 0, 0) 100%);
  z-index: 50;
}

.video {
  position: absolute;
  left: 0%;
  right: 0%;
  top: 0%;
  bottom: 0%;
  background-image: image();
  z-index: 10;
}

.video:hover {
  z-index: 40;
}

.portfolio-video {
position: relative;
left: 0;
top: 0;
width: 100%;
height: 100%;
object-fit: cover;
}

.artwork {
  position: relative;
  top: 2vh;
  left: 2vw;
  height: auto;
  width: 96vw;
  margin-top: 40px;
  margin-bottom: 4vh;
  background-color: #333333;
}

.artwork-info {
  color: #333333;
  margin-left: 2vw;

}

.more {
  text-align: center;
  margin: auto;
  padding-bottom: 120px;
  padding-top: 120px;

}

/* PROJECT 1
//////////////////////////////////////////// */

.project1-cover {
  transition: opacity 2s;
  opacity: 1;
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-image: url(img/Photos/PXL_20210320_164852768.MP.jpg);
  background-size: cover;
  background-position: center;
  z-index: 90;
  
}

.project1-cover:hover {
  opacity: 0;
}

/* PROJECT 2
//////////////////////////////////////////// */

.project2-cover {
  transition: opacity 2s;
  opacity: 1;
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-image: url(img/Photos/IMG_0929.jpg);
  background-size: cover;
  background-position: center;
  z-index: 90;
}

.project2-cover:hover {
  opacity: 0;
}


/* PROJECT 3
//////////////////////////////////////////// */

.project3-cover {
  transition: opacity 2s;
  opacity: 1;
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-image: url(img/Photos/PXL_20210228_150932693.jpg);
  background-size: cover;
  background-position: center;
  z-index: 90;
}

.project3-cover:hover {
  opacity: 0;
}




/* ABOUT
/////////////////////////////////////////////
//////////////////////////////////////////// */

.about {
  position: relative;
  top: 0;
  padding-top: 160px;
  padding-bottom: 160px;
  left: 0;
  height: auto;
  width: 100%;
  background-color: white;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem;

}

.text-column{
  position: relative;
  top: 0;
  left: 0;
  height: auto;
  width: 40vw;
  padding-left: 10vw;
  display: inline-block;
}

.portrait{
  /* position: absolute; */
  /* display: inline-block; */
  width: 50vw;
  height: 100%;
  margin-left: 40px;
  background-image: url(img/Ola-portrait.png);
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;
}

.text-column h2, p {
  text-align: left;
}




/* FOOTER
/////////////////////////////////////////////
//////////////////////////////////////////// */

footer {
  position: relative;
  bottom: 0;
  width: 100%;
  background-color: #333333;
  height: 162px;
  text-align: center;
  margin-top: 0;

}

footer p {
  text-align: center;
  margin: auto;
  font-size: 16px;
  color: darkgrey;
}

.pre-footer {
  margin-bottom: 160px;
}

.social {
  padding: 40px;
}

.social a {
  padding: 16px;
}







/* CONTACT
/////////////////////////////////////////////
//////////////////////////////////////////// */

.contact {
  padding-top: 160px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem;
  background-color: #F2F2F2;
}


.form {
  padding: 5vw;
  /* width: 30vw; */
}

/* Style inputs */
input[type=text], select, textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid white;
  border-radius: 24px;
  margin-top: 16px;
  margin-bottom: 40px;
  resize: vertical;
}

input[type=submit] {
  transition: 1s;
  background: #333333;
  color: white;
  padding: 16px 24px;
  border: none;
  cursor: pointer;
  border-radius: 24px;
}

input[type=submit]:hover {
  --x: 100%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Style the container/contact section */
.container {
  border-radius: 24px;
  background-color: #f2f2f2;
  padding: 80px;
  width: 33vw;
}

/* Create two columns that float next to eachother */
.column {
  float: left;
  /* width: 30vw; */
  margin-top: 6px;
  padding: 10vw;
}

/* Clear floats after the columns */
.form:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}






/* PROJECT PAGE
/////////////////////////////////////////////
//////////////////////////////////////////// */

.h1-black {
  background: inherit;
  color: #333333;
  -webkit-background-clip: inherit;
  -webkit-text-fill-color: inherit;
  text-align: center;
  margin-bottom: 40px;
}

.full-width img{
  width: 100vw;
  margin: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.pre-footer {
  padding-top: 160px;
  padding-bottom: 160px;
  width: 50%;
  margin: auto;
}

.center {
  position: relative;
  margin: auto;
  text-align: center;
}

.text-section {
  padding-top: 80px;
  padding-bottom: 80px;
  width: 50%;
  margin: auto;
  text-align: center;
}

.project-description {
  text-align: center;
}

.portfolio-nav {
  position: fixed;
  top: 8px;
  right: 32px;
  width: 260px;
  max-height: 64px;
  background: rgba(255, 255, 255, 0.7);  padding-bottom: 8px;
  padding: 4px;
  z-index: 200;
  border-radius: 40px;
  backdrop-filter: blur(8px); // This be the blur
}

.portfolio-nav a {
  display: inline;
  float: right;
  text-align: center;
  text-decoration: none;
  /* font-size: 18px; */
  margin: 8px; 
}

.logo-porfolio {
  position: fixed;
  top: 8px;
  left: 24px;
  width: 64px;
  height: 64px;
  background-color: white;
  padding: 4px;
  z-index: 200;
  border-radius: 40px;
  background-size: cover;
}

.logo-porfolio img {
  position: relative;
  top: -15px;
  left: -10px;
  width: 84px;
  height: 86px;
}

.porfolio-tags {
  margin-top: -40px;
  margin-bottom: 80PX;
}

.youtube-video {
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;
  height:0;
}
.youtube-video iframe{
  left:0;
  top:0;
  height:100%;
  width:100%;
  position: absolute;
}

.desk-img {
  display: block;
}

.mob-img {
  display: none;
}




/* MEDIA QUERY
/////////////////////////////////////////////
//////////////////////////////////////////// */

@media only screen and (max-width: 1030px) {

  .about {
    display: inherit;
    height: auto;    
  }

  .text-column {
    width: 70vw;
    height: auto;
  }

  .portrait {
    width:100vw;
    height: 400px;
    padding: 40px;
    margin: auto;
    background-size: contain;
    background-position: center;
  }


  .contact {
      height: auto;
      grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  }

  .column {
    width: 80vw;
  }


}


@media only screen and (max-width: 768px) {

  .desk-img {
    display: none;
  }

  .mob-img {
    display: block;
    width: 50%;
  }


  .form {
    margin-top: 0;
    display: block;
    background-color: #F2F2F2;
    width: 76vw;
  }

  .topnav {
    right: 12px;
    padding: 8px;
  }

}



@media only screen and (max-width: 480px) {

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 36px;
  }

  h4 {
    font-size: 24px;
  }

  video {
    display: none;
  }

  .project1-cover:hover, .project2-cover:hover, .project3-cover:hover {
    opacity: 1;
  }

  .overlay-desk {
    z-index: 95;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 63.02%, rgba(0, 0, 0, 0) 100%);

  }


  .button-nav {
    display: block;
  }
  #btncontact {
    display: none;
  }
  .form {
    margin-top: 0;
    display: block;
    background-color: #F2F2F2;
    width: 72vw;
  }

  .topnav {
    width: 90vw;
    right: 12px;
  }

}

@media only screen and (max-width: 375px) {

  h1 {
    font-size: 32px;
  }

  H4 {
    font-size: 24PX;
  }

  .project1-cover:hover, .project2-cover:hover, .project3-cover:hover {
    opacity: 1;
  }

  .overlay-desk {
    z-index: 95;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 63.02%, rgba(0, 0, 0, 0) 100%);
  }

  .logo-porfolio {
    left: 8px;
  }

  .portfolio-nav {
    right: 16px;
  }

  .full-width img{
    height: 100vw;
    object-fit: cover;
  }

  .text-section {
    padding-top: 40px;
    padding-bottom: 40px;
    width: 90vw;
  }
  .form {
    margin-top: 0;
    display: block;
    background-color: #F2F2F2;
    width: 70vw;
  }

  .topnav {
    right: 8px;
    width: auto;
  }

}

@media only screen and (max-width: 355px) {

.logo-porfolio{
  display: none;
}

.text-column {
  width: 80vw;
  height: auto;
}
.form {
  margin-top: 0;
  display: block;
  background-color: #F2F2F2;
  width: 70vw;
}
}