@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@600&family=Ubuntu:wght@700&display=swap');

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


body
{
    min-height: 100vh;
    background: rgb(124,35,204);
    background: linear-gradient(0deg, rgba(124,35,204,1) 0%, rgba(174,143,217,1) 100%); 
}

#mainContent
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
}

#Title
{
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -80%);
    font-family: 'Roboto Mono', monospace;
    font-family: 'Ubuntu', sans-serif;
    transition: 0.5s ease-in-out;
    color: white;
    font-size: 60px;
}

#Title.active
{
    transform: translate(-50%, -400%);
}

#text-content
{
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 70px;
    opacity: 0;
    transition: 0.5s ease-in-out;
}

#text-content.active
{
    opacity: 1;
    transform: translate(-50%, -40%);
}

#directoryList
{
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    display: table-cell;
    vertical-align: middle;
    line-height: 70px;
    transition: 0.5s ease-in-out;
}

#directoryList.active
{
    opacity: 100%;
    transform: translate(-50%, 100%);
}

.text
{
    color: white;
    font-family: 'Roboto Mono', monospace;
    font-family: 'Ubuntu', sans-serif;
    text-align: center;
}

.textLink
{
    color: white;
    font-size: 40px;
    font-family: 'Ubuntu', sans-serif;
    text-align: center;
}

.textLink:hover
{
    color:#c8a7ee
}

#todo {
    font-size: 20px;
    text-align: center;
    position: absolute;
    list-style-type: none;
    text-decoration: none;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
}

#introText
{
    color:rgb(124,35,204);
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    font-family: 'Roboto Mono', monospace;
    font-family: 'Ubuntu', sans-serif;
    z-index: 100;
    white-space: nowrap;
    clip-path: url(body);
}


@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    #introText {
        font-size: 20px;
    }

    #desc {
        font-size: 25px;
        line-height: 28px;
    }
}

#debug {
    font-size: 10px;
    color: rgb(162, 118, 201);
    font-family: 'Ubuntu', sans-serif;
    text-align: center;
    position: absolute;
    list-style-type: none;
    text-decoration: none;
    bottom: 0;
    left: 0;
}

#curtain
{
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    z-index: 10;
}

#curtain span
{
    position:absolute;
    top: 0;
    left: 0;
    width: 500%;
    height: 100%;
    display: block;
    transform-origin: bottom left;
    transition: 0.5s ease-in-out;
    transform: rotate(0deg);
    z-index: 10;
    pointer-events: none;
}

#curtain span:nth-child(1)
{
    background: #4e03a3;
    transform: rotate(3deg) translate(-200px, -50%);
    transition-delay: 0.2s;
    z-index: 1;
    pointer-events: none;
}
#curtain span:nth-child(2)
{
    background: #210047;
    transform: rotate(6deg) translate(-200px, -50%);
    transition-delay: 0.1s;
    z-index: 2;
    pointer-events: none;
}
#curtain span:nth-child(3)
{
    background: #111;
    transform: rotate(0deg) translate(-200px,-40%);
    transition-delay: 0s;
    z-index: 5;
    pointer-events: none;
}

#curtain.active span:nth-child(1)
{
    background: #2c005e;
    transform: translate(-500px, -100%);
    transition-delay: 0.2s;
    pointer-events: none;
    
}
#curtain.active span:nth-child(2)
{
    background: #15002c;
    transform: translate(-500px, -100%);
    transition-delay: 0.1s;
    pointer-events: none;
}
#curtain.active span:nth-child(3)
{
    background: #111;
    transform: translate(-500px, -100%);
    transition-delay: 0s;
    pointer-events: none;
}


#curtain2
{
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

#curtain2 span
{
    position:absolute;
    top: 0;
    left: 0;
    width: 500%;
    height: 100%;
    display: block;
    transform-origin: bottom left;
    transition: 0.5s ease-in-out;
    transform: rotate(0deg);
    z-index: 10;
    pointer-events: none;
}

#curtain2 span:nth-child(1)
{
    background: #4e03a3;
    transform: rotate(3deg) translate(-200px, 50%);
    transition-delay: 0.2s;
    z-index: 3;
    pointer-events: none;
}
#curtain2 span:nth-child(2)
{
    background: #210047;
    transform: rotate(6deg) translate(-200px, 50%);
    transition-delay: 0.1s;
    z-index: 4;
    pointer-events: none;
}
#curtain2 span:nth-child(3)
{
    background: #111;
    transform: rotate(-0deg) translate(-200px, 40%);
    transition-delay: 0s;
    z-index: 10;
    pointer-events: none;
}

#curtain2.active span:nth-child(1)
{
    background: #2c005e;
    transform: translate(-200px, 100%);
    transition-delay: 0.2s;
    pointer-events: none;
}
#curtain2.active span:nth-child(2)
{
    background: #15002c;
    transform: translate(-200px, 100%);
    transition-delay: 0.1s;
    pointer-events: none;
}
#curtain2.active span:nth-child(3)
{
    background: #111;
    transform: translate(0px, 100%);
    transition-delay: 0s;
    pointer-events: none;
}
