/* General */
* {
    box-sizing: border-box;
}

/* BODY */
body {
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column-reverse;

    background-color: #F2F2F2;

    font-family: 'Poppins', sans-serif;
}


/* Header */
header {
    bottom: 0;

    height: 90px;
    width: 100%;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    background-color: #F2F2F2;
    position: fixed;
}
/* Navbar */
nav {
    display: flex;

    justify-content: center;
    align-items: center;

    height: 50px;
    width: 280px;

    background-color: #E8E8E8;

    border-radius: 10px;

    z-index: 100;
}
/* ul */
ul {
    height: 30px;
    width: 260px;

    display: flex;

    justify-content: space-between;

    margin: 0;
    padding: 0;
}
/* li */
li {
    list-style: none;

    margin: 0;
    padding: 0;
}
li > a > img {
    height: 30px;
    width: 30px;

    color: #333333;
}


/* Main */
/* Container */
.container {
    height: calc(100vh - 90px);
    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;

    color: #333333;
}
/* Titles */
h1 {
    height: 20px;
    width: 100%;

    margin-top: 0;
    margin-bottom: 24px;

    font-size: 20px;
    font-weight: 700;
}
h3 {
    height: 20px;
    width: 100%;

    font-size: 16px;
    font-weight: 500;
}
h3#introduction {
    margin-top: 50px;
    margin-bottom: 6px;
}
h3#desc {
    height: 40px;
    width: 260px;
}
h4 {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

/* Paragraph */
p {
    font-size: 12px;
    color: #666666;
}

/* Stats container */
.stats-container {
    height: calc(100vh - 274px);
    width: 280px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    padding-bottom: 50px;

    gap: 20px;
}
.stat {
    width: 280px;

    display: flex;
    flex-direction: row;

    justify-content: space-between;
    align-items: center;
}
.stat-nums {
    display: flex;
    flex-direction: row;

    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

/* Slider */
.slider {
    -webkit-appearance: none;

    height: 2px;
    
    background-color: #333333;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;

    width: 14px; 
    height: 14px;
    
    background-color: #824100; 
    
    border-radius: 50%; 
    
    cursor: pointer;
}
.slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    
    background-color: #824100;
    
    border-radius: 50%;
    
    cursor: pointer;
}

/* Button container */
.button-container {
    position: fixed;

    bottom: 90px;

    height: 50px;
    width: 100%;

    display: flex;

    justify-content: center;
    align-items: end;
}
.button-container > button {
    background-color: #824100;
    color: white;

    height: 30px;
    width: 280px;

    border: 0;
    border-radius: 10px;

    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);

    cursor: pointer;
    transition: all 0.1s ease;
}
.button-container > button:hover {
    background-color: #582c00;
}
.button-container > button:active {
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2); 
    transform: translateY(2px); 
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;

    top: 0;
    left: 0;
    
    width: 100%;
    height: 100%;
    
    background-color: rgba(0, 0, 0, 0.25); 
    
    z-index: 999; 
    
    display: none; 
}
/* Popup Notification */
.popup-notification {
    position: fixed;

    top: 50%;
    left: 50%;
    
    transform: translate(-50%, -50%);
    
    width: 280px;
    
    padding: 15px;
    
    text-align: center;

    color: #ffffff;
    background-color: #F2F2F2;

    display: none;
    flex-direction: column;

    justify-content: center;

    gap: 12px;

    border-radius: 10px;

    font-family: 'Poppins', sans-serif;

    z-index: 1000;
}
.popup-notification > h3 {
    color: #333333;

    text-align: left;
    font-size: 18px;

    margin-top: 10px;
    margin-bottom: 0;

    font-weight: bold;
}
.popup-notification > p {
    text-align: left;

    font-size: 14px;

    margin-bottom: 12px;
}
.popup-notification.failure > p {
    margin-bottom: 12px;
}

/* Success Styling */
.popup-notification.success > h3 {
    color: #2cb403;
}
/* Failure Styling */
.popup-notification.failure  > h3 {
    color: #b40303;
}
/* Retry Button Styling */
#retryButton {
    padding: 10px 20px;

    color: #ffffff;
    background-color: #721c24;
    
    border: none;
    border-radius: 5px;
    
    cursor: pointer;
    
    font-size: 14px;
}
#retryButton:hover {
    background-color: #501418;
}

/* Confirm Button Styling */
#confirmButton {
    padding: 10px 20px;

    color: #ffffff;
    background-color: #1c7220;
    
    border: none;
    border-radius: 5px;
    
    cursor: pointer;
    
    font-size: 14px;
}
#confirmButton:hover {
    background-color: #14501f;
}

/* Animation */
.show {
    display: flex;
    opacity: 1;
}
.show-overlay {
    display: block; 
}
