*,
*::before,
*::after {
box-sizing: border-box;
font-family: Arial;
color: #e8e6e3;
background-color: #131516;
}

body {
    margin: 0;
}

h3 {
    margin-top: 0;
    margin-bottom: 0;
}

button {
    color: #131516;
    cursor: pointer;
    background: #9900e6;
    background-image: -webkit-linear-gradient(top, #9900e6, #470099);
    background-image: -moz-linear-gradient(top, #9900e6, #470099);
    background-image: -ms-linear-gradient(top, #9900e6, #470099);
    background-image: -o-linear-gradient(top, #9900e6, #470099);
    background-image: linear-gradient(to bottom, #9900e6, #470099);
    -webkit-border-radius: 25;
    -moz-border-radius: 25;
    border-radius: 25px;
    font-weight: bold;
    font-size: largeT;
    padding: 10px 15px 10px 15px;
    border: solid #000000 2px;
}

button:hover {
    background: #000000;
    background-image: -webkit-linear-gradient(top, #000000, #8400ff);
    background-image: -moz-linear-gradient(top, #000000, #8400ff);
    background-image: -ms-linear-gradient(top, #000000, #8400ff);
    background-image: -o-linear-gradient(top, #000000, #8400ff);
    background-image: linear-gradient(to bottom, #000000, #8400ff);
    color: white;
}

.topNav {
    width: max-content;
    height: max-content;
    margin: 1px;
}

code {
    background-color: #b700ff;
    padding-inline: 5px;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    right: 25px;
    top: 25px;
    max-width: 600px;
    background-color: transparent;
}

.modal-content {
    padding: 20px 20px 0 20px;
    border: 1px solid #888;
    border-radius: 10px;
}

.flex-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modalText {
    margin-right: 10px;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #b700ff;
    border-radius: 20px 0 0 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
    animation: widthAnimation 5s linear forwards;
}

@keyframes widthAnimation {
    0% { width: 100%; }
    100% { width: 0%; }
}
