@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Sora:wght@100..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0E0E0F;
    --secondary-color: #181818;
    --border: #333338;
    --background: #303030;
}

body {
    background-color: var(--primary-color);
    color: #fff;

}

.thumbnail {
    display: none;
}

.actionbtn a {
    text-decoration: none;
    color: #fff;
}

/* ----------- Naviagation ------------ */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 50px;
}

nav .logo {
    width: 100px;
    /* height: 100px; */
}

nav .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

nav .actionbtn button {
    background-color: var(--background);
    color: #fff;
    padding: 10px 20px;
    outline: none;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: "Sora", sans-serif;
    cursor: pointer;
}

nav .actionbtn button:hover {
    background-color: #303030b4;

}

/* -------- Home body ---------- */
.home-body {
    margin: 50px;
}

.home-body .content {
    display: flex;
    background-color: var(--secondary-color);
    width: 100%;
    border-radius: 20px;
    border: 2px solid var(--border);
}

.home-body .content .left {
    padding: 50px 30px;
    width: 50%;
}

.home-body .content .left .tag {
    text-transform: uppercase;
    font-size: 16px;
    font-family: "Sora", sans-serif;
    background-color: var(--background);
    width: fit-content;
    padding: 10px 20px;
    border-radius: 8px;
}

.home-body .content .left .title {
    margin-top: 10px;
    font-size: 40px;
    font-family: "Sora", sans-serif;
    text-emphasis: 10px;
    line-height: 50px;
    font-weight: 400;

}

.home-body .content .left .title span {
    color: yellow;
    font-weight: 700;

}

.home-body .content .left .shortdis {
    font-family: "Inter", sans-serif;
    line-height: 30px;
    margin-top: 20px;

}

.home-body .content .left .shortdis span {
    color: #00ff08;
    text-decoration: underline;
    font-size: 12px;
    cursor: pointer;

}



.home-body .content .left .discription {
    font-family: "Inter", sans-serif;
    display: none;

}

.home-body .content .left .discription p {
    margin-top: 20px;
    line-height: 30px;

}

.home-body .content .left .discription p span {
    color: #00ff08;
    text-decoration: underline;
    font-size: 12px;
    cursor: pointer;

}

.contextdata {
    display: flex;
    align-items: center;
    margin-top: 30px;
    font-family: "Inter", sans-serif;
    background-color: #ffffff1a;
    border-color: #ffffff1a;
    padding: 20px;
    width: max-content;
    border-radius: 50px;

}

.contextdata .context {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 20px;

}

.button {
    background-color: yellow;
    width: 500px;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: "Sora", sans-serif;
    font-weight: 600;
    margin-top: 30px;
    text-align: center;
}

.button:hover {
    background-color: #f0f000;
    cursor: pointer;
}

.button a {
    text-decoration: none;
    color: black;
}

.home-body .content .right {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    align-items: start;
    width: 50%;
    padding: 20px;
}

.home-body .content .right img {
    width: 30rem;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Sora", sans-serif;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;

}

.footer img {
    width: 100px;

}

/* ------------ Login ----------- */

.logbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url("./assets/box-line-pattern-abstract-background_878233-187.avif") repeat center center/cover;
    opacity: 0.05;
    z-index: -1;
}

.logbox {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.logcon {
    background-color: white;
    color: #000;
    width: 400px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: "Inter", sans-serif;

}

.logcon h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    font-family: 'Sora', sans-serif;
}

.logcon .inputbox {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;

}

.logcon .inputbox input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: "Inter", sans-serif;

}

.logcon form button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    font-family: "Inter", sans-serif;
    background-color: #f0f0f0;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;

}

.logcon form button:hover {
    background-color: #f0f0f0de;
}


.logcon .register {
    text-align: center;
    font-size: 14px;
}

.courses {
    padding: 50px;
}

.courses h3 {
    font-family: "Sora", sans-serif;
    font-size: 20px;
    margin-bottom: 10px;

}

.courses .coursthumbnail {
    width: 400px;


}

.courses .coursthumbnail .courthumbnail {
    width: 400px;
}

.courses .coursthumbnail .courthumbnail img {
    width: 100%;
    
    object-fit: cover;
    border-radius: 10px;
}

.courses .coursthumbnail .courstitle h4 {
    font-family: "Sora", sans-serif;
    font-size: 18px;
    margin-top: 10px;
}

.courses .coursthumbnail .courstitle p {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    margin-top: 5px;

}

.courses .coursthumbnail .courstitle button {
    background-color: yellow;
    padding: 15px 20px;
    border-radius: 5px;
    font-family: "Sora", sans-serif;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
    border: none;
    cursor: pointer;
    width: 100%;

}

.course-details {
    margin: 50px;
    display: flex;
}

.course-details .left {
    width: 60%;
}

.course-details .left .videosection {
    width: 100%;
    height: auto;
    font-family: 'Inter', sans-serif;
    position: sticky;
    top: 30px;
    left: 0;

}

.course-details .left .videosection video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    margin-bottom: 10px;
}

.course-details .right {
    width: 40%;
    padding-left: 40px;
}

.course-details .right .coursub {
    margin-bottom: 20px;
}

.course-details .right .coursub h2 {
    font-family: 'Sora', sans-serif;
    margin-bottom: 10px;
}

.course-details .right .coursub .content {
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 30px;
}

.course-details .right .coursub .content a {
    text-decoration: none;
    color: #00f;
    background: aliceblue;
    padding: 15px 20px;
    border-radius: 10px;
}





@media only screen and (max-width: 960px) {
    .home-body .content .left {

        width: 100%;
    }

    .home-body .content .right {
        display: none;
    }

    .button {

        width: auto;
    }

    .contextdata {
        flex-direction: column;
        gap: 20px;
        align-items: start;
        background-color: transparent;
        padding: 0;
        font-size: small;

    }

    .home-body {
        margin: 20px;
    }

    .home-body .content .left .tag {
        font-size: 10px;
        padding: 10px 10px;

    }

    .home-body .content .left .title {
        font-size: 23px;
        line-height: 30px;
    }

    .home-body .content .left .shortdis {
        line-height: 25px;
        font-size: smaller;
    }

    .home-body .content .left .discription {
        line-height: 25px;
        font-size: smaller;
    }

    .thumbnail {
        display: block;
        height: auto;
        margin-top: 20px;
    }

    .thumbnail img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }

    .courses {
        padding: 10px;
    }

    .courses .coursthumbnail {
        width: 100%;
    }

    .courses .coursthumbnail .courthumbnail {
        width: 100%;
        height: 200px;
    }

    .course-details {
        margin: 0px;
        display: block;
    }

    .course-details .left {
        width: 100%;
        padding: 10px;
        font-size: smaller;
    }

    .course-details .right {
        width: 100%;
        padding-left: 0;
        font-size: small;
        margin-top: 20px;
        padding: 10px;
    }

    .course-details .left .videosection video {
        border-radius: 0px;
        box-shadow: none;
    }
    .course-details .right .coursub .content {
        margin-left: 0px;
    }



}