/* Global styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Centrerer horisontalt */
    align-items: flex-start;  /* Justeret til at starte fra toppen */
    min-height: 100vh;        /* Brug min-height for at sikre, at body'en fylder hele skærmen */
}

.container {
    max-width: 800px;
    width: 100%; /* Gør containeren responsiv */
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1, h2, h3, h4 {
    color: #333;
    margin-bottom: 20px;
}

p, a {
    margin-top: 10px;
}

a {
    color: #5c85d6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Background images for the left and right side */
.background-left, .background-right {
    position: fixed;
    top: 0;
    width: 150px;
    height: 100vh;
    background-size: contain;
    background-repeat: repeat-y;
    z-index: 1;
}

.background-left {
    left: 0;
    background-image: url('Hans-og-theodor.png');
}

.background-right {
    right: 0;
    background-image: url('Hans-og-theodor.png');
}

/* Form styles */
form, .form-container, .form-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

input[type="text"], input[type="password"], input[type="email"], input[type="file"], button {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #5c85d6;
    color: white;
    cursor: pointer;
    border: none;
}

button:hover {
    background-color: #4b6fb1;
}

input[type="text"], input[type="password"], input[type="email"], input[type="file"] {
    box-sizing: border-box;
}

input[type="file"] {
    border: none;
}

/* User approval box */
.user-approval {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
}

/* Pagination styles */
.pagination {
    margin: 20px 0;
}

.pagination a {
    margin: 0 5px;
    padding: 10px 15px;
    background: #5cb85c;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.pagination a:hover {
    background: #4cae4c;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: black;
    text-decoration: none;
}

/* Special button */
#special-knap {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #333;
    font-size: 18px;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#special-knap:hover {
    color: #007BFF;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 5px;
}

#special-knap i {
    margin: 0;
}

/* Reset styles for 'no-style' class */
.no-style {
    border: none;
    margin: 0;
    padding: 0;
    background: none;
}

.no-style select, .no-style input, .no-style button {
    font: inherit;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: inherit;
}

.no-style select {
    cursor: pointer;
    background-color: white;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
    width: auto;
    min-width: 100px;
}

.no-style button {
    cursor: pointer;
    background-color: transparent;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Flexbox grid for videos */
.videos {
    display: flex;
    flex-wrap: wrap;
}

.video-item {
    background: #e9e9e9;
    padding: 10px;
    margin: 10px;
    border-radius: 4px;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
}
