@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Verdana, Geneva, Tahoma, sans-serif;
    background: rgb(34, 34, 34);
}

.container{
    display: grid;
    grid-template-columns: 250px 1fr 1fr;
    grid-template-rows: 70px auto 0.3fr;
    grid-template-areas:    "header main main"
                            "nav main main"
                            "footer footer footer";
}

header img{
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

/* a::after{
    content: " ";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 300px;
    height: 45px;
    background: aqua;
    z-index: 1;
} */
a { 
    position: relative;
    /* z-index: 10; */
    margin-left: 15px;
    display: block;
    padding: 8px;
    margin: 5px 0; 
    text-decoration: none; 
    color: black;
    background: #ddd; 
    font-family: "Afacad Flux", Verdana, Geneva, Tahoma, sans-serif;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

a:hover { 
    background: linear-gradient(to right, cyan, rgb(34, 156, 255)); 
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header{
    background: rgb(34, 34, 34);
    grid-area: header;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-btn a{
    transform: translateY(-3px);
    height: 46px;
    width: auto;
    text-align: center;
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
    &:hover{
        background-color: black;
        border: none;
    }
}

.home-btn{
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 12px;
    border-radius: 38px;
    background: black;
    width: 145px;
    height: 70px;
    font-size: 24px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    &:hover{
        background-color: rgb(153, 153, 153);
    }
}

nav{
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgb(34, 34, 34);
    color: rgb(255, 255, 255);
    font-family: "Host Grotesk", "Poppins", Verdana, Geneva, Tahoma, sans-serif;
    grid-area: nav;
    font-weight: 800;
    padding-left: 15px;
    z-index: 25;
    height: 90vh;
    overflow-y: scroll;
    margin-top: 20px;
    /* font-size: 32px; */
    &::-webkit-scrollbar {
        width: 10px;
    }
    
    &::-webkit-scrollbar-track {
        background: #e0e0e000;
        border-radius: 10px;
    }

    &::-webkit-scrollbar-thumb {
        background: #ffffff97;
        border-radius: 10px;
    }

    &::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
}

.beginner, .intermediate, .advanced {
    display: flex; 
    align-items: center; /* Vertically align items */
    gap: 8px;
}

.icon{
    display: flex; 
    align-items: center; /* Centers SVG inside the span */
    justify-content: center;
    font-size: 48px;
}

main{
    /* background: green; */
    grid-area: main;    
    background: rgb(34, 34, 34);
    padding: 20px;
    position: relative;
    padding-bottom: 0px;
    & iframe {
        width: 100%;
        height: 95vh;
        border: 2px solid black; 
        background: white;
        border-radius: 22px;
    }
}
#fullscreen-button{
    text-align: center;
    padding: 10px;
    width: auto;
    margin: 0px auto;
    display: inline-flex;
    align-items: center;
    position: absolute;
    border: none;
    bottom: 40px;
    right: 35px;
    border-radius: 15px;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    &:hover{
        & svg{
            fill : #ddd;
            transition: all 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        background: black;
    }
}

footer{
    /* background: gold; */
    grid-area: footer;
}


nav.active {
    /* display: block; */
    transform: translate(9vw, 1vw);
}

/* Style for the Hamburger Button */
.hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-left: 80px;
}

footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
    padding-top: 25px;
    &a{
        color: black;
        width: 50px;
    }
}

.footer-container {
    /* max-width: 1200px; */
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer-section {
    flex: 1;
    /* min-width: 250px; */
    margin: 10px;
}

.footer-links a {
    display: block;
    color: #ddd;
    text-decoration: none;
    margin-bottom: 5px;
    background: none;
}
.footer-links a:hover {
    color: white;
}
.social-icons a {
    margin: 0 10px;
    display: inline-block;
    color: white;
    font-size: 20px;
    text-decoration: none;
}
.social-icons a:hover {
    color: #00acee;
}
.copyright {
    /* margin-top: 10px; */
    font-size: 14px;
    color: #bbb;
}

/* Responsive: Show Navbar normally on bigger screens */
@media (min-width: 1200px) {
    .hamburger {
        display: none;
    }

    nav {
        display: block;
    }
}

@media (max-width: 1200px) {
    #project-frame{
        height: 90vh;
    }
    #fullscreen-button{
        width: 50px;
        padding: 2px 10px;
    }
    .hamburger{
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }
    header{
        padding-top: 10px;
        justify-content: space-around;
    }
    .home-btn{
        margin: 0px;
        margin-top: 6px;
    }
    nav {
        scroll-margin-block-start: 25px;
    border-radius: 25px;
    transform: translate(-700px, -800px);
    width: 100%;
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.beginner, .intermediate, .advanced {
    display: flex; 
    align-items: center; /* Vertically align items */
    justify-content: center;
    font-size: 32px;
    gap: 8px;
    margin: 0px 20px;
    & svg{
        width: 80px;
        height: 80px;
    }
}


    nav{
        position: absolute;
        /* transform: translateX(300px); */
        top: 13.5vh;
        left: 0px;
        width: 72vw;
        overflow: scroll;
        height: 70vh;
        padding-left: 10px;
        padding: 20px;
    }
    nav::-webkit-scrollbar{
        display: none;
    }
    a{
        font-family: "Host Grotesk", Verdana, Geneva, Tahoma, sans-serif;
        border-radius: 20px;
        margin: 3px 25px;
        padding: 10px 20px;
        &:hover{
            cursor: pointer;
        }
    }
    .container{
        position: relative;
        display: grid;
        grid-template-columns: 250px 1fr 1fr;
        grid-template-rows: 70px 1fr 0.7fr;
        grid-template-areas:    "header header header"
                                "main main main"
                                "footer footer footer";
    }
}

a:hover{
    cursor: pointer;
}