/* @mixin vertical-align($position) {
    position:$position;
    right: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
  
@mixin all-transition($time)
{
    transition: all $time;
    -webkit-transition: all $time;
} */
@font-face {
    font-family: Circe-Thin;
    src: url("./font/circe-thin-webfont.woff");
}

@font-face {
    font-family: Circe-Regular;
    src: url("./font/circe-regular-webfont.woff");
}

* {
    box-sizing: border-box;
    color: white;
    font-family: Circe-Regular, sans-serif;

}

.menu {
    color: black;
    font-style: bold;
    font-weight: 100;
    background: white;
    width: 100%;
    height: 100px;
    padding-bottom: 100px;
    position: fixed;
    z-index: 100;
    -webkit-box-shadow: 0px -3px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px -3px 5px 0px rgba(0, 0, 0, 0.2);
    top: -100px;
    transition: all 0.3s 2s;
    -webkit-transition: all 0.3s 2s;
    color: #222;
}

#brush {
    position: relative;
    width: 100px;
    height: 100px;
    top: 20px;
    animation: 3s ease 2s infinite pullDown;
}

@keyframes pullDown {
    0% {
        top: 20px;
    }

    25% {
        top: 30px;
    }

    50% {
        top: 20px;
    }

    100% {
        top: 20px;
    }
}

#brush .cls-1 {
    animation: 2s ease-in-out 0s 1 drawBrush;
    fill: white;
    /* stroke-width: 3px; */
    stroke: white;
    color: white;
}

@keyframes drawBrush {
    0% {
        stroke-dasharray: 0.1 1000;
        fill: none;
        stroke-width: 5px;
    }

    100% {
        stroke-dasharray: 1000;
        fill: white;
        stroke-width: 0px;
    }
}

.menu:hover,
.menu:focus {
    transform: translate3d(0, 60px, 0);
    animation-timing-function: 1s ease-in-out;
    transition-delay: 0s;
}



.menu a {
    font-family: Circe-Regular, sans-serif;
    color: black;
    font-size: 40px;
    top: 40px;
    float: left;
    width: 33.33%;
    /* text-align: center; */
    text-decoration: none;
    position: relative;
    vertical-align: top;
    border-right: 5px black;
    display: flex;
    justify-content: center;
}


@media only screen and (min-width: 600px) {
    .menu {
        height: 110px;
        top: -120px;
    }

    #brush {
        top: 0px;
    }

    @keyframes pullDown {
        0% {
            top: 0px;
        }

        25% {
            top: 10px;
        }

        50% {
            top: 0px;
        }

        100% {
            top: 0px;
        }
    }


    .menu:hover,
    .menu:focus {
        transform: translate3d(0, 90px, 0);
    }

    .menu a {
        /* height: 100%; */
        font-size: 50px;
        margin: 0;
        padding-top: 20px;
        top: 20px;
        transition: 0.5s;
    }

    .menu a:hover {
        background-color: black;
        color: white;
    }
}









body {
    background-color: black;
    display: block;
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow: hidden;
}

#note {
    text-align: right;
}

#note a {
    font-size: 20px;
    text-decoration: solid white 5px;
    transition: 1s;
}



#note a::before {
    display: inline-block;
    content: "";
    border-top: .3rem solid white;
    width: 0;
    left: 0;
    right: 0;
    transform: translateX(4em) translateY(.5em);
    transition: 1s;
}

#note:hover a::before {
    width: 10em;
    transform: translateX(10em) translateY(.5em);
}

.content {
    background: url(./loader.gif) center center no-repeat;
    width: 100%;
    /* min-height:100vh; */
    min-height: calc(83vh);
    max-height: calc(83vh);
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: thin;
    /* "auto" or "thin" */
    scrollbar-color: white black;
    /* scroll thumb and track */
    padding: 0 0 100px 0;
    position: relative;
}

.content::-webkit-scrollbar {
    width: 12px;
    /* width of the entire scrollbar */
}

.content::-webkit-scrollbar-track {
    background: black;
    /* color of the tracking area */
}

.content::-webkit-scrollbar-thumb {
    background-color: white;
    /* color of the scroll thumb */
    border-radius: 20px;
    /* roundness of the scroll thumb */
}

.art {
    min-height: 60vh;
    max-height: 100%;
    background-color: black;
}

#portrait {
    fill: white;
    stroke: white;
    stroke-width: 0px;
    animation: 4s ease-in-out 0s 1 drawArt;
}

@keyframes drawArt {
    0% {
        stroke-dasharray: 10000;
        stroke-dashoffset: 10000;
        fill: none;
        stroke-width: 5px;
    }

    100% {
        stroke-dasharray: 2000;
        fill: white;
        stroke-width: 0px;
    }
}

.text {
    min-height: 20vh;
    padding-top: 20px;
    background-color: black;
}

.art,
.text {

    width: 100%;
    /* position: relative; */
    text-align: center;
}

.img-wrapper,
.text p,
.text h1 {
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 10px;
}

.img-wrapper {
    top: 50%;
}

.text p,
.text h1 {
    top: 10%;
}

h1 {
    font-size: 500%;
}

@media only screen and (min-width: 1280px) {
    .content {
        margin: auto;
        width: 50%;
        /* min-height:100vh;  */
        max-height: calc(100vh - 100px);
    }

    .art,
    .text {
        float: left;
        width: 50%;
        min-height: 100%;
        padding-top: 0;
    }

    .img-wrapper {
        float: right;
        left: 0;
        text-align: right;
    }

    .text p,
    .text h1 {
        top: 50%;
        width: 10%;
        transform: translate(10%, -50%);
        float: left;
        text-align: left;
        position: absolute;
    }
}

.img-wrapper img {
    max-width: 100%;
}


/* .img-wrapper {
    box-shadow: 0 0 20px 20px black inset;
    background-image: url("portrait.jpg");
    background-size: contain;
} */

.bottom {
    width: 100%;
    height: 100px;
    position: fixed;
    background: black;
    bottom: 0;
    text-align: center;
    color: white;
    font-size: 50px;
    display: flex;
    justify-content: center;
}

.bottom i {
    /* width: 35px;
    height: 35px; */
    /* margin: 10px; */
    text-decoration: none;
    border-radius: 50%;
    border: 5px groove white;
    padding: 15px;
}




.svg-wrapper {
    transition: 0.2s;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    width: 2em;
    height: 2em;    
}

.svg-wrapper .circle {
    transition: stroke-dashoffset 0.4s ease;
}

.svg-wrapper .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1em;
    height: 1em;
}

.svg-wrapper .icon svg {
    width: 1em;
    height: 1em;
}

.svg-wrapper .circle {
    position: absolute;
    top: 2%;
    left: 2%;
    /* margin: 0; */
    width: 1.9em;
    height: 1.9em;
    stroke-width: 10px;
    /* prepare the stroke for draw animation */
    stroke-dasharray: 5.37em;
    stroke-dashoffset: 5.37em;
}

/* ensure the circle stroke is visible on dark background */
.svg-wrapper .circle .background {
    stroke: white;
    stroke-linecap: round;
    stroke-linejoin: round;
    /* subtle roughening to mimic brush stroke */
    filter: url(#rough-stroke);
}

.svg-wrapper:hover .circle {
    stroke-dashoffset: 0;
    cursor: pointer;
}



/* .bottom a:hover {
    box-shadow: ;

} */





/* gallery */
.gallery {
    /* display: flex; */
    padding: 2px;
    transition: 0.3s;
    background: black;
}



.gallery:hover .gallery__image {
    filter: grayscale(1);
}

.gallery__column {
    float: left;
    /* display: flex;
    flex-direction: row; */
    width: 100%;
    background: black;
}

@media only screen and (min-width: 600px) {
    .gallery__column {
        display: flex;
        flex-direction: column;
        width: 25%;
    }
}

.gallery__link {
    margin: 0;
    overflow: hidden;
}

.gallery__link:hover .gallery__image {
    filter: grayscale(0);
}

.gallery__link:hover .gallery__caption {
    opacity: 1;
}

.gallery__thumb {
    position: relative;
    margin: 5px;
}

.gallery__image {
    display: block;
    width: 100%;
    transition: 0.3s;
}

.gallery__image:hover {
    transform: scale(1.1);
}

.gallery__image.centered {
    position: fixed;
    width: 100vw;
    height: 100svh;
    object-fit: contain;
    top: 0;
    left: 0;
    z-index: 1000;
}

.gallery__image.centered img,
.gallery__image.centered video {
    object-fit: contain;
    width: 80%;
    height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

.gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px 15px 15px;
    width: 100%;
    /* font-family: 'Raleway', sans-serif; */
    font-size: 16px;
    color: white;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .5) 0%, rgba(255, 255, 255, 0) 100%);
    transition: 0.3s;
}

video::-webkit-media-controls {
    display: none !important;
}

iframe {
    height: calc(100vh);
}

#messages {
    overflow-y: scroll;
    height: calc(100vh - 100px);
}

.message {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 10px;
    border-bottom: 1px solid #666;
}

.message-date {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-align: right;
}

.htmx-indicator{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    z-index: 1000;
}

.message-photo {
    width: 100%;
    height: auto;
}

.message-video {
    width: 100%;
    height: auto;
}

.message-file {
    color: white;
}