body {
    font-family: "Roboto";
    color: #F0F8FF;
    background-image: url(../img/canvas-background-smaller.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    border: 3px solid;
    border-image: conic-gradient(#FDFBFB, #FBFDFB, #FDFDFF, #FDF9F9, #FDFBFB) 1;
    margin: 15px;
}

h1 {
    font-family: "Rock Salt";
    font-size: 20pt;

}

h2, h3, h4, h5, h6 {
    font-family: "Rock Salt";
    font-size: 16pt;
    text-align: center;
}

header {
    text-align: center;
    margin-top: 50px;
    
}


/* Welcome Section */

#welcome {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;

}

#welcome_img {
    width:50%;
}


/* Hero Section */

#hero {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#hero, footer {
    border: 3px solid;
    border-image: conic-gradient(#FEA3AA, #F8B88B, #FAF884, #BAED91, #B2CEFE, #F2A2E8, #FEA3AA) 1;
    background-color: whitesmoke;
    text-align: center;
    padding: 10px;
    margin: 10px;
    color:black;
}

#hero img {
    width: 300px;
}

/* Bio Section */
#bio {
    text-align: left;

}

#bio h2 {
    color: white;
    font-weight: bold;
    font-family:"Rock Salt";

}

#bio h2:hover {
    -webkit-animation: neon 1.5s ease-in-out infinite alternate;
    -moz-animation: neon 1.5s ease-in-out infinite alternate;
    animation: neon 1.5s ease-in-out infinite alternate;
}

@-webkit-keyframes neon {
    from {
      text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px 	#C0C0C0, 0 0 70px 	#C0C0C0, 0 0 80px 	#C0C0C0, 0 0 100px 	#C0C0C0, 0 0 150px 	#C0C0C0;
    }
    to {
      text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px 	#C0C0C0, 0 0 35px #C0C0C0, 0 0 40px	#C0C0C0, 0 0 50px 	#C0C0C0, 0 0 75px 	#C0C0C0;
    }
  }


#bio-wrapper {
    position: relative;
}

#bio img {
    max-width: 100%;
    height: auto;
    border-radius: 10%;
}

#blurred {
    position: absolute;
    z-index: 0;
    filter: blur(100px);
}

#cover {
    z-index: 1;
    position: relative;
}

.column {
    float: left;
    width: 100%
}

.row:after {
    content: "";
    display: table;
    clear: both;
}


/*Hobbies Section */

#hobbies {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#hobbies h2 {
    color: white;
    font-weight: bold;
    font-family:"Rock Salt";

}

#hobbies h2:hover {
    -webkit-animation: neon 1.5s ease-in-out infinite alternate;
    -moz-animation: neon 1.5s ease-in-out infinite alternate;
    animation: neon 1.5s ease-in-out infinite alternate;
}

@-webkit-keyframes neon {
    from {
      text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px 	#C0C0C0, 0 0 70px 	#C0C0C0, 0 0 80px 	#C0C0C0, 0 0 100px 	#C0C0C0, 0 0 150px 	#C0C0C0;
    }
    to {
      text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px 	#C0C0C0, 0 0 35px #C0C0C0, 0 0 40px	#C0C0C0, 0 0 50px 	#C0C0C0, 0 0 75px 	#C0C0C0;
    }
  }


/* Code by Mattia Astorino on codepen.io: https://codepen.io/equinusocio/pen/OqpBKJ */
/* My modified changes: colors, font sizes. */
#hobbies ol {
    counter-reset: index;
    max-width: 300px;
    list-style: none;
    margin: 5px;
    padding: 10px;
}

#hobbies li:not(.wBorder) {
    border-top: none;
}

#hobbies li {
    counter-increment: index;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding-bottom: 8px;
    padding-top: 8px;
    border-top: 1.8px solid white;
}



#hobbies li::before {
    content: counters(index, ".", decimal-leading-zero);
    font-size: 1.5rem;
    text-align: right;
    font-weight: bold;
    min-width: 40px;
    padding-right: 12px;
    font-variant-numeric: tabular-nums;
    align-self: flex-start;
    background-image: linear-gradient(to bottom, #FEA3AA, #F8B88B, #FAF884, #BAED91, #B2CEFE, #F2A2E8, #FEA3AA);
    background-attachment: fixed;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  
}


#hobbies a:link{
    color:  #E2F0CB;
}

#hobbies a:visited {
    color:#C7CEEA;
}

#hobbies a:hover {
    color: #B5EAD7 ;
}

/* Gallery Section */
#gallery {
    border: 3px solid;
    border-image: conic-gradient(#FEA3AA, #F8B88B, #FAF884, #BAED91, #B2CEFE, #F2A2E8, #FEA3AA) 1;
    margin-bottom: 2rem;
    margin-left: 10px;
    margin-right: 10px;
}

#gallery h2 {
    color: white;
    font-weight: bold;
    font-family:"Rock Salt";

}

#gallery h2:hover {
    -webkit-animation: neon 1.5s ease-in-out infinite alternate;
    -moz-animation: neon 1.5s ease-in-out infinite alternate;
    animation: neon 1.5s ease-in-out infinite alternate;
}

@-webkit-keyframes neon {
    from {
      text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px 	#C0C0C0, 0 0 70px 	#C0C0C0, 0 0 80px 	#C0C0C0, 0 0 100px 	#C0C0C0, 0 0 150px 	#C0C0C0;
    }
    to {
      text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px 	#C0C0C0, 0 0 35px #C0C0C0, 0 0 40px	#C0C0C0, 0 0 50px 	#C0C0C0, 0 0 75px 	#C0C0C0;
    }
  }

#gallery figure img {
    max-width: 100%;

}

#gallery figure {
    text-align: center;
}

#gallery hr {
    border:1px solid white;
}

#gallery figure img{
    display:inline-block;
    position: relative;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1); 
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1); 
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1);
    transition: all 200ms ease-in;
    transform: scale(1);   

}
#gallery figure img:hover{
    z-index: 2;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1.5);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1.5);   
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1.5);
    transition: all 200ms ease-in;
    transform: scale(1.5);
}


/* Literature Section */
#lit {
    border: 3px solid;
    border-image: conic-gradient(#FEA3AA, #F8B88B, #FAF884, #BAED91, #B2CEFE, #F2A2E8, #FEA3AA) 1;
    margin-bottom: 2rem;
    margin-left: 10px;
    margin-right: 10px;
}

#lit div {
    padding:2rem;
    max-width: 40rem;
    margin: 0 auto;
}

#lit div p {
    padding: 0.3rem 0;
    line-height: 2;
}

#lit h2 {
    color: white;
    font-weight: bold;
    font-family:"Rock Salt";

}

#lit h2:hover {
    -webkit-animation: neon 1.5s ease-in-out infinite alternate;
    -moz-animation: neon 1.5s ease-in-out infinite alternate;
    animation: neon 1.5s ease-in-out infinite alternate;
}


@-webkit-keyframes neon {
    from {
      text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #C0C0C0, 0 0 70px 	#C0C0C0, 0 0 80px 	#C0C0C0, 0 0 100px 	#C0C0C0, 0 0 150px 	#C0C0C0;
    }
    to {
      text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #C0C0C0, 0 0 35px #C0C0C0, 0 0 40px	#C0C0C0, 0 0 50px #C0C0C0, 0 0 75px #C0C0C0;
    }
  }

#lit img {
    max-width: 100%;
}

/* Dropcaps */

#lit div p:first-child:first-letter {

    color:#FEA3AA;
    float: left;
    font-size: 2em;
    padding-right: 5px;
    padding-bottom: 20px;
    line-height:.65;
    margin-right: .25em;
    font-family: "Permanent Marker";
    text-shadow: 4px 4px #B2CEFE;

}

#lit li {
    line-height: 2;
}



/* Embedded Video */
/* Code is from Dani Krossing's YT video: https://youtu.be/OOy764mDtiA */
/*My modified changes: padding and size*/

#video h2 {
    color: white;
    font-weight: bold;
    font-family:"Rock Salt";

}

#video h2:hover {
    -webkit-animation: neon 1.5s ease-in-out infinite alternate;
    -moz-animation: neon 1.5s ease-in-out infinite alternate;
    animation: neon 1.5s ease-in-out infinite alternate;
}

@-webkit-keyframes neon {
    from {
      text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px 	#C0C0C0, 0 0 70px 	#C0C0C0, 0 0 80px 	#C0C0C0, 0 0 100px 	#C0C0C0, 0 0 150px 	#C0C0C0;
    }
    to {
      text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px 	#C0C0C0, 0 0 35px #C0C0C0, 0 0 40px	#C0C0C0, 0 0 50px 	#C0C0C0, 0 0 75px 	#C0C0C0;
    }
  }

.wrapper {
    margin-left: 10px;
    margin-right: 10px;
    width: auto;
 
    
}

.videowrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0px;
    

}

.videowrapper iframe {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    height: 100%;
    width: 100%;


}

/*Contact Form*/

#contact h2 {
    color: white;
    font-weight: bold;
    font-family:"Rock Salt";

}

#contact h2:hover {
    -webkit-animation: neon 1.5s ease-in-out infinite alternate;
    -moz-animation: neon 1.5s ease-in-out infinite alternate;
    animation: neon 1.5s ease-in-out infinite alternate;
}

@-webkit-keyframes neon {
    from {
      text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #C0C0C0, 0 0 70px 	#C0C0C0, 0 0 80px #C0C0C0, 0 0 100px #C0C0C0, 0 0 150px #C0C0C0;
    }
    to {
      text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #C0C0C0, 0 0 35px #C0C0C0, 0 0 40px	#C0C0C0, 0 0 50px #C0C0C0, 0 0 75px #C0C0C0;
    }
  }

#formElements {
    display: grid;
    row-gap: .5em;
}

#contact {
    padding: 1rem;
    max-width: 600px;
    margin: 2rem auto;
}

fieldset {
    border: 3px solid;
    border-image: conic-gradient(#FEA3AA, #F8B88B, #FAF884, #BAED91, #B2CEFE, #F2A2E8, #FEA3AA) 1;
    border-radius: 10px;
    border-style: dashed;
    margin-top: 1em;
    margin-bottom: 1em;
   
}

legend {
    background-color: white;
    color:black;
    padding: .5em;
    border-radius: 15px;
}
#contact input, #contact textarea, #contact select, #contact button {
    padding: .5em;
    font-size: 1rem;
}

#contact ul {
    list-style: none;
    padding: 0px;
}

#contact li {
    margin: 1rem;
}

#contact button {
    background-image: linear-gradient(to top,  #F5FCFF, #DBF3FA, #B7E9F7, #92DFF3, #7AD7F0);
    border-radius: 10px;
    color: #808080;
    border: 2px solid #7AD7F0;
    max-width: 400px;
    width: 50%;
    justify-self: center;
    font-weight: 600;
    padding-top: 20px;
    padding-left: 0px;
    padding-right: 0px;
    cursor: pointer;

}
#contact button:hover {
    background-color: #FEA3AA;
}

#contact button:active {
    background-color:  #FEA3AA;
    transform: translateY(4px);
}

input, textarea, select{
    outline: none;
    border: 1px solid #ddd;
}

input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 4px #FEA3AA;
    border: 1px solid #FEA3AA;
}


/* Tablet Size */
@media screen and (min-width: 60em) {
    figure {
        display: grid;
        grid-template-columns: 2fr 1fr;
    }

    figcaption {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
        margin-left: 2rem;
    }

    figure img{
        width: 100%
    }



    .bio-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .bio-section img {
        grid-column: 1/2;
        
    }

    .column {
        max-width: 85%;
        padding-top: 40px;
        padding-left: 50px;
    }

    .bio-section p {
        grid-column: 2/3;
        padding-left: 30px;
        padding-top: 40px;
    }

}


/* Large Screen Size */
@media screen and (min-width:90em) {

    body {
        margin: 30px;
    }


    #gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    hr {
        display: none;
    }

    #gallery h2 {
        grid-column: 1/-1;
    }

    figure {
        display: block;
    }

    h2, h3, h4, h5, h6 {
        font-size: 25pt;
}
    figcaption {
        font-size: 1.2rem;
    }

    .wrapper {
        margin: 0 auto;
        width: 1000px;
        padding-bottom: 30px;
    }

    #hero {
        margin: 100px;
    }

    footer {
        margin-left: 100px;
        margin-right: 100px;
        margin-bottom: 25px;
    }

    #gallery, #lit {
        margin-bottom: 2rem;
        margin-top: 2rem;
        margin-left: 100px;
        margin-right: 100px;
    }

    #hobbies li::before {
        font-size: 3rem;
        min-width: 60px;
    
    }
    
    #hobbies h2 {
        padding-top: 50px;
    }

    #bio p {
        line-height: 32px;
        margin: 2.5rem;
        padding-top: 100px;
    }

    .column {
        padding-top: 55px;
        padding-left: 50px;
    }

    .css-animation-sum {
        display: grid;
        grid-template-columns: repeat(1,1fr);
    }

    .css-animation-sum p {
        grid-column: 1/2;
    }

    .css-animation-sum ol {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
       
    }


}

