html {
    scroll-behavior: smooth;
}

/* Gesamte Webseite */

body {
    background-color: #0f1117;
    color: white;

    font-family: Arial, sans-serif;

    margin: 0;
    padding: 0;
}   
/* Kopfteil */

header {

    display: flex;
    position: relative;
    overflow: hidden;

    justify-content: space-between;

    align-items: center;

    padding: 20px 50px;

    background-image:url(Images/Unlockedd-Black.jpeg);
    Background-size: 45%;
    background-position: center;


}
nav a {

    color: rgba(255, 255, 255, 0.916);

    text-decoration: none;

    margin-left: 55px;

    transition: 0.3s;

    z-index: 2;
    position: relative;
}

header::before
{
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(9, 9, 9, 0.85);
    height: 120px;

    z-index: 1;
}

#hero {
    position: relative;


    height: 420px;
    padding: 100px;

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

    text-align: center;


    overflow: visible;
}

.slide-text h2 {
    font-size: 36px;
    margin: 10px 0;
}

.slide {

    color: rgb(234, 240, 238);

    display: none;
    cursor: pointer;

    width: 100%;
    height: 500px;
    max-width: 90%;

    padding: 40px;

    border-radius: 20px;
    
    text-decoration: none;



    box-shadow: 0 0 25px rgba(0,0,0,0.8);
}

.slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-button {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);
    transition: all 0.25s ease;

    background: rgba(255, 255, 255, 0.15);
    color: rgb(255, 255, 255);


    border: 1px solid rgba(255, 255, 255, 0.3);

    width: 50px;
    height: 70px;

    border-radius: 12px;

    font-size: 32px;

    cursor: pointer;
}

.slider-button:hover {

    background: rgba(255,255,255,0.12);

    transform: translateY(-50%) scale(1.03);

    box-shadow: 0 0 15px rgba(255,255,255,0.15);
}

.left-button {
    left: 60px;
    z-index: 2;
}

.right-button {
    right: 60px;
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    height: 100%;
    gap: 40px;
}
.slide-text {
    width: 50%;
}

.slide-image {
    width: 50%;
    height: 200px;


    border-radius: 15px;

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

    color: #888;
}

.skilltree-slide {

   background-image: url("Images/Skilltree.png");
    background-size: cover;
    background-position: center;
}

.skilltree-slide::before {

    content: "";

    position: absolute;

    inset: 0;

   background: rgba(0, 0, 0, 0.25
);

    z-index: 1;
}

.skilltree-slide .slide-content {

    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: flex-end;
    padding:  80px;

    position: relative;

    z-index: 2;

}

.skilltree-slide .slide-text {
    width: 420px;
    max-width: 420px;
    text-align: left; 
    font-size: 28px;
    margin: 0 0 20px;
}   

.slide-description {
    font-size: 18px;
    line-height: 1.4;
}

.news-slide {
    background-image: url("Images/News-epic.png");
    background-size: cover;
    background-position: center;
}

.news-slide .slide-content {
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: translateY(60px);
}

.news-slide .slide-text {
    width: 500px;
    margin: 0 auto;
}

.news-slide h2 {
    font-size: 72px;
    letter-spacing: 4px;
}

.news-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

.news-slide .slide-content {
    position: relative;
    z-index: 2;
}

/* MYSKILLS SLIDE */

.myskills-slide {
    position: relative;

    background-image: url("Images/Skilltree.png");
    background-size: cover;
    background-position: center;

    overflow: hidden;
}

.myskills-slide::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(0, 207, 255, 0.18),
            rgba(0, 0, 0, 0.82)
        );

    backdrop-filter: blur(2px);

    z-index: 1;
}

.myskills-slide .slide-content {
    position: relative;
    z-index: 3;

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

    padding-left: 80px;
}

.myskills-slide .slide-text {
    width: 520px;
    text-align: left;
}

.myskills-slide .slide-tag {
    color: #00cfff;
}

.myskills-slide h2 {
    font-size: 46px;
    line-height: 1.05;
}

.myskills-slide-lock {
    position: absolute;

    right: 90px;
    top: 50%;

    transform: translateY(-50%);

    z-index: 3;

    font-size: 90px;

    opacity: 0.9;

    text-shadow:
        0 0 20px rgba(0, 207, 255, 0.9),
        0 0 50px rgba(0, 207, 255, 0.45);
}

/* MYSKILLS FINAL LOOK */

<div class="slide myskills-slide" data-link="myskills.html">

    <div class="myskills-slide-lock">🔒</div>

    <div class="slide-content">

        <div class="slide-text">
            <p class="slide-tag">COMING SOON</p>

            <h2>Create your own skill network.</h2>

            <p class="slide-description">
                Track your personal progress and unlock your own path.
            </p>
        </div>

    </div>

</div>

/*
.slide-preview {
    position: absolute;
    inset: 0;

    z-index: 0;

    opacity: 0.55;
    pointer-events: none;

    overflow: hidden;
}
*/

/*
.slide-preview iframe {

    width: 100%;
    height: 100%;

    border: none;

    opacity: 1;
}
*/

#ideas {
    padding-bottom: 150px;
}

#ideas h2 {
    font-size: 42px;
    margin-bottom: 50px;
    letter-spacing: 3px;
}

.challenge-form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.challenge-input-container {
    width: 900px;
    max-width: 70vw;

    padding: 25px;

    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(0,207,255,0.7);

    clip-path: polygon(
        5% 0%,
        95% 0%,
        100% 50%,
        95% 100%,
        5% 100%,
        0% 50%
    );

    box-shadow:
        0 0 15px rgba(0,207,255,0.4),
        inset 0 0 15px rgba(255,255,255,0.08);

    transition: 0.3s;
}

.challenge-input-container:hover {
    border-color: rgba(255,215,0,0.9);
    box-shadow:
        0 0 25px rgba(255,215,0,0.45),
        inset 0 0 20px rgba(255,255,255,0.1);

    transform: scale(1.02);
}

.challenge-input-container input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 22px;
    text-align: center;
}

.challenge-input-container input::placeholder {
    color: rgba(255,255,255,0.5);
}

.send-button {
    width: 65px;
    height: 65px;

    border-radius: 50%;
    border: none;

    background: white;
    color: black;

    font-size: 28px;
    font-weight: bold;

    cursor: pointer;

    flex-shrink: 0;

    transition: 0.3s;
}

.send-button:hover {
    transform: scale(1.1);
    background: #00cfff;
    box-shadow: 0 0 25px rgba(0,207,255,0.7);
}

#challenge-popup {
    display: none;

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);

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

    z-index: 999;
}

.popup-content {
    width: 420px;
    max-width: 90%;

    padding: 30px;

    background: rgba(15, 17, 23, 0.95);

    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 22px;

    box-shadow: 0 0 40px rgba(0, 207, 255, 0.075);
}

.popup-content h3 {
    margin-top: 0;
    margin-bottom: 20px;

    text-align: center;
}

.popup-content input,
.popup-content textarea {
    width: 100%;

    margin-bottom: 15px;
    padding: 14px;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;

    color: white;

    outline: none;
}

.popup-content textarea {
    height: 100px;
    resize: none;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.popup-buttons button {
    flex: 1;

    padding: 12px;

    border: none;
    border-radius: 12px;

    cursor: pointer;
}

/* CONTACT SECTION */

#contact {

    padding: 120px 20px;

    display: flex;
    justify-content: center;
}

.contact-card {

    width: 500px;
    max-width: 90%;

    padding: 35px;

    text-align: center;

    background: rgba(255,255,255,0.03);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 20px;

    box-shadow: 0 0 25px rgba(0,0,0,0.4);

    transition: 0.3s;
}

.contact-card:hover {

    transform: translateY(-3px);
}

.contact-card h2 {

    font-size: 28px;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.contact-subtitle {

    color: rgba(255,255,255,0.65);

    margin-bottom: 50px;
}

.contact-item {

    margin-bottom: 35px;
}

.contact-item h3 {

    font-size: 14px;

    letter-spacing: 2px;

    color: rgba(255,255,255,0.5);

    margin-bottom: 8px;
}

.contact-item p {

    font-size: 18px;

    margin: 0;
}

#skilltree-modal {
    display: none;

    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);

    z-index: 2000;

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

.skilltree-modal-content {
    width: 92vw;
    height: 86vh;

    position: relative;

    border-radius: 24px;
    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 60px rgba(0,0,0,0.7);
}

.skilltree-modal-content iframe {
    width: 100%;
    height: 100%;

    border: none;
}

#close-skilltree {
    position: absolute;
    top: 15px;
    right: 15px;

    z-index: 5;

    width: 45px;
    height: 45px;

    border-radius: 50%;
    border: none;

    background: rgba(0,0,0,0.6);
    color: white;

    font-size: 28px;
    cursor: pointer;
}

/* MYSKILLS PAGE */


.myskills-image-box {
    position: relative;
    border: 1px solid rgba(0,207,255,0.25);
    box-shadow:
        0 0 35px rgba(0,207,255,0.18),
        0 0 60px rgba(0,0,0,0.6);
}

.myskills-image-box img {
    filter: blur(2px) brightness(0.8);
}

.myskills-overlay {
    background:
        linear-gradient(
            135deg,
            rgba(0,207,255,0.18),
            rgba(0,0,0,0.7)
        );
    backdrop-filter: blur(2px);
}

.lock-icon {
    font-size: 82px;
    text-shadow:
        0 0 18px rgba(0,207,255,0.8),
        0 0 45px rgba(0,207,255,0.45);
}

.myskills-text::before {
    content: "COMING SOON";

    display: inline-block;

    margin-bottom: 18px;
    padding: 8px 16px;

    border-radius: 999px;

    background: rgba(0,207,255,0.12);
    border: 1px solid rgba(0,207,255,0.4);

    color: #00cfff;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}
.myskills-page {
    min-height: calc(100vh - 120px);
    padding: 100px 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.myskills-card {
    width: 1000px;
    max-width: 90%;

    text-align: center;
}

.myskills-image-box {
    position: relative;

    width: 100%;
    height: 420px;

    border-radius: 28px;
    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.12);

    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.myskills-image-box img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.myskills-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
}

.lock-icon {
    position: absolute;
    inset: 0;

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

    font-size: 80px;
}

.myskills-text {
    margin-top: 45px;
}

.myskills-text h2 {
    font-size: 48px;
    margin: 10px 0;
}

.myskills-text p {
    font-size: 20px;
    color: rgba(255,255,255,0.65);
}


/* NEWS PAGE */

.news-page {
    padding: 90px 20px 160px;
}

.news-hero {
    text-align: center;
    margin-bottom: 70px;
}

.news-hero h2 {
    font-size: 56px;
    margin: 10px 0;
}

.news-hero p {
    color: rgba(255,255,255,0.65);
    font-size: 20px;
}

.featured-news {
    max-width: 1100px;
    margin: 0 auto 70px;

    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;

    padding: 35px;

    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 28px;

    box-shadow: 0 0 35px rgba(0,0,0,0.45);
}

.featured-video-box {
    height: 330px;

    border-radius: 22px;
    overflow: hidden;

    background: rgba(255,255,255,0.05);
}

.featured-video-box img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.featured-news-text h3 {
    font-size: 36px;
    margin: 12px 0;
}

.featured-news-text p {
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}

.news-label,
.news-date {
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(0,207,255,0.9);
    font-weight: bold;
}

.news-button {
    display: inline-block;
    margin-top: 20px;

    padding: 14px 24px;

    border-radius: 999px;

    background: white;
    color: black;

    text-decoration: none;
    font-weight: bold;

    transition: 0.3s;
}

.news-button:hover {
    transform: scale(1.05);
    background: #00cfff;
    box-shadow: 0 0 25px rgba(0,207,255,0.5);
}

.news-grid {
    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    padding: 30px;

    background: rgba(255,255,255,0.03);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;

    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,207,255,0.5);
}

.news-card h3 {
    margin: 10px 0;
}

.news-card p {
    color: rgba(255,255,255,0.65);
}

