@font-face {
    font-family: VCR_OSD;
    src: url(fonts/VCR_OSD.ttf);
}

.cursor-vhs {
    background: url(VHS/b6fe0c5fd3c211e729aabeca0597fa0e.gif);
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: #edebeb;
}

.home-info {
    animation-duration: .05s;
   animation-name: textflicker;
   animation-iteration-count: infinite;
   animation-direction:alternate;
}

@keyframes textflicker {
    from {
      text-shadow: -1.5px -1px 2px  #59e1ff;
    }
    to {
      text-shadow: 2px 1px 2px #ab0b0b7f;
    }
  }

.background2 img {
    opacity: 20%;
    width: 100%;;
    display: flex;
    justify-content: center;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    height: 1760px;
    z-index: -1;
}

.cursor-vhs {
    cursor: url(Images/vhs.png), auto;
}

header{
    max-width: 1280px;
    display: flex;
    font-size: 1.4em;
    font-family: VCR_OSD;
    color: #b1afaf;
    margin: 0 auto;
    margin-top: 5em;
}



main {
    display: grid;
    max-width: 1280px;
    color: #b1afaf;
    font-family: VCR_OSD;
    text-shadow: -2px -1px 2px  #59e1ffa4, 2px 1px 2px #AB0B0B;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 3em;
}

.home-info {
    line-height: 1.4em;
    margin-bottom: .5em;
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-40%);
    transition: all 1.1s;
}

.show  {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0%);
}

span {
    color: #edebeb;
    transition: 100ms ease;
    animation-duration: 0.01s;
    animation-name: textflicker;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.danny {
    animation-name: span;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-delay: 0s;
    animation-direction: alternate;
}

@keyframes span {
    0% {
        color: rgb(216, 184, 207);
    }
    50% {
        color: rgb(198, 167, 227);
    }
    100% {
        color: rgb(204, 165, 172);
    }
}

.hidden:hover {
    background: url(VHS/glitch2.gif);
    padding: 4px;
}

.carttag {
    padding: 4px;
    background: url(VHS/glitch2.gif);
}
.skatingtag {
    transition: 100ms ease;
}

.skatingtag:hover { 
    background: url(VHS/tv-static-rainbow-no-signal-6mhyvkjmqa3c4leq.gif);
    object-fit: cover;
    object-position: center;
    color: white;
    animation-name: skate;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes skate {
    0% {
        width: 100%;
        background-color: pink;
    }
    50% {
        width: 50%;
    }
    0% {
        width: 0%;
    }
}

span:hover {
    background: url(VHS/tv-static-rainbow-no-signal-6mhyvkjmqa3c4leq.gif);
    transition: 100ms ease;
    cursor: pointer;
}

.nav-container {
    line-height: 1.7em;
    margin-bottom: 2em;
    max-width: 1440px;
    width: 50;
    display: flex;
    /* margin: 0 auto; */
}

.nav-content a {
    font-size: 1.25em;
    animation-duration: .05s;
   animation-name: textflicker;
   animation-iteration-count: infinite;
   animation-direction:alternate;
}

.nav-content a:hover {
    background: url(VHS/tv-static-rainbow-no-signal-6mhyvkjmqa3c4leq.gif);
    padding: 6px;
    transition: 250ms ease;
    color: white;
}

.nav-content a {
    color: #909090;
    text-decoration: none;
    text-shadow: -2px -1px 2px  #59e1ffa4, 2px 1px 2px #AB0B0B;
}

.dropdown {
    position: relative;
    display: inline-block;
  }

.dropdown-content {
    display: none;
    position: absolute;
    background: url(VHS/giphy.gif);
    min-width: 160px;
    z-index: 1;
    font-size: 25px;
    text-align: center;
    transition: 100ms ease;
    width: 100%;
    animation-duration: .05s;
    animation-name: textflicker;
    animation-iteration-count: infinite;
    animation-direction:alternate;
}

.dropdown-content a:hover {
    background: url(VHS/glitch2.gif);
}
  
.dropdown-content a {
    padding: 5px 8px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {display: block;}


/* ^^ All the information for css that can be used on most pages ^^ */


/* underneath is changing backgrounds for each page */

/* Songs Page */
.background3 img {
    position: fixed; 
    top: 0; 
    left: 0; 
    min-width: 100%;
    min-height: 100%;
    opacity: 20%;
}

/* Contact Page */
.background4 img {
    position: fixed; 
    top: 0; 
    left: 0; 
    min-width: 100%;
    min-height: 100%;
    opacity: 20%;
}


/* About-me Page */
.background5 img { 
    position: fixed; 
    top: 0; 
    left: 0;
    min-width: 100%;
    min-height: 100%;
    opacity: 55%;
}

.background6 img {
    position: fixed; 
    top: 0; 
    left: 0; 
    min-width: 100%;
    min-height: 100%;
    opacity: 55%;
}

.background7 img {
    position: fixed; 
    top: 0; 
    left: 0; 
    min-width: 100%;
    min-height: 100%;
    opacity: 40%;
    z-index: -1;
}

.background8 img {
    position: fixed; 
    top: 0; 
    left: 0; 
    min-width: 100%;
    min-height: 100%;
    opacity: 40%;
    z-index: -1;
}

.about-text div {
    line-height: 2.15em;
}
/* Songs Page BELOW */

.text1 h2 {
    margin-top: 2em;
}

.song {
    text-decoration: none;
    list-style:decimal-leading-zero;
    line-height: 2.3em;
    text-align: center;
}

.song-list li {
    list-style: decimal-leading-zero;
}

.song-list li:hover {
    background: url(VHS/glitch2.gif);
    opacity: 45%;
}

/* Achievements BELOW */

.achievements-text1,
.achievements-text2,
.achievements-text3,
.achievements-text4  {
    line-height: 2em;
}

/* Plans Page BELOW */

.plans-text1,
.plans-text2,
.plans-text3,
.plans-text4 {
    line-height: 2em;
}

/* Projects Page BELOW */

.projmain p {
    color: white;
}

.title-header h2 {
    font-size: .8em;
}

.wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider {
    width: 1000px;
    height: 600px;
    position: relative;
    border-left: 10px solid rgba(0, 0, 0, 0.627);
    border-right: 10px solid rgba(0, 0, 0, 0.64);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.205);
    display: flex;
    overflow: hidden;
    border-radius: 10px;
}

.slider::before, .slider::after {
    height: 800px;
    width: 200px;
    position: absolute;
    content: "";

    z-index: 2;
}

.slider::before{
    left: 0;
    top: 0;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slide {
    height: 600px;
    display: flex;
    align-items: center;
    animation: slideshow 8s linear infinite;
}

.slide img {
    height: 300px;
    padding: 0 30px 0 30px;
    filter: blur(.2px);
}

.slide img:hover {
    transition: 100ms ease-in-out;
    transform: scale(1.1);
    cursor: pointer;
}

@keyframes slideshow {
    0% {transform: translateX(0);}
    100% {transform: translateX(-100%);}
}

/* Resume Page */

.resume {
    color: black;
    max-width: 1440px;
    display: flex;
    margin: 0 auto;
}

.heading h1{
    align-items: center;
    display: flex;
    font-size: 2.4em;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 2em;
}

.breaking-mark {
    color: black;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.662);
}

.resume-content {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 2.5em;
    font-size: 18px;
}

.resume-info6 {
    margin-bottom: 6em;
}

.CHJS {
    color: rgb(17, 114, 251)
}

.CHJS:hover {
    text-decoration: underline;
}

.contact-me {
    list-style: none;
    display: inline;
    margin-top: 0;
}

.holder {
  
    margin-bottom: 2em;
}

/* Forms page BELOW */

.form-content {
    width: 600px;
    background-color: rgba(57, 57, 57, 0.51);
    padding: 40px 20px;
    box-sizing: border-box;
    margin-bottom: 2em;
}

.form-content h1 {
    text-align: center;
}

.form-content input,
.form-content textarea,
.form-content button {
    width: 100%;
    background: none;
    font-family: VCR_OSD;
    border: 2px solid black;
    padding: 1.1em;
    color: #b1afaf;
    box-sizing: border-box;
    margin-bottom: 20px;
    font-size: 17px;
}


#btn {
    background-color: #636363;
    cursor: pointer;
}

#btn:hover{
    background-color: #535353;
    cursor: pointer;
    transition: 100ms ease;
}

textarea {
    resize: none;
    margin-top: 25px;
}

/* Contacts page BELOW */

.contact-container {
    margin-bottom: 2em;
}

[class^='socials'] a:hover {
    color: rgb(144, 144, 144);
}
.social-cont {
    max-width: 1280px;
    font-size: 30px;
}

.socials-twitter {
    color: rgb(212, 56, 56);
    animation-name: spin;
    animation-duration: 1s;
    animation-direction: normal;
}

.socials-twitter a {
    color: #b1afaf;
}

.socials-twitter a:hover {
    color: #ffffff;
}

.socials-github {
    color: rgb(233, 91, 48);
    animation-name: spin;
    animation-duration: 1.5s;
    animation-direction: normal;
}

.socials-github a {
    color: #b1afaf;
}

.socials-github a:hover {
    color: #ffffff;
}

.socials-instagram {
    color: rgb(205, 116, 56);
    animation-name: spin;
    animation-duration: 2s;
    animation-direction: normal;
}

.socials-instagram a {
    color: #b1afaf;
}

.socials-instagram a:hover{
    color: rgb(255, 255, 255);
}

.socials-email {
    color: rgb(205, 166, 60);
    animation-name: spin;
    animation-duration: 2.5s;
    animation-direction: normal;
}

.socials-email a {
    color: #b1afaf;
    
}

.socials-email a:hover {
    color: rgb(255, 255, 255);
    
}

@keyframes spin {
    0% {transform: rotate(90deg); visibility: hidden; transition: 500ms ease;}
    25% {transform: rotate(150deg); visibility: hidden; }
    50% {transform: rotate(200deg); visibility: hidden;}
    75% {transform: rotate(300deg);visibility: hidden; transition:500ms ease;}
    100% {transform: rotate(360deg);visibility: show; transition: 500ms ease;}
}

/* i:hover {
    animation-name: icon;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-direction: alternate-reverse;
}

@keyframes icon {
    0% {
        transform: translateX(-10000%);
    }
    50% {
        transform: translatex(-50%);
    }
    100% {
        transform: translateX(0%);
    }
} */

/* @media for mobile (~480px and 1024px) */

@media (max-width: 480px) and (min-width: 360px )  {
    .home-info {
        max-width: 360px;
        font-size: 18px;
        line-height: 2em;
    }

    .wrapper {
        width: 100%;
        height: 550px;
        margin-top: 1.1em;
    }

    .song-list li {
        line-height: 4.2em;
        font-size: 19px;
    }

    .background2 img {
        opacity: 40%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1200px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }

    .achievements-text,
    .achievements-text1,
    .achievements-text2,
    .achievements-text3,
    .achievements-text4 {
        line-height: 3em;
    }

    .resume-container {
        max-width: 360px;
        margin: 0 auto;
    }

    .resume-content {
        font-size: 20px;
    }

    .dropdown-content {
        font-size: 10.7px;
        min-width: 3.5px;
        width: 100%
    }

    .nav-content {
        font-size: 16px;
    }

    .test2 img {
        opacity: 40%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1200px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    } 

    .background3 img {
        opacity: 20%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1500px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }

    .background4 img {
        opacity: 20%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1000px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }

    .background5 img {
        opacity: 55%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1000px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }

    .background6 img {
        opacity: 55%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1300px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }
    .background7 img {
        opacity: 40%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1000px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }
    .background8 img {
        opacity: 40%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1000px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 1024px) and (min-width: 480px) {
    .home-info {
        max-width: 720px;
        font-size: 22px;
        line-height: 2.1em;
        margin-top: 4;
    }

    header {
        max-width: 720px;
    }

    .wrapper {
        width: 100%;
        height: 450px;
        margin-top: 1.1em;
    }

    .dropdown-content {
        font-size: 12.1px;
        min-width: 3.5px;
        width: 100%
    }
    
    .test2 p {
        line-height: 3;
    }

    .nav-content {
        font-size: 20px;
    }

    .plans-text1,
    .plans-text2,
    .plans-text3,
    .plans-text4 {
        line-height: 3em;
    }

    .resume-container {
        max-width: 720px;
        margin: 0 auto;
    }

    .resume-content {
        font-size: 23px;
    }

    .background2 img {
        opacity: 34%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1200px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }

    .background3 img {
        opacity: 20%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1000px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }

    .background4 img {
        opacity: 20%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1000px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }

    .background5 img {
        opacity: 55%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1000px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }

    .background6 img {
        opacity: 55%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1500px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }
    .background7 img {
        opacity: 40%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1000px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }
    .background8 img {
        opacity: 40%;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 1000px;
        z-index: -1;
        object-fit: cover;
        object-position: center;
    }
}

/* screen animation transition */

.loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

.fresh {
visibility: show;
}

.loader {
    display: inline-block;
    width: 100px;
    height: 40px;
    position: relative;
    border: 6px solid white;
    animation: loader 2s infinite ease;
}

.loader-inner {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color:white;
    animation: loading 1s infinite ease-in;
}

@keyframes loader {
    0% {transform: rotate(0deg);}
    25% {transform: rotate(180deg);}
    50% {transform: rotate(180deg);}
    75% {transform: rotate(360deg);}
    100% {transform: rotate(360deg);}
}

@keyframes loading {
    0% {transform: translateX(-100px);}
    25% {transform: translateX(-50px);}
    50% {transform: translateX(-25px);}
    75% {transform: translateX(0px);;}
    100% {transform: translateX(100px);}
}
