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

html{
    font-size: 10px;
    font-family: 'Roboto', sans-serif;
    color: #eee;
}

body{
    width: 100%;
    height: 100%;
    /* background: url("images/sitebg.jpg")  center fixed no-repeat; */
    background: #eee ;
    background-size: cover;
}

section{
    padding: 6rem;
}

a{
    text-decoration: none;
    color:#eee;
}

p{
    font-size: 1.8rem;
    font-weight: 300;
    color: #000000;
}

img{
    width:100%;
}
/*End global*/

/*Start reusable*/
.container{
    width: 90%;
    max-width: 120rem;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.section-heading{
    text-align: center;
    margin-bottom: 10rem;
}

.section-heading h1{
    font-size: 3.5rem;
    /* color: rgba(255, 255, 255, .3); */
    color: #000000;
    text-transform: uppercase;
    font-weight: 300;
    position: relative;
    margin-bottom: 1rem;
}

/* .section-heading h1::before,
.section-heading h1::after{
    content: '';
    position: absolute;
    bottom: -.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #313534;
}

.section-heading h1::before{
    width: 10rem;
    height: 3px;
    border-radius: .8rem;
}

.section-heading h1::after{
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;
    bottom: -1rem;
} */

.section-heading h6{
    font-size: 1.6rem;
    font-weight: 300;
    color: #000000;
}

.has-margin-right{
    margin-right: 5rem;
}

/*End reusable*/

/*Start header*/
header{
    position: relative;
    width: 100%;
    height: 100vh;
    /* background: url("images/personal/yellow_1.png")  center no-repeat; */
    /* background-color: #fbefcc; */
    /* background-color: #3a506b; */
    background-color: #ffdab9;
    background-size: 100% ;
}

.top-nav{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: -100vh;
    z-index: 50;
    /* background-color: #16162d; */
    background-color: #000000;
    border-bottom-right-radius: 100%;
    border-bottom-left-radius: 100%;
    transition: all 650ms cubic-bezier(1, 0, 0, 1);
    background-color: antiquewhite;
}

.nav-list{
    list-style: none;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.nav-list li{
    margin: 0 2rem;
}

.nav-link{
    font-family: 'The Historia Demo', sans-serif;
    font-size: 5rem;
    padding: 1rem;
    color: peru;
}

.nav-link:hover,
.nav-link:focus{
    background: linear-gradient(to top, rgba(252,209,129, 0.8), rgba(231,144,135, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.top-nav.open{
    top: 0;
    border-radius: initial;
}

.menu-toggler{
    position: absolute;
    top: 5rem;
    right: 5rem;
    width: 5rem;
    height: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1500;
    transition: transform 650ms ease-out;
}

.menu-toggler.open{
    transform: rotate(-45deg);
}

.bar{
    /* background: linear-gradient(to right, #ffe838, #fd57bf); */
    background: -webkit-linear-gradient(45deg, rgba(252,209,129, 0.8), rgba(231,144,135, 0.8));
    width: 100%;
    height: 4px;
    border-radius: .8rem;

}

.bar.half{
    width: 50%;
}

.bar.start{
    transform-origin: right;
    transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
}

.open .bar.start{
    transform: rotate(-450deg) translateX(.8rem);
}

.bar.end{
    align-self: flex-end;
    transform-origin: left;
    transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
}

.open .bar.end{
    transform: rotate(-450deg) translateX(-.8rem);
}

.landing-text-t{
    position: absolute;
    top: 30%;
    right: 8%;
    /* transform: translate(-10%, -50%); */
    width: 40%;
    /* text-shadow: 2px 2px 8px #73687f; */
    z-index: 1;
}

.landing-text-t img {
    width: 55%;
    margin-bottom: 2rem;
}

.landing-text-t h1{
    font-size: 18rem;
    font-family: 'The Historia Demo', sans-serif;
    /* font-family: 'note_thisregular'; */
    /* font-family: freight-display-pro; */
    /* font-family: Rockwell Extra Bold,Rockwell Bold,monospace; */
    /* color: #e0876a; */
    font-size: 10rem;
    font-weight: 200;
    text-align: left;
    padding: 0rem;
    user-select: none;
    /* color: white; */
    /* margin-top: 5rem; */

}

.landing-text-t h6{
    /* font-family: 'note_thisregular'; */
    /* font: 400 130px/0.8 'Cookie', Helvetica, sans-serif; */
    /* font-family:  "Times New Roman", Times, serif; */
    /* font-family: 'note_thisregular'; */
    /* font-family: Montserrat,Arial,Helvetica,sans-serif; */
    /* font-family: freight-display-pro; */
    font-weight: 300;
    font-size: 3.5rem;
    text-align: left;
    /* color: white; */
    /* color: #e0876a; */
    text-shadow: 4px 4px 3px rgba(0,0,0,0.1); 
    /* line-height: 200%; */
    margin-bottom: 3rem;
}

.landing-text-t h5{
    /* font-family: 'note_thisregular'; */
    /* font: 400 130px/0.8 'Cookie', Helvetica, sans-serif; */
    /* font-family:  "Times New Roman", Times, serif; */
    /* font-family: 'note_thisregular'; */
    /* font-family: Montserrat,Arial,Helvetica,sans-serif; */
    /* font-family: freight-display-pro; */
    font-family: "YouYuan";

    font-weight: 300;
    font-size: 2rem;
    text-align: left;
    /* color: white; */
    /* color: #e0876a; */
    text-shadow: 4px 4px 3px rgba(0,0,0,0.1); 
    line-height: 150%;
    /* opacity: 60%; */
}

.landing-pic {
    position: absolute;
    width: 45%;
    left: 3%;
    top: 15%;
    height: 100%;
}

.landing-pic img {
    width: 100%;
}

/*End header*/

/*Start about*/
.about{
    /* background-color: #eee;     */

}

.about .container{
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-heading{
    /* text-align: center; */
    text-transform: uppercase;
    /* line-height: 0; */
    margin-bottom: 3rem;
}

.about-heading h1{
    display: inline;
    font-size: 10rem;
    font-family: freight-display-pro;
    /* opacity: .3; */
    color: #000000;
    user-select: none;
}

.about-heading h6{
    display: inline;
    position: relative;
    left: 0.5rem;
    opacity: 1;
    z-index: 2;
    font-size: 3rem;
    font-weight: 400;
    color: #313534;
}

.profile-img{
    flex: 1;
    margin-right: 5rem;
    box-shadow: 5px 10px  10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.about-details{
    flex: 1;
}

.about-details p{
    /* font-family: freight-display-pro; */
    font-family: "YouYuan";
    font-size: 2.2rem;
}

.social-media{
    margin-top: 5rem;
}

.social-media i{
    font-size: 5rem;
    transition: color 650ms;
}

.fa-facebook-square:hover{
    color: #4267b2;
}

.fa-twitter-square:hover{
    color: #38a1f3;
}

.fa-instagram:hover{
    color: red;
}
/*End about*/

/*Start services*/
/* .services{
    background-color: #313534;
} */

.my-skills{
    margin-top: 10rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
    grid-gap: 2.5rem;
    text-align: center;
}

.skill{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.skill h1{
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 2rem -2px 2rem 0;
    color: #000000;
}

.icon-container{
    width: 10rem;
    height: 10rem;
    border: 3px solid #ffe838;
    background-color: #fd57bf;
    margin-bottom: 2rem;
    display: flex;
    transform: rotate(45deg);
}

.icon-container-2{
    width: 10rem;
    height: 10rem;
    /* border: 3px solid #ffe838; */
    /* background-color: #fd57bf; */
    margin-bottom: 2rem;
    display: flex;
    /* transform: rotate(45deg); */
}

.icon-container i{
    color: #eee;
    font-size: 5rem;
    margin: auto;
    transform: rotate(-45deg);
}
/*End services*/

/*Start portfolio*/
.portfolio {
    /* width: 100%;
    height: 100vh; */
    /* background: url("images/back_pink2.png")  bottom no-repeat; */

    background-size: 100% ;
}

.portfolio-section-heading {
    text-align: center;
    margin-bottom: 10rem;
    font: 400 100px/1.5 'Pacifico', Helvetica, sans-serif;
    color: #2b2b2b;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.1), 7px 7px 0px rgba(0,0,0,0.05);
}

.portfolio-section-heading h1 {
    font-size: 70px;
    font-family: 'note_thisregular';
    font-weight: 800;
}

.portfolio-section-heading h6 {
    font-size: 30px;
    font-family: 'note_thisregular';
}

.portfolio h1 {
    color: #000000;
}

.portfolio h6 {
    color: #000000;
}

.portfolio-item{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5rem;
}

.portfolio-item:last-child{
    margin-bottom: 0;
}

.profile-img{
    width: 50rem;
    flex: 1;
}

.portfolio-description{
}

.portfolio-description h1{
    font-size: 3rem;
    font-weight: 300;
    margin: 1rem 0;
    color: #000000;
}

.portfolio-description h6{
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.6;
    color: #000000;
}

.portfolio-description p{
    color: #000000;
}

.portfolio-description .cta{
    display: inline-block;
    margin-top: 2.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #3883ff;
    transition: color 650ms;
}

.portfolio-description .cta:hover{
    color: #2f67cd;
}
/*End services*/

/*Start Photo wall*/
.photo-wall {
    background-size: 100% ;
    /* padding: 2rem; */
}

.photo-section-heading  {
    text-align: center;
    margin-bottom: 3rem;
}

.photo-section-heading h1{
    font-family: freight-display-pro;
    font-size: 7rem;
}

.photo-section-heading h6{
    font-family: freight-display-pro;
    font-size: 2.3rem;
}

.photo-container {
    height: 100%;
    margin: 0 auto;
    position: relative;
    margin-bottom: 2rem;

    column-span: all;
    column-count: 4;
    column-gap: 2rem;
    /* display: grid;
    grid-template-columns: 49% 49%; 
    grid-gap: 2rem;
    height: auto; */
}

.gallery-item {
    /* display: inline-grid;
    margin-right: 2rem; */   
}

.gallery-item:last-child{
    margin-bottom: 0;
}
/*End photo wall*/


/*Start thevideo*/
.video_pc {
    position: relative;
    width: 100%;
    bottom: 0;
}

.video_tab {
    position: relative;
    width: 100%;
    display: none;
}

.video_heading{
    position: absolute;
    bottom: 0.2rem;
    width: 100%;
    height: 100%;
    color: #f1f1f1;
    background: rgba(0, 0, 0, 0.5);
}

.video_heading h1{
    font-family: freight-display-pro;
    text-align: center;
    font-size: 8rem;
    position: absolute;
    width: 100%;
    top: 5%;
    /* left: 0; */
    /* right: 0; */
}

.video_heading h6{
    font-family: freight-display-pro;
    text-align: center;
    font-size: 3.2rem;
    position: absolute;
    width: 100%;
    top: 20%;
    /* left: 0; */
    /* right: 0; */
}

/*End thevideo*/

/*Start Courses*/
.courses{
    /* background-color: #000000; */
    background-color: #dadce2;
    background-image: linear-gradient(180deg, white, #dadce2);
    height: 120%;
    padding: 0.5rem;
}

.course-section-heading  {
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 4rem;
}

.course-section-heading  h6{
    font-family: freight-display-pro;
    text-align: center;
    font-size: 2.5rem;
}

.courses h1{
    /* color: #eee; */
    font-family: freight-display-pro;
    font-size: 7rem;
}

.courses h6{
    /* color: #eee; */
}

.front h2, h4 {
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    color: #333333;
}

.front  h2 {
    font-size: 27px;
    font-weight: 500;
    letter-spacing: -0.2px;
    margin-bottom: 10px;
}

.info p {
    position: absolute;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #555;
    line-height: 22px;
}

.info li {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    /* width: 100%; */
    font-size: 1.3rem;
    color: #555;
    line-height: 22px;
}

.info ul, li {
    text-decoration: none;
    list-style: disc outside;
}

.info ul {
    padding-left: 20px;
}

svg {
    margin: 0px;
    min-width: 24px;
    min-height: 24px;
}

.cards {
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;

    position: relative;
    height: 600px;
    width: 100%;
}

.cardContainer {
    position: absolute;
    margin: auto;
    height: 400px;
    width: 20%;
    top: 1.5rem;
}

.cards .r1 {
    left: 2%;
    z-index: -1;
}

.cards .r2 {
    left: 27%;
    /* top: 25%; */
    z-index: -1;
}

.cards .r3 {
    right: 27%;
    /* top: 25%; */
    z-index: -1;
}

.cards .r4 {
    right: 2%;
    /* top: 25%; */
    z-index: -1;
}

.rcard {
    position: absolute;
    width: 100%;
    height: 100%;
    /* margin: 2rem; */
    border-radius: 1rem;
    cursor: pointer;

    /* -webkit-transform: translateZ(-100px);
    transform: translateZ(-100px); */
    -webkit-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
    
    overflow: hidden;
}

.rcard:after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -1;
    border-radius: 5px;
    box-shadow: 0 14px 50px -4px rgba(0, 0, 0, 0.15);
    opacity: 0;
    -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1.4);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1.4);
}

/* body.hasHover .front:hover {
    -webkit-transform: translateZ(0px);
    transform: translateZ(0px);
}

body.hasHover .front:hover:after {
    opacity: 1;
} */

.front {
    position: absolute;
    /* background-color: #3883ff; */
    /* background-color: #fce043; */
    /* background-image: linear-gradient(315deg, #fce043 0%, #fb7ba2 74%); */
    /* background-color: #f18960; */
    background-image: linear-gradient(315deg, rgb(241, 137, 96) 0%, rgb(248, 188, 156) 74%);

    z-index: 2;
    -webkit-transform: translateZ(-100px) rotateY(0deg);
    transform: translateZ(-100px) rotateY(0deg);
}

.back {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);;
    /* background: rgba(0, 0, 0, 0.5); */
    /* padding: 1rem; */
    /* opacity: 0.5; */
    z-index: -10;
    border-radius: 1rem;
    overflow: hidden;
    -webkit-transform: translateZ(-100px) rotateY(180deg);
    transform: translateZ(-100px) rotateY(180deg);
}

.back video {
    position: absolute;
    width: auto;
    height: 100%;
    left: 50%;
    margin-left: -160px;
}

.course_video_heading {
    position: absolute;
    /* bottom: 0.2rem; */
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    background: -webkit-linear-gradient(45deg, rgba(164, 74, 42, 0.7), rgba(205, 138, 102, 0.7));
    color: #f1f1f1;
    /* border-radius: 1rem; */
}

.course_video_heading h1{
    position: absolute;
    font-size: 4rem;
    /* max-width: 100%; */
    font-family: freight-display-pro;
    text-align: left;
    padding: 1rem;
    margin-top: 1rem;
}

.course_video_heading h6{
    position: absolute;
    font-size: 1.5rem;
    top: 15%;
    /* font-family: freight-display-pro; */
    font-family: "YouYuan";
    text-align: left;
    padding: 1rem;
    line-height: 2.5rem;
}

.back h1{
    position: absolute;
    font-size: 3.5rem;
    /* max-width: 100%; */
    font-family: freight-display-pro;
    text-align: left;
    padding: 1rem;
}

.cardImg {
    position: absolute;
    height: 50%;
    width: 100%;
    padding: 2rem;
}

.cardImg img {
    position: absolute;
    max-height: 80%;
    max-width: 100%;
    width: auto;
    text-align: center;
    left: 15%;
}

.front .finfo {
    position: absolute;
    padding: 1rem;
    background-color: antiquewhite;
    bottom: 0;
    height: 50%;
    width: 100%;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.front .finfo h2 {
    font-size: 3.5rem;
}

.front .finfo p {
    font-family: "YouYuan";
    font-size: 1.8rem;
}

/* .certif {
    position: relative;
    bottom: 10px;
    height: 30px;
    width: 50%;
    text-align: center;
} */

.w3-container    {
    text-align: center;
}

.w3-nocenter {
    text-align: left;
    /* font-family:  "Times New Roman", Times, serif; */
    /* font-family: 'note_thisregular'; */
    /* font-family: Montserrat,Arial,Helvetica,sans-serif; */
}

.w3-nocenter p {
    font-family:  "Times New Roman", Times, serif;
    /* font-family: 'note_thisregular'; */
    /* font-family: Montserrat,Arial,Helvetica,sans-serif; */
    
    margin-top: 8px;
    margin-bottom: 8px;
}

.w3-button {
    padding: 10px 20px;
}

.w3-teal .w3-button {
    padding: 8px 16px;
}

.w3-black {
    font-size: 1.4rem;
}

.w3-modal-content {
    width: 750px;
}

.w3-container header {
    height: 6vh;
}

.w3-container h2 {
    margin-top: 5.3px;
}

/* .w3-container p {
    font-family: "YouYuan";
    margin-top: 8px;
    margin-bottom: 8px;
} */

.w3-container footer {
    height: 6vh;
}

.w3-container footer p {
    color: #f1f1f1;
    margin-top: 5px;
}

.w3-teal {
    /* background-color: ; */
    background-image: linear-gradient(315deg, rgb(241, 137, 96) 0%, rgb(248, 188, 156) 74%);
}

.w3-button {
    background-color: rgb(241, 137, 96);
}


/*End Courses*/


/*Start footer*/
.copyright{
    width: 100%;
    text-align: center;
    /* background-color: #16162d; */
    padding: 2rem 0;
    position: relative;
}

.up{
    position: absolute;
    width: 5rem;
    height: 5rem;
    background-color: #eee;
    top: -2.5rem;
    right: 5rem;
    border-radius: 100%;
    display: flex;
    animation: uppulse 2s infinite;
}

.up i{
    /* color: #16162d; */
    color: #FFB714;
    font-size: 2rem;
    margin: auto;
    cursor: pointer;
}
/*End footer*/

/*Start animations*/
@keyframes uppulse {
    0%{
        box-shadow: 0 0 0 0 rgba(252,209,129, 0.99);
    }
    70%{
        box-shadow: 0 0 0 2rem rgba(252,209,129, 0);
    }
    100%{
        box-shadow: 0 0 0 0 rgba(252,209,129, 0);
    }
}
/*End animations*/

/*Start media queries*/
/* @media (hover: none) { 
    .card:hover {
      background: red;
      color: white;
      -webkit-transform: none;
      transform: none;
    }
} */

@media screen and (max-width: 768px) {
    body{
        /* background: url("images/personal/back_dot7.png") no-repeat center fixed; */
        background-size: cover;
    }

    header{
        /* background: url("images/personal/back_dot7.png") center no-repeat; */
        background-size: 150%;
        /* left: -15rem; */
        background-position: 110% 60%;
    }

    .landing-text-t {
        width: 90%;
        right: 0;
        top: 15%;
    }

    .landing-text-t h1{
        font-size: 10rem;
        text-align: center;
    }

    .landing-text-t h6{
        font-size: 2rem;
        text-align: center;
        width: 100%;
        margin-top: 30rem;
        /* margin-bottom: 3rem; */
    }

    .landing-pic {
        position: absolute;
        width: 100%;
        top: 30%;
        /* top: 0; */
        bottom: 0rem;
        left: 0;
    }


    .nav-list{
        flex-direction: column;
    }

    li{
        margin: 2rem 0;
    }

    .nav-link{
        font-size: 4.5rem;
    }

    .profile-img{
        text-align: center;
        width: 100%;
        margin-right: 5rem;
        box-shadow: 5px 10px  10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    .about .container{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .about-heading h1{
        font-size: 8rem;
    }

    .section-heading h1{
        font-size: 3rem;
    }

    .about-details .nav-list{
        flex-direction: initial;
    }

    .about-details li{
        margin: 0 2rem;
    }

    .photo-container {
        height: 100%;
        margin: 0 auto;
        position: relative;
        margin-bottom: 2rem;
    
        column-span: none;
        column-count: 2;
        column-gap: 2rem;
    }

    .gallery-item {
        /* display: inline-grid;
        margin-right: 2rem; */ 
        margin-bottom: 2rem;  
    }

    .video_heading h1{
        font-family: freight-display-pro;
        text-align: center;
        font-size: 3rem;
        position: absolute;
        width: 100%;
        top: 15%;
        /* left: 0; */
        /* right: 0; */
    }

    .video_heading h6{
        font-family: freight-display-pro;
        text-align: center;
        font-size: 1.5rem;
        position: absolute;
        width: 100%;
        top: 30%;
        /* left: 0; */
        /* right: 0; */
    }


    .cardContainer {
        width: 100%;
    }

    .cards .r1 {
        /* top: 0; */
    }
    
    .cards .r2 {
        left: 20%;
        /* top: 100px; */
    }
    
    /* .courses .r3 {
        top: 50%;
    }
    
    .courses .r4 {
        top: 75%;
    } */

    .icon-container{
        width: 7rem;
        height: 7rem;
        
    }

    .icon-container i{
        font-size: 4rem;
    }

    .timeline ul{
        margin: 0 0 0 auto;
    }

    .timeline .date::before{
        left: -20rem;
    }

    .timeline .date::after{
        left: -5.9rem;
    }


}

@media screen and (max-width: 600px) {
    .menu-toggler{
        top: 2rem;
        right: 2rem;
    }

    header {
        width: 100%;
        height: 150vh;
        background-size: 100%;
    }

    .landing-pic img{
        margin-top: -10rem;
        margin-left: 5%;
    }

    .landing-text-t {
        width: 90%;
        right: 0;
        top: 15%;
    }

    .landing-text-t img {
        width: 80%;
        margin-bottom: 2rem;
        margin-left: 2rem;
    }

    .landing-text-t h1{
        font-size: 10rem;
        text-align: center;
        margin-left: -2rem;
    }

    .landing-text-t h6{
        font-size: 4rem;
        text-align: center;
        width: 100%;
        margin-top: 35rem;
        margin-left: -2rem;
        /* margin-bottom: 3rem; */

    }

    .landing-text-t h5{
        width: 95%;
        margin-left: -0.7rem;
    }

    .landing-pic {
        position: absolute;
        width: 100%;
        top: 30%;
        /* top: 0; */
        bottom: 0rem;
        left: 0;
    }

    .nav-link{
        font-size: 3.5rem;
    }

    .above .container{
        flex-direction: column;
    }

    .profile-img{
        margin: 0 0 7rem 0;
    }

    .portfolio-item{
        flex-direction: column;
    }

    .portfolio-img{
        margin: 0 0 2rem 0;
        order: 1;
    }

    .portfolio-description{
        margin: 0;
        order: 2;
    }

    .photo-wall {
        padding: 3rem;
    }

    .photo-container {
        height: 100%;
        margin: 0 auto;
        position: relative;
        margin-bottom: 2rem;
    
        column-span: all;
        column-count: 2;
        column-gap: 2rem;
    }

    .video_pc {
        display: none;
    }

    .video_tab {
        display: block;
    }

    .video_heading h1 {
        font-size: 5rem;
        top: 3%;
    }

    .courses {
        height: 340%;
        padding: 4rem;
    }

    .cards {
        -webkit-perspective: 3000px;
        perspective: 3000px;
    }

    .courses .r1 {
        top: 0;
        top: 10%;
    }
    
    .courses .r2 {
        left: 0;
        top: 90%;
    }

    .courses .r3 {
        left: 0;
        top: 170%;
    }
    
    .courses .r4 {
        left: 0;
        top: 250%;
    }
    
    /* .courses .r3 {
        top: 50%;
    }
    
    .courses .r4 {
        top: 75%;
    } */

    .timeline p{
        font-size: 1.6rem;
    }

    .timeline .date::before{
        font-size: 1.4rem;
    }

    form{
        width: 100%;
    }

    .up{
        right: 2rem;
    }
}
/*End media queries*/