/*custom font library*/
html{
    scroll-behavior:smooth;
    scroll-padding-top:14%;
}
.architects-daughter-regular {
    font-family: "Architects Daughter", cursive;
    font-weight: 400;
    font-style: normal;
    color: black;
  }  
.momo-trust-display-regular {
    font-family: "Momo Trust Display", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: white;
  }
  
.nunito{
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #ae7b5a
  }
/*background colors*/
body{
    background-color: #f6dfc5;
    height: 100%;
    min-height:300vh; 
    display:flex;
    flex-wrap:wrap;
    flex-direction: column;
    align-items:stretch;
    gap:60px;
    padding-top:15%;
}
.header-container{
    top:10px;
    z-index: 5;
    display:flex;
    position: fixed;
    align-items: center;
    width:99%;
    background-color: #ff8c00;
    height:11%;
    clip-path: polygon(
    10px 0%,           /* Top-left start */
    calc(100% - 10px) 0%, /* Top-right start */
    100% 10px,         /* Top-right end */
    100% calc(100% - 10px), /* Bottom-right start */
    calc(100% - 10px) 100%, /* Bottom-right end */
    10px 100%,         /* Bottom-left start */
    0% calc(100% - 10px), /* Bottom-left end */
    0% 10px            /* Top-left end */
    )
}
.hyperlinks{
    margin:5vw;
    text-decoration:none;
    font-size:20px;
    color:#C8E6C9;
}
.blur-box{
    z-index:4;
    left:-10px; 
    right:0%;
    top:-10px; 
    height:15%;
    margin:0; 
    padding:0; 
    background-color: grey;
    position:fixed;
    filter:blur(20px);
}
.about-box{
    border-radius:20px;
    align-self:flex-start;
    margin-top:-20px;
    margin-left:7%;
    width:40%;
    min-height:40%; 
    background-color: #E5F3FD;
}
.headshot{
    display:flex;
    width:20vw;
    border-radius: 20px;
}
.about-title{
    position:static;
    font-size: clamp(24px,6vw,75px)
}
.philosophy-box{
    border-radius:20px;
    align-self:flex-end;
    margin-right:6%;
    width:40%;
    min-height:40%; 
    background-color: #D0F0c0;
    transform: translateY(5%)
}
.philosophy-title{
    text-align:end;
    position:static;
    font-size: clamp(24px,5vw,75px)
}
h1{
    text-align: center;
    font-size: clamp(24px,6vw,46px);
    left:50%;
    top: 50%;
    transform: translate(-25%);
}
.about-text{
    text-indent:20px;
    margin:5%;
    position:static;
}
.hardware{
    border-radius:20px;
    display:flex;
    align-self:center;
    width:85%;
    min-height:40%; 
    background-color: #D1CBC1;
    padding: 2rem 0;
}
.hardware-title{
    text-align:start;
    position:static;
    font-size: clamp(24px,5vw,75px);
}
.hardware-descriptor{
    max-width:40vw;
}
.hardware-descriptor{
    flex-direction: column;
}
.laser-project-photo{
    width:20vw;
    border-radius: 5px;
}
* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: system-ui, sans-serif;
}

/* hidden radio inputs hold the "current slide" state */
input[name="slide"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.carousel {
    position: relative;
    width: 40vw;
    align-self: center;   /* .hardware is a flex container */
  }

/* the window you look through; only one image is visible */
.viewport {
  max-width: 30vw;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
}

/* the tall strip of images that slides up/down */
.track {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s ease;
}

.track img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

/* move the track based on which radio is checked
   translateY % is relative to the track height (= one image) */
#s1:checked ~ .carousel .track { transform: translateY(0%); }
#s2:checked ~ .carousel .track { transform: translateY(-100%); }
#s3:checked ~ .carousel .track { transform: translateY(-200%); }
#s4:checked ~ .carousel .track { transform: translateY(-300%); }
/* buttons sit to the right of the image */
.set {
  display: none;
  position: absolute;
  top: -4.5rem;
  bottom: -4.5rem;
  left: 50%;
  transform:translateX(-50%);
  margin-left: 1rem;
  flex-direction: column;
  justify-content: space-between;
}

/* show only the button set for the current slide */
#s1:checked ~ .carousel .set1,
#s2:checked ~ .carousel .set2,
#s3:checked ~ .carousel .set3,
#s4:checked ~ .carousel .set4 { display: flex; }

.set label {
  width: 5rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 10%;
  background: #a3a3a3;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.set label:hover { background: #ddd; transform: scale(1.08); }