:root{
    --bg-color: #0b0833;
    --pink-color: #fc6898;
    --yellow-color: #feda60;
    --blue-color: #5ac0f3;
    --font: "Open Sans", sans-serif;
}

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

body{
    font-family: var(--font);
    overflow-x: hidden;
}

header{
    background-color: var(--bg-color);
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;

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

header img{
    height: 70px;
    margin-left: 20px;
}

header input, header label{
    display: none;
}

header ul{
    display: flex;
    list-style: none;
    gap: 25px;
    margin-right: 20px;
}

header ul li a{
    position: relative;

    text-decoration: none;
    color: white;

    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;

    transition: color 0.3s ease;
}

header ul li a::after{
    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0%;
    height: 3px;

    background-color: var(--pink-color);

    border-radius: 10px;

    transition: width 0.3s ease;
}

header ul li a:hover{
    color: var(--pink-color);
}

header ul li a:hover::after{
    width: 100%;
}

#register::after{
    display: none;
}

#register{
    padding: 10px 20px;
    background-color: var(--pink-color);
    border-radius: 10px;
    text-decoration: none;
}

#register:hover{
    color: white;
    border: 2px solid white;
    padding: 8px 18px;
}

.behindheader{
    height: 70px;
}

footer{
    width: 100%;
    background-color: var(--bg-color);
    color: white;
}

.footer-container{
    width: 100%;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h3{
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--yellow-color);
}

.footer-logo img{
    height: 90px;
    margin-bottom: 15px;
}

.footer-logo p{
    line-height: 28px;
    color: #d7d7d7;
    margin-bottom: 20px;
}

.social-icons{
    display: flex;
    gap: 15px;
}

.social-icons a{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);

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

    color: white;
    font-size: 20px;
    text-decoration: none;

    transition: 0.3s ease;
}

.social-icons a:hover{
    background-color: var(--pink-color);
    transform: translateY(-3px);
}

.footer-links{
    list-style: none;
}

.footer-links li{
    margin-bottom: 15px;
}

.footer-links li a{
    color: #d7d7d7;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-links li a:hover{
    color: var(--pink-color);
    padding-left: 5px;
}

.contact-info{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info p{
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d7d7d7;
    line-height: 26px;
}

.contact-info a{
    text-decoration: none;
    color: #d7d7d7;
    transition: 0.3s ease;
}

.contact-info a:hover{
    color: var(--pink-color);
    padding-left: 5px;
}

.contact-info i{
    color: var(--pink-color);
    font-size: 18px;
}

.footer-bottom{
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
    color: #bdbdbd;
    font-size: 14px;
}

.course-details{
    width: 100%;
    padding: 20px;
    background-color: #f8f8f8;
}

.course-hero{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;

    min-height: calc(100dvh - 110px);

    margin-bottom: 40px;
}

.course-image{
    width: 100%;
    height: 100%;

    max-height: 700px;

    border-radius: 25px;
    overflow: hidden;

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

.course-image img{
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.course-category{
    display: inline-block;

    background-color: var(--yellow-color);

    padding: 8px 18px;

    border-radius: 30px;

    font-weight: 700;

    margin-bottom: 20px;
}

.course-info h1{
    font-size: 58px;
    color: var(--bg-color);

    margin-bottom: 25px;
}

.course-description{
    font-size: 18px;
    line-height: 34px;
    color: #555;

    margin-bottom: 35px;
}

.course-meta{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    margin-bottom: 40px;
}

.meta-box{
    background-color: white;

    padding: 20px;

    border-radius: 18px;

    text-align: center;

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

.meta-box h4{
    color: var(--pink-color);

    margin-bottom: 10px;
}

.meta-box p{
    font-weight: 700;
    color: var(--bg-color);
}

.course-info a{
    display: inline-block;

    padding: 14px 28px;

    background-color: var(--pink-color);
    color: white;

    border-radius: 12px;

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

    transition: 0.3s ease;
}

.course-info a:hover{
    background-color: var(--bg-color);
}


.section-title{
    text-align: center;
    margin-bottom: 40px;
}

.section-title span{
    color: var(--pink-color);

    font-weight: 700;
    font-size: 42px;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2{
    font-size: 42px;
    color: var(--bg-color);

    margin-top: 10px;
}


.course-modules{
    margin-bottom: 40px;
}

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

.module-card{
    background-color: white;

    padding: 20px;

    border-radius: 20px;

    box-shadow: 0 0 20px rgba(0,0,0,0.08);

    transition: 0.3s ease;
}

.module-card:hover{
    transform: translateY(-5px);
}

.module-card h3{
    color: var(--bg-color);

    margin-bottom: 15px;
}

.module-card p{
    color: #555;
    line-height: 28px;
}

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

.gallery-item{
    height: 300px;

    border-radius: 20px;
    overflow: hidden;

    box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

.gallery-item img{
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.gallery-item:hover img{
    transform: scale(1.08);
}

@media screen and (max-width: 768px) {

    body{
        overflow-x: hidden;
    }

    .aboveheader{
        display: none;
    }

    header{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;

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

        z-index: 9999;
    }

    .logolink{
        z-index: 1001;
    }

    header img{
        height: 70px;
    }

    header input{
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .menu-btn{
        width: 35px;
        height: 35px;
        margin-right: 20px;

        position: relative;

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

        cursor: pointer;
        z-index: 10001;
    }


    .menu-btn span{
        position: absolute;

        width: 35px;
        height: 4px;

        background-color: white;
        border-radius: 10px;

        transition: 0.3s ease;
    }

    .menu-btn span:nth-child(1){
        transform: translateY(-10px);
    }

    .menu-btn span:nth-child(2){
        transform: translateY(0);
    }

    .menu-btn span:nth-child(3){
        transform: translateY(10px);
    }

    #open-menu:checked + ul + .menu-overlay,
    #open-menu:checked ~ ul{
        left: 0;
        }

        #open-menu:checked ~ .menu-btn span:nth-child(1){
        transform: rotate(45deg);
    }

    #open-menu:checked ~ .menu-btn span:nth-child(2){
        opacity: 0;
    }

    #open-menu:checked ~ .menu-btn span:nth-child(3){
        transform: rotate(-45deg);
    }

    header ul{
        position: fixed;
        top: 0;
        left: 100%;

        width: 100%;
        height: 100dvh;

        padding-top: 70px;

        background-color: var(--bg-color);

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;

        transition: left 0.4s ease;
        z-index: 1000;
    }

    #open-menu:checked ~ ul{
        left: 0;
    }

    header ul li{
        list-style: none;
    }

    header ul li a{
        font-size: 30px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .footer-container{
        grid-template-columns: 1fr;
        padding: 50px 20px;
        gap: 50px;
        text-align: center;
    }

    .social-icons{
        justify-content: center;
    }

    .contact-info p{
        justify-content: center;
    }

    .footer-logo img{
        margin: 0 auto 15px;
        display: block;
    }

    .course-details{
        padding: 20px;
    }

    .course-hero{
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 25px;
    }

    .course-heading{
        width: 100%;
    }

    .course-heading h1{
        font-size: 40px;
        line-height: 45px;
    }

    .course-image{
        width: 100%;
        height: 450px;
    }

    .course-info{
        width: 100%;
    }

    .course-description{
        font-size: 16px;
        line-height: 30px;
    }

    .course-meta{
        grid-template-columns: 1fr;
    }

    .regbutton{
        width: 100%;
        text-align: center;
    }

    .section-title span{
        font-size: 36px;
    }

    .section-title h2{
        font-size: 32px;
    }

    .modules-grid{
        grid-template-columns: 1fr;
    }

    .gallery-grid{
        grid-template-columns: 1fr;
    }

    .gallery-item{
        height: 250px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
    .course-meta{
        grid-template-columns: 1fr;
    }
}