@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;700&family=Press+Start+2P&family=Ubuntu+Condensed&display=swap');

:root {
    --index-backgound: rgb(15, 32, 64);
    --color1: rgb(21, 50, 115);
    --color2: #3271ab;
    --color3: rgb(114, 211, 255);
    --color4: #3560b1;

    --color5: rgb(1, 21, 38);
    --color6: rgb(2, 72, 115);
    --color7: rgb(2, 83, 115);
    --color8: rgb(115, 198, 217);
    --color9: rgb(191, 78, 78);

    --color10: rgb(2, 6, 89);
    --color11: rgb(201, 203, 242);
    --color12: rgb(174, 185, 242);
    --color13: rgb(9, 166, 3);
    --color14: rgb(191, 242, 5);



    --font-title: 'Press Start 2P', cursive;
    --font-content: 'Oswald', sans-serif;
    --font-other: 'Ubuntu Condensed', sans-serif;
}

* {
    /* border: red 1px solid; */
}

header {
    background-color: var(--index-backgound);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 1em;
    height: 10vh;
}

body {
    background-color: var(--index-backgound);
    margin: 0;
    padding: 0;
}

main {
    font-family: 'Oswald', sans-serif;
    min-height: 50vh;
}

/* nav */
body {
    font-family: "Poppins", sans-serif;
}

.container {
    max-width: 1050px;
    width: 90%;
    margin: auto;
}

.navbar {
    width: 100%;
    box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
}

.nav-container {
    display: block;
    position: absolute;
    height: 10vh;
}

.navbar .menu-items {
    display: flex;
}

.navbar .nav-container li {
    list-style: none;
}

.menu-items ul {
    padding: 0;
}

.second-ul {
    margin-top: -2vh;
}

.second-li {
    font-size: 1.1rem;
    color: var(--color3);
    margin-top: -3vh;
}

.navbar .nav-container a {
    text-decoration: none;
    color: aliceblue;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.7rem;
}

.navbar .nav-container a:hover {
    font-weight: bolder;
}

.nav-container {
    display: block;
    position: relative;
    height: 10vh;
}

.nav-container .checkbox {
    position: relative;
    display: block;
    height: 32px;
    width: 32px;
    z-index: 7;
    opacity: 0;
    cursor: pointer;
    left: -8vw;
    top: 3vh;
}

.nav-container .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 3vh;
    left: -7.5vw;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: aliceblue;
}

.nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}

.navbar .menu-items {
    padding-top: 10vh;
    box-shadow: inset 0 0 30vw rgb(114, 211, 255);
    height: 60vh;
    width: 20vw;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
    text-align: center;
    position: fixed;
    top: calc(10vh + 2em);
    left: 0;
    z-index: 3;
}

.navbar .menu-items li {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.logo-container {
    position: relative;
    font-size: 1.2rem;
    color: #0e2431;
    top: -4vh;
    left: 60vw;
    width: fit-content;
}

#logo {
    width: auto;
    height: 7vh;
}

.nav-container input[type="checkbox"]:checked~.menu-items {
    transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked~.hamburger-lines .line1 {
    transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked~.hamburger-lines .line2 {
    transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked~.hamburger-lines .line3 {
    transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked~.logo-container {
    display: none;
}


/* footer */
footer {
    position: relative;
    color: aliceblue;
    margin-top: 10vh;
    text-align: center;
    font-family: var(--font-other);
}

footer span {
    display: flex;
    justify-content: center;
}

footer span a {
    font-size: 3rem;
    padding: 6px 12px;
    color: #000;
    border-radius: 50%;
    margin: 0px 5px;
    text-align: center;
}

footer span .github {
    color: white;
}

footer span .github:hover {
    color: var(--color6);
    background-color: white;
}

footer span .linkedin {
    color: white;
}

footer span .linkedin:hover {
    color: var(--color6);
    background-color: white;
}

/* Chart */
#chart {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bar {
    fill: var(--color8);
    /* margin: 5px; */
}
.line {
    stroke: var(--color8);
    fill: none;
    /* margin: 5px; */
}
.x-text {
    color: var(--color8);
    font-size: 1.2rem;
    font-family: var(--font-other);
}

.y-text {
    color: var(--color8);
    font-size: 1.2rem;
    font-family: var(--font-other);

}

#receipt-title {
    text-align: center;
    font-size: 1.5rem;
    color: white;
    text-shadow: 4px 4px var(--color2), 8px 8px var(--color4);
    font-weight: bold;
    font-family: var(--font-title);
    margin-top: 1.5rem;
}

/* drop down */
#choose {
    justify-content: space-evenly;
    align-items: center;
    color: white;
    font-family: var(--font-other);
    font-size: 1.5rem;
    display: flex;
    width: 50vw;
    margin-top: 2rem;
    margin-right: auto;
    margin-bottom: 1rem;
    margin-left: auto;
}
fieldset{
    border-style: none;
}