@charset "UTF-8";

@font-face {
    font-family: 'is';
    src: url('/fonts/IS-Control-500.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: white;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    display: flex;
    margin-top: 1vh;
    align-items: flex-start;
    flex-wrap: wrap;
}

.container2 {
    width: 100%;
    background: white;
    display: flex;
    align-items: flex-start;
    margin-left: 1vw;
}

.cat1,
.cat2,
.cat3 {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 50%;
    padding: 10px;
    text-align: center;
}

.cat3 {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    padding: 10px;
}

.back,
.about {
    height: 5vh;
    text-decoration: none;
    font-family: 'is';
    color: black;
}

.back,
.about:hover {
    text-decoration: underline;
    cursor: pointer;
}

.wrapper2 {
    height: 5vh !important;

}

.wrapper,
.wrapper3,
.wrapper2 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    align-items: left;
    width: 100%;
    max-width: 100vw;
    min-height: 5vh;
    max-height: 50vh;
    gap: 1vw;
}

.wrapper {
    border-bottom: solid black 1px;
}

h1 {
    font-family: 'is';
    color: black;
    font-size: clamp(1.5rem, 3.5vh, 2.5rem);
    text-align: left;
}

h2 {
    margin-left: 1vh;
    font-family: 'is';
    color: black;
    font-size: clamp(2rem, 7vh, 4rem);
}

h3 {
    font-family: 'is';
    font-size: clamp(1.8rem, 5vh, 3rem);
    display: flex;
    text-align: left;
    margin-left: 1vh;
}

p {
    font-family: 'is';
    text-align: left;
}

.project-list {
    width: 100%;
    list-style: none;
    padding: 0;
    color: black;
}

.project-list li {
    display: flex;
    background: white;
    border-top: solid black 1px;
    border-bottom: solid black 1px;
    position: relative;
    list-style: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transition: background-color 0.3s, color 0.3s;
}

.project-list li.active {
    margin-bottom: 1px;
}

a {
    margin-left: 1vh;
    text-decoration: none;
    display: flex;
    align-items: left;
    width: 100%;
    height: 10vh;
    border-right: solid black 1px;
    color: black;
}

.project-list li:hover {
    color: white;
    background-color: black;
}

.imgicon {
    width: 100%;
    height: 30vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.slideshow {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in, visibility 0s linear 0.5s;
}

.slideshow.show {
    opacity: 1;
    visibility: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slideshow img,
.slideshow video,
.slideshow iframe {
    width: auto;
    height: 80vh;
    max-width: 90vw;
    object-fit: contain;
    margin: 0;
}

.slideshow iframe {
    width: 100%;
    height: 80vh;
    max-width: 90vw;
    object-fit: contain;
    margin: 0;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
    border: solid black 1px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 100px;
    z-index: 1010;
}

.prev {
    left: 5vw;
}

.next {
    right: 5vw;
}

.media-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

    .container,
    .container2 {
        margin: 0.5rem;
        width: calc(100% - 1rem);
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        overflow-x: hidden;
    }

    a.about {
        border-right: solid black 1px;
    }

    .slideshow img,
    .slideshow video,
    .slideshow iframe {
        height: auto;
        width: 100%;
        max-height: 95vh;
        margin: 0;
    }

    .prev,
    .next {
        padding: 0.5rem;
    }

    .imgicon {
        height: 40vh;
    }

    .cat3 {
        padding: 0.5rem;
    }

    .cat3 p {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        text-align: left;
    }

    .wrapper2 {
        display: none;
    }

    h2 {
        font-size: clamp(2rem, 5vh, 3rem);
    }

    h3 {
        font-size: clamp(1.8rem, 4vh, 2.5rem);
    }

    .wrapper3 {
        flex-direction: column;
        padding: 0.5rem;
    }

    .cat1,
    .cat2,
    .cat3 {
        width: 100%;
    }
}

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

    .cat1,
    .cat2,
    .cat3 {
        width: 100%;
        padding: 0.5rem;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }

    a .about {
        border-right: solid black 1px;
    }

    h2 {
        font-size: clamp(1.5rem, 5vh, 2.5rem);
        width: 100%;
        text-align: left;
        margin-left: 0vh;
    }

    h3 {
        width: 100%;
        text-align: left;
        margin-left: 0vh;
        margin-top: 0vh;
        margin-bottom: 0vh;
    }

    .imgicon {
        width: 100%;
        max-height: fit-content;
        margin-left: -0.5rem;
    }

    .slideshow {
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .media-container {
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .slideshow img,
    .slideshow video,
    .slideshow iframe {
        width: auto;
        height: auto;
        max-width: 90vw;
        max-height: 90vh;
        object-fit: contain;
        margin: auto;
        transition: margin 0.3s ease;
    }

    .prev,
    .next {
        top: 50%;
        transform: translateY(-50%);
        z-index: 1020;
    }

    .project-list li .wrapper3 {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
        overflow-x: hidden;
    }

    .cat1 {
        order: 1;
        width: 100%;
    }

    .cat2 {
        order: 2;
        width: 100%;
    }

    .cat3 {
        order: 3;
        width: 100%;
    }

    .cat3 p {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        text-align: left;
    }

    .wrapper2 {
        display: none;
    }
}

li p {
    border: 1px solid black;
    border-radius: 20px;
    padding: 10px;
    display: inline-block;
    width: fit-content;
}

.project-list li:hover p {
    background-color: black;
    color: white;
    border-color: white;
}

.cat1 {
    width: 100%;
}

.cat2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cat3 {
    width: 100%;
}

.wrapper3 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
    min-height: auto;
    max-height: none;
}

.cat3 p {
    border: none;
    padding: 0;
    margin: 0;
    width: auto;
    font-size: 0.9rem;
    line-height: 1.2;
}