@font-face { 
    font-family: "Futura";
    font-style: normal;
    font-weight: 400;
    src: 
      url(assets/Futura\ Book\ font.ttf) format("truetype");
}

@font-face { 
    font-family: "Futura Bold";
    font-weight: 400;
    src: 
      url(assets/Futura\ Heavy\ font.ttf) format("truetype");
}

body {
    overflow: hidden;
    background-color: white;
}

div {
    font-family: "Futura";
    font-size: 25px;
    font-weight: 1;
    color: black;
}

nav {
    position: fixed;
    width: calc(100% - 70px);
    display: flex;
    justify-content: space-between;
    height: 80px;
    padding-top: 35px;
    padding-left: 35px;
    margin-bottom: 35px;
    top: 0px;
    z-index: 100;
    background-color: white;
    font-family: "Futura Bold";
    font-size: 25px;
    font-weight: 1;
    color: black;
}

#logo {
    position: relative;
}



.nav-element:hover {
    color: black;
    font-size: 26px;
    cursor: pointer;
}

.nav-element {
    position: static;
    height: 30px;
    width: 140px;
    text-align: center;
    display: inline-block;
}

#contact {
    margin-right: 15px;
}

#pages {
    display: flex;
}

.blip {
    color: white;
    display:flex;
    flex-direction: column;
}

.title {
    font-size: 80px;
}

.block {
    position: relative;
    top: calc(100% - 160px);
    margin-left: 100px;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: auto;
    overflow-wrap: normal;
}

.page {
    position: fixed;
    display: flex;
    top: 80px;
    left: 0px;
    height: calc(100vh - 80px);
    width: 100%;
    transition: transform 0.55s ease-in-out; /* Add a transition effect */
}

#page1 {
    transform: translateY(0%);
}

#page2 {
    transform: translateY(100%);
}

#page3 {
    transform: translateY(100%);
}

#page4 {
    transform: translateY(100%);
}

.down-arrow {
    position: fixed;
    top: calc(100vh - 200px);
    left: calc(50% - 14px);
    width: 0;
    height: 30px;
    border: 2px solid;
    border-radius: 2px;
    animation: jumpInfinite 2s infinite;
}
  
.down-arrow:after {
    content: " ";
    position: absolute;
    top: 12px;
    left: -10px;
    width: 16px;
    height: 16px;
    border-bottom: 4px solid;
    border-right: 4px solid;
    border-radius: 4px;
    transform: rotateZ(45deg);
}

.scroll-text {
    position: static;
    width: 100px;
    margin-top: 30px;
    margin-left: calc(50% - 30px);

}

@keyframes jumpInfinite {
    0% {
      margin-top: 0;
    }
    50% {
      margin-top: 20px;
    }
    100% {
      margin-top: 0;
    }
}

.line {
    width: 100px;
    height: 5px;
    border-radius: 2px;
    background-color: black;
}

.line1 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.line2 {
    margin-bottom: 15px;
    margin-left: 50px;
}

.portfolio {
    position: absolute;
    top: calc(50% - 80px);
    margin-left: 100px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.portfolio-text {
    text-shadow: 0px 0px 19px white;
}

.capy {
    position: static;
    width: 360px;
}

.gallery {
    z-index: -1;
    position: relative;
    
    top: calc(100% - 200px);
    left: 30%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: auto;
    overflow-wrap: normal;

    display:flex;
    flex-direction:column;

    align-items: center;

}

@media (max-width: 900px) {
    .gallery {
        display: none;
    }

    .block {
        width: auto;
    }
}

.blips {
    z-index: 101;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50px; /* Adjust this as needed */
    transform: translateY(-50%);

}

.blip {
    height: 5px;
    width: 5px;
    background-color: black;
    border-radius: 50%;
    margin: 5px;
    /* border-radius: ; */
    display: inline-block;
}

.on {
    height: 3px;
    width: 3px;
	border: 2px solid black;
    background-color: black;
}

.off {
    height: 3px;
    width: 3px;
	border: 2px solid black;
    background-color: white;
}

.hidden {
    display: none;
}

#app {
    position: static;
    width: 360px;
}

#control {
    position: relative;
    width: 360px;
}

img {
    width: 20vw;
    max-width: 40vw;
}

/* CSS */
.button-30 {
    align-items: center;
    appearance: none;
    background-color: #FCFCFD;
    border-radius: 4px;
    border-width: 0;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#D6D6E7 0 -3px 0 inset;
    box-sizing: border-box;
    color: black;
    cursor: pointer;
    display: inline-flex;
    font-family: "Futura";
    height: 48px;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: box-shadow .15s,transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow,transform;
    font-size: 18px;
    margin-top: 20px;
  }
  
  .button-30:focus {
    box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
  }
  
  .button-30:hover {
    box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
    transform: translateY(-2px);
  }
  
  .button-30:active {
    box-shadow: #D6D6E7 0 3px 7px inset;
    transform: translateY(2px);
  }

  .underline {
      text-decoration-line: underline;
      text-decoration-thickness: .1em;
      text-underline-offset: 2px;
      text-decoration-color: dimgray;
  }


/* for mobile */
@media only screen and (max-width: 750px) {
    nav {
        display: none;
    }

    .title {
        font-size: 40px;
    }

    .blips {
        margin-left: -20px;
    }

    .page {
        position: fixed;
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-evenly;
        padding-top: 25vh;
        top: 80px;
        left: 0px;
        height: calc(100vh);
        width: 100%;
        transition: transform 0.55s ease-in-out; /* Add a transition effect */
    }

    .block {
        position: relative;
        transform: translateY(-110vh);
        margin-left: 100px;
        margin-right: 50px;
        left: 0%;
        width: auto;
        height: auto;
        overflow-wrap: normal;
    }

    .gallery {
        position: relative;
        transform: translateY(-95vh);
        display:block;
        width: 360px;
    }

    #app {
        position: relative;
        top: -40px;
        display:block;
        width: 300vw;
        max-width: 50vw;
    }

    a {
        text-decoration: none;
    }

    #clickme {
        display: none;
    }

    .description {
        font-size: 20px;
    }

    .button-30 {
        font-size: 15px;
    }

    @keyframes jumpInfinite {
        0% {
          margin-top: 0;
        }
        50% {
          margin-top: 10px;
        }
        100% {
          margin-top: 0;
        }
    }

    .down-arrow {
        z-index: 100;
        position: fixed;
        top: calc(75vh);
        left: calc(75%);
        width: 0;
        height: 30px;
        border: 1px solid;
        border-radius: 2px;
        animation: jumpInfinite 2s infinite;
    }
      
    .down-arrow:after {
        content: " ";
        position: absolute;
        top: 12px;
        left: -9px;
        width: 16px;
        height: 16px;
        border-bottom: 2px solid;
        border-right: 2px solid;
        border-radius: 2px;
        transform: rotateZ(45deg);
    }
    
    .scroll-text {
        position: static;
        width: 100px;
        margin-top: 30px;
        margin-left: calc(50% - 30px);
    
    }

  }

  @media (max-height: 500px) and (max-width: 750px) {
    .capy {
        height: 20vh;
        width: auto;
        top: 0px;
    }
    .block {
        margin-top: -20vh;
    }
    #app {
        display: none;
    }
}

@media (max-height: 450px) {
    nav {
        display: none;
    }
    
}

@media (max-height: 520px) {
    .gallery {
        visibility: hidden;
    }
}

@media (max-width: 400px) {
    .block {
        transform: translateY(-115vh);
    }
}