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

}

@font-face {
  font-family: "Favorit Light";
  src: url(/Font/ABCFavorit-Light.otf) format('otf'),
       url(/Font/ABCFavorit-Light.woff) format('woff'),
       url(/Font/ABCFavorit-Light.woff2) format('woff2');
}

html{
  font-family: "Favorit Light";
}

body {
  background-image: linear-gradient(blue, white);
  height: 100vh;
  overflow: auto;
}



a{
  color: white;
  text-decoration: none;
  font-size: 12vh;
  font-family: "Favorit Light";
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% + 100vw));
  }
}

/* landing page */

.slider {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 0;
  cursor: pointer;
}

.swiper-slide {
  width: auto;
  height: 70vh;
  margin-top: 15vh;
  margin-right: 60px;
  overflow: visible; 
}

.swiper-slide.on-top {
  z-index: 90;
}

.swiper-slide  img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--border-radius);
  
}

.swiper-wrapper{
  -webkit-transition-timing-function:linear!important;
  transition-timing-function:linear!important; 
}

.swiper-container {
  height: 100vh;
}

.slider-image-with-circle {
  position: relative;
  height: 100%;
}

.slider-image-with-textbox{
  position: relative;
  height: 100%;
}

.slider-image-square {
  height: 100%;
  aspect-ratio: 1/1;
  width: auto;
  max-height: 100%;
  background-color: blueviolet;
  overflow: hidden;
  border-radius: 5vh;
  border: 3px solid white;
  transition: scale 0.5s;
  
}





.slider-image-rectangle {
  height: 100%;
  aspect-ratio: 3/2;
  width: auto;
  background-color: yellow;
  overflow: hidden;
  border-radius: 25vh;
  border: 3px solid white;
  position: relative;
  transition: scale 0.5s;
}



.slider-image-circle-1 {
  position: absolute;
  left: 100%;
  height: 60%;
  aspect-ratio: 1/1;
  width: auto;
  background-color: white;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid white;
  z-index: 50;
  translate: calc(-50% + 30px) -187%;
  align-items: center;
  position: absolute;
  transition: scale 0.5s;
}



.slider-image-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-image-rectangle img {
  width: 100%; 
  height: 100%; 
  object-fit: cover;
}

.slider-image-circle-1 img {
  width: 100%; 
  height: 100%; 
  object-fit: cover;
}

.instagram{
  background-color: rgb(59, 251, 0);
  width: fit-content;
  height: 17vh;
  border-radius: 8.5vh;
  font-size: 12vh;
  /*font-family: "Favorit Light";*/
  color: white;
  border: 3px solid white;
  padding: 0vh 4vh;
  z-index: 50;
  translate: calc(-10% + 25px) -450%;
  text-decoration: none;
  position: absolute;
  white-space: nowrap;
  transition: scale 0.5s;
}



.email{
  background-color: rgb(255, 238, 0);
  width: fit-content;
  height: 17vh;
  border-radius: 8.5vh;
  font-size: 12vh;
  font-family: "Favorit Light";
  color: white;
  border: 3px solid white;
  padding: 0vh 4vh;
  z-index: 50;
  translate: calc(0% + 25px) -50%;
  text-decoration: none;
  position: absolute;
  white-space: nowrap;
  transition: scale 0.5s;
}



.about{
  background-color: rgb(250, 0, 187);
  width: fit-content;
  height: 17vh;
  border-radius: 8.5vh;
  font-size: 12vh;
  font-family: "Favorit Light";
  color: white;
  border: 3px solid white;
  padding: 0vh 4vh;
  z-index: 50;
  translate: calc(-10% + 25px) -50%;
  position: absolute;
  white-space: nowrap;
  transition: scale 0.5s;
}



.links {
  width: 100%;
  height: 100%;
  text-decoration: none;
  font-family: "Favorit Light";
}

.link{
  width: 100%;
  height: 100%;
  text-decoration: none;
  font-family: "Favorit Light";
  font-size: 12vh;
  color: white;
}

.about .links {
  height: 10vh;
  width: fit-content;
  border: none;
  background-color: transparent;
  font-family: "Favorit Light";
  color: white;
  font-size: 12vh;
  padding: 0vh 4vh;
}

/* project pages*/

.header {
  display: flex;
  justify-content: space-between;
  position: fixed;
  width: 100%;
}

.project-title {
  background-color: rgb(255, 47, 0);
  width: fit-content;
  height: fit-content;
  border-radius: 40px;
  font-size: 50px;
  font-family: "Favorit Light";
  color: white;
  border: 3px solid white;
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 0px 15px;
  transition: scale 0.5s;
}

.title {
  background-color: rgb(0, 157, 255);
  width: fit-content;
  height: fit-content;
  border-radius: 40px;
  font-size: 50px;
  font-family: "Favorit Light";
  color: white;
  border: 3px solid white;
  position: fixed;
  top: 10px;
  left: 80px;
  padding: 0px 15px;
  transition: scale 0.5s;
}



.project-text {
  max-width: 600px;
  background-color: rgb(255, 47, 0);
  border: 3px solid white;
  border-radius: 30px;
  top: 96px;
  left: 10px;
  right: 10px;
  position: absolute;
  font-family: "Favorit Light";
  color: white;
  padding: 14px ;
  font-size: 18px;
}

.link-person{
  font-family: "Favorit Light";
  font-size: 18px;
  color: white;
  text-decoration: none;
  background-color: rgb(255, 157, 0);
  border-radius: 9px;
  padding: 0.8px 3px;
  /*border-radius: 4px;*/
}

.exit {
  background-color: rgb(26, 255, 0);
  width: fit-content;
  height: fit-content;
  border-radius: 40px;
  font-size: 50px;
  font-family: "Favorit Light";
  color: white;
  border: 3px solid white;
  position: fixed;
  top: 10px;
  right: 10px;
  padding: 0px 15px;
  transition: scale 0.5s;
}



.project-container {
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100vw;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  inset: 0;
  overflow-x: hidden;
  z-index: 100;
}

.project-images-container {
  display: flex;
  flex-direction: row;
  height: 100%;
  overflow-x: scroll;
  padding-bottom: 10px;
  padding-top: 96px;
  padding-left: 10px;
}

#project-0, #project-0-text, #project-1, #project-1-text,
#project-2, #project-2-text, #project-3, #project-3-text,
#project-4, #project-4-text, #project-5, #project-5-text,
#project-6, #project-6-text, #project-7, #project-7-text,
#project-8, #project-8-text {
  display: none;
}


.project-images-container img {
  object-fit: contain;
  /*background-color: brown;*/
  width: auto;
  margin-right: 10px;
}

.project-images-container video {
  object-fit: contain;
  /*background-color: brown;*/
  width: auto;
  margin-right: 10px;
  height: 100%;
}

@media (min-width: 1000px) and (pointer: fine) {
  .exit:hover {
    scale: 1.1;
  }

  .project-title:hover {
    scale: 1.1;
  }

  .about:hover {
    scale: 1.1;
  }

  .email:hover {
    scale: 1.1;
  }

  .instagram:hover {
    scale: 1.1;
  }

  .slider-image-circle-1:hover {
    scale: 1.1;
  }

  .slider-image-rectangle:hover {
    scale: 1.1;
  }

  .slider-image-square:hover {
    scale: 1.1;
  }
}

@media (max-width: 1000px) {
  @media screen and (-webkit-min-device-pixel-ratio: 1) and (hover: none) and (pointer: coarse) {
    .slider {
      transform: translate(0, -40px);
    }
  }

  .project-title {
    font-size: 30px;
    height: fit-content;
    border-radius: 30px;
  }

.title {
  font-size: 30px;
  height: fit-content;
  border-radius: 30px;
  left: 70px;
}

  .exit {
    font-size: 30px;
    height: fit-content;
    border-radius: 30px;
  }

  .project-images-container {
    height: 100%;
    margin-top: 0;
    padding-top: 67px;
  }

  .project-text {
    top: 67px;
  }
}

@media (max-width: 550px){


  .project-title{
  font-size: 15px;
  /*height: 40px;*/
  height: fit-content;
  border-radius: 20px;
  padding: 7px 11px;
  }

  .title{
    font-size: 15px;
    /*height: 40px;*/
    height: fit-content;
    border-radius: 20px;
    padding: 7px 11px;
    left: 55px;
    }
  
  .exit{
    font-size: 14px;
    height: fit-content;
    border-radius: 20px;
    padding: 7px 11px;
  }

  .project-text{
    font-size: 14px;
    top: 60px;
  }

  .link-person{
    font-size: 14px;
  }

  .project-images-container {
    flex-direction: column;
    height: 100%;
    margin-top: 0;
    padding-top: 50px;
    padding-left: 0px;
  }

  .project-images-container img{
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
  }

  .project-images-container video{
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    width: auto;
    height: auto;
  }


}