/* Resets the margins of the page */
*{
  margin: 0;
  padding: 0;
}

body{
  font-family: 'Montserrat', sans-serif;

  background-color: #0b3954;

  display:flex;

}

/* spilts the intro page 30/70 */
.split{
  height: 100vh;
  overflow-x: hidden;
}

/* Control the left side */
.left{
  width: 70vw;
  height: 100vh;
  background-color: #0b3954;

  order:-1;
}

#resume{
  width: 100%;
  height: 100vh;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

iframe{
  width: 80%;
  height: 90%;
}

/* Control the right side */
.right {
  width: 30vw;

  background-color: #0b3954;
}

.header-right{
  display: flex;
  flex-flow: column-reverse;
  justify-content: space-between;
  width: auto;
  height: 100vh;
}

/* settings for the main text */
 #name{
   background: rgba(0, 0, 0, 0);
   color: #f7a072;
   font-family: 'Abril Fatface', cursive;
   font-size: 3.8vw;
   text-align: right;

   text-decoration: none;
 }

/* places buttons evenly at bottom of page */
.buttons{
  display: flex;
  align-items: flex-start;
  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-bottom-right-radius: 50%;
  border-bottom-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 */
#Emory{
    background-color: #0fa3b1;
    color: #0b3954;
}

#home{
    background-color: #b5e2fa;
    color: #0b3954;
}

#projects{
    background-color: #f9f7f3;
    color: #0b3954;
}

#contact{
    background-color: #eddea4;
    color: #0b3954;
}

#name-res{
  display: none;
}

#buttons-res{
  display:none;
  height: 0px;
  width: 0px;
}

#linktores{
  background: none;
  width: 100%;
  height: 5%;
  padding: 10px;
  margin:0px;

  font-family: 'Montserrat', sans-serif;
      text-align: center;

  text-decoration: none;
     color: #f7a072;
}

@media screen and (max-width: 900px) {

  .right{
    display: none;
  }

  .left{
    width: 100vw;

    display: flex;
    flex-flow: column;

    justify-content:space-between;
  }

  #name-res{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
    padding: 0;

    background: rgba(0, 0, 0, 0);
    color: #f7a072;
    font-family: 'Abril Fatface', cursive;
    font-size: 10vw;
    height: auto;
    text-align: left;

    text-decoration: none;
  }

  #resume{
    height: 100vh;
    width: 100%;

    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
  }

  #buttons-res{
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    margin-top: 5px;
    height:auto;
    width: 100vw;
  }

  .sidebar{
    font-size: 3.5vw;
    margin-left: 2.5px;
    margin-right: 2.5px;

    width: 20vw;
    border-radius: 50% 50% 0 0;
  }

  .sidebar:hover{
    width: 20vw;
    height: auto;
    padding: auto;
  }

  #linktores{
    background: none;
    width: 100%;
    height: 5%;
    padding: 10px;
    margin:0px;

      font-family: 'Montserrat', sans-serif;

    text-align: center;

    text-decoration: none;
       color: #f7a072;
  }
}
