@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;
}

a {
    margin-left: 1rem;
    position: relative;
    display: inline;
    align-items: flex-start;
    flex-wrap: wrap;
}

.container {
    display: flex;
    margin-top: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
}

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

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

.cat3 {
    display: inline;
    font-size: 0.9rem;
    line-height: 1.4;
}

.about {
    width: 100%;
    padding: 1rem 0;
    text-decoration: none;
    font-family: 'is';
    color: black;
    border-bottom: solid black 1px;
}

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

.wrapper2 {
    min-height: 3rem;
}

ul {
    border-top: solid black 1px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.wrapper,
.wrapper3,
.wrapper2 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    min-height: 3rem;
}

.wrapper3 {
    margin-left: -1rem;
}

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

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

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

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

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;
}

.cat2 p {
    margin-left: -1rem;
}

#description {
    margin-left: -1rem;
}

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

.project-list li {
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: background-color 0.3s, color 0.3s;
    border-bottom: solid black 1px;
}

.project-list li a {
    display: flex;
    width: 100%;
    min-height: 5rem;
    color: inherit;
    text-decoration: none;
    padding: 1rem;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 5rem;
    border-right: solid black 1px;
}

.project-list li:hover {
    color: white;
    background-color: black;
    border: 1px solid white;
}

.imgicon {
    width: 100%;
    max-height: 65vh;
    object-fit: contain;
}

.project-list li {
    position: relative;
    list-style: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.slideshow.show {
    opacity: 1;
    visibility: visible;
}

.slideshow img {
    width: auto;
    height: 92vh;
    max-width: 95vw;
    object-fit: contain;
    margin-top: 4vh;
}

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

.prev {
    left: 2vw;
}

.next {
    right: 2vw;
}
@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: none;
    }
    
    .slideshow img {
        height: auto;
        width: 100%;
        max-height: 95vh;
        margin-top: 2.5vh;
    }
    
    .prev, .next {
        padding: 0.5rem;
    }

    .imgicon {
        width: 100%;
        max-height: 75vh;
    }
    
    .cat3 p {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        text-align: left;
    }
    
    .wrapper2 {
        display: none;
    }
}

@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: none;
    }
    
    h2 {
        font-size: clamp(1.5rem, 5vh, 2.5rem);
        width: 100%;
        text-align: left;
    }

    .imgicon {
        width: 100%;
        max-height: 100vh;
        margin-top: 0.5rem;
    }
    
    .slideshow img {
        width: 100%;
        height: auto;
        max-height: 100vh;
        margin-top: 0;
    }

    .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;
    }
}