@font-face {

    font-family: GreenScreen;
    src: url(../Fonts/Greenscr.ttf);

}


.SuperJames {
    
    position: absolute;
    left: 0;
    right: -678px;
    top: 170px;

    margin: auto;

    width: 847px;    
    height: auto;
    float: left;

    z-index: 100;
}

.SJBorder {

    position: absolute;
    left: 0;
    right: -760px;
    top: 140px;

    margin: auto;

    width: 682px;    
    height: auto;

    float: left;

    z-index: 99;
}

.AboutMe {

    position: absolute;
    left: -764px;
    right: 0;
    top: 180px;

    margin: auto;

    width: 662px;
    height: 501px;

    float: left;

    z-index: 50;
}

h1 {

    position: absolute;
    left: -793px;
    right: 0;
    top: 224px;

    margin: auto;

    width: 622px;
    height: 423px;

    z-index: 100;

    padding: 10px;
    font-size: 18px;
    line-height: 19.2px;
    font-family: "GreenScreen", Georgia, 'Times New Roman', Times, serif;

}

.FavoriteColors {

    position: absolute;
    left: -1020px;
    right: 0;
    top: 692px;

    margin: auto;

    width: 256px;    
    height: 169px;

    z-index: 100;

}

.Hobbies {

    position: absolute;
    left: -166px;
    right: 0;
    top: 351px;

    margin: auto;

    width: 352px;
    height: 225px;

    float: left;

    z-index: 50;

}

h2 {

    position: absolute;
    left: -194px;
    right: 0;
    top: 395px;

    margin: auto;

    width: 312px;
    height: 147px;
    z-index: 100;


    padding: 5px;
    font-size: 14.5px;
    line-height: 17px;
    font-family: "GreenScreen", Georgia, 'Times New Roman', Times, serif;

}

.AboutBorder {

    position: absolute;
    left: 0;
    right: 0;
    top: 97px;

    margin: auto;

    width: 1377px;
    height: 776px;

    border: 1px solid #00f2ff;
    background-image: url(../Backgrounds/AboutMe.gif);
    float: left;

}

.Badges {

    width: 670px;
    height: 15px;
    background-color: transparent;
    margin-top: 13px;
    float: right;
    margin-right: 6px;
}

.RunningCat {

    position: absolute;
    height: 32px;
    width: 604px;
    float: left;
    margin-left: 750px;
    margin-top: 727px;
    z-index: 100;
    
}

.Star1 {

    position: absolute;
    left: 0;
    right: -1180px;
    top: 150px;

    margin: auto;

    height: 93px;
    width: 100px;
    float: left;

    z-index: 220;

}

.Star2 {

    position: absolute;
    left: -1400px;
    right: 0;
    top: 710px;

    margin: auto;

    height: 93px;
    width: 100px;

    float: left;

    z-index: 220;

}

.Pac-Man {

    float: left;
    margin-top: 7px;
    margin-left: 7px;
    position: absolute;

    animation-duration: 7s;
    animation-name: move;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes move {
    0% {
      left: 0;
    }

    49% {
        left: 39.999%;
        transform: rotateY(0deg);
    }

    50% {
      left: 40%;
      transform: rotateY(180deg);
      
    }

    99% {
      left: 0.001;
      transform: rotateY(180deg); 
    }

    100% {
        left: 0;
        transform: rotateY(0deg);
    }
}

@media only screen and (max-width: 1540px) {
    
    .Pac-Man {

        animation-duration: 6s;

    }

    @keyframes move {
        0% {
          left: 0;
        }

        49% {
            left: 40.999%;
            transform: rotateY(0deg);
        }

        50% {
          left: 41%;
          transform: rotateY(180deg);
      
        }

        99% {
            left: 0.001;
            transform: rotateY(180deg); 
        }

        100% {
            left: 0;
            transform: rotateY(0deg);
        }
    }
    
    .AboutBorder {
        width: 940px;
        height: 586px;
    }

    .AboutMe {

        left: -200px;
        right: 290px;
        width: 470px;
        height: auto;

    }

    h1 {

        left: 0;
        right: 496px;
        top: 210px;

        width: 440px;
        height: auto;

        background-color: transparent;
        padding: 4px;
        font-size: 12px;
        line-height: 14px;

    }

    .FavoriteColors {

        position: absolute;
        left: 0;
        right: 770px;
        top: 545px;

        margin: auto;

        width: 186px;    
        height: auto;

        z-index: 100;

    }

    .Hobbies {

        left: 0;
        right: 288px;
        top: 276px;

        width: 278px;
        height: auto;

    }

    h2 {

        left: 0;
        right: 22px;
        top: 312px;

        width: 244px;
        height: auto;

        font-size: 10.4px;
        line-height: 13px;

    }

    .Badges {

        width: 480px;
        height: auto;
        margin-top: 9px;
        margin-right: 0;

    }

    .Badges img {

        width: 55px;
        height: auto;

    }
    
    .RunningCat {

        position: absolute;
        height: 0;
        width: 50%;
        margin-left: 475px;
        margin-top: 500px;

    
    }

    .SuperJames {
    
        left: 440px;
        right: 0;
        top: 156px;

        margin: auto;

        width: 550px;    
        height: auto;

    }

    .SJBorder {

        right: 0;
        left: 470px;
        top: 130px;

        margin: auto;

        width: 450px;    
        height: auto;

    }

    .Star1 {

        left: 0;
        right: -750px;
        top: 150px;

        height: auto;
        width: 80px;


    }

    .Star2 {

        display: none;

    }
}

@media only screen and (max-width: 1010px) {
    
    .Pac-Man {

        animation-duration: 6s;

    }

    @keyframes move {
        0% {
          left: 0;
        }

        49% {
            left: 49.999%;
            transform: rotateY(0deg);
        }

        50% {
          left: 50%;
          transform: rotateY(180deg);
      
        }

        99% {
            left: 0.001;
            transform: rotateY(180deg); 
        }

        100% {
            left: 0;
            transform: rotateY(0deg);
        }
    }
    
    .AboutBorder {
        width: 740px;
        height: 1150px;
    }

    .AboutMe {

        left: 0;
        right: 290px;
        width: 470px;
        height: auto;

    }

    h1 {

        left: 0;
        right: 310px;
        top: 210px;

        width: 440px;
        height: auto;

        background-color: transparent;
        padding: 4px;
        font-size: 12px;
        line-height: 14px;

    }

    .FavoriteColors {

        position: absolute;
        left: 460px;
        right: 0;
        top: 355px;

        margin: auto;

        width: 256px;    
        height: 169px;

        z-index: 100;

    }

    .Hobbies {

        left: 160px;
        right: 0;
        top: 81px;

        width: 288px;
        height: auto;

    }

    h2 {

        left: 166px;
        right: 0;
        top: 116px;

        width: 254px;
        height: auto;

        font-size: 11px;
        line-height: 14px;

    }

    .Badges {

        width: 680px;
        height: auto;
        margin-top: 453px;
        margin-right: 23px;
        background-color: transparent;
    }
    
    .Badges img {

        width: 80px;
        height: 15px;

    }

    .RunningCat {

        position: absolute;
        height: 0;
        width: 90%;
        margin-left: 75px;
        margin-top: 1100px;


    
    }

    .SuperJames {
    
        left: 0;
        right: 10px;
        top: 622px;

        margin: auto;

        width: 737px;    
        height: auto;
    }

    .SJBorder {

        right: 0;
        left: 0;
        top: 590px;

        margin: auto;

        width: 600px;    
        height: auto;

    }

    .Star1 {

        left: 0;
        right: -380px;
        top: 600px;

        height: auto;
        width: 100px;


    }

    .Star2 {

        display: none;

    }
}

@media only screen and (max-width: 778px) {
    
    .Pac-Man {

        animation-duration: 5s;

        
    }

    @keyframes move {
        0% {
          left: 0;
        }

        49% {
            left: 79.999%;
            transform: rotateY(0deg);
        }

        50% {
          left: 80%;
          transform: rotateY(180deg);
      
        }

        99% {
            left: 0.001;
            transform: rotateY(180deg); 
        }

        100% {
            left: 0;
            transform: rotateY(0deg);
        }
    }
    
    .AboutBorder {
        width: 340px;
        height: 1246px;
    }

    .AboutMe {

        left: 0;
        right: 0;

        width: 325px;
        height: auto;

    }

    h1 {

        left: 0;
        right: 13px;
        top: 202px;

        width: 305px;
        height: 207px;

        padding: 3px;
        font-size: 9px;
        line-height: 9.4px;

    }

    .FavoriteColors {

        position: absolute;
        left: 0;
        right: 0;
        top: 692px;

        margin: auto;

        width: 256px;    
        height: 169px;

        z-index: 100;

    }

    .Hobbies {

        left: 0;
        right: 0;
        top: 231px;

        width: 312px;
        height: auto;

    }

    h2 {

        left: 0;
        right: 26px;
        top: 269px;

        width: 274px;
        height: 131px;

        font-size: 12px;
        line-height: 15px;

    }

    .Badges {

        width: 340px;
        height: auto;
        margin-top: 813px;
        margin-right: -5px;
    }
    
    .RunningCat {

        position: absolute;
        height: 0;
        width: 100%;
        margin-left: 0;
        margin-top: 1209px;

    
    }

    .SuperJames {
    
        left: 0;
        right: 0;
        top: 1012px;

        margin: auto;

        width: 367px;    
        height: auto;


    }

    .SJBorder {

        right: 0;
        left: 0;
        top: 990px;

        margin: auto;

        width: 300px;    
        height: auto;

    }

    .Star1 {

        left: 0;
        right: -200px;
        top: 1010px;

        height: auto;
        width: 60px;


    }

    .Star2 {

        display: none;

    }
}
