:root{
    --white: #b5b5b5;
    --blue: #b55aff;
    --black: rgb(255, 0, 234);
    --realwhite: #fffefd;
}

::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    border-radius: 2px;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    border-radius: 0px;
    background-color:  transparent;
    height: 0px;
}
 

::-webkit-scrollbar-thumb {
    background-color: var(--blue); 
    border-radius: 5px;
}

        
@font-face {
    font-family: 'suiss';
    src: url('font/SuisseIntl-Regular-WebM.woff')format('woff');
    src: url('font/SuisseIntl-Regular-WebM.woff2')format('woff2');
    font-weight: normal;
}


@font-face {
    font-family: 'suiss';
    src: url('font/SuisseIntl-Medium-WebM.woff')format('woff');
    src: url('font/SuisseIntl-Medium-WebM.woff2')format('woff2');
    font-weight: 600;
}


@font-face {
    font-family: 'suiss';
    src: url('font/SuisseIntl-Bold-WebM.woff')format('woff');
    src: url('font/SuisseIntl-Bold-WebM.woff2')format('woff2');
    font-weight: 700;
}



@font-face {
    font-family: 'suiss_cond';
    src: url('font/SuisseIntlCond-Regular-WebS.woff')format('woff');
    src: url('font/SuisseIntlCond-Regular-WebS.woff2')format('woff2');
}

@font-face {
    font-family: 'suiss_cond';
    src: url('font/SuisseIntlCond-Bold-WebS.woff')format('woff');
    src: url('font/SuisseIntlCond-Bold-WebS.woff2')format('woff2');
    font-weight: 700;
}




@font-face {
    font-family: 'hmls';
    src: url('font/HLMS_01-VF.ttf')format('truetype-variations');
}








html{
    margin: 0;
    padding: 0;
} 

body{
    font-family: 'suiss';
    margin: 0px;
    color: var(--black);
    font-size: 20px;

    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    transition: all 300ms;
}


h1,h2,h3,h4,h5,h6{
    font-size: 20px;
    margin: 0;
    padding: 0;
}


a{
    color: var(--realwhite);
}




.start_window{
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    animation: start 0.5s 3.7s forwards;
}

@keyframes start {
    0%{
        opacity: 1;
    }
    99%{
        opacity: 0;
        display: flex;
    }
    100%{
        opacity: 0;
        display: none;
    }
}


.start_title{
    font-size: 9vw;
    color: var(--realwhite);
    display: flex;
    height: 100vh;
}

start_title{
    display: block;
    transition: all 500ms;
    margin-top: 33vh;
}




header{
    position: fixed;
    top: 0;
    left: 5px;
    display: flex;
    z-index: 50;
    text-transform: uppercase;
    gap: 15px;
    margin-top: 5px;
    width: 58%;
    height: 50px;
    color: var(--realwhite); 
}

h1{
    position: absolute;
    visibility: hidden;
    font-weight: 500;
    font-size: 50px;
}


.header_title, .about_website, .about_typeface{
    display: flex;
    gap: 2px;
    border-top: 2px solid var(--realwhite);
    padding-top: 14px;
}

.about_website, .about_typeface, start_typo{
    cursor: pointer;
}

.header_title{
    font-size: 3vw;
    flex-wrap: wrap;
    position: relative;
    width: fit-content;

}

start_typo, mooving_website, mooving_typeface{
    transition: all 500ms;
}







.about_website_component, .about_typeface_component{
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 500ms, padding 500ms;
}

.about_website_content, .about_typeface_content{
    overflow: hidden;
    text-transform: none; 
    font-size: 14px;
    position: relative;
}


.content_exit_website, .content_exit_typeface{
    position: absolute;
    top: 11px;
    right: 0;
    cursor: pointer;
}

.about_content_wrapper{
    max-height: 70vh;
    overflow-y: scroll;
}

.about_typeface_content .about_content_wrapper{
    overflow: hidden;
}

.about_website_content p, .about_typeface_content p{
    margin-top: 0;
    margin-bottom: 10px;
    padding-right: 36px;
}

h3{
    margin: 30px 0 10px 0;
}

.about_website_content hr, .about_typeface_content hr{
    margin: 0; 
    padding: 6px 0;
    border: 0;
    border-top: 2px solid var(--realwhite);
}


.about_typeface_content input{
    -webkit-appearance: none;
    width: calc(100% - 4px);
    background: transparent;
    border: 1px solid var(--realwhite);
    cursor: pointer;
}
.about_typeface_content input[type=range]::-webkit-slider-thumb   {
    -webkit-appearance: none; 
    border: none; /*Removes extra border that FF applies*/
    border-radius: 0; /*Removes default border-radius that FF applies*/
    background-color: var(--realwhite);
    color: var(--realwhite);
    height: 10px;
    width: 30px;
 }

 .about_typeface_content  input[type=range]::-moz-range-thumb{
    -webkit-appearance: none; 
    border: none; /*Removes extra border that FF applies*/
    border-radius: 0; /*Removes default border-radius that FF applies*/
    background-color: var(--realwhite);
    color: var(--realwhite);
    height: 10px;
    width: 30px;
}

input[type=range]::-ms-thumb {
    -webkit-appearance: none; 
    border: none; /*Removes extra border that FF applies*/
    border-radius: 0; /*Removes default border-radius that FF applies*/
    background-color: var(--realwhite);
    color: var(--realwhite);
    height: 10px;
    width: 30px;
  }


.legende_input{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}



main{
    flex: 1;
    display: flex;
    position: relative;
    background-color: var(--black);
    color: var(--realwhite);
    overflow: hidden;
}


.window_entries_new{
    position: absolute;
    border-top: 2px solid var(--realwhite);
    z-index: 50;
    top: 0;
    margin-top: 5px;
    right: 5px;
    width: auto;
    padding-top: 14px;
}

.menu_open{
    display: flex;
    padding-bottom: 6px;
    justify-content: space-between;
    border-bottom: 1px solid var(--black);
    font-size: 16px;
}

.drag_open{
    cursor: move;
}

.menu_open img{
    display: inline-block;
    width: 20px;
    transform-origin: center;
    transition: transform 300ms;
    transform: rotate(90deg);
    display: none;
}

.entries_about{
    padding: 4px;
    font-size: 12px;
    border-bottom: 1px solid var(--black);
}

.add_more{
    padding: 4px 4px 2px 4px;;
    background-color: var(--realwhite);
    display: flex;
}

.task{
    border: 0;
    width: 90px;
    border-right: 1px solid var(--black);
}

.amount{
    border: 0;
    width: 288px;
    margin-right: 6px;
    border-right: 1px solid var(--black);
}

.amount::-webkit-outer-spin-button,
.amount::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.amount[type=number] {
  -moz-appearance: textfield;
}


.add_it{
    border: 0;
    margin: -4px -4px -2px -6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 300ms;
    background-color: var(--realwhite);
}

.add_it:hover{
    background-color: var(--black);
    color: var(--realwhite);
}

.task, .amount, .add_it{
    color: var(--white);
}


::placeholder {
    color: var(--white);
    opacity: 1; /* Firefox */
  }
  
  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--white);
  }
  
  ::-ms-input-placeholder { /* Microsoft Edge */
    color: var(--white);
  }








.all_more, .all_less{
    flex: 1;
    border-bottom: 1px solid var(--black);
}

.total_more, .total_less{
    padding: 4px 4px 2px 4px;
    font-size: 16px;
}

.element_more{
    position: absolute;
    /* top: 20px; */
    left: 500px;
    padding-top: 5px;
    font-size: 14px;
    border-top: 2px solid var(--realwhite);
    width: 200px;
    cursor: move;
}

.element_txt_more{
    position: relative;
    border-bottom: 1px solid var(--black);
}

.element_value_more{
    padding: 4px 10px;
    text-align: center;
    background-color: var(--realwhite);
    color: var(--white);
}

.exit_more{
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}


.window_typo{
    flex: 3;
    font-size: 20vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}


.typo_print{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "hmls";
    transition: all 300ms;
    font-size: 45vw;
    font-variation-settings: 'RICH' 50, "TACH" 0;
}

.total_all, .task_all{
    font-size: 16px;
    text-align: center;
    font-family: "suiss";
}

.total_all{
    margin-top: 50px;
}



.window_about{
    display: none;
}







@media screen and (max-width: 1650px){
    .header_title{
        font-size: 2vw;
    }
}

@media screen and (max-width: 1250px){
    body{
        font-size: 14px;
    }
}


.sorrybutnotsorry{
    display: none;
}

@media screen and (max-width: 1000px){
    .about_website, .about_typeface, .window_entries_new, .header_title{
        display: none;
    }

    header{
        width: calc(100% - 10px);
    }

    .sorrybutnotsorry{
        display: block;
        position: fixed;
        bottom: 15px;
        left: 5px;
        width: calc(100% - 10px);
        text-align: center;
        color: var(--realwhite);
        font-size: 10px;
    }

    .typo_print{
        animation: anim_portable infinite alternate 12s 4.5s ;
        font-size: 60vw;
    }
}



@keyframes anim_portable {
    0%{
        font-variation-settings: 'RICH' 50, "TACH" 0;
    }
    25%{
        font-variation-settings: 'RICH' 0, "TACH" 20;
    }
    50%{
        font-variation-settings: 'RICH' 40, "TACH" 60;
    }

    75%{
        font-variation-settings: 'RICH' 60, "TACH" 100;
    }

    100%{
        font-variation-settings: 'RICH' 100, "TACH" 70;
    }
}






