@font-face {
    font-family: 'JosefinSans';
    src: url('assets/fonts/JosefinSans.ttf');
}

@font-face {
    font-family: 'Bebas';
    src: url('assets/fonts/BebasNeue-Regular.ttf');
}

p, h1, h2 {
    color: white;
    font-family: 'JosefinSans';   
}

li {
    color: white;
    font-family: 'JosefinSans';
    margin-left: 15%;
    line-height: 2em;
}

body {
    background: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(27,27,27,1) 100%);
    background-attachment: fixed;
}

#IntroText {
    color: hsl(0, 0%, 28%);
    font-weight: bold;
    font-family: monospace;
    letter-spacing: 7px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13vmin;

    padding: 6vmin;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.Webdev {
    background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 85%, rgb(255, 0, 0) 90.1%);
    animation: webdevanim 1s forwards linear;
}
 
.Appdev {
    background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 85%, rgb(255, 230, 0) 90.1%);
    animation: appdevanim 1s forwards linear;
    animation-delay: 1s;
}

.Digi {
    background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 85%, rgb(0, 0, 255) 90.1%);
    animation: digianim 1s forwards linear;
    animation-delay: 2s;
}

.Contact {
    width: 200px;
    height: 50px;
    background: white;
    color: black;
    text-align: center;
    line-height: 50px;
    font-family: 'Bebas';
    border-radius: 30px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    cursor: pointer;
}

.Headshot {
    width: 80%;
    margin-left: 10%;
    text-align: center;
}

.Headshot > img {
    width: 50%;
}

.ContactMessage {
    height: 7em !important;
}

.sendButton {
    background: white;
    color: black;
    font-family: 'Bebas';
    font-size: 2em;
    text-align: center;
    line-height: 2em;
    height: 2em;
    border-radius: 20px;
    margin-top: 1em;
    margin-bottom: 5em;
    cursor: pointer;
}

.wrapper {
    margin: 2em;
}

#contentHeader {
    font-family: 'Bebas';
    color: white;
    width: 98vw;
    text-align: center;
    font-size: 4em;
}

#contentText {
    margin-bottom: 8em;
}

#contentText > p {
    width: 80%;
    margin-left: 10%;
}

#formInput {
    background: rgb(10,10,10);
    border-color: black;
    color: white;
    width: 80%;
    margin-left: 10%;
    height: 3em;
    font-size: 16px;
    padding: 12px;
    font-family: 'JosefinSans';
}

  @keyframes webdevanim {
    0% {
      background-position: 100vw;
    }
    10% {
        
        background-position: 100vw;
    }
    100% {
      background-position: 1.1em;
    }
  }

  @keyframes appdevanim {
    0% {
      background-position: 100vw;
    }
    1% {
        
        background-position: 100vw;
    }
    100% {
      background-position: 1.1em;
    }
    
  }

  @keyframes digianim {
    0% {
      background-position: 100vw;
    }
    1% {
        
        background-position: 100vw;
    }
    100% {
      background-position: 1.1em;
    }
    
  }

  @keyframes digianimMobile {
    0% {
      background-position: 103vw;
    }
    1% {
        
        background-position: 103vw;
    }
    100% {
      background-position: 1.7em;
    }
    
  }

  @keyframes appdevanimMobile {
    0% {
      background-position: 103vw;
    }
    1% {
        
        background-position: 103vw;
    }
    100% {
      background-position: 1.7em;
    }
    
  }

  @keyframes webdevanimMobile {
    0% {
      background-position: 103vw;
    }
    10% {
        
        background-position: 103vw;
    }
    100% {
      background-position: 1.7em;
    }
  }

@media only screen and (max-width: 1000px) {
    #IntroText {
        font-size: 5em;
        padding: 2em 1em 5em 1em;
    }

    .Contact {
        width: 100vw;
        height: 10vh;
        line-height: 10vh;
        bottom: 0px;
        font-size: 3em;
        left: 0px;
        border-radius: 0px;
    }

    li {
        font-size: 0.7em;
    }

    .Digi {
        animation: digianimMobile 1s forwards linear;
        animation-delay: 2s;
        background-position: 103vw;
    }

    .Appdev {
        background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 85%, rgb(255, 230, 0) 90.1%);
        animation: appdevanimMobile 1s forwards linear;
        animation-delay: 1s;
    }

    .Webdev {
        background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 85%, rgb(255, 0, 0) 90.1%);
        animation: webdevanimMobile 1s forwards linear;
    }

    #contentText > p, li {
        font-size: 2em;
        margin-bottom: 1em;
    }
}