@import url('https://fonts.googleapis.com/css?family=Codystar:300&display=swap');

body {
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f2f2f2;
    max-width: 1000px;
    font-family: Arial;
    user-select: none;
}

html {
    scroll-behavior: smooth;
  }

  /* Loading ------- */

  #loading {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
/* Navbar --------- */

.topnav {
    overflow: hidden;
    background-color: #333;
    font-family: 'Lobster', cursive;
  }
  
  .topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 30px;
  }
  
  .topnav .toggleIcon {
    display: none;
  }
    
  .topnav a:not(:last-child):hover {
    color: cyan;
  }

@media screen and (max-width: 600px) {
    .topnav a {
      display: none;

    }
    .topnav a.toggleIcon {
      float: right;
      display: block;
      cursor: pointer
    }
  }
  
  @media screen and (max-width: 600px) {
    .topnav.responsive .toggleIcon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;

    }
    .topnav.responsive {float: none;} 
    .topnav.responsive {position: relative;} 
    .topnav.responsive {
      display: block;
      width: 100%;
      text-align: left;
    }
  }

/* Home --------- */

  @keyframes textglow {
    from {
      color: #fff;
      text-shadow: 0 0 10px #00fff2, 0 0 20px #00fff2, 0 0 30px #00fff2, 0 0 40px #00fff2, 0 0 50px #00fff2, 0 0 60px #00fff2, 0 0 70px #00fff2, 0 0 90px #00fff2;
    }   
    to {
       color: gray;
      text-shadow: 0 0 20px #00fff2, 0 0 30px #00fff2, 0 0 40px #00fff2, 0 0 50px #00fff2, 0 0 60px #00fff2, 0 0 70px #00fff2, 0 0 80px #00fff2, 0 1 90px #00fff2;
    }
  }

  .HomeHeader {
    padding: 60px;
    text-align: center;
    background-color: red;
    font-size: 30px;
    font-family: 'Codystar';
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 1;
    text-transform: uppercase;
    animation: textglow 3s ease-in-out infinite alternate;
  }

  .HomeHeader img {
      border-radius: 50%;
      height: 150px;
      width: 150px;
  }

  .Iconscol img {
      height: 50px;
      width: 50px;
  }

  .IconsRow {
    background-color: gainsboro
  }
  .IconsRow:after {
    content: "";
    display: table;
    clear: both;
  }

  .Iconscol {
    width: 33%;
    float: left;
    }

    #Icon2 {
    text-align: center;
    }

    #Icon3 {
    text-align: right;
    }

    @keyframes flash {
        0% { opacity: .3; }
        100% { opacity: 1;}
        }

        .Iconscol img:hover {
        opacity: 1;
        animation: flash 1s infinite;
        }

/* Projects -------- */

  img {
      width: 100%;
  }

  video {
      width: 100%;
  }

  .blinkingText {
      animation: blink 2s infinite;
  }

  @keyframes blink{
    0%{ color: red;}
    49%{ color: red;}
    60%{ color: transparent;}
    99%{ color:transparent;}
    100%{color: red;}
}
  
  .ProjectscolumnMVP {
    float: left;
    width: 50%;
    height: 100%;
    background-color: gray;
  }

  .ProjectscolumnSDC {
      float: left;
      width: 33%;
  }

  .ProjectscolumnSDC img {
    transition: transform .2s
  }

  .ProjectscolumnSDC #SDCimg1:hover {
    transform: translate(100px) scale(2.0)
  }

  .ProjectscolumnSDC #SDCimg2:hover {
    transform: scale(2.5)
}

.ProjectscolumnSDC #SDCimg3:hover  {
    transform: translate(-90px) scale(2.0)
}
  
  .Projectsrow:after {
    content: "";
    display: table;
    clear: both;
  }

  .Projectsheader {
      background-color: #7c795d;
  }

  .Projectsheader strong {
    font-family: 'Oleo Script', cursive;
    color: #2CA4B0;
    font-size: 30px
  }

  .Projectsheader a {
    color: #CEF0D4;
    text-transform: uppercase;
  }

  .Projectsheader a:hover {
    color:#ffcc00;
  }
  
  .Projectscontent {
    padding: 10px;
    text-align: center;
    line-height: normal;
  }

  @media screen and (max-width: 600px) {
    .ProjectscolumnMVP {
        width: 100%;
      }
    .ProjectscolumnMVP img {
        height: 800px;
      }
  }
  
  @media screen and (max-width: 900px) {
    .ProjectscolumnSDC {
        width: 100%;
      }
    
     .ProjectscolumnSDC #SDCimg1:hover {
        transform: scale(1.2)
      }

      .ProjectscolumnSDC #SDCimg2:hover {
        transform: scale(1.2)
      }

      .ProjectscolumnSDC #SDCimg3:hover {
        transform: scale(1.2)
      }     
  }

  figure {
    border: 1px 1px 1px 1px #cccccc solid;
    margin: auto; 
  }

  figcaption {
  background-color: black;
  color: white;
  font-style: italic;
  padding: 2px;
  text-align: center;
  }

  .projectDivider {
    width: 95%;
    border: 15px solid green;
    border-radius: 5px;
  }

  #backToTop {
  background-color: #f44336;
  color: white;
  border-radius: 6px;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  width: 25%;
  }

  #backToTop:hover, #backToTop:active {
    background-color: red;
  }

  .footer {
    text-align: center;
    margin-Top: 20px;
  }

  /* Resume -------- */

  #displayResume {
      width: 99%;
      height: 850px;
      border: 5px solid gold
  }

/* Contact Form ------ */

#ContactForm {
  display: flex;
  flex-direction: column;
  padding-top: 50px;
  background: #A3A3A3;
  border: 10px solid #494949;
  padding: 20px 20px 20px 50px;
}

input[type=text], input[type=email], textarea {
  width: 95%;
  padding: 2%;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  font-size: 16px;
  }

  textarea {
    height: 200px
  }
  
  label {
    padding: 12px 0;
    display: inline-block;
    text-transform: uppercase;
  }
  
  input[type=submit] {
    background-color: #E2272E;
    color: #ffffff;
    font-weight: 700;
    padding: 15px 25px 15px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 30px;
    margin-top: 10px;
    float: right;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 16px;
  }

  input:hover[type=submit] {
    background: #494949;
    transition: all 0.4s ease 0s;
  }

  input:active[type=submit] {
    background: #000000;
  }
   
  .col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
  }
  
  .col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
  }
  
  .ContactFormrow:after {
    content: "";
    display: table;
    clear: both;
  }

  .col-25 label {
    font-family: Lucida;
    font-weight: 700;
    letter-spacing: 2px;
    color: blue
  }

  .col-75 ::placeholder {
    font-style: italic;
  }
  
  @media screen and (max-width: 650px) {
    .col-25, .col-75, input[type=submit] {
      width: 100%;
      margin-top: 0;
    }

    input[type=submit] {
        margin-right: 10px;
    }
  }

  .scroll-right {
    position: relative;
    height: 50px;
    margin-bottom: 10px;
    overflow-wrap: normal;
  }

  @keyframes scroll-right {
    0%   { transform: translateX(-10%);}
    100% { transform: translateX(98%);}
     }

  .scroll-right p {
    font-size: 50px;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    animation: scroll-right 10s linear infinite;
  }

  canvas {
    pointer-events: none;
  }

/* Error ---------- */

#error {
    padding: 20px;
    background-color: #f44336;
    color: white;
    text-align: center;
  }
  
  .closeerrorbtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .closeerrorbtn:hover {
    color: black;
  }