/* Global styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Header styling */
header {
    background-color: #fdf4e3;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    color: #cd7f32;
    font-size: 2.5rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

header p {
    color: #555;
    font-size: 1.2rem;
    text-align: center;
    margin: 0;
}

/* Card container */
.card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Buttons */
button,
.btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0073e6;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover,
.btn:hover {
    background-color: #005bb5;
    transform: scale(1.05);
}

button:active,
.btn:active {
    transform: scale(1);
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

th,
td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
}

/* Forms */
form {
    margin: 20px 0;
}

input[type="text"],
input[type="number"],
input[type="range"],
select {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    margin-bottom: 10px;
}

input:focus {
    border-color: #0073e6;
    box-shadow: 0 0 5px rgba(0, 115, 230, 0.5);
}

/* Progress bars */
.progress-bar {
    background-color: #f4f4f4;
    border-radius: 5px;
    height: 20px;
    margin: 10px 0;
    overflow: hidden;
    position: relative;
}

.progress-bar .progress {
    height: 100%;
    border-radius: 5px;
    transition: width 0.4s ease;
}

.progress-bar .progress.red {
    background-color: #dc3545;
}

.progress-bar .progress.orange {
    background-color: #fd7e14;
}

.progress-bar .progress.green {
    background-color: #28a745;
}

.progress-bar .progress.gold {
    background-color: #cd7f32;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .card {
        padding: 15px;
    }

    table {
        font-size: 12px;
    }
}
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Mellomrom mellom knappene */
}

.custom-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: white; /* Hvit tekst */
    background: linear-gradient(45deg, #4caf50, #388e3c); /* Grønn gradient */
    border-radius: 50px; /* Runde kanter */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Skygge for dybde */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Myk hover-effekt */
}

.custom-button:hover {
    transform: scale(1.05); /* Liten zoom-effekt ved hover */
    background: linear-gradient(45deg, #388e3c, #2e7d32); /* Mørkere grønn ved hover */
}

.custom-button:active {
    transform: scale(0.95); /* Trykkeffekt */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Redusert skygge */
}


