@charset "utf-8";

/* Reset stylesheet */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
  vertical-align: baseline;
}

/* Main Styles */
html { 
   top:0;
   left:0;
   right: 0;
   bottom: 0;
   scroll-behavior: smooth;
   box-sizing: border-box;
   width: 100%;
   height: 100%;
   margin: 0px;
   padding: 0px;
   overflow-x: hidden; 
 }

*, *:before, *:after {
  box-sizing: inherit;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

* {
   margin: 0;
   padding: 0;
}

a {
  color: rgb(46, 49, 49);
}

a:hover {
  color: rgb(159, 90, 253);
}

p {
  color: rgb(46, 49, 49);
}

 body {
    background-color: rgb(242, 241, 239);
    float: none;
    margin: 0px auto;
    width: 100%;
    height: 100%;
    text-rendering: optimizeLegibility;
    transition: 0.3s all;
 }

 ol, ul {
    list-style: none;
 }

 /* img styles */
 #myLogo img {
   width: 80%;
   display: block;
   margin-top: 2rem;
 }

#DISMlogo img {
    width: 200px;
    opacity: 1;
    transition: .5s ease-in;
    -moz-transition: .5s ease-in;
    -webkit-transition: .5s ease-in;
    -o-transition: .5s ease-in;
    position: relative;
    margin-top: 20px;
 }

#DISMlogo img:hover {
  opacity: 0.4;
  transition: .5s ease-in;
  -moz-transition: .5s ease-in;
  -webkit-transition: .5s ease-in;
  -o-transition: .5s ease-in;
}

#schbg img {
  width: 100%;
  opacity: 1;
  transition: .5s ease-in;
  -moz-transition: .5s ease-in;
  -webkit-transition: .5s ease-in;
  -o-transition: .5s ease-in;
  position: relative;
  -webkit-box-flex: 0;
  flex: 0 0 55%;
  -webkit-box-direction: normal;
 }

#schbg img:hover {
  opacity: 0.2;
  border-radius: 50%;
  transition: .5s ease-out;
  -moz-transition: .5s ease-out;
  -webkit-transition: .5s ease-out;
  -o-transition: .5s ease-out;
  z-index: 0;
}

#otherinfo img {
  width: 100%;
  height: 100%;
  -webkit-box-flex: 0;
  flex: 0 0 55%;
  -webkit-box-direction: normal;
}

#events img {
  width: 100%;
  opacity: 1;
  transition: .5s ease-in;
  -moz-transition: .5s ease-in;
  -webkit-transition: .5s ease-in;
  -o-transition: .5s ease-in;
  position: relative;
  -webkit-box-flex: 0;
  flex: 0 0 55%;
  -webkit-box-direction: normal;
 }

#events img:hover {
  opacity: 0.2;
  border-radius: 50%;
  transition: .5s ease-out;
  -moz-transition: .5s ease-out;
  -webkit-transition: .5s ease-out;
  -o-transition: .5s ease-out;
  z-index: 0;
}

#otherinfo h1 {
  color: rgb(236, 240, 241);
}

#ach img {
  width: 100%;
  opacity: 1;
  transition: .5s ease-in;
  -moz-transition: .5s ease-in;
  -webkit-transition: .5s ease-in;
  -o-transition: .5s ease-in;
  position: relative;
  -webkit-box-flex: 0;
  flex: 0 0 55%;
  -webkit-box-direction: normal;
 }

#ach img:hover {
  opacity: 0.2;
  border-radius: 50%;
  transition: .5s ease-out;
  -moz-transition: .5s ease-out;
  -webkit-transition: .5s ease-out;
  -o-transition: .5s ease-out;
  z-index: 0;
}

/* img tag styles */
.imgtag {
  background-color: rgb(236, 240, 241);
  position: absolute;
  background: inherit;
}

.imgtag p {
  font-family: 'Merriweather', serif;
  font-size: 3rem;
  color: rgb(46, 49, 49);
}

/* header styles */
 header {
   width: 100%;
   margin-top: 3rem;
 }

header .container p {
  font-size: 2rem;
  font-family: 'Open sans', sans-serif;
  writing-mode: vertical-rl;
  text-align: left;
}
 
/* wspace styles */
.wspace {
  font-size: 8rem;
  visibility: hidden;
}

/* skills container styles */
#scontainer {
  background-color: rgb(242, 241, 239);
  padding-right: 20px;
  margin-top: 3rem;
  padding-left: 20px;
}

#scontainer ul li {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  padding-top: 20px;
}

/* wrap style */
#wrap {
   position: fixed;
   top: 250px;
   right: -200px;
   z-index: 99;
 }

/* container styles */
.container {
   display: inline-block;
}


 .container p {
    color: rgb(46, 49, 49);
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
 }
 
 .container p a {
    color: rgb(46, 49, 49);
 }

 /* main section */

 main {
   clear: left;
}

.main h1 {
  font-family: 'Playfair Display', serif;
  color: rgb(46, 49, 49);
  font-size: 5rem;
  padding: 15px 0px 10px 0px;
}

.main h2 {
  font-family: 'Playfair Display', serif;
  color: rgb(46, 49, 49);
  font-size: 3rem;
  padding: 15px 0px 10px 0px;
}

.main h3 {
   font-family: 'Playfair Display', serif;
  color: rgb(46, 49, 49);
  font-size: 2rem;
  padding: 15px 0px 10px 0px;
}

.main p {
   color: rgb(46, 49, 49);
   font-family: 'Open Sans', sans-serif;
   font-size: 1rem;
}

.main p a {
   color: rgb(46, 49, 49);
}



 /* footer styles */
 footer {
    margin-top: 15px;
    background-color: rgb(236, 236, 236);
 }

footer p {
  font-family: 'Open sans', sans-serif;
  color: rgb(71, 71, 71);
}



 /* Flip-card styles */

.flip-card {
   background-color: transparent;
   width: 387px;
   height: 230px;
   perspective: 1000px;
 }
 
 .flip-card-inner {
   position: relative;
   width: 100%;
   height: 100%;
   text-align: center;
   transition: transform 0.6s;
   transform-style: preserve-3d;
   box-shadow: 0 4px 8px 0 rgb(0,0,0,0.2);
 }
 
 .flip-card:hover .flip-card-inner {
   transform: rotateY(180deg);
 }
 
 .flip-card-front, .flip-card-back {
   position: absolute;
   width: 100%;
   height: 100%;
   backface-visibility: hidden;
 }
 
 .flip-card-front {
   background-color: rgb(232, 232, 232);
   color: black;
 }
 
 .flip-card-back {
   background-color: rgb(34, 167, 240);
   color: white;
   transform: rotateY(180deg);
 }

 /* change background styles */
 .changeBackground {
   background-image: "img/Clouds.jpg";
 }

 /* typewriter styles */
 .css-typing p {
   border-right: .1em solid black;
   font-family: 'Playfair Display', serif;
   color: rgb(51, 51, 51);
   font-size: 8.5rem;
   white-space: nowrap;
   overflow: hidden;
   margin-bottom: -40px;
   font-weight: bold;
 }
 .css-typing p:nth-child(1) {
   width: 2.33em;
   -webkit-animation: type 1s steps(10, end), blink .25s step-end infinite alternate;
   animation: type 1s steps(10, end), blink .25s step-end infinite alternate;
   animation-delay: 3s;
   -webkit-animation-fill-mode: forwards;
   animation-fill-mode: forwards;
 }
 
 .css-typing p:nth-child(2) {
   width: 1.85em;
   opacity: 0;
   -webkit-animation: type2 1s steps(10, end), blink .1s step-end infinite alternate;
   animation: type2 1s steps(10, end), blink .1s step-end infinite alternate;
   -webkit-animation-delay: 1s;
   animation-delay: 4s;
   -webkit-animation-fill-mode: forwards;
   animation-fill-mode: forwards;
 }
 
 .css-typing p:nth-child(3) {
   width: 3em;
   opacity: 0;
   -webkit-animation: type3 1s steps(20, end), blink .1s step-end infinite alternate;
   animation: type3 1s steps(20, end), blink .1s step-end infinite alternate;
   -webkit-animation-delay:2s;
   animation-delay: 5s;
   -webkit-animation-fill-mode: forwards;
   animation-fill-mode: forwards;
 }
 
 @keyframes type {
   0% {
     width: 0;
   }
   99.9% {
     border-right: .15em solid black;
   }
   100% {
     border: none;
   }
 }
 
 @-webkit-keyframes type {
   0% {
     width: 0;
   }
   99.9% {
     border-right: .15em solid black;
   }
   100% {
     border: none;
   }
 }
 
 @keyframes type2 {
   0% {
     width: 0;
   }
   1% {
     opacity: 1;
   }
   99.9% {
     border-right: .15em solid black;
   }
   100% {
     opacity: 1;
     border: none;
   }
 }
 
 @-webkit-keyframes type2 {
   0% {
     width: 0;
   }
   1% {
     opacity: 1;
   }
   99.9% {
     border-right: .15em solid black;
   }
   100% {
     opacity: 1;
     border: none;
   }
 }
 
 @keyframes type3 {
   0% {
     width: 0;
   }
   1% {
     opacity: 1;
   }
   100% {
     opacity: 1;
   }
 }
 
 @-webkit-keyframes type3 {
   0% {
     width: 0;
   }
   1% {
     opacity: 1;
   }
   100% {
     opacity: 1;
   }
 }
 
 @keyframes blink {
   50% {
     border-color: transparent;
   }
 }
 @-webkit-keyframes blink {
   50% {
     border-color: tranparent;
   }
 }

/* endtxt styles */

#endtxt p {
  font-size: 8.5rem;
  font-family: 'Playfair Display', serif;
}

#endtxt p a {
  color: rgb(77, 5, 232);
  text-decoration:  line-through;
}

#endtxt a:hover {
  text-decoration: none;
}

/* form styles */
html, .cbody {
min-height: 100%;
}
.cbody {
    background: #ff5e63; /* Fallback for browsers that don't support gradients */
    font-family: "Varela Round", sans-serif;
background: linear-gradient(#ECE9E6, #FFFFFF)  no-repeat;
}
.form-control {
    border-color: #d7d7d7;
    box-shadow: none;
}
.form-control:focus, .btn:focus {
    border-color: #a177ff;
    box-shadow: 0 0 8px #c2a8ff;
}
.contact-form {
    width: 500px;   
    margin: 0 auto;
    padding: 40px 0;
}
.contact-form form {
    background: #fff;
    padding: 40px;
    border-radius: 6px;
}
.contact-form h1 {
    text-align: center;
    font-size: 50px;
    margin: 0 0 15px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form .form-control, .contact-form .btn  {        
    border-radius: 2px;
    min-height: 40px;
    transition: all 0.5s;
    outline: none;
}
.contact-form .btn {
    background: #a177ff;
    font-size: 16px;
    min-height: 50px;
    border: none;
}
.contact-form .btn:hover, .contact-form .btn:focus {
    background: #8048ff;
    outline: none;
}
.contact-form .btn i {
margin-right: 5px;
}
.contact-form label {
    color: #bbb;
font-weight: normal;
}
.contact-form textarea {
    resize: vertical;
}
.hint-text {
    font-size: 15px;
    text-align: center;
    padding-bottom: 25px;
    opacity: 0.8;
}



/* mySong */
#mySong {
  margin: 5rem 0 5rem 0;
}

/* hr styles */
hr.hr1 {
  border: 2px solid #b4b4b4;
  width: 25%;
  text-align: center;
  margin-left: 37.5%;
}

/* icons style */

.social a {
  padding-left: 3rem;
}

.fa-facebook {
  color: #3b5998;
}

.fa-twitter {
  color: #00aced;
}

.fa-google-plus-g {
  color: #dd4b39;
}

.fa-instagram {
  color: #517fa8;
}

.fa-youtube {
  color:#bb0000;
}

.fa-facebook,
.fa-twitter,
.fa-google-plus-g,
.fa-instagram,
.fa-youtube {
  transition:  .5s ease-in;
  -moz-transition:  .5s ease-in;
  -webkit-transition:  .5s ease-in;
  -o-transition:  .5s ease-in;
}

.fa-facebook:hover,
.fa-twitter:hover,
.fa-google-plus-g:hover,
.fa-instagram:hover,
.fa-youtube:hover {
  color: #d5d5d5;
  transition: .5s ease-out;
  -moz-transition: .5s ease-out;
  -webkit-transition: .5s ease-out;
  -o-transition: .5s ease-out;
}


/* endmail */
#endmail {
  text-transform: uppercase;
  background-color: #e9ecef;
  padding-top: 10px;
}

/* S;G */
.SG {
  display: inline-block;
}

/* sgbtn */
#SGbtn {
  display: block;
  margin-left: 45%;
  margin-bottom: 10px;
}

/* myNav */
#endNav {
  background-color: #e9ecef;
  display: inline-block;
}

/* inverse */
.inverse {
  background-size: 200% auto;
  background-image: linear-gradient(to right,#fff 50%,rgb(46, 49, 49) 50%);
  color: #fff;
  animation-name: highlight;
  animation-duration: 1s;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
@keyframes inverse {
  from {background-position: 0% 0;}
  to {background-position: -100% 0;}
}

/* highlight styles */
.highlight {
  background-size: 200% auto; 
  background-image: linear-gradient(to right,#fff 50%,#ff0 50%);
  background-position: 0% 0;

  animation-name: highlight;
  animation-duration: 1s;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
@keyframes highlight {
  from {background-position: 0% 0;}
  to {background-position: -100% 0;}
}


/* myDiv */
#myDiv {
  height: 250px;
  width: 250px;
  overflow: auto;
  color: black;
}

#myDiv p {
  color: black;
}

#content {
  height: 800px;
  width: 2000px;
  background-color: coral;
}

#cool {
    color: inherit;
}

/* fixed pageNav */
#pageNav {
  width: 200px;
  height: 30px;
  position: fixed;
  bottom: 0;
  right: 0;
  background-color: rgb(242, 241, 239);
  z-index: 3000;
  -webkit-transition: width 1s, height 1s;
  transition: width 1s, height 1s;
}

#pageNav:hover {
  width: 300px;
  height: 160px;
}

#pageNav img{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 20px;
}

.visible {
  visibility: visible;
}

.hidden {
  visibility: hidden;
}

/* media queries */
@media (max-width: 1200px) {
  #mySong {
    margin-top: 6rem;
  }
  
  #top p {
    font-size: 8rem;
  }

  #myLogo img {
    width: 160px;
    margin-top: 2rem;
    padding-right: 2rem;
    float: left;
  }

  header .container p {
    font-size: 26px;
    margin-left: 20px;
    writing-mode: vertical-rl;
    float: left;
  }

}

@media (max-width: 992px) {
  #mySong {
    margin-top: 6rem;
  }
  #top p {
    font-size: 7rem;
  }
  
  /* fixed pageNav */
  #pageNav {
    width: 200px;
    height: 30px;
  }

  #pageNav:hover {
    width: 200px;
    height: 220px;
  }

  #pageNav img, #pageNav p {
    margin-left: 32px;
  }

  #endtxt p {
    font-size: 7rem;
    font-family: 'Playfair Display', serif;
  }

  #myLogo img {
    width: 150px;
    margin-top: 1rem;
    padding-right: 2rem;
    float: left;
  }

  header .container p {
    font-size: 24px;
    margin-left: 20px;
    writing-mode: vertical-rl;
    float: left;
  }

}

@media (max-width: 768px) {
  #top {
    margin-bottom: 3rem;
  }
  
  #mySong {
    display: none;
  }
  
  #top p {
    font-size: 6rem;
  }

  #endtxt p {
    font-size: 6rem;
    font-family: 'Playfair Display', serif;
  }

  #myLogo img {
    width: 135px;
    margin-top: 1rem;
    float: left;
  }

  header .container p {
    font-size: 22px;
    margin-left: 20px;
    writing-mode: initial;
    margin: 1rem 0 4rem 0;
    float: left;
  }
}

@media (max-width: 576px) {
  #top {
    margin-bottom: 3rem;
  }
  
  #mySong {
    display: none;
  }
  
  #top p {
    font-size: 5rem;
  }

  #endtxt p {
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
  }

  #myLogo img {
    width: 110px;
    margin: 1rem 0 0 20px;
    float: left;
  }

  header .container p {
    font-size: 20px;
    margin-left: 20px;
    writing-mode: initial;
    margin-bottom: 3rem;
    float: left;
  }
  
  
  .sk-cube-grid {
    width: 50px;
    height: 50px;
    margin: auto;
  }
}

/* underline animation!! */

#myNav ul {
  list-style-type: none;
  margin: 0;
  text-align: center;
}
#myNav ul li {
  display: inline-block;
  margin: 0 20px;
}
#myNav a {
  font-size: 20px;
  color: #584e4a;
  position: relative;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 8px;
}
#myNav a:before, #myNav a:after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #f37272;
}
#myNav a:before {
  opacity: 0;
  transform: translateY(- 8px);
  transition: transform 0s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0s;
}
#myNav a:after {
  opacity: 0;
  transform: translateY(4px);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
}
#myNav a:hover:before, #myNav a:focus:before, #myNav a:hover:after, #myNav a:focus:after {
  opacity: 1;
  transform: translateY(0);
}
#myNav a:hover:before, #myNav a:focus:before {
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
}
#myNav a:hover:after, #myNav a:focus:after {
  transition: transform 0s 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0s 0.2s;
}

/* quote styles */
#rquote {
  font-family: 'Open sans', sans-serif;
  margin: 3rem 0 2rem 0;
}

.quote {
  margin-left: 20px;
}

/* padding class */
.padding {
  padding-bottom: 2rem;
}

/* fun button */
.fun {
  width: 100%;
  margin-bottom: 2rem;
}

figure {
  margin-bottom: 0px !important;
}

.gif {
  max-width: 100%;
  max-height: 400px;
}

#abtMe {
  margin-top: 2rem;
}

/* greeting */
#greeting {
  margin-top: 3rem;
}

/* preloader styles */
#preloader {
  background-color: #eef2f3;
  position: fixed;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 9999;
}

.sk-cube-grid {
  width: 100px;
  height: 100px;
  margin: 0px auto;
}

.sk-cube-grid .sk-cube {
  width: 33%;
  height: 33%;
  background-color: #333;
  float: left;
  -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
          animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; 
}
.sk-cube-grid .sk-cube1 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
  -webkit-animation-delay: 0s;
          animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }

@-webkit-keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1); 
  }
}

@keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
  } 
}

.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s;
  animation-delay: 3s;
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}