/* Resets the margins of the page */
*{
  margin: 0;
  padding: 0;
}

html{
  scrollbar-color: #2e4057 #f6d8ae;
  scrollbar-width: thin;
}

body{
  font-family: 'Montserrat', sans-serif;
  font-size: 2vh;

  background-color: #f6d8ae;

  display: flex;
}

/* spilts the intro page 30/70 */
.split{
  height: 100vh;

  overflow-x: hidden;
}

/* Control the left side */
.left{
  order: -1;
  width: 70vw;

  background-color: #f6d8ae;
  display: flex;
  flex-flow: column;
}

.main{
  width: 100%;
  display: flex;
}

#headtext{
  font-family: 'Abril Fatface', cursive;
  font-size: 9vh;
  padding-left: 8.5%;
  padding-top: 3%;
  margin-bottom: 3%;
}

.title{
  margin-left: 20%;
  margin-bottom: 1%;
  font-family: 'Abril Fatface', cursive;
  text-decoration: underline;
  font-size: 4vh;
}

.paragraph{
  width:30vw;
  margin-left:25%;
  padding-left: 2%;
  margin-bottom:2%;
  border-left: solid;
}

#leftside{
  display: flex;
  flex-flow: column;
}

.side{
  width:80%;
  display: flex;
  flex-flow: column;
  justify-content: space-around;
  align-items: flex-start;
}

/* Control the right side */
.right {
  width: 30vw;

  background-color: #f6d8ae;

  overflow: hidden;
}

.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: #2e4057;
   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;
  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 */
#home{
    background-color: #083d77;
    color: #0a0908;
}

#experiences{
    background-color: #da4167;
    color: #0a0908;
}

#projects{
    background-color: #f4d35e;
    color: #0a0908;
}

#contact{
    background-color: #f896d8;
    color: #0a0908;
}

#name-res{
  display: none;
}

#buttons-res{
  display:none;
}

@media screen and (max-width: 1100px) {
  .right{
    display: none;
  }

  .left{
    width:100vw;
  }

  .main{
    display: flex;
    flex-flow: column;

    justify-content:space-around;
    margin-left: 40px;
  }

 .section{
   margin: 0;
   width: 80%;
 }

  .side{
    margin: 0;
    width: 100vw;
    display: flex;
    flex-flow: column;
  }

  #name-res{
    display: flex;
    height: auto;
    background: rgba(0, 0, 0, 0);
    color: #2e4057;
    font-family: 'Abril Fatface', cursive;
    font-size: 10vw;
    text-align: left;
    text-decoration: none;
  }

  #buttons-res{
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    margin-top: 15px;
  }

  .paragraph{
    width:70%;
    margin-left: 15%;
  }

  .title{
    margin-left: 10%;
  }

  .sidebar{
    font-size: 2.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;
  }

  #headtext{
    font-size: 8vw;
  }

  .title{
    font-size: 6vw;
  }

  .paragraph{
    font-size: 3vw;
    margin-right: 20px;
  }

}
