@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

:root{
    --pink: #af76a4;
    --blue: #17233c;
    --light-blue: #6db2da;
    --text-dark-blue: #395C7B;
    --text-black: #434343;

    --header-height: 80px;
}

/* FONT */
*:not(i){
    font-family: "Bai Jamjuree", sans-serif !important;
}

/* /FONT */
main{
    max-width: 600px;
    margin: auto;
}


.cookie-consent__agree:hover {
    background-color: #92cbe5 !important;
    color: #17233c !important;
}

.op-0{
    opacity: 0;
}

.text-upper{
    text-transform: uppercase;
}

.no-decor{
    text-decoration: none !important;
    color: inherit !important;
}

.section-title{
    font-size: 1.3rem !important;
    text-align: center;
    text-transform: uppercase;
    color: white;
    font-weight: bold;
}

.section-title-big{
    font-size: 1.5rem !important;
}

/* BTN */
.ms_btn{
    font-size: 1rem;
    color: var(--text-dark-blue);
    padding: 5px 10px;
    background-color: white;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
    transition: all 200ms linear;
    outline: none !important;
    border: none !important;
}

.ms_btn-pink{
    background-color: var(--pink);
    color: white;
    font-size: 1rem;
    padding: 5px 10px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
    transition: all 200ms linear;
    outline: none !important;
    border: none !important;
}

.btn-follow{
    font-size: .8rem !important;
}

.ms_btn:hover{
    background-color: rgb(214, 214, 214);
}

.ms_btn-pink:hover{
    background-color: #97618c;
}

.social-btn{
    border: none !important;
    background-color: transparent !important;
    cursor: pointer;
    outline: none !important;
    padding: 0 !important;
    text-align: center;
}

.social-btn img{
    display: block;
    width: 1rem;
}

.social-btn i{
    display: block;
    font-size: 1rem;
    color: white;
}
/* /BTN */


/* HEADER */
.p-r{
    position: relative;
}

.logo-wrapper{
    padding: 10px 0;
}

.top-logo{
    width: 140px;
}

.app-header{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: var(--header-height);
    background-color: white;
    z-index: 998;
    box-shadow: 24px 0 34px rgba(0, 0, 0, 0.25);
    max-width: 600px;
    margin: auto;
    left: 50%;
    transform: translateX(-50%)
}


.app-nav{
    height: 100%;
    width: 100%;
    padding: 5px 0 !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    gap: 10px;
    
    position: absolute;
    top: 56%;
    left: 0;
    transform: translateY(-50%);
}

.app-link{
    width: calc(100% / 5 - 10px);
    font-size: .614rem;
    color: #888888;
    text-align: center;
    position: relative;
}

.app-link.active{
    color: #497698;
    font-weight: 500;
}

.navbar-icon{
    display: block;
    width: 2rem;
    text-align: center;
    margin: 0 auto 5px auto;
}

.bigger-link{
    margin-bottom: 12px;
}

.bigger-link .navbar-icon{
    width: 2.5rem;
}

.install-modal{
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    backdrop-filter: blur(5px);
    background-color: #17233c69;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.install-modal-wrapper{
    opacity: 0;
    transform: scale(0.1);
    background-color: white;
    border-radius: 5px;
    padding: 1rem;
    width: 90%;
}

.install-modal-title{
    color: var(--blue);
}
/* /HEADER */

/* Table */
.ms_table{
    background-color: white;
    border-radius: 30px;
}

.ms_table-row{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
}

@media screen and (min-width: 1024px){
    /*.ms_table-row{
        flex-direction: row;
        flex-wrap: wrap;
    }*/
}

.ms_table-row:not(:last-child){
    border-bottom: 3px solid var(--light-blue);
}

.username-wrapper{
    display: flex;
    align-items: center;
    gap: 5px;
}

.ms_table .user-avatar{
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.username{
    margin: 0 !important;
}

.filter-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

#filter-input{
    width: 80%;
    height: 40px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border: 1px solid var(--pink);
    padding-left: 10px;
    padding-right: 10px;
}

#filter-input:focus, #filter-input:focus-visible{
    outline: none;
    box-shadow: 0px 0px 13px var(--pink)
}

.filter-input-wrapper{
    display: flex;
}

@media screen and (min-width: 1024px){
    .filter-input-wrapper{
        width: 50%;
        margin: 0 auto;
    }
}

#search-btn{
    width: 20%;
    height: 40px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 1px solid var(--pink);
    background-color: var(--pink);
    color: white;
}

.alert-pink{
    background-color: var(--pink) !important;
    color: white !important;
}

/* 401 */
.not-auth-title{
    font-size: 5rem;
    color: white;
    text-align: center;
    font-weight: 800;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.not-auth-subt{
    margin-bottom: 1rem !important;
}
/* /401 */

/* Loader */
.loader{
    width: 100%;
    height: 100svh;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px);
    background-color: #17233c6a;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-spinner{
    display: block;
    margin: 1rem auto;
    max-width: 200px;
    animation: spin 2s infinite;
}

.loader-text{
    color: white;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 10px !important;
}

@keyframes spin{
    from{
        transform: rotate(0deg);
    } to {
        transform: rotate(360deg);
    }
}
/* /Loader */

/* Created by */
.created-by-graph{
    padding-top: 10px;
    text-align: center;
    color: white;
}

.created-by-text{
    margin-bottom: 0 !important;
    margin-top: 2rem;
    font-size: .9rem;
}
/* /Created by */