:root {
    --bg : #1A1A2E;
    --sec: #4F8C8B;
    --acc: #F1c40F;
    --text: #F4F4F4;
    --prime: #333333;
   }

#sectionToggle {
    /* position: absolute;
    top: 250vh;
    width: 100%; */
}

.toggleItem {
    display: inline-block;
    width: 20%;
    margin: 4%;
    height: 100px;
    box-shadow: 5px 5px 10px var(--text);
    cursor: pointer;
}

.toggleItem:hover {
    width: 21%;
    box-shadow: 5px 5px 10px var(--acc);

}

#demo_container {
    text-align: center;
    margin: 0 auto 80px auto;
    border-radius: 10px;
    overflow: hidden;
}

#demo_container>p {
    width: 100%;
    margin: auto;
    text-align: left;
}

.demo-wrapper {
    position: relative;
    width: 1200px;
    height: 675px;
    margin-top: 40px;
    margin: auto;
    border: 1px solid var(--acc);
}

#demo {
    width: 99%;
    height: 99%;
    margin: auto;
    filter: blur(5px);
    transition: filter 0.3s ease;
}

.start-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--acc);
    color: var(--bg);
    border: none;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.start-btn:hover {
    background: var(--text);
    transform: translate(-50%, -50%) scale(1.05);
}

#demo.active {
    filter: blur(0px);
}

.exit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exit-btn:hover {
    background: rgba(0,0,0,0.9);
}

.demo-wrapper.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh;
    z-index: 1000;
    background: var(--bg);
    margin: 0 !important;
}

.demo-wrapper.fullscreen #demo {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    transform: none !important;
}

@media (max-width: 1199px) and (min-width: 1025px) {
    .demo-wrapper {
        width: 960px;
        height: 540px;
        margin: 20px auto;
    }
}

@media (max-width: 1024px) and (orientation: landscape) {
    .demo-wrapper {
        width: 768px;
        height: 432px;
        margin: 20px auto;
    }
    
    .start-btn {
        padding: 16px 32px;
        font-size: 17px;
    }
}

@media (max-width: 1023px) and (orientation: portrait) {
    .demo-wrapper {
        width: 85vw;
        height: calc(85vw * 0.5625);
        max-width: 680px;
        max-height: 383px;
        margin: 20px auto;
    }
    
    .start-btn {
        padding: 16px 32px;
        font-size: 17px;
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    .demo-wrapper {
        width: 360px;
        height: 203px;
        margin: 20px auto 40px auto;
    }
    
    .start-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 767px) and (orientation: portrait) {
    .demo-wrapper {
        width: 90vw;
        height: calc(90vw * 0.5625);
        max-width: 360px;
        max-height: 203px;
        margin: 20px auto 40px auto;
    }
    
    .start-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 479px) and (orientation: landscape) {
    .demo-wrapper {
        width: 320px;
        height: 180px;
    }
    
    .start-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 479px) and (orientation: portrait) {
    .demo-wrapper {
        width: 85vw;
        height: calc(85vw * 0.5625);
        max-width: 320px;
        max-height: 180px;
    }
    
    .start-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}