
#pop {
    display: block;
    position: fixed;
    z-index: 15;
    transition: all 0.6s ease 1s;
    color: var(--font_3);
    font-family: 'Roboto', sans-serif;
}

#pop .layer {
    content: "";
    background: black;
    opacity: 0.8;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#pop #open {
    display: block;
    position: fixed;
    background: white;
    padding: 50px 60px 50px;
    top: 80px;
    left: 50px;
    right: 50px;
    bottom: 80px;
    margin: auto;
    border-radius: 5px;
    overflow: auto;
    box-shadow: 0 50px 100px var(--black_shadow);
    animation: show1 0.4s ease forwards;
}

#pop:not(.active) {
    display: none;
}

#close2 {
    display: none
}

#close, #close2 {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    width: 65px;
    height: 65px;
    text-align: center;
    z-index: 4;
}

#close i, #close2 i {
    font-size: 2em;
    margin: auto;
    width: max-content;
    line-height: 65px;
}

#close:hover i{
    color:red
}

#open .items {
    display: block;
    position: relative;
    width: 50%;
    margin-left: auto;
    opacity: 0;
    animation: show3 .6s ease .8s forwards;
}

#open h1 {
    display: block;
    position: relative;
    letter-spacing: -0.05em;
    color: var(--font_3);
    font-size: clamp(2em, 2vw, 2.5em);
    text-transform: uppercase;
}

#open .sub {
    display: block;
    position: relative;
    color: var(--grey_font);
    letter-spacing: 0.15em;
    margin-bottom: 25px;
}

#open .sub .dash {
    display: inline-block;
    position: relative;
    height: 10px;
    width: 35px;
    top: 2px;
    background: var(--dynamic-color, var(--font_2));


}

#open .hint {
    display: block;
    position: relative;
    font-size: 10px;
    opacity: .5;
    margin-bottom: 10px;
}

#open .date,
#open .font {
    display: block;
    position: relative;
    margin-bottom: 20px;
}

#open .font {
    font-weight: bold;
}

#open .date i {
    margin-left: 5px;
    font-size: 24px;
}

#open .colors {
    display: block;
    position: relative;
    margin: 8px 0 14px;
    font-size: 12px;
}

#open .colors li {
    display: inline-block;
    text-transform: uppercase;
}

#open .colors li:before {
    display: inline-block;
    content: "";
    position: relative;

}

#open .colors li i {
    margin: 0 3px 0 5px;
}

#open .infos {
    display: block;
    position: relative;
    margin: 0 0 20px;
    max-height: 95px;
    overflow-y: auto;
}

#open .code,
#open .css,
#open .js {
    display: block;
    position: relative;
    padding: 10px 0 10px 50px;
    font-size: 16px;
}

#open .code i,
#open .css i,
#open .js i {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: max-content;
    margin: auto;
    font-size: 1.5em;
    color: var(--grey_font);
}

#frame {
    display: block;
    position: fixed;
    opacity: 0;
    left: 20px;
    top: 60px;
    bottom: 40px;
    width: 44.5%;
    background: var(--grey);
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.37);
    overflow: hidden;
    z-index: 2;
    animation: show2 0.6s ease 0.4s forwards;


}

#frame iframe {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    pointer-events: none;
}


@media only screen and (max-width: 768px) {
    #pop #open {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 25px;
    }

    #close {
        display: none;
    }

    #close2 {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
    }

    #close, #close2 {
        color: white;
        background: red;
    }

    #frame {
        top: 0;
        left: 0;
        right: 0;
        height: 300px;
        width: 100%;
        border-radius: 0;
        box-shadow: inset 0 -10px 20px 20px rgba(0, 0, 0, 0.42);
    }

    #frame:after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 0;
        box-shadow: 0 10px 20px 20px rgba(0, 0, 0, 0.42);
    }

    #open .items {
        width: 100%;
        top: 300px;
        overflow: hidden;
        overflow-y: auto;
    }

    #open .sub {
        margin-bottom: 20px;
    }
}


@keyframes show1 {
    0% {
        transform: translateY(-100px);
    }
    100% {
        transform: initial;
    }
}

@keyframes show2 {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: initial;
        opacity: 1;
    }
}

@keyframes show3 {

    0% {
        opacity: 0;
        transform: translateX(-80px);
    }
    100% {
        transform: unset;
        opacity: 1;
    }


}