/* tags */
* {
  box-sizing: border-box;
}

/* when screen is small (phone sized) increase html fontsize to 32px*/

td{
  padding-bottom: 20px;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  margin: 0;
  background-color:#f5f5f5;
  transition: background-color 0.3s;
}


h1{
  font-size: 3rem;
  font-weight: normal;
}

h2{
 font-size: 2rem;
 font-weight: normal;
}

main{
  padding: 0;
  margin: 0;
  display: flex;
}

body {
  margin: 0;
  font-family:'Playfair Display', serif;
  font-size: 1.5rem;
}

a {
  color: black
}

a:hover {
  color: #999999;
}
ul {
  list-style: none;
}

main article {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 70%;
}

aside {
  flex: 0 0 13.5%;
}

nav {
  justify-content: center;
  width:100%;
  background-color: black;
  overflow: auto;
  display: flex;
  height: 64px;
  overflow-y: hidden;
  transition: 1000ms;
  padding-bottom: 15px;
}
nav a{
  animation: 0.5s ease-out 0s 1 slideInLeft;
  text-decoration: none;
  color: white;
  font-size: 64px;
  padding-left: 2rem;
  padding-right: 2rem;
}

nav a:hover{
  transition: transform 0.3s, 1s background-image 2s;
  transform: rotate(-360deg);
}

/* ids */
#me {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#me img {
  display: flex;
  width: 100%;
}

#me-and-earl{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#me-and-earl img{
  display: flex;
  width: 100%;
}

/* classes */
.h-fullscreen{
  height: 100%;
}

.flex-col {
  flex-direction: column;
}

.flex-row{
  flex-direction: row;
}

.center-flex{
  justify-content: center;
  align-items: center;
}

.main-heading{
  margin-top: 0;
  margin-bottom: 0;
  font-weight: normal;
  justify-content: end;
}

.job-heading a{
  text-decoration: none;
  color: black;
}

.main-heading a {
  text-decoration: none;
  color: black;
}

.sub-heading a{
  text-decoration: none;
  color: black;
}

.content-div{
  padding: 2rem;
  margin-bottom: 10rem;
  width: 100%;
}
  .content-div p {
    margin-top: 1.2rem;
  }

.job-image{
  max-width: 25%;
}

.white-background-bordered {
  border-color: black;
  border-style: solid;
  border-width: 2px;
  background-color: white;
}

.top-div{
  margin-top: 2rem;
  padding: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  height: 100vh;
}
.top-div ul{
  list-style: none;
}

.skills{
  flex-wrap: wrap;
  width: 80%;
  padding: 1rem;
  margin-left:auto;
  margin-right:auto;
}

.skills .flex-row > span:nth-child(1){
  font-style:italic;
}

.skills .flex-row > span:nth-child(2n){
  margin-left: auto;
}
.skills .flex-row > span:nth-child(2n) span{
  display: inline-block;
  transition: ease-in-out 70ms;
  line-height:1.2rem;
  cursor: default;
}
.skills .flex-row > span:nth-child(2n) span:hover{
  scale: 2;
}

.skills .flex-row {
  width: 33%;
  padding:0 1rem 0.5rem 1rem;
}

.emoji-span{
  padding-right: 0.8rem;
}

.flex {
  display: flex;
}

.sticky {
  position: fixed;
  top: 93vh;
  left: 93vw;
}

.projects-list img{
  max-width: 15rem;
}
.projects-list li {
  display: flex;
  margin: 1rem 0 1rem 20%;
  
}

.projects-list p {
  color: grey;
}

.projects-list div {
  padding: 1rem;
}

button.sticky{
  border: none;
  font-family:'Playfair Display', serif;
  font-size: 40px;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: 0.5s;
 
  /*add those for opera and mozilla support*/
  -webkit-text-decoration-color: transparent;
  -moz-text-decoration-color: transparent;
  background-color: inherit;
}

button.sticky:hover{
  text-decoration-color: black;
}

/* media queries*/
@media only screen and (max-device-width: 1920px){
  /* in mobile css commands */ 
  html 
  {
    font-size: 14px;
  }

  .skills {
    width: 100%;
  }
}

/* media queries*/
@media only screen and (max-device-width: 810px){
  /* in mobile css commands */ 
  .top-div{
    height:100%;
  }
  .skills {
    width: 100%;
  }
  .skills .flex-row{
    width: 100%;
  }

  .projects-list li {
    margin: 0;
  }
}

@media only screen and (max-device-width: 480px){
  /* in mobile css commands */ 
  html {
    font-size: 23px;
  }

}