@font-face {
    font-family: "Share Tech Mono";
    font-weight: 400;
    font-style: normal;
    src: url("./fonts/share-tech-mono-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: 'Gustatory Delight';
    src: url('./fonts/gustatorydelightregular-rgx3l-webfont.woff') format('woff');
}

@font-face {
    font-family: 'Veteran Typewriter';
    src: url('./fonts/veteran_typewriter-webfont.woff') format('woff');
}

@font-face {
    font-family: "Homemade Apple";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("./fonts/homemade-apple-latin-400-normal.woff2") format("woff2");
}

.icon {
    display: inline-block;
    width: 24px;              /* change as needed */
    height: 24px;
    background-color: currentColor;   /* icon color follows text color */
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;   /* Safari */
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}


.icon-manufacturing {
    mask-image: url("./icons/manufacturing.svg");
    -webkit-mask-image: url("./icons/manufacturing.svg");
}

.icon-export-notes {
    mask-image: url("./icons/export_notes.svg");
    -webkit-mask-image: url("./icons/export_notes.svg");
}

.icon-tv {
    mask-image: url("./icons/tv.svg");
    -webkit-mask-image: url("./icons/tv.svg");
}

.icon-power {
    mask-image: url("./icons/power_settings_new.svg");
    -webkit-mask-image: url("./icons/power_settings_new.svg");
}

.icon--down-1 { transform: translateY(0.12em); }

:root {
    --cl-color-green: #56bea1;
    --cl-color-white: #f1f1e4;
    --cl-color-red: #cc5353;
    --cl-font-family: "Share Tech Mono";
    --cl-text-color: #222222;
}

body {
    min-width: 1000px;
    width: auto !important;
    background-image: url("./images/sciandprog.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    font-family: var(--cl-font-family);
    color: var(--cl-text-color);
}

.section_header {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #222222;
}

.background_area {
    background-color: #978c7cf1;
    box-shadow: 5px 3px 3px #808080df;
    border-radius: 25px;
    margin-top: 50px;
    margin-left: 40px;
    margin-right: 40px;
    padding: 10px 20px 20px;
    height: max-content;
    position: relative;
}

.styled_textarea {
    padding: 10px;
    border-color: #222222;
    border-radius: 1px;
    border-style: none;
    background-color: var(--cl-color-white);
    font-family: var(--cl-font-family);
    color: #292929;
    font-size: 14px;
}

.styled_textarea:focus {
    box-shadow: 0px 0px 2px 0px #1e1e1e;
    outline: none;
}

.tv_frame {
    margin-top: 10px;
    margin-right: 20px;
    position: relative;
    border-radius: 7px;
    height: max-content;
    background-color: #222222
}

.cl_button {
    padding: 10px;
    border-radius: 1px;
    background-color: var(--cl-color-green);
    color: var(--cl-text-color);
    font-family: var(--cl-font-family);
    place-content: center;
    border-style: none;
}

.cl_button:hover {
    box-shadow: 0px 0px 2px 0px #1e1e1e;
}

.cl_button:enabled:active {
    transform: translateY(1px);
}

.cl_button:disabled {
    opacity: 0.5;
}

.cl_button_green {
    background-color: var(--cl-color-green);
}

.cl_button_white {
    background-color: var(--cl-color-white);
}

.cl_button_red {
    background-color: var(--cl-color-red);
}

.cl_checkbox {
    display: block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    width: 12%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.cl_checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #00000000;
    border-style: solid;
    border-width: 1px;
}

/* On mouse-over, add a grey background color */
.cl_checkbox:hover input ~ .checkmark {
    background-color: #00000000;
}

/* When the checkbox is checked, add a green background */
.cl_checkbox input:checked ~ .checkmark {
    background-color: var(--cl-color-green);
    border-style: none;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.cl_checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.cl_checkbox .checkmark:after {
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid var(--cl-text-color);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#comps_in {
    resize: none;
    width: 99%;
    float: left;
    background-image: url("./images/punchcard.png");
    background-repeat: repeat;
    background-size: 20%;
    caret: var(--cl-text-color) block; /* leave this for now */
}

#comps_out {
    resize: none;
    width: 47%;
    float: right;
    background-image: url("./images/punchcard.png");
    background-repeat: repeat;
    background-size: 50%;
}

#convert_button_box {
    
}

#button_convert {
    margin-top: 20px;
}

#button_clear {
    margin-top: 20px;
}

#button_save {
    float: right;
    margin-top: 20px;
}

#button_evaluate {
    float: right;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

#comp_header {
    
}

#cf_grid_container {
    margin-top: 20px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: auto;
    justify-items: center;
    opacity: 0;
}

.cf_report_paper {
    background: var(--cl-color-white);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    margin: auto 10px;
    padding: 24px;
    position: relative;
    width: 70%;
    z-index: 3;
    height: 1000px;
    overflow-y: auto;
}

.cf_report_paper_b1 {
    width: 70%;
    position: absolute;
    background: #f1f1e4;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    margin: auto 0px;
    transform: rotate(-1.5deg);
    z-index: 2;
    height: 1070px;
}

.cf_report_paper_b2 {
    width: 70%;
    position: absolute;
    background: #ddddd3ff;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    margin: auto 0px;
    transform: rotate(1.3deg);
    z-index: 1;
    height: 1070px;
}

.comp_disp_container {
    
    flex-direction: column;
    flex-wrap: wrap;
}

.empty_button {
    padding: 0px;
    margin: 0px;
    margin-right: 4px;
    background: #00000000;
    border: none;
    color: #666666;
}

.empty_button:hover {
    color: #999999;
}

.empty_button span {
    font-family: var(--cl-font-family);

}

.ost_disp_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.cf_present {
    font-family: "Veteran Typewriter";
}

.cf_signature {
    font-family: "Gustatory Delight";
    font-size: 60px;
}

@keyframes NOISEANIM {
    0% { background-position: 0 0 }
    100% { background-position: 100% 100%; }
}

.tv_div_off {
    left: -2000px;
}

#dimension_area_container {
    display: grid;
    grid-template-columns: auto;
    justify-content: center;
}

#dimension_area {
    background: url('./images/tv_screen.png') no-repeat;
    background-size: contain;
    background-color: transparent;
    padding: 47px 140px 155px 115px;
    margin-left: 20px;
}

#button_tv {
    margin-top: 10px;
    position: absolute;
    background-color: aliceblue;
    border-radius: 50%;
    border: none;
}

#button_tv:hover {
    box-shadow: 0 0 2px 2px #808080df;
}

#button_tv:active {
    transform: translateY(1px);
    box-shadow: none;
}

#net_vis {
    position: center;
}

#tv_noise {
    width: 500px;
    height: 375px;
    background: aliceblue url('./images/tv_noise.jpg') no-repeat;
    border-radius: 5%;
    position: absolute;
    z-index: 10;
    animation: NOISEANIM .5s steps(10) infinite;
}

#tv_blank {
    width: 500px;
    height: 375px;
    background-color: #3f4045;
    border-radius: 5%;
    position: absolute;
    z-index: 20;
}

#tv_blank:active {
    transform: translateY(1px);
    box-shadow: none;
}

#net_vis svg {
    background: url("./images/dim_background.jpg") no-repeat transparent;
    background-position: center;
    background-size: contain;
    border-radius: 5%;
}

#dimension_control {
    margin-top: 20px;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    justify-content: left;
    padding: 20px;
    border: 2px solid #808080ff;
    border-radius: 15px;
    background: #202020;
    box-shadow: 0 2px #161616ff;
}

.cl_button_dims_bg {
    margin-bottom: 2px;
    padding: 4px;
    border-radius: 50%;
    background-color: #9b9b9bff;
    font-family: var(--cl-font-family);
    place-content: center;
    border: 1px solid #6f6f6fff;
    box-shadow: 0 2px #545454ff;
}

.cl_button_dims {
    padding: 4px;
    border-radius: 50%;
    background-color: var(--cl-color-green);
    color: var(--cl-text-color);
    font-family: var(--cl-font-family);
    place-content: center;
    border: 1px solid #59c0a3ff;
    box-shadow: 0 2px #387262;
}

.cl_button_dims:hover {
    color: #c7c7bfff;
}

.cl_button_dims:active {
    transform: scale(0.9);
    box-shadow: none;
}

.cl_button_dims:disabled {
    opacity: 0.5;
}



/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}
/*
#uf_vis svg {
    background: url("./images/space.png") no-repeat transparent;
    background-position: center;
    background-size: contain;
    border-radius: 5%;
}
*/









/* Modal Content */
.modal-content {
    position: fixed;
    bottom: 0;
    background-color: var(--cl-color-white);
    width: 100%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
}

.modal-header {
    padding: 2px 16px;
    background-color: var(--cl-color-red);
    color: var(--cl-text-color);
}

.modal-body {
    padding: 8px 16px;
}

/* The Close Button */
.close_modal {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close_modal:hover,
.close_modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Add Animation */
@-webkit-keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}
