:root{
    --color-primary: #CDB4DB;
    --color-blue: #BDE0FE;
    --color-blue-dark: #A2D2FF;
    --color-pink: #FFC8DD;
    --color-pink-dark: #FFAFCC;
    --color-gray: #f5f2f0;
}

body{
    margin: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif
}

.contanier{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around
    
}

/* ----------------- Breadcrumbs ------------------*/

.breadcrumbs{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 32px;
    width: 100%;
    background-color: var(--color-primary);
    padding: 10px;
    margin-bottom: 10px;
}
@media all and (max-width: 768px){
    .breadcrumbs{
        font-size: 20px;
        justify-content: center;
    }
}

.breadcrumbs h1{
    margin: 0;
    padding: 0;
    display: inline;
    font-size: inherit;
    font-family: 'Barlow Condensed', Arial, Helvetica, sans-serif;
}

.breadcrumbs img{
    height: 32px;
}
@media all and (max-width: 768px){
    .breadcrumbs img{
        height: 20px;
    }
}

.btn-license{
    justify-self: right;
    font-size: 16px;
}
@media all and (max-width: 768px){
    .btn-license{
        margin-top: 8px;
    }
}

.btn-license:hover{
    background-color: var(--color-blue-dark);
}


/* ----------------- how-to-use ------------------*/
.how-to-use{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;   
}
@media all and (max-width: 768px){
    .how-to-use{
        flex-direction: column;
    }
}


.how-to-use-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    border: 2px solid var(--color-blue-dark);
    border-radius: 10px;
    width: 15%;
    height: 130px;
    position: relative;
}
@media all and (max-width: 768px){
    .how-to-use-box{
        width: 60%;
        height: auto;
    }
}


.how-to-use-number{
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-blue);
    position: absolute;
    top: -0.3em;
    left: -0.3em;
    border-radius: 10px;
    width: 1.9em;
    height: 1.9em;
    font-size: 24px;
    font-weight: bold;
}

.how-to-use-box h2{
    margin-bottom: 0;
}

.how-to-use-join{
    border-top: 3px dashed var(--color-blue-dark);
    width: 4%;
}
@media all and (max-width: 768px){
    .how-to-use-join{
        border-left: 3px dashed var(--color-blue-dark);
        height: 25px;
        width: 0px;
    }

}


/* ----------------- loaders-main ------------------*/

.cont-main-loaders ul{
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    max-width: 1350px;
    padding: 0;
    padding-block: 20px;
    margin: 0;
}

.cont-main-loaders li{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.loader-box{
    display: flex;
    border: 2px solid var(--color-blue-dark);
    border-radius: 10px;
    width: 250px;
    height: 250px;
    position: relative;
    transition: 0.2s;
    margin: 10px;
    text-decoration: none;
}

.loader-box-hidden{
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.loader-box:hover{
    border-color: var(--color-pink-dark);
    transform: scale(1.05);
}

.loader-box-header{
    position: absolute;
    top: -0.6em;
    left: 0.6em;
    border-inline: inherit;
    border-radius: 0.3em;
    padding-inline: 0.3em;
    background-color: white;
}



/* ----------------- dashed boedwe ------------------*/
.dashed-border{
    border: 2px var(--color-primary);
    border-style: solid;
    border-radius: 10px;
}

/* ----------------- view-window ------------------*/

.view-window{
    height: 300px;
    width: calc(100% - 560px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 10px;
    box-sizing: border-box;
    margin-inline: 10px;
}
@media all and (max-width: 768px){
    .view-window{
        width: 95%;
        height: 200px;
    }
}


/* ------------------ Pagination ------------------- */

.pagina-cont{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.pagina-tile{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    margin-inline: 2px;
    background-color: var(--color-blue);
    text-decoration: none;
    font-size: 1.1em;
    color: black;
}

.pagina-active{
    background-color: var(--color-primary);
}

.pagina-disabled{
    display: none;
}

/* ----------------- Control panel ------------------*/

.ctrl-panel{
    display: grid;
    grid-template-columns: 1fr 190px 70px;
    align-content: start;
    align-items: center;
    background-color: var(--color-gray);
    overflow: hidden;
    border-radius: 10px;
    width: 530px;
    padding: 8px;
    box-sizing: border-box;
    margin-bottom: 10px;
    margin-right: 10px;
}
@media all and (max-width: 768px){
    .ctrl-panel{
        width: 95%;
        margin-right: 0;
    }
}

@media all and (max-width: 768px){
    .ctrl-panel > label{
        grid-column-start: 1;
        grid-column-end: span 3;
    }
}

.ctrl-panel input{
    height: 25px;
    width: 180px;
    margin: 0;
    border: 0;
    padding: 0;
}
@media all and (max-width: 768px){
    .ctrl-panel input, .ctrl-panel button, .ctrl-panel .radio{
        grid-column-start: 1;
        grid-column-end: span 2;
    }
}

.ctrl-panel button{
    width: 180px;
}

.ctrl-panel input[type=radio]{
    appearance: none;
    display: none;
    margin: 0;
}

.ctrl-panel .radio{
    display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	border: 1px solid gray;
    border-radius: 3px;
	box-sizing: border-box;
    overflow: hidden;
    height: 20px;
    font-size: 0.8em;
    width: 180px;
    padding: 0;
}

.ctrl-panel .radio label{
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid gray;
    margin: 0;
}

.ctrl-panel .radio label:last-child{
	border-right: none;
}

.ctrl-panel .radio input:checked + label{
    background-color: var(--color-blue-dark)
}


.font-consolas{
    font-family: Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;
    justify-self: right;
}

/* ------------------ prev - next - bar ------------------ */
.prevnext{
    display: flex;
    width: 100%;
    height: 28px;
    background-color: var(--color-blue);
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-block: 3px;
    padding-inline: 20px;
    font-family: 'Barlow Condensed', Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: bold;
}
@media all and (max-width: 768px){
    .prevnext{
        flex-direction: column;
        padding: 5px;
        height: auto;
    }
}

.prevnext a{
    text-decoration: none;
}

.prevnext a{
    font-size: 0.65em;
    text-align: center;
    color: black;
}
@media all and (max-width: 768px){
    .prevnext a {
        font-size: 0.55em;
    }
    .prevnext a:nth-child(1){
        align-self: flex-start;
    }
    .prevnext a:nth-child(3){
        align-self: flex-end;
    }
}

.prevnext .btn a{
    display: flex;
    flex-direction: column;
    padding: 5px;
}
@media all and (max-width: 768px){
    .prevnext .btn a{
        flex-direction: row;
    }
}


.prevnext .btn :hover{
    background-color: var(--color-blue-dark);
}

/* ----------------- adv panels ------------------*/
.cont-result-adv{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}
@media all and (max-width: 768px){
    .cont-result-adv{
        flex-direction: column;
        /* flex-wrap: wrap; */
        justify-content: center;
    }
}


.cont-result{
    /* width: auto; */
    flex-grow: 2;
    max-width: calc(100% - 490px);
}
@media all and (max-width: 768px){
    .cont-result{
        max-width: none;
        width: auto;
        margin: 10px;
    }
}

.adv{
    display: flex;
    flex-wrap: wrap;
    background-color: var(--color-gray);
    width: 220px;
    margin-bottom: 10px;
    justify-content: center;
    align-content: flex-start;
    text-align: center;
    font-size: 20px;
    font-family: 'Barlow Condensed', Arial, Helvetica, sans-serif;
    padding: 5px;
}
@media all and (max-width: 768px){
    .adv{
        width: auto;
    }
}

.adv .empf ,.msg-box .empf{
    font-style: italic;
    font-weight: bold;
    font-size: 22px;
    padding-block: 1em;
}

.adv-main{
    background-color: var(--color-gray);
    width: 100%;
    height: 50px;
}

/* ----------------- Code panels ------------------*/

.code-result{
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.code-header{
    background-color: var(--color-blue);
    padding: 8px;
    font-weight: bold;
}

.code-header .btn-copy img{
    height: 1em;
}

.btn-copy{
    font-size: 13px;
    font-weight: normal;
}

.btn-copy:hover{
    background-color: var(--color-blue-dark);
}


.code-body{
    max-height: 400px;
    overflow-y: auto;
}

.code-body::-webkit-scrollbar,
pre::-webkit-scrollbar{
    height: 10px;
    width: 10px;
    background: gray;
}

.code-body::-webkit-scrollbar-track,
pre::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
.code-body::-webkit-scrollbar-thumb,
pre::-webkit-scrollbar-thumb {
  background: #888; 
  border-radius: 5px;
}

.code-body::-webkit-scrollbar-thumb:hover,
pre::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

/* ----------------- Button ------------------*/
.btn{
    display: inline;
    padding: 5px;
    cursor: pointer;
    border: 1px solid gray;
    border-radius: 3px;
    user-select: none;
}

.btn img{
    height: 1em;
}

.btn a{
    text-decoration: none;
    color: black;
}

/* ----------------- modal MSG ------------------*/
.modal-msg{
    display: none;
    position: fixed;
    
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.3);
}

.msg-box{
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: auto;
    margin-top: 150px;
    width: 50%;
    background-color: white;
    font-size: 20px;
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Barlow Condensed', Arial, Helvetica, sans-serif;
}@media all and (max-width: 768px){
    .msg-box{
        width: 90%;
        margin-top: 10px;
        font-size: 18px;
    }
}

.msg-box .title{
    font-size: 30px;
    font-weight: bold;
    background-color: var(--color-primary);
    width: auto;
    padding: 10px;
}@media all and (max-width: 768px){
    .msg-box .title{
        font-size: 22px;
    }
}

.msg-box .body{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.msg-box .btn-bar{
    display: flex;
    width: 100%;
    justify-content: space-around;
    
}@media all and (max-width: 768px){
    .msg-box .btn-bar{
        display: block;
        width: auto;
    }
}

.msg-close{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 60px;
    font-size: 24px;
    font-weight: bold;
    background-color: var(--color-gray);
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}

.msg-close:hover{
    background-color: #ddd;
}


/* ----------------- License ------------------*/
.license{
    padding: 10px;
    width: 70%;
    max-width: 840px;
    font-size: 16px;
    /* background-color: gainsboro; */
}
@media all and (max-width: 768px){
    .license{
        width: 100%;
    }
}

.license h2{
    font-size: 32px;
    font-family: 'Barlow Condensed', Arial, Helvetica, sans-serif;
}

.license p.date{
    font-style: italic;
    text-align: right;
}

/* ----------------- Description ------------------*/

.description{
    background-color: var(--color-blue);
    margin-bottom: 20px;
}

.description h3{
    background-color: var(--color-blue-dark);
    font-family: 'Barlow Condensed', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 15px 20%;
}
@media all and (max-width: 768px){
    .description h3{
        padding: 10px 5px;
    }
}

.description div{
    padding: 10px 20%;
}
@media all and (max-width: 768px){
    .description div{
        padding: 10px 5px;
    }
}


/* ----------------- Footer ------------------*/
footer{
    display: flex;
    flex-direction: column;
    background-color: var(--color-primary);
    /* height: 50px; */
    align-items: center;
    justify-content: center;
}

footer div{
    padding-block: 10px;
}



/* --------------------- Cookies ------------------------- */
#cookies{
    display: flex;
    align-items: center;
    position: sticky;
    bottom: 0;
    padding: 10px;
    background-color: var(--color-blue);
    z-index: 5;
    border-top: 1px solid gray;
}
@media all and (max-width: 768px){
    #cookies{
        flex-direction: column;
    }
}


#cookies p{
    padding-inline: 15px;
}

#cookies button{
    width: 400px;
    height: 3em;
    font-size: 16px;
    background-color: var(--color-pink);
    border: 1px solid gray;
    border-radius: 5px;
}
@media all and (max-width: 768px){
    #cookies button{
        width: 80%;
    }
}

#cookies button:hover{
    background-color: var(--color-pink-dark);
    cursor: pointer;
}

/* ------------------------ FONTs --------------------*/
@font-face {
    font-family: "Barlow Condensed";
    src: url("fonts/Barlow_Condensed/BarlowCondensed-Regular.ttf") format("truetype");
    font-display: swap;    
  }
  
  @font-face {
      font-family: "Roboto";
      src: url("fonts/Roboto/Roboto-Regular.ttf") format("truetype");
      font-display: swap;    
    }
    

