/* Global stil */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    color: #333;
}

<head>
  <link rel="stylesheet" href="style.css" />
  ...
</head>

/* Topplinje med FakeTube */
.topbar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 12px 0;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.logo-link {
    color: #ff0000;
    font-size: 28px;
    margin: 0 20px 0 0;
    font-weight: bold;
    text-decoration: none;
}

.logo-link:hover {
    text-decoration: underline;
}

/* Søkefelt */
.search-bar input {
    width: 400px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 16px;
    font-size: 16px;
}

/* Logg ut-knapp */
.logout {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 12px;
    background-color: #fafafa;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.logout:hover {
    background-color: #eee;
}

/* Innhold på home.html */
.content-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    padding-left: 32px;
    padding-top: 40px;
    background-color: transparent;
    overflow-y: auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 1000px;
}

.video-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.video-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.video-card img {
    width: 100%;
    height: 170px;
    display: block;
}

.video-info {
    padding: 10px;
}

.video-info h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
}

.video-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Skjema (index/login) */
.form-container {
    max-width: 400px;
    width: 90%;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
    margin: auto;
    margin-top: 100px;
}

input[type="text"], input[type="password"] {
    display: block;
    width: calc(100% - 32px);
    margin: 12px auto;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

input:focus {
    border-color: #007bff;
    outline: none;
}

button {
    width: calc(100% - 32px);
    margin: 12px auto;
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

button:hover {
    background-color: #0056b3;
}
