body {
  font-family: Lato;

  animation: fadeIn ease 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;

background: #FCFFFE;

}

html {
  scroll-behavior: smooth;

}

#mainNav {
  display: flex;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  top: 0px;
  background: #C6DBF0;
  transition: background 0.4s;
  z-index: 99;
  font-family: Lato;

  color: #102B3F;

  box-shadow: 0 3px 3px 0 rgba(0,0,0,0.2);

  font-family: Montserrat, sans-serif ;
}



#home:hover {
  cursor:pointer;
}

/* Scroll style effects */

.bg-change {
  background: #A3A3A3 !important;
}

.txt-white a {
  color: #F6FFFF !important;
  font-weight: bolder;
}

.bg-remove {
  background: none !important;
  color: #102B3F !important;
}

.opacity-increase {
  opacity: 1 !important;
  transition: 0.5s;
}







  /* Section Styles */

section {
  height: 700px;
  margin-left: 15%;
  margin-right: 15%;


}

#section1 {

  position: relative;
  margin-top: 120px;

}

#section2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#section3 {
  position: relative;
}


h1, h2 {
  font-size: 55px;
  font-family: Montserrat, sans-serif;
  color: #102B3F;

  padding-left: 6%;
  margin-bottom: 10px;
}

h1 {
  display: flex;
}

h2 {
  margin-top: 10px;
}


.box {
  height: 600px;
  width: 750px;

  padding-top: 5%;
  padding-left: 4%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

h3, h4 {
  font-family: Lato;
  font-size: 20px;
  font-weight: bold;
}

h3 {
  color: #20A4F3;
}

h4 {
  color: #20A4F3;
}

h5 {
  font-family: Lato;
  font-size: 18px;
  color: 102B3F;

  font-weight: normal;

  position: absolute;
  left: 41%;
  padding-top: 2%;
}

.description {
  height: 50%;
  width: 92%;

  padding-left: 10px;
  margin: 10px;

  font-style: Lato, sans-serif;
  color: #102B3F;
  line-height: 32px;
  font-size: 18px;
}

#description1 {
  background: #eee;
  border-style: solid;
  border-width: thin;
  border-color: #90BEDE;

}

#description2 {
  background: #eee;
  border-style: solid;
  border-width: thin;
  border-color: #90BEDE;
}

.flags {
  height: 100px;
  width: 100px;

  padding: 20px;
  border-radius: 70px;


}

img.flags {
    animation: spin 15s linear  infinite;
}

img.flags:hover {
  opacity: 0.9;
  transition: 0.8s;
  box-shadow:
         1px 1px #53a7ea,
         2px 2px #53a7ea,
         3px 3px #53a7ea;
 transform: translateX(-3px);
}


#box2 {
  border-color: black;
  width: 15%;

}

footer {
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #505168;
  color: #eee;
}

#linkedin {
  text-decoration: none;
  color: #eee;
  padding-left: 5px;
}

#linkedin:hover {
  color: #B0D0D3;
  transition: 0.3s;
}

/* NAV Items */

#mainNav ul {
  list-style: none;
  display: flex;
  align-items: center;
  width: 400px;
  justify-content: space-around;
}
#mainNav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.4s;
}

#mainNav li:hover {
  opacity: 0.5;
  transform: scale(1.1);
  transition: 0.5s;
}

#mainNav .logo img {
  height: 84px;
  transition: height 0.4s;

}

#sideNav {
  position: fixed;
  width: 0;
  left: 4.3%;
  height: 100px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;


}

#sideNav a:hover {
  opacity:0.5;
  transition: 0.5s;
}

.fa {
  padding: 10px;
  font-size: 20px;
  width: 20px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;


  transition: background 0.5s;


}

.logo-shift {
  padding: 8px !important;
  font-size: 18px !important;
  width: 10px !important;
  opacity: 0.5;

  transition: 0.5s !important;
}

.sidenavshift {
  left: 3.4% !important;
  height: 220px !important;
  transition: 0.5s !important;
}




.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;

}

.fa-instagram {
  background: #125688;
  color: white;
}




.guitar img {
  position: absolute;
  right: 5%;
  top: 5%;
  height: 80%;

}

.guitarRotate1 {
  transform: translate(-280%, 30%) rotate(90deg);
  transition-duration: 1s !important;
}

.guitarRotate2 {
  transition-duration: 1.5s;
}

.logorevert {
  transition-duration: 1s;
}



/* Animations */

@keyframes bounce {
    0%   { transform: scale(1,1)    translateY(0); }
    10%  { transform: scale(1.1,.9) translateY(0); }
    30%  { transform: scale(.9,1.1) translateY(30px); }
    50%  { transform: scale(1,1)    translateY(0); }
    57%  { transform: scale(1,1)    translateY(7px); }
    64%  { transform: scale(1,1)    translateY(0); }
    100% { transform: scale(1,1)    translateY(0); }
}

@keyframes fadecolor {
  0% { color: red; }
  25% { color: blue; }
  50% { color: green; }
  75% { color: yellow; }
  100% { color: orange; }
}

@keyframes fadecolor2 {
  0% { color: #2B102D; }
  25% { color: #ACCBE1; }
  50% { color: #7C98B3; }
  75% { color: #637081; }
  100% { color: #373737; }
}


@keyframes spin {
  from {transform: rotate(0deg); }
  to {transform: rotate(360deg); }
}

@keyframes fadeIn {
  0% {opacity: 0}
  100% { opacity: 1; }
}

/* Text styles */

#intro {
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  height: 100px;
  width: 60%;


  padding-left: 6%;
  padding-top: 2%;
  color: #102B3F;
}

span#down {
  animation: bounce 2s infinite;
  padding-left: 5px;
  padding-right: 5px;
} 



a#resume {
  color: green;
  font-weight: normal;
  text-decoration: none;


  padding-left: 3px;
  padding-right: 3px;

  animation: fadecolor2 3s  infinite linear 0.5s;
}


/* Flip Card */

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 65px;
  perspective: 1000px;

  margin-left: 10px;
  margin-right: 10px;

}

.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 rgba(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: #C0FDFB;
  color: #102B3F;

}

.flip-card-back {
  background-color: #2E4052;
  color: white;
  transform: rotateY(180deg);
}


/* Carousel */

#carousel,
.carousel-image {
  width: 500px;
  height: 500px;

  left: 26%;
  top: 15%;

}

/* Carousel frame setup */

#carousel {
  position: relative;
  border: 3px solid #C6DBF0;
  /* Part 3.2: Hide stuff that overflows the box */
  overflow: hidden;


}

/* Images */

#carousel-image-row {
  /* Part 1.2: Make images appear in a row */
  display: flex;
  flex-direction: row;
  /* Part 1.3: What kind of positioning? */
  position: relative;
  left: 0px;
  /* Part 3.1: Add transition */
  transition: 0.5s left;
}

.carousel-image img {
  height: 100%;
  width: auto;
}

/* Controls */

.hidden {
  visibility: hidden;
}

#img1 {
  transform: rotate(0deg);
  height: 500px;
  width: 500px
}

/* Part 4: optional button styling */

#carousel-controls {
    /* vertically center */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    /* spacing between the two buttons */
    width: 100%;
    display: flex;
    justify-content: space-between;

    /* appear in front of images */
    z-index: 1;
}

#button-next,
#button-previous {
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}



