/* ----------------------------------------

Reset stylesheet

------------------------------------------*/
*{
  border: 0;
  padding: 0;
  margin: 0;
}

/* ----------------------------------------

Home Page Styles

------------------------------------------*/

body{
  background-image: url("../images/background-home.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

/* ----------------------------------------

Header/Navigation Styles

------------------------------------------*/
header{
  background: black;
  width: 100%;
  padding: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -2;
}

.secondary {
  background: black;
  width: 100%;
  height: 7%;
  padding: 20px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
}

nav{
  width: 90%;
  margin: 0 auto;
}

#navlogo{
  width: 20%;
  height: 50px;
  color: white;
  position: relative;
  margin: auto;
  display: inline-block;
  vertical-align: middle;
  padding: 0 3%;
}

/* Reference: https://codepen.io/Sh_02/pen/OKRzaO */

#navlogo:after {
    content: " ";
    position: absolute;
    display: block;
    width: 100%;
    height: 180%;
    top: -20px;
    left: 0;
    z-index: -1;
    border-right: 10px solid white;
    transform-origin: bottom left;
    -ms-transform: skew(-30deg, 0deg);
    -webkit-transform: skew(-30deg, 0deg);
    transform: skew(-30deg, 0deg);
}

#navlogo img{
  width: 200px;
  object-position: center center;
  position: relative;
  top: -50%;
}

#navitems{
  width: 60%;
  position: relative;
  left: 15%;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}

#navitems ul li{
  display: inline-block;
  margin: 0 60px;
}

#navitems ul li a{
  text-decoration: none;
  font-size: 2.5em;
  font-family: 'Bebas Neue', cursive;
}

.link1{
  animation-name: linkchange;
  animation-duration: 10s;
  color: #B24F9E;
}

.link2{
  animation-name: linkchange2;
  animation-duration: 10s;
  color: #319EC8;
}

.link3{
  animation-name: linkchange3;
  animation-duration: 10s;
  color: #A76E25;
}

#navitems a:hover{
  text-decoration: overline;
  color: white;
}

/* ----------------------------------------

Secondary Page Styles

------------------------------------------*/

.body2{
  background: white;
}

.section1{
  width: 100%;
  position: relative;
  top: 100px;
  height: 400px;
}

.section1 div{
  position: absolute;
  top: 40%;
  left: 60%;
  transform: translateY(-50%);
}

.section1 h1{
  font-family: 'Bebas Neue', cursive;
  color: #B24F9E;
  font-size: 4em;
  letter-spacing: 8px;
  text-align: right;
}

.classes h1{
  color: #319EC8;
}

.experience h1{
  color: #A76E25;
}

.section1 p{
  text-align: right;
  font-size: 2em;
  font-family: 'Segoe UI', sans-serif;
}

.section1 p::before{
  content: '< ';
}

.section1 p::after{
  content: ' /> ';
}

section h2{
  font-family: 'Bebas Neue', cursive;
  color: #000000;
  font-size: 3em;
  letter-spacing: 4px;
  margin-top: 20px;
}

.section2{
  width: 100%;
  height: 600px;
  background: #B0B1B6;
}

.section2 div,
.section3 div{
  /*width: 37%;*/
  height: 600px;
  position: relative;
  float: left;
  padding: 0 5%;
}

.col1{
  width: 50%;
}

.student-work{
  width: 100%;
}

.student-work img{
  display: block;
  float: left;
}

.col2{
  width: 18%;
}

.section2 p,
.section2 ul,
.section3 p,
.section3 ul{
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.75em;
  margin-top: 10px;
}

.section2 ul,
.section3 ul{
  list-style-position: inside;
}

.section2 img{
  width: 400px;
  position: relative;
  left: 40%;
  text-align: right;
}

.section3{
  width: 100%;
  height: 800px;
}

.section3 img{
  width: 400px;
  position: relative;
}

.section3 .col1{
  position: relative;
  left: 10%;
  top: 10%;
}

.section2-exp img{
  position: relative;
  left: 0;
  width: 300px;
  margin: 30px;
  filter: grayscale(100%);
}

.section2-exp img:hover{
  filter: grayscale(0);
  transition: .3s;
}

.section2-exp div{
  width: 90%;
  margin: 0 auto;
}

h3{
  margin-top: 10px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 18px;
}

.section3-exp{
  height: 400px;
}

.cat-card{
  width: 100px;
  height: inherit;
  float: left;
  margin: 0 60px;
}

.cat-card img{
  width: 300px;
}

.cat-card p{
  background-color: black;
  color: white;
  font-family: 'Bebas Neue', cursive;
  font-size: 32px;
  width: 300px;
  text-align: center;
}

.testimonial{
  background: white;
  width: 50%;
  height: 100px;
  border-radius: 4px;
  box-shadow: 5px 10px;
}

.testimonial p{
  padding: 50px;
  text-align: right;
  font-family: 'Segoe UI', sans-serif;
  font-size: 24px;
}

.testimonial p::before{
  content: "< ";
  font-size: 32px;
  font-weight: bold;
}

.testimonial p::after{
  content: " /> ";
  font-size: 32px;
  font-weight: bold;
}

/* ----------------------------------------

Form Styles

------------------------------------------*/
.contactform{
  min-height: 500px;
  width: 100%;
  position: relative;
  top: 200px;
  margin: 0 auto;

}

.formsection h1{
  font-family: 'Bebas Neue', cursive;
  color: #B24F9E;
  font-size: 4em;
  letter-spacing: 8px;
  text-align: center;
}

.formsection p{
  text-align: center;
  font-size: 16px;
  font-family: 'Segoe UI', sans-serif;
}

.formsection p::selection{
  background: yellow;
}

.contactme{
  background: #B0B1B6;
  position: relative;
  border-radius: 4px;
  box-shadow: 8px;
  top: 20px;
  width: 50%;
  margin: 0 auto;
  padding: 10px;
}

.contactme div{
  margin-bottom: 20px;
}

label{
  font-family: 'Bebas Neue', cursive;
  color: #000;
  font-size: 18px;
  letter-spacing: 4px;
}

label::before{
  content: "< ";
}

label::after{
  content: " />";
}

.label-input{
  display: block;
}

input{
  padding: 2px;
}

.button{
  background: #000;
  color: white;
  padding: 10px;
  border-radius: 4px;
  font-size: 18px;
}

.button:hover{
  background: #B24F9E;
  color: white;
  transition-delay: .3s;
}

/* ----------------------------------------

Footer Styles

------------------------------------------*/
footer{
  clear: left;
  width: 100%;
  height: 100px;
  background: black;
  position: relative;
  z-index: 999;
}

footer a{
  text-decoration: none;
  color: white;
}

footer a:hover{
  color: #B24F9E;
}

.icons{
  text-align: right;
  padding-top: 2%;
  padding-right: 3%;
  font-size: 40px;
  color: white;
  z-index: -1;
}

/* ----------------------------------------

Animations - Keyframes

------------------------------------------*/

@keyframes linkchange{
  from {color: white;}
  to {color: #B24F9E;}
}

@keyframes linkchange2{
  from {color: white;}
  to {color: #319EC8;}
}

@keyframes linkchange3{
  from {color: white;}
  to {color: #A76E25;}
}
