@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

html {
  	scroll-behavior: smooth;
}

body {
	font-family: 'Quicksand', sans-serif;
	font-size: 14px;
    min-height: 100vh;
	color: #000000;
    max-width: 60%;
    margin: auto;
    /* CSS Source: https://css-tricks.com/stripes-css/ */
    background: repeating-linear-gradient(
        45deg,
        #e9fdd1,
        #e9fdd1 80px,
        #ffffff 80px,
        #ffffff 160px
    );
}

#error_box {
  color: red;
  visibility: hidden;
}

#error_box::before {
  content: "Error: ";
}

header {
	display: flex;
	margin-top: 36px;
	height: fit-content;
	justify-content: flex-end;
}

header #title {
	color: black;
    font-family: 'Titillium Web', sans-serif;
	text-decoration: none;
	margin: 0px;
	width: 100%;
	font-size: 5em;
	text-align: center;
}

#user_display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: fit-content;
    height: fit-content;
    border: 2px solid #0b420d;
    border-radius: 10px;
    padding: 0px 10px;
    background: #fff;
    font-weight: 600;
    font-size: 1.25em;
    margin: 1.5em 0 0 0;
}

#user_text {
    margin: 0px 20px 0px 0px;
}

.btn {
    margin: 10px 0;
    padding: 10px;
    font-family: inherit;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: 2px solid #0b420d;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    transition: 0.2s;
    background-color: #0b420d;
    font-weight: bold;
}

.btn:disabled {
    opacity: 0.5;
    background-color: #8e8989;
    cursor: not-allowed;
}

.btn:disabled:hover {
    background-color: #8e8989;
    font-weight: normal;
    transition: none;
}

.icon {
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
    background-color: #4CAF50;
    border: solid 2px #0b420d;
    border-radius: 5px;
    margin: 0.5em;
    cursor: pointer;
}

.icon:hover {
    transition: transform 0.2s;
    transform: scale(1.1);
}

.icon:disabled {
    opacity: 0.5;
    background-color: #8e8989;
    border-color: #3e3939;
    cursor: not-allowed;
}

.icon:disabled:hover {
    background-color: #8e8989;
    border-color: #3e3939;
    font-weight: normal;
    transition: none;
    transform: none;
}

.section_header {
    font-weight: 600;
    font-size: 1.5em;
    margin: 0 0 0.75em;
}

footer {
	margin: 20px;
	text-align: center;
}
