*{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
}

#logo {
    position: absolute;
    left: 50px;
    top: 50px;
    color: #FDFCF4;
    letter-spacing: 3px;
    z-index: 5;
}

.logo-small {
    font-family: "Oswald-light";
    color: #333;
}

.logo-big {
    font-family: "Oswald-medium";
    color: #333;
}

#wrap {
    position: relative;
    padding: 25px;
    overflow: hidden;
}

#project-hidden-div {
    position: absolute;
    top: -100%;
    right: -100%;
}

#right {
    position: relative;
    width: 50%;
    height: 100%;
    background: #fdfcf4;
    display: inline-block;
    overflow: hidden;
}

#left {
    position: relative;
    width: 50%;
    height: 100%;
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.project-image {
    height: 100%;
    width: 100%;
    display: inline-block;
    position: absolute;
    transition: all 400ms cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
    background: #fff;
    left: 0;
    opacity: 0;
}

.project-text {
    display: table;
    width: 100%;
    height: 100%;
    text-align: center;
    position: absolute;
    background: #FDFCF4;
    top: 0;
    transition: all 400ms cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
}

.inside-text {
    display: table-cell;
    vertical-align: middle;
    color: #333;
}

.header {
    font-family: 'Tamlil', "Oswald-medium";
    letter-spacing: 1px;
    font-size: 48px;
    color: #333;
}

.tags {
    padding: 23px;
    border-top: 2px solid #e2e2e2;
    border-bottom: 2px solid #e2e2e2;
    font-family: 'Tamlil';
    letter-spacing: 5px;
    font-size: 22px;
    margin: 25px auto 50px auto;
    width: 50%;
    font-weight: normal;
}

.website {
    padding: 20px 40px;
    display: inline-block;
    font-family: 'Tamlil';
    font-size: 22px;
    background: transparent;
    margin-left: 25px;
    transition: all 0.4s;
}

.project {
    padding: 20px 40px;
    display: inline-block;
    font-family: 'Tamlil';
    font-size: 22px;
    background: transparent;
    transition: all 0.4s;
    border: 2px solid;
}

#inside-left {
    height: 100%;
    position: relative;
}

.project-image img {
    width: 80%;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 13%;
}

.website:hover {
    box-shadow: inset 0 0 0 200px rgba(0,0,0,0.05);
}

.project:hover {
    box-shadow: inset 0 0 0 200px rgba(0,0,0,0.03);
}

#move-buttons {
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 3;
}

.move-button {
    width: 50%;
    display: inline-block;
    text-align: CENTER;
    background: #333;
    color: #FFFFFF;
    padding: 25px 0;
    font-family: 'tamlil';
    font-size: 22px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.4s;
}

.next-project {
    opacity: 0.9;
}

.prev-project {
    opacity: 0.8;
}

.next-project:hover {
    opacity: 0.92;
}

.prev-project:hover {
    opacity: 0.82;
}

.project-text-on {
    top: 0;
    z-index: 2;
}

.project-text-next {
    top: 100%;
    z-index: 1;
}

.project-text-prev {
    top: -100%;
    z-index: 1;
}

.project-image-on {
    left: 0;
    z-index: 2;
    opacity: 1;
}

.project-image-next {
    z-index: 1;
    left: -100%;
    opacity: 1;
}

.project-image-prev {
    left: 100%;
    z-index: 1;
    opacity: 1;
}

#menu {
    right: 0;
    left: 0;
    margin: auto;
    top: 25px;
    position: fixed;
    width: 90px;
    height: 90px;
    background: #333;
    z-index: 6;
    cursor: pointer;
    overflow: hidden;
    display: none;
}

.menu-line {
    width: 40px;
    height: 4px;
    background: #fff;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    display: table-cell;
    transition: all cubic-bezier(0.18, 0.89, 0.32, 1.28) 0.4s;
}

.menu-line:nth-child(1) {
    top: 31px;
}

.menu-line:nth-child(2) {
    top: 43px;
    opacity: 1;
}

.menu-line:nth-child(3) {
    top: 55px;
}

.menu-x .menu-line:nth-child(1) {
    -webkit-transform: rotate(34.9920202deg);
    transform: rotate(34.9920202deg);
    top: 42px;
    width: 48.82622246px;
    transition: all cubic-bezier(0.6, -0.28, 0.74, 0.05) 0.4s;
}

.menu-x .menu-line:nth-child(2) {
    left: -100%;
    right: 100%;
    transition: all cubic-bezier(0.6, -0.28, 0.74, 0.05) 0.4s;
}

.menu-x .menu-line:nth-child(3) {
    -webkit-transform: rotate(-34.9920202deg);
    transform: rotate(-34.9920202deg);
    top: 42px;
    width: 48.82622246px;
    transition: all cubic-bezier(0.6, -0.28, 0.74, 0.05) 0.4s;
}

#stop-play {
    position: absolute;
    z-index: 3;
    bottom: 50px;
    left: 50px;
    cursor: pointer;
}

.stop {
    display: inline-block;
    width: 8px;
    height: 30px;
    background: #6F7254;
    position: relative;
    left: 0;
    color: #6F7254;
}

.play {
    display: inline-block;
    width: 8px;
    height: 30px;
    background: #6F7254;
    position: relative;
}

.stoped .stop {
    width: 0;
    height: 0px;
    border-left: 20px solid;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    background: transparent !important;
    left: -12px;
}

.stoped .play {
    opacity: 0;
}

#real-menu {
    position: fixed;
    z-index: 5;
    width: 100%;
    background: #546D71;
    height: 100%;
    text-align: center;
    top: 0;
    transition: all 400ms cubic-bezier(0.65, 0.05, 0.36, 1) 0s, color ease 0.4s;
    display: table !important;
    overflow: hidden;
    top: 0;
}

.links {
    padding: 20px 0;
    font-family: 'Tamlil';
    color: #B3E8F1;
    font-size: 50px;
    display: table;
    /* width: 100%; */
    /* max-width: 400px; */
    margin: auto;
    position: relative;
    transition: all ease 0.2s;
}

#links {
    /* margin-top: 100px; */
    width: 100% !important;
    vertical-align: middle;
    display: none;
}

#mail {
    display: block !important;
    -webkit-transform: scale(1)!important;
            transform: scale(1)!important;
}

.links:hover > .inside-links {width: 120%;}

.mail-text {
    font-family: 'Tamlil';
    font-size: 24px;
    margin-top: 50px;
    display: block;
    color: #FDFCF4;
}

.text {
    padding: 10px 20px;
    background: #FDFCF4;
    border: none;
    margin-top: 15px;
    width: 400px;
    height: 40px;
    font-size: 16px;
    border-radius: 4px;
}

.mail-send {
    padding: 21px 40px;
    font-size: 20px;
    font-family: 'Tamlil';
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    color: #FDFCF4;
    cursor: pointer;
    transition: all 0.4s;
}

.error-text {
    font-size: 18px;
    font-family: 'Tamlil';
    margin-top: 10px;
    display: block;
    color: #FDFCF4;
}

.mail-send:hover {
    background: rgba(0,0,0,0.35);
}

.inside-links {
    height: 4px;
    left: 0;
    right: -10%;
    top: 90%;
    width: 0;
    display: block;
    position: absolute;
    transition: all ease 0.2s;
}

@media screen and (max-width: 1024px){
    #inside-bottom a {
        width: 70% !important;
    }
    #right {
        width: 100%;
        height: 510px;
    }

    #wrap {
        padding: 0;
        margin: 0 !important;
        height: auto !important;
    }

    #left {
        height: 400px;
        width: 100%;
        margin-top: -4px;
    }

    #menu {
        top: 0;
        right: 0 !important;
        left: inherit;
    }
    
    #links {
        /* display: block; */
        margin-top: 80px;
        text-align: center;
    }

    .links {
        display: block;
        text-align: center;
        padding: 20px 10px;
    }

    #real-menu {
        display: block;
        overflow: auto;
    }

    .links:hover > .inside-links {
        width: 60%;
    }

    .inside-links {
        right: 0;
        margin: auto;
    }

    .mail-text {
        padding: 10px;
    }

    .text {
        width: 80%;
        display: block;
        margin: 5px auto;
    }

    .mail-send {
        display: block;
        position: relative;
        width: 80%;
        padding: 20px 20px;
        margin: auto;
    }

    #real-menu::-webkit-scrollbar {
        width: 10px;
        background-color: transparent;
    }

    #real-menu::-webkit-scrollbar-thumb {
        width: 10px;
        cursor: pointer;
        border-radius: 50px;
        background-color: rgba(0, 0, 0, 0.2);
    }

    #stop-play {
        bottom: 25px;
        left: 25px;
    }
    
    #logo {
        top: 25px;
        left: 25px;
    }




#logo h1 {
    font-size: 25px;
}

#menu {
    width: 80px;
    height: 80px;
}

.menu-line:nth-child(1) {top: 35%;}

.menu-line:nth-child(2) {
    top: 50%;
}

.menu-line:nth-child(3) {
    top: 65%;
}

.menu-line {
    width: 35px !important;
    height: 2px;
}

.header {
    font-size: 38px;
}

.tags {
    font-size: 20px;
}

.tag-block {
    padding: 5px 23px;
}

.project {
    margin-top: 5px !important;
}

#move-buttons {
    position: fixed;
}

.links {
    font-size: 36px;
}

.inside-links {
    height: 2px;
}

#links {
    /* margin-top: 150px; */
}

#right {
    height: 535px;
}

.inside-text {
    display: block;
    margin-top: 125px;
}

#left {
    height: 275px;
}

.project-image img {
    height: 80%;
    width: auto;
}





}

@media screen and (max-width: 380px){
    #logo h1 {
        font-size: 30px;
        margin-top: 5px;
    }

    #right {
        height: 600px;
    }
    .buttons a {
        display: block;
        width: 80%;
        padding: 20px 0;
        margin: auto;
        border: 2px solid transparent;
    }
    #inside-bottom a {
        width: 80% !important;
    }
    
    .text-info {
        width: 80%;
        margin: auto;
    }
}





#top {
    background: #FDFCF4;
    text-align: center;
    padding: 100px 0 200px 0;
}

#menu.id-on {
    right: 25px;
    left: inherit;
}

#inside-bottom img {
    width: 100%;
}

#wrap.id-on {
    height: auto !important;
    padding: 0;
    margin: 25px;
    background: #B3E8F1;
}

#bottom {
    text-align: center;
}

#bottom-arrow {
    position: relative;
    text-align: center;
    opacity: 1;
    transition: all ease 0.4s;
}

#wrap.id-on .tags {
    margin-bottom: 25px;
}

.text-info {
    font-family: 'Tamlil';
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

#wrap.id-on .website {
    margin: auto;
}

#bottom-arrow:hover {
    opacity: 0.8;
}

#up-arrow {
    width: 20px;
    margin: 50px 0 25px 0;
    cursor: pointer;
}

.tag::after {
    content: " | ";
}

.tag:last-child::after {
    content: "";
}

.tag-block > .tag {
    display: block;
    padding: 10px 0;
}

.tag-block > .tag::after {
    content: "";
} 

.tag-block {
    padding: 10px 23px;
}

#inside-bottom a {
    padding-top: 10px;
    display: block;
    width: 50%;
    margin: auto;
}

#inside-bottom a:first-child {
    padding-top: 0;
    margin-top: -100px;
}

#page-loader {
    display: table;
    height: 100%;
    text-align: center;
    width: 100%;
    position: absolute;
}

#inside-loader {
    display: table-cell; 
    vertical-align: middle;
}

.loading-text {
    font-family: 'Tamlil', arial;
    color: #fff;
    font-size: 26px;
    padding: 25px;
    display: block;
}

.get-inside {
    /*text-decoration: underline;*/
    cursor: pointer;
    font-family: 'Tamlil', arial;
    color: #fff;
    font-size: 20px;
    padding: 10px;
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 30px;
}