*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 20px;
	font-weight: 500;
	line-height: 30px;
	letter-spacing: 1px;
	font-family: 'Manrope', serif;
}


body {
  color: #222;
  --color-link: #A0A0A0;
  --color-link-hover: #000;
  --color-deco: #e4dbd6;
  color: var(--color-text);
  background: #fff;
  font: 100% system-ui;
  font-family: "Nanum Myeongjo", serif;
  letter-spacing: 0.5px;
  margin: 0;
  padding: 0;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #fff;
    --color-link: #353535;
    --color-link-hover: #fff;
    --color-deco: #e4dbd6;
    background: #08080A;
	font-family: "Nanum Myeongjo", serif;
  }

}

::selection {
  color: black;
  background: yellow;
}



p {
	font-size: 20px;
	font-weight: 400;
	line-height: 30px;
	letter-spacing: 1px;
	font-family: 'Manrope', serif;
}



@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1);
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

a:hover,
a:focus {
	color: var(--color-link-hover);
	outline: none;
}

[data-scroll] {
	will-change: transform;
}

.frame {
	padding: 2.5rem 3rem;
	position: absolute;
	z-index: 10;
}

.frame__title {
	font-size: 1rem;
	margin: 0 0 2.5rem;
}

.frame__links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.frame a {
	margin: 0.25rem 0;
	text-transform: lowercase;
}

.frame__github,
.frame__links a:not(:last-child),
.frame__demos a:not(:last-child) {
	margin-right: 1rem;
}

.frame__demos {
	margin: 1rem 0;
}

.frame__demo--current,
.frame__demo--current:hover {
	color: var(--color-text);
}

.content {
	display: flex;
	flex-direction: column;
	position: relative;
	align-items: center;
	padding: 11rem 0;
	counter-reset: figure; 
	width: 100%;
}

.item {
	margin: 0em 1em;
	max-width: 1000px;
	position: relative;
	will-change: transform;
	padding: 0;
	width: auto;
}

.item__img-wrap {
	--aspect-ratio: 1/1.5;
	overflow: hidden;
	width: 500px;
	margin: 0 auto;
	padding-bottom: calc(100% / (var(--aspect-ratio)));
	max-width: calc(100% - 2rem);
	will-change: transform;
}

.item__img {
	--overflow: 40px;
	height: calc(100% + (2 * var(--overflow)));
	top: calc( -1 * var(--overflow));
	width: 100%;
	position: absolute;
	background-image: var(--image);
	background-size: cover;
	background-position: 50% 0%;
	will-change: transform;
}


.item__caption-title {
	font-family: 'Manrope', sans-serif;
	font-weight: 800;
	font-size: 64px;
	margin: 0;
}










/* ===================================================================
 *  04. preloader - (_preloader-1.scss)
 *
 * ------------------------------------------------------------------- */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #050505;
	z-index: 800;
	height: 100%;
	width: 100%;
}

.no-js #preloader,
.oldie #preloader {
	display: none;
}

#loader {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	padding: 0;
}

#loader:before {
	content: "";
	border-top: 6px solid rgba(255, 255, 255, 0.1);
	border-right: 6px solid rgba(255, 255, 255, 0.1);
	border-bottom: 6px solid rgba(255, 255, 255, 0.1);
	border-left: 6px solid #FFFFFF;
	-webkit-animation: load 1.1s infinite linear;
	animation: load 1.1s infinite linear;
	display: block;
	border-radius: 50%;
	width: 60px;
	height: 60px;
}

@-webkit-keyframes load {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}

}

@keyframes load {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}

}



.hello {
    width: auto;
    height: auto;
    
    padding: 150px 0 30px 0;
    margin: 0;
    
    font-family: "Instrument Serif", serif;
    font-size: 1.6em;
    font-style: normal;
    font-weight: 800;
    line-height: 140%; /* 145.455% */
}


#shots {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 0 100px 0;;
    gap: 10px;
    justify-content: center;
    
  .shot {
    position: relative;
    display: flex;
    width: 32.6%;

    border-radius: 24px;
    overflow: hidden;

    color: white;
    text-decoration: none;
    
    &:hover {
      img {
        opacity: .5;
      }
      .title {
        opacity: 1;
      }
    }
    
    .title {
      position: absolute;
      width: 100%;
      padding: 1rem;
      opacity: 1;
      transition: opacity .2s ease-in-out;
      font-size: 1rem;
      font-weight: 500;
      letter-spacing: 1px;
    }

    img {
      display: block;
      max-width: 100%;
      transition: opacity .2s ease-in-out;
    }
  }
}

  @media (max-width: 990px) {

    #shots {
      .shot {
    position: relative;
    display: flex;
    width: 49%;
       }
    
  }

  @media (max-width: 770px) {

	  h1 {
		  font-size: 2rem;
	  }
	  
	  .hello {
		  font-size: 1rem;
	  }
      
      #shots {
      .shot {
    position: relative;
    display: flex;
    width: 100%;
       }
      }
  }