/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #181818; /* Dark background */
    color: #FFFFFF;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #202020;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333333;
}

header h1 {
    font-size: 24px;
    color: #FF0000; /* YouTube red */
    margin: 0;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 14px;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #FF0000;
}

/* Tutorial Grid */
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

/* Tutorial Card */
.tutorial-card {
    background-color: #202020;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 325px;
    height: 250px;
    margin: auto;
}

.tutorial-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

/* Video and Image Styles */
.tutorial-thumbnail {
    width: 325px;
    height: 183px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #333333;
}

.tutorial-thumbnail iframe {
    width: 100%;
    height: 100%;
    pointer-events: none; /* Prevent user interaction unless hovered */
}

.tutorial-thumbnail iframe:hover {
    pointer-events: auto; /* Enable interaction when hovered */
}

.tutorial-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fit the area */
    border-radius: 0;
}

/* Tutorial Info */
.tutorial-info {
    padding: 10px;
}

.tutorial-info h3 {
    font-size: 14px;
    margin: 0 0 5px 0;
    color: #FFFFFF;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tutorial-info p {
    margin: 5px 0;
    font-size: 12px;
    color: #BBBBBB;
}

.tutorial-info .views,
.tutorial-info .author,
.tutorial-info .date {
    font-size: 12px;
}

/* Action Buttons */
.tutorial-info a,
.tutorial-info button {
    margin-top: 10px;
    padding: 5px 10px;
    font-size: 12px;
    color: #FFFFFF;
    background-color: #FF0000;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.tutorial-info a:hover,
.tutorial-info button:hover {
    background-color: #E60000;
}

/* Pagination */
.pagination {
    margin: 20px 0;
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background-color: #202020;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.pagination a.active {
    background-color: #FF0000;
    font-weight: bold;
}

.pagination a:hover {
    background-color: #E60000;
}

/* Signup Page Styling */
.signup-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 25px;
    background: #222;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 255, 153, 0.3);
    border: 2px solid #00ff99;
}

.signup-container h2 {
    color: #00ff99;
    margin-bottom: 10px;
}

.signup-container p {
    color: #ccc;
    font-size: 16px;
}

/* Centering Form Inputs */
.signup-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Input Fields - Rounded */
.signup-container input {
    width: 90%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #444;
    background: #333;
    color: white;
    border-radius: 8px;
    outline: none;
    text-align: center;
}

/* Submit Button */
.signup-container button {
    width: 100%;
    background: #00ff99;
    color: black;
    padding: 12px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s ease;
}

.signup-container button:hover {
    background: #00cc77;
}

/* Error Message */
.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Login Link */
.signup-container a {
    color: #00ff99;
    text-decoration: none;
}

.signup-container a:hover {
    text-decoration: underline;
}

/* Input Group - Adds Line & Icon */
.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    width: 100%;
}

/* Input Labels with Decorative Lines */
.input-label {
    font-size: 14px;
    font-weight: bold;
    color: #00ff99;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 5px;
}

/* Lines Before & After Label */
.input-label .line {
    flex-grow: 1;
    height: 1px;
    background: #00ff99;
    opacity: 0.5;
}

/* Input Fields - Rounded */
.signup-container input {
    width: 90%;
    padding: 12px;
    border: 1px solid #444;
    background: #333;
    color: white;
    border-radius: 8px;
    outline: none;
    text-align: center;
}

/* Roadmap Page Styling */
.roadmap-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background-color: #2c2c2c;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    border: 2px solid #00ff99;
    box-shadow: 0px 0px 10px rgba(0, 255, 153, 0.4);
}

.roadmap-container h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.roadmap-subtitle {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 20px;
}

.roadmap-section {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #1e1e1e;
    border-radius: 6px;
    box-shadow: 0px 0px 8px rgba(0, 255, 153, 0.2);
}

.roadmap-section h2 {
    font-size: 24px;
    color: #00ff99;
    margin-bottom: 10px;
}

.roadmap-list {
    list-style: none;
    padding: 0;
}

.roadmap-list li {
    font-size: 18px;
    margin: 8px 0;
    padding: 8px;
    background-color: #333;
    border-radius: 5px;
    transition: background 0.3s;
}

.roadmap-list li:hover {
    background-color: #444;
}

.button-container {
    margin-top: 20px;
}

.roadmap-button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #00ff99;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.roadmap-button:hover {
    background-color: #00cc77;
}

