/* latin */
@font-face {
    font-family: 'ABeeZee';
    font-style: normal;
    font-weight: 400;
    src: url(/static/abeezee-latin-400-normal.woff2) format('woff2'), url(/static/abeezee-latin-400-normal.woff) format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'ABeeZee';
    font-style: normal;
    font-weight: 400;
    src: url(/static/abeezee-latin-ext-400-normal.woff2) format('woff2'), url(/static/abeezee-latin-ext-400-normal.woff) format('woff');
    unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    color-scheme: dark;

}

* {
    box-sizing: border-box;
    position: relative;
    min-width: 0;
    /* overflow: hidden; */

}

body {
    min-height: 100dvb;
    margin-block: 0;
    font-family: 'ABeeZee', sans-serif;
    color: rgb(197, 207, 216);
    background-image: radial-gradient(#1b1b3d 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    background-color: #100f2c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

a {
    color: inherit;
    text-decoration: none;

}

button {
    font-family: inherit
}

input {
    font-family: inherit
}

input::placeholder {
    color: inherit;
    opacity: 0.5;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

main {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
}


h1 {
    font-size: 3.2rem;
    color: #a57ce4;
    margin-bottom: 0;
}

h1 span {
    font-size: 1.4em;
}


footer{    
    color:  #a67ce481;
    text-align: center;
    padding-bottom: 16px;

}

footer a {
    transition: color .3s ease-in-out;
}

footer a:hover{
    color:  #a67ce4c4;


}

.box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #22216471;
    border-radius: 12px;
    width: 500px;

    padding-bottom: 36px;
}

.subtitle {
    margin-top: 0;
    margin-bottom: 36px;
}

.msg {
    /* margin-top: 36px; */
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.45;
    transition: opacity .25s ease-in-out;

}


.msg:hover {
    opacity: 0.8;
}

.msg:active {
    opacity: 0.85;
}

.form {
    display: flex;
    flex-direction: row;
}

/* https://uiverse.io/alexruix/evil-parrot-59 */

.input {
    min-height: 50px;
    max-width: 350px;
    padding: 0 1rem;
    color: rgb(197, 207, 216);
    font-size: 15px;
    border: 1px solid #9771cf;
    border-right: none;
    border-radius: 6px 0 0 6px;
    background-color: transparent;

}

.submit {
    min-height: 50px;
    padding: 0;
    padding: .5em 1em;
    border: none;
    border-radius: 0 6px 6px 0;
    background-color: #9771cf;
    color: rgb(235, 241, 247);
    font-size: 15px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color .2s ease-in-out;
}

.submit:hover {
    background-color: #7656a7;
}

.input:focus,
.input:focus-visible {
    border-color: #b48dee;
    outline: none;
}

.channel {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    background-color: #3432974d;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 2px 1px 15px -5px rgba(0, 0, 0, 0.41);
    width: 360px;
    gap: 8px;
    text-align: center;

}

.horizontal-line {
    background-color: #42408636;
    height: 2px;
    border-radius: 6px;


}

.copyBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: .5em 1em;
    border: none;
    border-radius: 6px 6px 6px 6px;
    background-color: #9771cf;
    color: rgb(235, 241, 247);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color .2s ease-in-out;
}

.copyBtn:hover {
    background-color: #7656a7;
}

.user {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    gap: 12px;
}

.user img {
    width: 100px;
    height: 100px;
    border-radius: 12%;
}

.user-description {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.user-description .name {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 12px;
    overflow-wrap: break-word;
    width: 100%;

}

.user-description .description {
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;    
    gap: 4px;

}


.links a {
    color: #a19ef0;
    transition: color .2s ease-in-out;
    overflow-wrap: break-word;
    align-self: center;
    width: 100%;
}

.links a:hover {
    color: #8784d6;
}


.podcasts {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px;

}

.podcasts img {
    width: 50px;
    /* height: 100px; */
}

.channel-not-found {
    margin-top: 36px;
    margin-bottom: 0;
}

.faq{
    /* background-color: azure; */
    width: 90%;
}

.faq ul {
    list-style-type: none;
    /* text-decoration: underline; */
    margin: 0;
    padding: 0;
}

.faq li {
    text-decoration: underline;
}


@media (max-width: 524px) {

    h1 {
        font-size: 3rem;
    }

    .box{
        width: 400px;
    }

  }

@media (max-width: 416px) {

    h1 {
        font-size: 2.8rem;
    }

    .box{
        width: 360px;
    }

  }



/* https://cssloaders.github.io/ */

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid rgb(197, 207, 216);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin-top: 36px;

}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.my-indicator {
    display: none;
    opacity: 0;
    transition: opacity 500ms ease-in;
}

.htmx-request .my-indicator {
    display: inline;
    opacity: 1
}

.htmx-request.my-indicator {
    display: inline;
    opacity: 1
}