:root {
    --error: red;
    --nav-button: #7070ff;
}

* {
    padding: 0;
    margin: 0;
    font-family: Segoe UI, Tahoma, Geneva, sans-serif;
    font-size: 36px;
}

/* terug knop */
nav {
    margin: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.mainNav {
    margin-bottom: 10vh;
}

a {
    display: inline-flex;
    align-items: center;
    height: 7vh;
    width: 40vw;
    justify-content: center;
    font-size: 40px;
}

nav a {
    color: white;
    background-color: dodgerblue;
    border-radius: 15px;
    text-decoration: none;
    text-align: center;
}

/* eind terug knop */
h1 {
    text-align: center;
    font-size: 55px;
    padding: 40px 80px 60px 80px;
}

p {
    margin: 0;
}

.nav-style {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

.nav-text-style {
    font-size: 50px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 30px;
}

.mainForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8vh;
    margin-top: 17vh;
}

.mainForm .formItem {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mainForm label {
    font-size: 50px;
    font-weight: bold;
}

.mainForm input {
    height: 60px;
    width: 60vw;
    font-size: 40px;
    text-align: center;
    border: solid 2px black;
    border-radius: 50px;
    margin: 30px;
    padding: 20px;
}

.mainForm .button {
    height: 8vh;
    background-color: dodgerblue;
    border: none;
    color: white;
    font-size: 43px;
    position: absolute;
    top: 83vh;
}

.error {
    color: var(--error);
}

form {
    display: flex;
    flex-direction: column;
}

.calcP {
    margin-bottom: 20px;
}

.paper img {
    height: 150px;
    width: 255px;
}

.coin img {
    height: 150px;
    width: 150px;

}

.section-class {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 8vw;
    max-height: 60vh;
    overflow: scroll;
}

.paper,
.coin {
    text-align: center;
    align-content: center;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1000;
}

.modal {
    position: fixed;
    font-size: 50px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    width: 70vw;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff0000;
    border: none;
    font-size: 50px;
    cursor: pointer;
    color: white;
    padding: 30px 35px;
    margin: 20px;
    line-height: 1;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.close-btn:hover {
    color: #333;
}

.modal-content {
    text-align: center;
    padding: 10vh 0;
}

.modal-content h2 {
    font-size: 50px;
}

.calcMain {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.continueButton {
    background-color: dodgerblue;
    color: white;
    font-size: 40px;
    border-radius: 15px;
    height: 8vh;
    width: 40vw;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    text-decoration: none;
    position: absolute;
    top: 83vh;

}

.confirmHeader {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.confirmH1 {

    position: absolute;
    top: 37vh;
    text-align: center;
}

.confirmMain {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    height: 7vh;
    width: 40vw;
    justify-content: center;
    font-size: 40px;
    color: white;
    background-color: dodgerblue;
    border-radius: 15px;
    text-decoration: none;
    text-align: center;
    position: absolute;
    top: 83vh;
}

#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.denomination-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    justify-content: center;
}

.screen-reader-button-container {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 256px;
    height: 256px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.screen-reader-button {
    color: white;
    background-color: dodgerblue;
    height: 6vh;
    display: inline-flex;
    align-items: center;
}