:root {
    --main-background: #1e1e1e;
    --first-box-shadow: #363636;
    --second-box-shadow: #1a1a1a;
    --inside-box-shadow-one: #131313;
    --inside-box-shadow-two: #242424;
    --txt-color: white;
    --bttn-color: black;
    --modal-color: #292929;
    --decrypt-color: rgb(119, 119, 255);
    --date-color: rgb(139, 139, 139);
}

[data-theme='light'] {
    --main-background: #e0e0e0;
    --first-box-shadow: #bebebe;
    --second-box-shadow: #ffffff;
    --inside-box-shadow-one: #cbced1;
    --inside-box-shadow-two: #ffffff;
    --txt-color: black;
    --bttn-color: white;
    --modal-color: #b3b3b3;
    --decrypt-color: blue;
    --date-color: rgb(104, 104, 104);
}

html, body {
	position: relative;
	width: 100%;
	height: 100%;
    background-color: var(--main-background);
    color: var(--txt-color);
}

body {
	margin: 0;
	box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

@media only screen and (max-width: 800px) {
    body {
        padding: 1rem;
    }
}

a {
	color: rgb(0,100,200);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: rgb(0,80,160);
}

label {
	display: block;
}

button {
    width: 140px;
    height: 45px;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    color: var(--txt-color);
    background-color: var(--bttn-color);
    border: none;
    border-radius: 45px;
    box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
}

button:hover {
    color: var(--txt-color);
    transform: translateY(-7px);
}

input:not(.override) {
    display: flex;
    justify-content: center;
    border-radius: 25px;
    box-shadow: inset 8px 8px 8px var(--inside-box-shadow-one),
        inset -8px -8px 8px var(--inside-box-shadow-two);
    border: none;
    outline: none;
    background: none;
    font-size: 18px;
    padding: 20px 10px 20px 5px;
    color: var(--txt-color);
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
}

input:disabled {
	color: #ccc;
}

h2 {
    font-weight: normal;
}

.danger {
    background-color: rgb(206, 0, 0);
}

/* The Modal (background) */
.dialog__modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
}

/* Modal Content */
.dialog__content {
    background-color: var(--modal-color);
    margin: auto;
    padding: 1rem;

    max-width: 40rem;
    width: fit-content;
    border-radius: 10px;

    color: var(--txt-color);
    margin-top: 20%;
    text-align: center;
}

@media screen and (max-width: 800px) {
    .dialog__content {
        width: 90%;
    }   
}