@import url('https://fonts.googleapis.com/css2?family=Bitcount+Grid+Single:wght@100..900&family=Lexend:wght@100..900&display=swap');

@import url('');

@keyframes changingShadowColor {
    0% {
        text-shadow: var(--shapes_both_shapes_and_texts_color_begin);
    }
    100% {
        text-shadow: var(--shapes_both_shapes_and_texts_color_end);
    }
}
.material-symbols-outlined {
    font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}

#biotech {
    font-size: 18px;
}
#hearing_aid {
    font-size: 15px;
}
#cognition {
    font-size: 18px;
}

:root {
    --radius: 15px;
    --brg: var(--radius);
    --bry: var(--radius);
    --bro: var(--radius);
    --brr: var(--radius);

    --width: 75px;
    --height: 75px;
    --width_inside: --width/2;
    --margin_bottom: 5px;
    --text_color: #FDFDFD;
    --shape_color: var(--text_color);
    --border_color_cubes: #222;
    --divide_circle_square: calc(7);

    --secondsWallpaper: 5s;
    --changingColor: #000;

    --shapes_both_shapes_and_texts_color_begin: 0px 0px 2.5px rgb(255, 255, 255);
    --shapes_shadow: var(--shapes_both_shapes_and_texts_color_begin);
    --shapes_text_shadow: var(--shapes_both_shapes_and_texts);

    --tile_transition: all 0.3s ease;
    --tile_hover: scale(1.1);
}

body {

    background-color: #222;

    animation: changingWallpaper var(--secondsWallpaper) ease-in-out infinite;

    /*background-color: #bc3496;*/
}
@keyframes TitleLoad {
    0% {
        transform: translate(0px, -200px);
    }
    100% {
        transform: translate(0px, 0px);
    }
}
@keyframes Checkbox {
    0% {
        transform: translate(-200px, 0px);
    }
}
@keyframes Tiles {
    0% {
        background-color: transparent;
        color: transparent;
        box-shadow: none;
        border: none;
        text-shadow: none;
    }
}


#mainTitle {
    text-align: center;
    font-family: "Bitcount Grid Single", system-ui;
    color: rgb(253 253 253);
    font-size: 56px;
    margin-bottom: 0px;
    animation: TitleLoad 2s none;
}

#helper {
    animation-name: Checkbox;
    animation-duration: 1.5s;
}

#miguel-checkbox {
    size: 12px;
}

.grid {
    display: grid;
    grid-template-columns:repeat(7, var(--width));
    grid-template-rows: repeat(7, var(--height));
    grid-gap: 10px;
    justify-content: center;
}

.numbers {
    text-align: center;
    font-family: monospace;
    color: #222;
}

#account, #balance, #deleteMemory > p, #bottom {
    animation-name: Tiles;
    animation-duration: 3s;
}

#helper {
    background-color: black;
}

#account {
    font-family: 'Bitcount Grid Single', system-ui;
    text-align: center;
    color: #FDFDFD;
}

#payment {
    margin-top: 5px;
    margin: 0 auto;
    width: 250px;
}

#paybtn {
    margin-left: 10px;
}

#balance {
    /*color: rgb(94, 170, 104);*/
    font-family: "Chokokutai", system-ui;
    font-weight: bold;
    font-size: 36px;
    text-align: center;
    transition: color .8s linear;
}

.inside {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    align-items: self-start;
}

.inside > div {
    margin-left: 10px;
}

.circle, .triangle, .square {
    display: flex;
    color: #FDFDFD;
    font-family: 'Bitcount Grid Single', system-ui;
    align-items: center;
}

.circle, .triangle, .square > span {
    animation-name: Tiles;
    animation-duration: 3s;
}

.triangle, .square {
    margin-top: 5px;
    gap: 25px;
}

.circle {
    margin-top: 5px;
    grid-column: 1;
    grid-row: 1;

    
    align-items: center;
    gap: 22.5px;
}

.triangle {
    grid-column: 1;
    grid-row: 2;
}

.square {
    grid-column: 1;
    grid-row: 3;
}

.cube-green, .cube-yellow, .cube-orange, .cube-red {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--brg);
    width: var(--width);
    height: var(--height);
    box-shadow: -2px 2px 5px inset;
    transition: var(--tile_transition);

    animation-name: Tiles;
    animation-duration: 3s;

}

.cube-green:hover, .cube-yellow:hover, .cube-orange:hover, .cube-red:hover {
    transform: var(--tile_hover);
}

.cube-green {
    background-color: #345635;
}

.cube-yellow {
    background-color: #bea683;
}
.cube-orange {
    background-color: #956230;
}

.cube-red {
    background-color: #D5AA9F;
}

/*Shapes*/
/*.circle {
    flex: 1;
    width: calc(var(--width) / 7);
    height: calc(var(--height) / 7);
    color: #fff;
}

.circle-text {
    color: var(--text_color);
    margin-left: 30px;
    text-shadow: var(--shapes_text_shadow);
}

.triangle {
    width: 10px;
    height: 10px;
    border-left: calc(var(--width) / (var(--divide_circle_square) * 2)) solid transparent;
    border-right: calc(var(--width) / (var(--divide_circle_square) * 2)) solid transparent;
    border-bottom: calc(var(--height) / (var(--divide_circle_square) + .5)) solid var(--shape_color);
    margin-top: 5px;
    background-size: cover;
    color: #fff;
}

.triangle-text {
    color: var(--text_color);
    margin-left: 30px;
    text-shadow: var(--shapes_text_shadow);
}

.square {
    width: calc(var(--width) / var(--divide_circle_square));
    height: calc(var(--height) / var(--divide_circle_square));
    margin-right: 2.5px;
    margin-top: 10px;
    background-size: cover;
    color: #fff;
}

.square-text {
    color: var(--text_color);
    margin-left: 30px;
    text-shadow: var(--shapes_text_shadow);
}*/

.textbox {
    width: 20px;
    height: 20px;
    /*border: 1px solid pink;*/
}

#bottom {
    display: flex;
    width: 580px;
    height: 75px;
    justify-content: center;
    align-items: center;
}

#deleteMemory {
    display: flex;

    padding: 10px;
    box-shadow: -2px 2px 5px inset;

    border: .5px solid #333;
    border-radius: var(--radius);
    width: 200px;
    font-family: 'Bitcount Grid Single', system-ui;
    
    background-color: #222;

    height: 25px;
    align-items: center;
    justify-content: center;
}
#deleteMemory > p {
    color: #FDFDFD;
}

#dialogFredrik {
    font-family: 'Bitcount Grid Single', system-ui;
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.772);
    color: #222;

    padding: 10px;
    margin: 100px;

    text-align: center;

    backdrop-filter: blur(8px);

    inset: 0.5rem;
    margin: auto;
}

#dialogFredrik::backdrop {
    backdrop-filter: blur(8px);
}

#dialogFredrik > p {
    font-size: medium;
}

/*Fredrik.png input*/
#file {
    display: none;
}

#file + span {
    color: blue;
}