body {
    margin: auto;
    max-width: 820px;
    background: rgb(26, 94, 163);
    font-size: 16px;
    font-family: sans-serif;
    padding-top: 10px;
    padding-bottom: 50px;
}

h1 {
    font-size: clamp(1.5em, 5vw, 3em);
    margin: auto;
    margin-top: 30px;
    width: fit-content;
    text-align: center;
    color: #40aff4;
    text-decoration: dashed underline #40aff4;	
    text-shadow: 0 0 15px #000000b9;
}

h2 {
    margin: 20px auto;
    text-align: center;
    padding: 2px auto;
    box-sizing: border-box;
    border: #000 solid 5px;
    border-radius: 25px;
    font-size: clamp(1.15em, 3vw, 1.5em);
    background-color: #40aff4;
    max-width: 90%;
}

a{
    color: #40aff4;
    text-decoration: none;
}

p {
    margin: 0;
    font-size: clamp(1em, 3vw, 1.45em);
    color: #95d9f6;
}

h3 {
    margin: 0;
}

label {
    border-left: #000 solid 3px;
    border-radius: 3px;
    background: linear-gradient(to right, rgba(88, 177, 233, 0.333), transparent);
    padding-left: 3px;
    margin: 0px 0 0 0;
    letter-spacing: 5px;
    font-family: sans-serif;
    font-size: clamp(.95em, 3vw, 1.4em);
}

textarea:focus-visible{
    outline: none;
}
textarea {
    resize: none;
}

input:focus-visible{
    outline: none;
}

input:focus:invalid:required{
    outline: #b23 solid 0.1px;
}

input[type="range"]{
    width: 90%;
    accent-color: #81d9ff;
}

li{
    list-style: none;
}

.no_page_div{
    text-align: center;
    margin: auto;
    margin-top: 40vh;
}

.label_range, input[type="range"]{
    margin-left: 10px;
}

.form_retos {
    background: linear-gradient(#0c3e6a, #2e89ce);
    padding-top: 1px;
    padding-bottom: 1px;
    border-radius: 10px;
    margin: auto;
    margin-bottom: 70px;
    box-shadow: 0 10px 20px 5px #0005;
    max-width: 90%;
}

.textarea {
    height: 90%;
    resize: none;
    scrollbar-width: none;
    min-width: 95%;
    min-height: 50px;
}
.reto_txtarea{
    height: 40%;
}

.textarea::-webkit-scrollbar {
    display: none;
}

.textarea_manage{
    border: none;
    border-left: #000 solid 3px;
    border-radius: 3px;
    width: 75%;
    font-size: clamp(1em, 3vw, 1.25em);
    font-family: sans-serif;
    background: rgba(88, 177, 233, 0.333);
    margin: 0;
    height: 40%;
    resize: none;
    scrollbar-width: none;
    min-width: 95%;
    min-height: 50px;
}

.retos_input, .textarea {
    border: none;
    border-left: #000 solid 3px;
    border-radius: 3px;
    width: 75%;
    font-size: clamp(1em, 3vw, 1.25em);
    font-family: sans-serif;
    background: rgba(88, 177, 233, 0.333);
    margin: 0;
}

.divisor {
    box-sizing: border-box;
    height: 7px;
    background-color: #40aff4;
    border-radius: 2.25px;
    margin: 0 auto 25px auto;
    width: 95%;
}

.input_div {
    margin: 10px;
}

.inter{
    margin: 30px 20px;
    text-align: center;
}
.standar_p {
    border: #000 solid 3px;
    padding: 10px;
    margin: 20px auto;
    max-width: 80%;
    background: #0003;
}

.lisiado {
    border: #fffb dashed 4px;
}

.retos_link {
    color: rgb(199, 91, 199);
    background: #000;
}

/*FOOTER PANEL*/
.f_panel {
    width: 100%;
    max-width: 820px;
    position: fixed;
    bottom: 10px;
}

.f_nav_panel{
    width: 50%;
    max-width: 450px;
    margin: 0 auto;
}

.f_nav {
    margin: 0;
    display: flex;
    justify-content: center;
    align-content: center;
    gap: 6px;
    flex-wrap: wrap;
    border-radius: 5px;
    background: rgba(9, 32, 89, 0.7);
    list-style: none;
    padding: 10px;
}

.f_button{
    color: rgb(9, 26, 51);
    background: #1d85da;
    display: inline-block;
    padding: 5px;
    box-sizing: border-box;
    width: 100%;
    border-radius: 5px;
    border: #000 solid 3px;
    text-align: center;
    font-size: clamp(0.7em, 2.5vw, 1em);
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.f_button:hover{
    transform: translate(0, -3px);
    box-shadow: 0 3px 4px 1px #0009;
}

/*NAVIGATION PANEL*/
.panel {
    width: 100%;
    position: sticky;
    top: 10px;
}

.nav_panel{
    width: 80%;
    margin: 0 auto;
}

.nav {
    margin: 0;
    display: flex;
    justify-content: center;
    align-content: center;
    gap: 6px;
    flex-wrap: wrap;
    border-radius: 5px;
    background: rgba(9, 32, 89, 0.7);
    list-style: none;
    padding: 10px;
}

.button {
    color: rgb(9, 26, 51);
    background: #1d85da;
    display: inline-block;
    padding: 5px;
    box-sizing: border-box;
    width: 100%;
    border-radius: 5px;
    border: #000 solid 3px;
    text-align: center;
    font-size: clamp(0.7em, 2.5vw, 1em);
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button:hover{
    transform: translate(0, -3px);
    box-shadow: 0 3px 4px 1px #0009;
}

a:hover{
    cursor: pointer;
}

.nav_text {
    margin: 10px auto;
    border: none;
    background: none;
    color: #00caff;
}

.nav_list {
    width: min-content;
    flex-grow: 1;
    text-align: center;
}

/*PROPUESTAS DE RETOS*/
.prop_reto {
    box-shadow: 0 3px 10px 0.5px black;
    border-radius: 5px;
    background: rgb(29, 103, 153);
    height: 320px;
    width: 270px;
    padding: 10px;
    margin: 20px;
}

.prop_reto_title {
    margin-bottom: 10px;
    text-align: center;
}

.prop_reto .textarea{
    min-height: 40%;
    resize: none;
    min-width: 95%;
    min-height: 40%;
    border: none;
    border-left: #000 solid 3px;
    border-radius: 3px;
    font-size: 1.2em;
    font-family: sans-serif;
    background: rgba(88, 177, 233, 0.333);
    margin: 0;
}

.prop_reto p{
    margin-top: 0;
    margin-bottom: 45px;
}

.prop_reto_difficulty {
    margin-top: 15px;
}

.prop_retos {
    color: #fff;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.div-accept{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: auto;
}

.accept__button{
    margin: 5px;
    cursor: pointer;
    background: #59e;
    padding: 5px;
    font-weight: 700;
    font-size: .9em;
    border-radius: 5px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.accept__button:hover{
    box-shadow: 0 0 5px 3px #59e;
}

.text-area {
    min-height: 40%;
    resize: none;
    min-width: 95%;
    min-height: 50px;
}

.dec_bin{
    box-shadow: 3px 3px 10px 2px #0a316e;
    margin: 0 auto 40px auto;
    width: 90%;
    border-radius: 5px;
    background: linear-gradient(rgb(19, 79, 139), #28c);
    padding: 10px;
}

.dec_input, .text-area{
    width: 95%;
    background-color: rgb(44, 154, 227);
    border: none;
    border-left: #000 solid 3px;
    margin-bottom: 5px;
    height: 30px;
    border-radius: 3px;
    font-size: clamp(1em, 3vw, 1.25em);
}

.dec_input input{
    font-size: clamp(1em, 3vw, 1.25em);
}

.text_divisor{
    margin-bottom: 10px;
    margin-top: 70px;
    text-align: center;
    font-size: 1.5em;
    text-decoration: overline underline;
}

.diccionario_titles{
    text-align: center;
    color: #62bbd1;
    margin-bottom: 10px;
}

.submit__flexbox{
    display: flex;
    flex-flow: row nowrap;
    margin-left: 7px;
    width: 95%;
    justify-content: end;
}

.dic_buttons {
    color: rgb(9, 26, 51);
    background: #1d85da;
    border-radius: 5px;
    margin: 3px 0 15px 0;
    border: #000 solid 3px;
    text-align: center;
    font-size: clamp(0.7em, 2.5vw, 1em);
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dic_buttons:hover{
    transform: translate(0, -1px);
    box-shadow: 0 3px 4px 1px #0009;
}

.retos_input[type="submit"] {
    display: block;
    margin: 0 0 0 auto;
    font-size: 1em;
    width: auto;
    letter-spacing: 2.5px;
    border: #000 solid 2px;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.retos_input[type="submit"]:hover {
    box-shadow: 0 0 7px 5px #5da7f2;
    background-color: #5da7f2;
}

.nav_list--log_in{
    display: flex;
    background: #00caff;
    flex-flow: row nowrap;
    justify-content: center;
}

.log_in_p{
    font-size: inherit;
    margin: 0;
    color: #0c2041;
}

.log_in{
    width: 24px;
    height: 24px;
}

/*FORM DE REGISTER Y LOGIN*/
.flexbox{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    height: 60vh;
    width: 100%;
}

.form_title{
    margin: 5px 0 20px 0;
    font-size: clamp(1.5em, 5vw, 2.5em);
}

.enter_form{
    flex-basis: 80%;
    max-width: 668px;
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    height: fit-content;
    background-color: #086fa6;
}

.enter_form__label{
    display: block;
    width: fit-content;
}

.enter_form__input{
    display: block;
    margin-bottom: 20px;
    width: 95%;
    border: none;
    border-left: #000 solid 3px;
    border-radius: 3px;
    font-size: 1.2em;
    font-family: sans-serif;
    background: rgba(88, 177, 233, 0.333);
}

.enter_form__submit{
    color: rgb(9, 26, 51);
    background: #1d85da;
    border-radius: 5px;
    border: #000 solid 2px;
    text-align: center;
    font-size: 1em;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.enter_form__submit:hover{
    box-shadow: 0 0 7px 5px #399cda;
    background-color: #399cda;
}

.enter_form__login{
    color: #66c3fd;
    cursor: pointer;
}

/*--modal de error--*/
.dialog_error{
    padding: 0;
    margin: 0;
    height: 90%;
    width: 100%;
    background: none;
    border: none;
}

.dialog_error__content{
    background-color: #4881dc;
    text-align: center;
    width: 350px;
    margin: auto;
    padding: 15px;
    border-radius: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    position: fixed;
}

.dialog_error__button{
    border: none;
    background: none;
    margin: auto;
    text-decoration: underline;
    font-size: 1em;
    cursor: pointer;
}

.dialog_error__div{
    position: fixed;
    z-index: 0;
    top: -5px;
    width: 100%;
    height: 110%;
    background-color: #0003;
}


/*BUSQUEDA DE USUARIOS*/
.user_search__form{
    flex-grow: 3;
    display: flex;
    flex-flow: row nowrap;
    gap: 5px;
    justify-content: left;
    align-items: center;
}

.user_search__input{
    width: 100%;
    font-size: 1.25em;
    border-radius: 5px;
    border: none;
    background: #0005;
    color: #ededed95;
    padding-left: 5px;
}
.user_search__input::placeholder{
    color: #ededed95;
}

.user_search__button{
    font-size: 1.4em;
    background-color: #0005;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.user_search__button:hover{
    background-color: #000a;
}

.nav_user{
    justify-content: space-between;
    gap: 10px;
}

/*PERFIL DE USUARIO*/
.profile_div{
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
}
.profile_div_others{
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    gap: 20px;
}

.profile__username{
    text-decoration: none;
    flex-grow: 1;
    text-align: left;
    margin: 0;
    width: 100%;
}

.profile__edit_link{
    text-align: left;
}

.total_row{
    display: flex;
    flex-flow: row nowrap;
}

.user_description_p{
    width: 70%;
    margin: 0;
    border-radius: 5px;
    background: #0003;
}

.hayadores{
    width: 100%;
}

/*--followers/following--*/

.follow_div{
    margin-top: 40px;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
}

.follow_link{
    font-size: 0.85em;
}

.follow_div__links{
    justify-self: center;
    background: #fff1;
    padding: 5px;
    text-align: center;
    border-radius: 3px;
}

.follow_nums{
    font-size: clamp(.7em, 4vw, 1.4em);
}

.nothing{
    margin: 0;
}

.log_out_button{
    color: #66c3fd;
    border: none;
    background: none;
    margin-left: auto;
    font-size: 1em;
    cursor: pointer;
}
.log_out_button:hover{
    text-decoration: underline;
}

.profile_section{
    border-radius: 20px;
    width: 90%;
    padding: clamp(20px, 5vw, 35px);
    background: #0003;
}
.profile_main{
    margin: 0 auto;
    padding: 30px 0;
    display: flex;
    flex-flow: row wrap;
    gap: 30px;
    justify-content: center;
    width: 85%;
}
.profile__username__h3{
    font-size: clamp(.8em, 4vw, 2.8em);
    color: #40aff4;
    white-space: nowrap;
    text-shadow: 0 0 15px #000000b9;
    text-decoration: none;
    text-align: left;
    height: fit-content;
    margin: auto 0;
}

.follow_button{
    text-align: center;
    padding: 5px 10px;
    border: none;
    background: #00caff;
    font-size: clamp(0.7em, 2.5vw, 1.2em);
    border-radius: 5px;
    height: fit-content;
    margin-left: auto;
    max-width: fit-content;
    justify-self: right;
    align-self: center;
    cursor: pointer;
    transition: box-shadow 0.4s ease, background 0.4s ease, color 0.4s ease;
}
.follow_button:hover{
    box-shadow: 0 0 5px 3px #0005;
    background: #0005;
    color: #00caff;
}

.friends{
    margin-left: auto;
    padding: 0;
    font-size: clamp(0.7em, 2.5vw, 1.2em);
    justify-self: end;
    align-self: top;
    text-align: center;
    color: #17dbbd;
    text-decoration: underline;
}

#unfollow_button{
    background: #0005;
    color: #00caff;
}
#unfollow_button:hover{
    background: #00caff;
    color: #000;
}

#follow_too_button{
    background: #00caff;
    box-shadow: 0 0 3px 1px #00caff;
    color: #000;
}
#follow_too_button:hover{
    box-shadow: 0 0 5px 3px #0005;
    background: #0005;
    color: #00caff;
}

/*EDIT PROFILE*/
.profile__username_input{
    border: none;
    background: none;
    width: 70%;
    text-decoration: none;
    font-size: clamp(1.6em, 5vw, 2.8em);
    color: #40aff4;
    text-shadow: 0 0 15px #000000b9;
    text-align: left;
    margin: 0;
}

.profile__edit_button{
    border: none;
    background: none;
    font-size: 1.2em;
    color: #00caff;
    cursor: pointer;
    transition: color 0.3s ease;
}
.profile__edit_button:hover{
    text-decoration: underline;
}

.profile__bio_input{
    border: none;
    border-left: #000 solid 3px;
    border-radius: 3px;
    background: rgba(88, 177, 233, 0.333);
    font-size: clamp(1em, 3vw, 1.25em);
    font-family: sans-serif;
    width: 95%;
    margin: 20px 0;
}

.show_following{
    display: flex;
    justify-items: center;
    flex-flow: row wrap;
    gap: 24px;
}

.follower_div{
    margin: 0 auto;
    width: 90%;
    background: #0003;
    border-radius: 3px;
    padding: 15px;
    display: flex;
    justify-content: end;
    box-sizing: border-box;
    align-items: center;
}

.follower_button{
    border: none;
    border-radius: 3px;
    background: #00caff;
    color: #0c2041;
    margin: auto;
    cursor: pointer;
    font-size: clamp(.9em, 3.8vw, 1.5em);
}

.margin_right{
    margin-right: auto;
}

.followers_form{
    width: 90%;
    margin: 30px auto 5px auto;
    padding: 0;
}
.followers_form__button{
    background: none;
    font-size: clamp(1.1em, 3vw, 1.4em);
    border: none;
    color: #90e6fc;
    cursor: pointer;
    font-family: monospace;
    font-weight: 400;
    margin: 0 3px;
}

.u{
    text-decoration: underline;
}

/*FORM MAKE RETOS*/
/*off*/.make_reto{
    margin: auto;
    background: #fff3;
    padding: 5px 10px;
    color: #95eaff;
    border-radius: 4px;
    width: fit-content;
    display: block;
    font-size: 1.2em;
}

.make_reto__form{
    display: flex;
    flex-flow: row wrap;
    margin: auto;
    margin-top: 30px;
    width: 80%;
    box-sizing: border-box;
    max-width: 500px;
    background: #0003;
    padding: 0 clamp(10px, 3vw, 25px);
    border-radius: 4px;
}

.width100{
    width: 100%;
    display: block;
}

.make_reto__inputdiv{
    width: 100%;
    height: fit-content;
    margin: clamp(15px, 3vw, 25px) 0;
}

.make_reto__title{
    font-size: clamp(1.8em, 7vw, 2.5em);
    color: #00caff;
    text-align: center;
    text-decoration: underline;
}

.make_reto__comentario{
    resize: none;
    width: 90%;
    height: clamp(110px, 30vw, 181px);
    margin-top: 3px;
    border: none;
    color: #00caff;
    font-size: clamp(1.3em, 5vw, 1.7em);
    border-left: solid #000 3px;
    border-radius: 5px;
    background: #0003;
}

.make_reto__file{
    border: none;
    color: #00caff;
    background: #086fa6;
}

.video_preload{
    display: none;
    max-width: 90%;
}

.make_reto__button{
    display: block;
    background: none;
    border: none;
    width: 100%;
    letter-spacing: 2px;
    cursor: pointer;
    color: #00caff;
    font-size: clamp(1.7em, 5vw, 2.7em);
}
.make_reto__button:hover{
    text-decoration: underline;
}

#reto_search{
    margin: auto;
    width: 80%;
    font-size: clamp(1em, 3vw, 1.8em);
}


/*IN_USER_POSTS*/
.user_retos{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    width: fit-content;
    gap: 30px;
}

.retos_post{
    background: #0003;
    padding: 10px;
    display: flex;
    width: clamp(180px, 25vw, 310px);
    flex-flow: row wrap;
    border-radius: 10px;
    margin: 20px 5px;
}

.post_title{
    text-align: center;
    color: #00caff;
    font-size: clamp(.9em, 3vw, 1.2em);
    margin: auto;
}

.post_video{
    margin: 20px auto;
    width: clamp(174px, 25vw, 290px);
}
.video::-webkit-media-controls-timeline,
.video::-webkit-media-controls-current-time-display,
.video::-webkit-media-controls-time-remaining-display,
.video::-webkit-media-controls-mute-button,
.video::-webkit-media-controls-volume-slider,
.video::-webkit-media-controls-fullscreen-button {
    display: none;
}

.more{
    width: 100%;
    text-align: center;
}

.title{
    min-width: 50%;
}

/*BIG_POSTS*/
.post_reto__flexbox{
    margin: 30px auto;
    display: flex;
    width: 80%;
    justify-content: center;
    flex-flow: row wrap;
    gap: 30px;
}

.post_reto__div{
    width: 100%;
    display: flex;
    justify-items: center;
    align-items: center;
}

.post_reto__title{
    text-align: center;
    text-decoration: overline 2px;
    margin: 0 auto;
    color: #00caff;
    font-size: clamp(1em, 5vw, 2.5em);
    width: fit-content;
}

.big_post_video{
    max-width: fit-content;
    width: clamp(200px, 80vw, 650px);
    margin: 0 auto;
    max-height: 80vh;
}

.post_caption_p{
    width: 80%;
    padding: 3px 10px;
    margin-left: 10px;
    overflow-wrap: break-word;
    border-left: #005 solid 3px;
    background: linear-gradient(to right, #0002, #0000);
}

.kleine_divisor{
    height: 2px;
    width: 90%;
    background: #000;
}

.comentario_form{
    width: 90%;
    margin: auto;
}

.comentario_flexbox{
    display: flex;
    padding: 15px;
    width: 100%;
    border-radius: 3px;
    background-color: #0003;
    flex-flow: column wrap;
    gap: 10px;
}

.comentario_name{
    font-size: clamp(1em, 3vw, 2.5em);
    color: #40aff4;
    white-space: nowrap;
    text-shadow: 0 0 15px #000000b9;
    text-decoration: none;
    text-align: left;
    height: fit-content;
    margin: auto 0;
}

.comentario_textarea{
    height: 7em;
    resize: none;
    border: #000 solid 3px;
    margin: auto;
    background: linear-gradient(to right, #0002, #0000);
    scrollbar-width: none;
    font-size: clamp(1em, 3vw, 1.25em);
    min-width: 95%;
}

.comentario_text{
    border: #0004 solid 2px;
    border-radius: 3px;
    width: 95%;
    background: #3487df;
    font-size: clamp(.85em, 3vw, 1.25em);
    font-family: sans-serif;
    height: clamp(50px, 15vw, 100px);
    margin: 0;
    margin-top: 5px;
}

.comentario_text__div{
    background: linear-gradient(to bottom, #0003, #0000);
}

.when{
    font-size: clamp(.6em, 2.5vw, 1.2em);
    color: #eee6;
}

.when_div{
    text-align: right;
}

.comentario_div{
    width: 100%;
}

.section{
    width: 100%;
}

.totaland{
    width: 50%;
}

/*FABADAS*/
.fabadas__p{
    display: block;
    height: fit-content;
    margin-left: auto;
    color: #fffd;
    text-align: center;
    font-size: clamp(.6em, 2vw, 3em);
}

.fabadas_list{
    list-style: none;
    background: none;
}

#fabadas_li{
    border-radius: 20px;
    width: 90%;
    padding: clamp(20px, 5vw, 35px);
}

.top-1 {
    background: rgb(74, 224, 254);
    border: 5px solid rgb(0, 255, 238);
}

.top-2 {
    background: rgb(74, 224, 254, 0.65);
}

.top-3 {
    background: rgb(74, 224, 254, 0.3);
}

.top-rest {
    background: #0003;
}

.fabadas_button{
    width: fit-content;
}

.fabadas_username{
        font-size: clamp(.8em, 4vw, 2.8em);
    color: #ffffff;
    white-space: nowrap;
    text-shadow: 0 0 15px #ffffffb9;
    text-decoration: none;
    text-align: left;
    height: fit-content;
    margin: auto 0;
}

.fabadas__h1{
    width: 80%;
    margin: auto;
    margin-top: 30px;
    font-size: clamp(1.3em, 5vw, 3em);
}

::placeholder {
    color: #0009;
    font-family: sans-serif;
}