@font-face {
    font-family: HelveticaNeueLight;
    src: url(./fonts/HelveticaNeueLight.otf);
}  

* {
    box-sizing: border-box;
}

body {
    font-family: HelveticaNeueLight;
    line-height: 14px;
    letter-spacing: 0.3px;
    cursor: url(./images/cursor-normal.png), none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* menu */
.nav {
    position: fixed;
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    z-index: 9999;
    background-color: white;
}

.nav-item {
    font-size: 11px;
    margin: 0;
    padding: 10px;
}

.nav-item a {
    color: rgb(184, 184, 184);
    text-decoration: none;
    cursor: url(./images/cursor-hover.png), none;
}

.nav-item a:hover {
    color: black;
}

/* flex */
.flex-container {
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    margin: 0;
    padding: 0;
}

.text-item{
    flex: 30%;
    max-width: 30%;
    margin: 0;
    padding: 0;
}

.text-main{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100vh;
    width: 100%;

    font-size: 13px;
    margin: 0;
    padding: 15px;

    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.text-main a {
    color: black;
    text-decoration: underline;
    cursor: url(./images/cursor-hover.png), none;
}

.photo-item {
    flex: 70%;
    max-width: 70%;
    margin: 0;
    padding: 0;
}

.flex-container-small {
    display: flex;
    position: relative;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.text-sub {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    height: 100vh;
    width: 20%;
    max-width: 20%;
    
    font-size: 8.5px;
    line-height: 10px;
    margin: 0;
    padding: 15px;

    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.text-sub a {
    color: black;
    text-decoration: underline;
    cursor: url(./images/cursor-hover.png), none;
}

img {
    width: 85%;
    height: 100vh;
    -o-object-fit: cover;
       object-fit: cover;
}

span {
    font-size: 10px;
}

.prev,
.next {
    position: absolute;
    top: 0%;
    height: 100%;
    width: 30%;
}

.next {
    right: 0;
}

.next:hover {
    cursor: url(./images/cursor-next.png), none;
}

.prev {
    left: 40%;
}

.prev:hover {
    cursor: url(./images/cursor-prev.png), none;
}

.flex-container-phone {
    display: none;
}

@media screen and (max-width: 720px) {
    .flex-container {
        display: none;
    }

    .flex-container-phone {
        display: flex;
        flex-wrap: nowrap;
        position: relative;
        margin: 0;
        padding: 0;
    }

    img {
        flex: 100%;
        width: 100vw;
        height: 60%;
        -o-object-fit: cover;
           object-fit: cover;
    }

    .flex-container-small {
        display: flex;
        position: relative;
        flex-wrap: nowrap;
        flex-direction: column;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
    }

    .text-sub {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex: 100%;
        width: 100%;
        max-width: 100%;
        
        font-size: 11px;
        line-height: 11px;
        margin: 0;
        padding: 10px 5px 10px;

        -webkit-user-select: none;
        -webkit-touch-callout: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    span {
        font-size: 12px;
        line-height: 12px;
    }

    .text-item{
        flex: 100%;
        max-height: 30%;
        margin: 0;
        padding: 0;
    }

    .text-main{
        position: fixed;
        bottom: 0;

        font-size: 15px;
        line-height: 15px;
        margin: 0;
        padding: 10px 5px 10px;

        -webkit-user-select: none;
        -webkit-touch-callout: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .prev,
    .next {
        position: absolute;
        top: 0%;
        height: 43.5%;
        width: 50%;
    }

    .next {
        right: 0;
    }

    .prev {
        left: 0;
    }

}

@media screen and (max-height: 740px) {
    .text-main {
        font-size: 12px;
        line-height: 12px;
    }

    .text-sub {
        font-size: 9px;
        line-height: 9px;
    }

}
