@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap');
* {
    box-sizing:border-box;
}
body {
    margin-top:0;
    padding:0;
    margin:0;
    font-family:"Ubuntu", sans-serif;
    overflow-x:hidden;
}
#header {
    position:fixed;
    top:0;
    width:100%;
    z-index:-1;
}

#titlePosition {
    position:absolute;
    height:20%;
    top:50%;
    left:50%;
}

#titleWrap {
    position:relative;
    top:-50%;
    left:-50%;
    font-size:2.5rem;
    border-radius:10px;
    box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.5);
}
#title {
    background-color:white;
    border-radius:10px;
    margin:0;
    padding:1vw 2vw;
    mix-blend-mode:screen;
}

.titleImage {
    width:100%;
    height:100vh;
    object-fit:cover;
}

h1, h3 {
    text-align:center;
}

#aboutMe {
    position:relative;
    width:50vw;
    padding-bottom:25vh;
    margin-left:25vw;
    text-align:justify;
    font-size:1em;
}
#subTitle {
    color:rgb(100, 100, 100);
    margin-bottom:4vh;
    font-style:italic;
}
#meTitle {
    font-size:3rem;
}

#rocket {
    position:absolute;
    top:-5vh;
    right:-15vw;
    width:10vw;
    animation:4s rocketBob alternate infinite ease-in-out;
}
#jupiter {
    position:absolute;
    top:5vh;
    left:-20vw;
    width:15vw;
    animation:4s moonBob alternate infinite ease-in-out;
    animation-delay:3s;
}
@keyframes rocketBob {
    0% {
        transform:translateY(0);
    }
    100% {
        transform:translateY(2vh);
    }
}

/*#spaceman {
    float:left;
    width:12vw;
    height:12vw;
    clip-path:url(#blob);
    shape-outside:url("../images/blob2.svg");
    background-image:url("../images/user_icon.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    transition: 0.5s ease;
}*/
#aboutMe p {
    line-height:1.5rem;
}
/*edit from here*/
#wave {
    position:absolute;
    top:-30vh;
    width:100%;
    height:40vh;
    filter: drop-shadow(0 0 0.7rem rgba(0,0,0,0.5));
    z-index:-1;
}
#content {
    position:relative;
    margin-top:100vh;
    background-color:white;
    padding-top:1vh;
}
/*End edit*/

#descriptors {
    height:100vh;
}
.descriptorBox {
    position:relative;
    float:left;
}
.descriptorBox,.descriptorBox::after {
    width:50%;
    height:50vh;
    text-align:center;
    font-size:5rem;
    line-height:50vh;
    overflow:hidden;
}
.descriptorBox::after {
    position:absolute;
    width:100%;
    top:-50vh;
    left:0;
    background-color:black;
    content:attr(data-overlay-text);
    color:white;
}
#dRight::after {
    animation:right 20s infinite;
    animation-delay:20s;
    top:0;
}
#dLeft::after {
    animation:left 20s infinite;
    animation-delay:20s;
    top:0;
}
#dDown::after {
    animation:down 20s infinite;
    animation-delay:20s;
}
#dUp::after {
    animation:up 20s infinite;
    animation-delay:20s;
}

@keyframes down {
    0% { top:-50vh; }
    10% { top:0; }
    50% { top:0; }
    60% { top:-50vh; }
    100% { top:-50vh; }
}
@keyframes right {
    0%, 60%, 100% { left:0; }
    10%, 50% { left:-50vw; }
}
@keyframes up {
    0% { top:50vh; }
    10% { top:0; }
    50% { top:0; }
    60% { top:50vh; }
    100% { top:50vh; }
}
@keyframes left {
    0% { left:0; }
    10% { left:50vw; }
    50% { left:50vw; }
    60% { left:0; }
    100% { left:0; }
}

.title {
    margin-top:30vh;
    font-size:3rem;
}
#marquee {
    height:auto;
    background-color:black;
    color:white;
    overflow:hidden;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3);
    white-space:nowrap;
}

.marquee {
    display:inline-block;
    width:100vw;
    height:auto;
    background-color:black;
    text-align:center;
    font-size:0;
    white-space:normal;
}
.marquee span {
    width:25%;
    height:50%;
    padding:2rem;
    display:inline-block;
    font-size:2.5rem;
}

.marquee img {
    filter:invert(100%) grayscale(100%);
    width:6rem;
    height:6rem;
    object-fit:contain;
}
#marquee1 {
    margin-left:0;
    animation:60s marquee1 infinite linear;
}
#marquee2 {
    margin-left:-100%;
    animation:60s marquee2 infinite linear;
}
@keyframes marquee1 {
    0% { transform:translateX(0); }
    50% { transform:translateX(100%); }
    50.1% { transform:translateX(-100%); }
    100% { transform:translateX(0); }
}
@keyframes marquee2 {
    0% { transform:translateX(-100%); }
    100% { transform:translateX(100%); }
}

.projectSection {
    height:150vh;
}
.projectItem {
    position:relative;
    width:50%;
    height:50%;
    float:left;
    overflow:hidden;
    //box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
}
.projectItem img {
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    cursor:pointer;
    transition:all 0.5s ease-in-out;
}
.projectItem:hover img {
    transform:scale(1.5);
    filter:brightness(0.4);
}
.lmWrap {
    position:absolute;
    top:50%;
    left:50%;
    transition:all 0.5s ease-in-out;
    white-space:nowrap;
}
.learnMore {
    position:relative;
    left:-50%;
    width:auto;
    height:7vh;
    line-height:calc(1em - 1vw);
    font-size:3rem;
    padding:1vw 2vw;
    background-color:white;
    box-shadow:0px 0px 40px 0px black;
    mix-blend-mode:lighten;
    text-align:center;
    border-radius:10px;
}
.projectItem:hover .lmWrap {
    top:-30.5vh;
}
.projectItem:hover .learnMore {
    transform:scale(0);
}
.projectDescription {
    position:absolute;
    top:50%;
    //top:75vh;
    width:100%;
    color:white;
    text-align:center;
    padding:0 5vw;
    transform:scale(0);
    transition:all 0.5s ease-in-out;
    padding-bottom:1vw;
}
.projectDescription p {
    width:100%;
    margin-left:50vw;
    transition:all 0.5s 1s ease-in-out;
    line-height:2rem !important;
}
.projectItem:hover .projectDescription {
    //top:30%;
    transform:scale(1) translateY(-50%);
}
.projectDescription h1 {
    //margin-left:-200%;
    font-size:3rem;
    transition:all 0.5s 1s ease-in-out;
}
.projectItem:hover .projectDescription h1,.projectItem:hover .projectDescription p {
    margin-left:0;
}
.wip {
    display:inline-block;
    margin-top:-0.2vw;
    color:red;
    border:2px solid red;
    box-shadow:0px 0px 20px 0px rgba(255,0,0,0.5);
    text-shadow:0px 0px 20px rgba(255,0,0,0.5);
    padding:0 0.5vw;
    border-radius:5px;
}

.view {
    font-size:3rem !important;
    color:white;
    text-decoration:none;
    background-color:black;
    padding:0 1vw;
    border-radius:5px;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.7);
    transition:all 0.5s 0.5s ease-in-out;
    opacity:0;
}
.projectItem:hover .projectDescription .view {
    opacity:1;
}
.view:hover {
    background-color:white;
    color:black;
}

#websites {
    position:relative;
    width:100%;
    height:50vh;
    white-space:nowrap;
    background-color:black;
    font-size:0;
    overflow:hidden;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3);
    border-width:4px 0px;
    padding:0 5rem;
}

.carouselButton {
    position:absolute;
    width:5rem;
    color:white;
    cursor:pointer;
    user-select:none;
}
.carouselButton span {
    width:100%;
    text-align:center;
    font-size:9.375rem;
    line-height:50vh;
}
#leftCarousel {
    left:0;
}
#rightCarousel {
    right:0;
}
#rightCarousel span {
    float:right;
}
#carouselItems {
    height:100%;
    overflow:hidden;
}

.carouselItem {
    position:relative;
    display:inline-block;
    height:100%;
    width:40vw;
    background-color:purple;
    border-left:4px solid black;
    overflow:hidden;
}

.carouselItem img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:all 0.5s;
}
.carouselItem:hover img {
    transform:scale(1.1);
}

.viewWrap {
    position:absolute;
    top:0;
    left:50%;
    line-height: 50vh;
}

.viewWrap .view {
    position:relative;
    left:-50%;
    width:auto;
    line-height:7.5vh;
    text-align:center;
}
.carouselItem:hover .view {
    opacity:1;
}

#videos {
    font-size:0;
}
#videos p, #music p {
    width:50%;
    margin:0 auto;
    font-size:1.25rem;
    text-align:center;
}
.videoBox {
    display:inline-block;
    width:calc(100% / 3);
    margin-top:5vh;
}
.iframeWrap {
    position:relative;
    padding-bottom:56.10%;
}

.iframeWrap iframe,
.iframeWrap object,
.iframeWrap embed {
    position:absolute;
    top:5%;
    left:5%;
    width:90%;
    height:90%;
    box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.3);
    border-radius:10px;
}

.audioElement {
    float:left;
    width:40%;
    height:10vh;
    margin:5vh 5%;
    background-color:black;
    box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.3);
    color:white;
    border-radius:10px;
}
.leftAudioWrap {
    float:left;
    width:calc(100% - 10vh);
}
audio {
    display:none;
}
.play {
    width:10vh;
    height:10vh;
    font-size:4rem;
    float:right;
    text-align:center;
    line-height:10vh;
    cursor:pointer;
    border-left:1px solid white;
}
.audioVisual {
    float:left;
    width:100%;
    height:calc(5vh - 1px);
    border-top-left-radius:10px;
}
.audioTitle {
    font-size:1.5rem;
    height:5vh;
    text-align:center;
    border-top:1px solid white;
    line-height:calc(5vh - 1px);
    mix-blend-mode:exclusion;
}
.audioInfo {
    float:left;
    width:100%;
    height:100%;
    border-bottom-left-radius:10px;
}
.audioPlayTime {
    width:0;
    height:calc(5vh - 0px);
    margin-top:5vh;
    background-color:white;
    border-bottom-left-radius:10px;
}

#experienceWrap {
    position:relative;
}

#background {
    height:50vw;
}

#experience {
    position:absolute;
    top:0;
    width:100%;
    padding-top:5vw;
}
.end::after {
    position: absolute;
    content: '';
    right:-10.5vw;
    top: calc(3vw);
    width: 20vw;
    height:20vw;
    border:10px dashed black;
    border-radius:100%;
    transform:rotateZ(45deg);
    border-bottom-left-radius:0;
    border-bottom-right-radius:0;
    border-color:black transparent transparent transparent;
}
.experiencePanel {
    position:relative;
    float:left;
    display:table;
    width:25vw;
    margin-left:15vw;
    white-space:nowrap;
    font-size:0;
    background-color:white;
    border-top:1px solid rgb(240, 240, 240);
    border-radius:10px;
    box-shadow:0px 5px 10px 0px rgba(0,0,0,0.3);
    z-index:1;
}
.year {
    position:absolute;
    width:100%;
    top:100%;
    left:0;
    padding:10px;
    font-size:1.5rem;
    text-align:center;
}
.dottedLine {
    position:absolute;
    top:9vw;
    width:80%;
    left:20%;
    height:10px;
    background: repeating-linear-gradient(to right, black 0, black 80px, transparent 80px, transparent 120px);
    z-index:0;
}
.vertical {
    width:10px;
    height:15vh;
    top:50vw;
    left:calc(69vw + 10px);
    background: repeating-linear-gradient(to bottom, black 0, black 80px, transparent 80px, transparent 120px);
}

.notFirst {
    position:absolute;
    top:26.5vw;
    margin-left:35vw;
}
.secondLine {
    top:calc(29vw + 10px);
    left:16vw;
    width:30vw;
}
.start::after {
    position: absolute;
    content: '';
    left:-10vw;
    top: calc(4vw);
    width: 20vw;
    height:20vw;
    border:10px dashed black;
    border-radius:100%;
    transform: rotateZ(-45deg);
    border-bottom-right-radius:0;
    border-color:black transparent transparent black;
}
.xpImage {
    display:table-cell;
    width:30%;
    background-color:black;
    border-radius:10px 0 0 10px;
    vertical-align:middle;
}
.experienceImg {
    display:table-cell;
    vertical-align:middle;
    width:100%;
    padding:10px;
    object-fit:contain;
}
.xpDescription {
    display:inline-block;
    white-space:normal;
    vertical-align:middle;
    height:100%;
    border-radius:0 10px 10px 0;
}
.xpDescription h3 {
    font-size:1.5rem;
    margin: 10px;
}
.xpDescription p {
    padding:0 25px;
    text-align:justify;
    font-size:1rem;
}
.xpDescription a {
    color:black;
    text-decoration: none;
    background-image:linear-gradient(dodgerblue, dodgerblue), linear-gradient(black, black);
    background-size: 100% 2px, 100% 2px;
    background-position: 100% 100%;
    background-repeat: no-repeat;
    transition: all 0.1s linear;
}

a:hover {
    background-size:0 2px, 100% 2px;
    background-position:0 100%;
}

footer {
    position:absolute;
    height:auto;
    background-color:black;
    padding-bottom:2vh;
    color:white;
}
footer h1 {
    font-size:3rem;
    text-align:left;
    padding-left:1vw;
    padding-top:2vh;
    margin-top:0;
}

#contact {
    display:flex;
    font-size:0;
}

.contact {
    flex:2;
    padding-left:1vw;
    border-right:1px solid white;
    font-size:0;
    margin-right:1vw;
}
.contact:first-child {
    flex:1;
}

.contactLinks {
    display:inline-block;
    min-width:6vw;
    height:calc(3vw + 2vh);
    vertical-align:middle;
    font-size:1.5rem;
    line-height:3vw;
    padding:1vh 0;
}
.contactLinks a, .contactLinks span {
    display:inline-block;
    height:100%;
    color:white;
    text-decoration:none;
}

.contactImg {
    width:3vw;
    filter:invert(100%) grayscale(100%);
}

.longText {
    padding-right:1vw;
}

#info {
    flex:3;
    font-size:2rem;
    line-height:4rem;
    text-align:justify;
    vertical-align:top;
}

#infoInner {
    padding:1vw;
    height:100%;
    border:1px solid white;
    margin:0 2.5vw;
    border-color:white transparent white transparent;
}

#infoInner p {
    margin:0;
}

@media screen and (max-width: 1670px) {
    #info {
        font-size:1.5rem;
        line-height:3rem;
    }
}
@media screen and (max-width: 1510px) {
    .experiencePanel {
        width:30%;
    }
}
@media screen and (max-width: 1345px) {
    .experiencePanel {
        width:35%;
    }
    .experiencePanel:nth-child(2n) {
        margin-left:10vw;
    }
}

@media screen and (max-width: 1075px) {
    #background {
        position:absolute;
        width:100%;
    }
    #experience {
        position:static;
        padding-bottom:10vh;
    }
    .experiencePanel {
        position:relative;
        width:50%;
        float:none;
        margin:10vh 25% !important;
    }
    .start {
        margin-top:0 !important;
    }
    .notFirst {
        top:0;
    }
    .start::after {
        display:none;
    }
    .end::after {
        display:none;
    }
    .year {
        background-color:white;
        width:50%;
        left:25%;
        border:1px solid black;
    }
    .dottedLine {
        position:static;
        width:10px;
        height:88vh;
        margin:0 auto;
        background-color:black;
    }
    .secondLine {
        display:none;
    }

    #contact {
        flex-wrap:wrap;
    }
    .contact {
        flex:1 1 25vw !important;
        padding-left:5%;
        border:none;
    }
    .contactLinks {
        min-width:8vw;
        height:9vw;
        line-height:4.5vw;
    }
    .contactImg {
        width:4.5vw;
    }
    #info {
        flex:2 2 50vw;
    }
}

@media all and (max-width: 968px) {
    #title {
        line-height:calc(15vh - 2vw);
    }

    #jupiter {
        top:20vh;
        left:-23vw;
        width:20vw;
    }
    #rocket {
        right:-23vw;
        width:20vw;
    }

    #wave {
        height:30vh;
        top: -22vh;
    }

    #websites {
        padding:0 10%;
    }

    .descriptorBox {
        font-size:3rem;
    }
    .descriptorBox::after {
        font-size:3rem;
    }

    .carouselButton {
        width:10%;
    }
    .carouselButton span {
        font-size:4rem;
        margin-left:1vw;
    }
    .carouselItem {
        width:100%;
    }
    .carouselItem .view {
        width:25vw;
        height:auto;
    }

    .projectSection {
        height:200vh;
    }
    .projectItem {
        width:100%;
        height:25%;
    }
    .learnMore {
        height:auto;
        padding:2vh;
        line-height:8vw;
    }
    .projectDescription p {
        margin-left:100vw;
    }
    .projectDescription h1 {
        font-size:3rem;
    }

    .videoBox {
        width:100%;
    }
    #videos p {
        width:75%;
    }

    .audioElement {
        width:90%;
    }
    .audioElement:last-of-type {
        margin-bottom:30%;
    }
    .audioTitle {
        line-height:calc(5vh - 1px);
    }
    .play {
        font-size:3.13rem;
        line-height:calc(10vh - 2px);
    }
    .experiencePanel {
        margin-left:12.5% !important;
        width:75%;
    }
    .year {
        width:75%;
        left:12.5%;
    }

    footer h1 {
        text-align:center !important;
    }
}

@media screen and (max-width: 740px) {
    .marquee {
        width:150vw;
    }
    .marquee span {
        font-size:2rem;
    }
    .descriptorBox {
        font-size:2.5rem;
    }
    .descriptorBox::after {
        font-size:2.5rem;
    }

    .contact {
        flex:1 1 50vw !important;
    }
    .contactLinks {
        padding-right:5vw;
        margin-bottom:3vw;
    }
    #info {
        margin-top:5vh;
    }
}

@media screen and (max-width: 499px) {
    #jupiter, #rocket {
        display:none;
    }
    #wave {
        width:100%;
        height:15vh;
        top:-11vh;
        left:0;
    }

    #titleWrap {
        font-size:2rem;
        padding:0;
    }

    #aboutMe{
        width:80%;
        margin-left:10%;
    }

    .carouselItem .view {
        opacity:1;
        width:50%;
    }

    .title {
        margin-top:10vh;
    }
    .projectItem {
        height:60vh;
    }
    .projectDescription h1 {
        font-size:2rem;
    }

    #descriptors {
        height:200vh;
    }
    .descriptorBox,.descriptorBox::after {
        font-size:2rem;
        width:100%;
        height:50vh;
    }

    #videos .title {
        margin-top:50vh;
    }

    #vidoes p, #music p {
        width:80%;
    }

    .descriptorBox::after {
        top:0;
    }
    #dRight::after, #dUp::after {
        left:-100vw;
        animation:right 20s infinite;
        animation-delay:20s;
    }
    #dLeft::after, #dDown::after {
        animation:left 20s infinite;
        animation-delay:20s;
    }

    @keyframes right {
        0%, 60%, 100% { left:-100vw; }
        10%, 50% { left:0; }
    }
    @keyframes left {
        0%, 60%, 100% { left:0; }
        10%, 50% { left:100vw; }
    }

    .marquee span {
        font-size:1.5rem;
    }
    .marquee img {
        width:5rem;
        height:5rem;
    }
}
