/* Resets the margins of the page */
*{
  margin: 0;
  padding: 0;
}

body{
  font-family: 'Montserrat', sans-serif;
  display:flex;
}

/* spilts the intro page 30/70 */
.split{
  height: 100vh;
  width: 30vw;

  overflow-x: hidden;
}

/* Control the left side */
.left {
  width: 30vw;
  height: 100vh;
  background-color: #0A0908;
}

.header-left{
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  width: auto;
  height: 100vh;
}

#header-images-res-phone{
  display: none;
}

/* Control the right side */
.right {
  width: 70%;
  height:100vh;
  background-color: BLACK;

  overflow-y: hidden;
}


.header-images {
  width: auto;
  height: 100%;

  background: #000000 0px 0px url('images/Collage2.png') repeat-x;

  /* Ensures background size */
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  /* Scrolls background of right panel (collage images) */
  -webkit-animation: scroll 100s linear infinite;
  animation: scroll 100s linear infinite;
}

@-webkit-keyframes scroll {
  from {background-position: 3840px 0;}
  to {background-position: 0 0;}
}

@keyframes scroll {
  from {background-position: 3840px 0;}
  to {background-position: 0 0;}
}

/* settings for the main text */
 #name{
   height: auto;
   width: 100%;

   /* makes text bg transparent */
   background: rgba(0, 0, 0, 0);

   color: #FDE12D;
   font-family: 'Abril Fatface', cursive;
   /* font-family: 'Playfair Display', serif; */
   font-size: 3.8vw;

   text-decoration: none;
 }

/* places buttons evenly at bottom of page */
.buttons{
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
}

/* Main settings for all buttons */
.sidebar{
  font-size: 1vw;
  text-align: center;
  font-style: normal;
  text-decoration: none;
  color: WHITE;
  font-family: 'Spectral', serif;

  padding: 10% 1%;

  height: 1vh;
  max-height: 1vh;
  width: 20%;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border: none;

/* default button setting in case of error */
  background-color: BLACK;
  background-size: contain;

  transition: 2s;
}

/* raises buttons on hover */
.sidebar:hover{
  transition: 2s;
  max-height: 10vh;
  height: 10vh;
  padding: 10% 10%;
}

/* Color change for the Button */
#me{
    background-color: #9046CF;
    color: #0A0908;
}

#experiences{
    background-color: #CC59D2;
    color: #0A0908;
}

#projects{
    background-color: #F487B6;
    color: #0A0908;
}

#contact{
    background-color: #FDE12D;
    color: #0A0908;
}


/* begin responsive design */
@media screen and (max-width: 1000px) {
  .left{
    width: auto;
    height: 100vh;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
  }

  .right{
    display: none;
  }

  #name{
    font-size: 3.8vh;
    height:1vh;
  }

  .header-left{
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
  }

  .sidebar{
    font-size: 1.5vh;
    margin-left: 2.5px;
    margin-right: 2.5px;

    width: 20vw;
    height: 100%;
    border-radius: 50% 50% 0 0;

    transition: 2s;
  }

  .buttons{
    width:100vw;
    height: 1vh;
    display: flex;
    flex-flow: row;
    align-items: space-around;
  }

  #header-images-res-phone{
    display: flex;
    flex-flow:  column;
    justify-content: flex-start;

    height: 65vh;
    width:100vw;

    background: #000000 0px 0px url('images/Collage2.png') repeat-x;

    /* Ensures background size */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    /* Scrolls background of right panel (collage images) */
    -webkit-animation: scroll 100s linear infinite;
    animation: scroll 100s linear infinite;
  }
}
