.documentWrapper{
    transition: transform .5s;
}

.progress{
    padding-top: 100px;
}
.backBtn{
    transform: rotate(90deg);
    padding: 20px;
    margin: 30px;
    position: absolute;
    z-index: 2;
    cursor: pointer;
}
header h1{
    color: var(--white);
    text-align: center;
    padding-top: 100px;
    font-size: 64px;
    opacity: 0;
    font-family: 'Abhaya Libre', serif;
    margin: 0px;
    animation: appear .5s .8s forwards;
}
header p{
    font-family: 'Abhaya Libre', serif;
    font-size: 48px;
    opacity: 0;

    color: var(--green);
    text-align: center;
    margin: 10px;
    animation: appear .7s .8s forwards;
}
@keyframes appear{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.line{
    width: 80vw;
    position: relative;
    left: 10vw;
    top: 80px;
    height: 1px;
}
.line .leftLine{
    position: absolute;
    right: 50%;
    height: 1px;
    width: 0;
    background-color: var(--white);
    animation: line .5s .5s forwards;
}
.line .rightLine{
    position: absolute;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--white);
    animation: line .5s .5s forwards;
}
@keyframes line{
    0%{
        width: 0;
    }
    100%{
        width: 50%;
    }
}



.gridWrapper{
    position: relative;
    padding-top: 160px;
    margin-left: auto;
    margin-right: auto;
    width: 80vw;
    max-width: 1200px;
    height: 320px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: var(--white);

}

.gridWrapper .skill{
    width: 300px;
    margin: 0px 20px;
    transform: translateY(100px);
    opacity: 0;
    transition: .5s;
    color: var(--white);

}

.gridWrapper .skill span{
    color: var(--green);
}
.gridWrapper .skill h1{
    font-family: 'Abhaya Libre', serif;
    font-size: 48px;
    padding: 0px;
    margin: 10px 0px 0px 0px;
}
.gridWrapper .skill p{
    font-size: 14px;
    line-height: 18px;
    font-family: 'Roboto Mono', monospace;
}

.documentWrapper .centerLineWrapper{
    width: 50px;
    top: 1050px;
    height: 800px;
    position: absolute;
    left: calc(50vw - 25px);
    opacity: 0;
    transition: opacity .5s;

}
.verticalLine{
    position: absolute;
    left: 50%;
    top: 0px;
    width: 1px;
    height: 100%;
    background-color: var(--green);
}

.horizontal{
    position: absolute;
    width: 50%;
    height: 1px;
    background-color: var(--green);
}
.second{
    top: 400px;
    left: 50%;
}
.third{
    top: 800px;
}
.progress{
    opacity: 0;
    transition: opacity .5s;
}

.timeLine{
    width: 80vw;
    max-width: 1200px;
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}
.timeLine p{
    color: var(--white);
    max-width: 300px;
    margin: 0px;
}
.timeLine .image{
    width: 45%;
    height: 350px;
    background-color: grey;
    
}

.timeLine p{
    color: var(--white);
    max-width: 300px;
    margin: 0px;
    font-family: 'Roboto Mono', monospace;

}

.timeLine :nth-child(1){
    position: absolute;
    margin-left: calc(70% - 150px);
    bottom: 0px;
}
.right :nth-child(2){
    margin-left: auto;
    right: 0px;
}
.right :nth-child(1){
    position: absolute;
    margin-left: calc(30% - 150px);
    bottom: 0px;
    text-align: end;
}
/* 
.image{
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
} */





@media only screen and (max-width: 1300px) and (min-width: 700px) {
    .documentWrapper .centerLineWrapper{
        top: 1350px;
    }
    .gridWrapper{
        width: 100vw;
        display: block;
        height: auto;
        padding-top: 20vh;
    }
    .gridWrapper .skill{
        display: flex;
        margin-left: auto;
        margin-right: auto;
        width: 700px;
        padding: 10px 0px;
        align-items: flex-start;
    }
    .gridWrapper .skill h1{
        padding: 0px 15px;
    }
    .gridWrapper .skill > *{
        justify-self: center;
        padding: 20px;
        margin: 0px;
    }
}


@media only screen and (max-width: 1000px) {
    .timeLine p{
        max-width: 500px;
    }    
    .gridWrapper{
        padding-bottom: 10vh;
    }
    .mobileLine{
        height: 1px;
        margin-bottom: 120px;
        width: 1px;
        background-color: var(--green);
        margin-left: auto;
        margin-right: auto;
        transition: all .5s;
    }
    .centerLineWrapper{
        display: none;
    }
    .timeLine p{
        width: 500px;
    }
    .timeLine{
        width: 100%;
        position: relative;
    }
    .timeLine :nth-child(1){
        position: relative;
        margin: 30px auto;
    }
    .right :nth-child(1){
        position: relative;
        margin: 30px auto;
        text-align: start;

    }
    .timeLine .image{
        width: 80%;
        height: 350px;
        background-color: grey;
        margin-left: auto;
        margin-right: auto;
    }

}

@media only screen and (max-width: 700px) {
    .timeLine p{
        max-width: 300px;
    }    
    header h1{
        font-size: 48px;
    }
    header p{
        font-size: 32px;

    }
    .gridWrapper{
        width: 100vw;
        display: block;
        height: auto;
        padding-top: 10vh;
        padding-bottom: 10vh;

    }
    .timeLine{
        opacity: 0;
        transition: opacity .5s;
    }
    .gridWrapper .skill{
        padding-top: 10vh;
        width: 80vw;
        margin-left: auto;
        margin-right: auto;
    }


    .gridWrapper .skill h1{
        font-size: 40px;

    }

    .gridWrapper .skill p{

    }

    .gridWrapper:last-child{
        padding-bottom: 100px;
    }


}



@media only screen and (max-width: 700px) and (max-height: 700px) and (orientation: landscape){
    .landscapeAlert{
        background-color: var(--background);
        display: block;
        position: fixed;
        width: 100vw;
        height: 100vh;
        color: var(--white);
        text-align: center;
        z-index: 12;
    }
    .landscapeAlert p{
        position: absolute;
        bottom: 50px;
        width: 100vw;
        font-family: 'Roboto Mono', monospace;
        text-align: center;

    }
    .landscapeAlert img{
        position: absolute;
        top: calc(50vh - 320px);
        left: calc(50vw - 322px);
        transform: scale(0.2);
        margin:0px;
    }
    .documentWrapper{
        display: none;
    }
}