/* Styles for JS reveal animation */
.reveal{
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  cursor: pointer;
  transition: 0.5s all ease-in-out;
}

.slideup{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
  z-index: 0;
}

/* General styles */

html{
  overflow-x: hidden;
}

body{
  background-color: #131313;
  width: 100%;
  height: 100vh;
  margin: 0;
}

/* About Top Section (Portrait + Intro) */

.topdesc{
  display: flex;
  height: 65svh;
  width: 100%;
  justify-content: center;  
}

.topdesc-text{
  display: flex;
  flex-direction: column;
}

.topdesc-text h1{
  display: flex;
  margin: 0%;
  line-height: 1.2;
}

#bottomtext{
  padding-top: 3vh;
}

.portraitlarge{
  width: 35vw;
  padding-right: 4vw;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

.portraitsmall{
  display: none;
}

/* Work Experience and Honours sections */

.workexperience, .honours{
  width: 55%;
  margin: auto;
}

.workexperiencetitle, .honourstitle{
  display: flex;
  text-align: center;
  margin: auto;
  padding-top: 2vh;
  padding-bottom: 2vh;
}

/* Headings styles */

h1{
  font-family: 'DM Sans';
  color: white;
  font-weight: 100;
  font-size: 3.5vw;
  letter-spacing: -1px;
  opacity: 80%;
  margin-top: 0%;
}

h2{
  font-family: 'DM Sans';
  color: white;
  font-weight: 100;
  font-size: 2.2vw;
  letter-spacing: -1px;
  opacity: 80%;
}

h2, h3, h4{
  white-space: nowrap;
}

h3{
  font-family: 'DM Sans';
  color: white;
  font-weight: 100;
  font-style: italic;
  font-size: 2.2vw;
  letter-spacing: -1px;
  opacity: 80%;
  margin-top: 0%;

}

h4{
  font-family: 'DM Sans';
  color: #707070;
  font-weight: 100;
  font-size: 1.7vw;
  letter-spacing: -0.5px;
  opacity: 80%;
  margin-top: 0%;
}

/* CV Entry Positioning */

.reveal{
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 5%;
}

.reveal h2, .reveal h3, .reveal h4{
  margin: 0%;
  margin-bottom: 2%;
}

.reveal h2{
  margin-top: -3%;
  margin-bottom: 0%;
}

.logo-row{
  display: flex;
  flex-direction: row;
  margin-top: 7%;
  padding-left: 0.2vw;
}

img.photo, img.logo{
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

img.photo{
  display: block;
  width: 24vw;
  padding-right: 2vw;
}

img.logo{
  display: block;
  height: 4.5vw;
  padding-right: 1vw;
}

/* MODIFYABLES 

.reveal{
  margin-top: 5%;
}

.reveal h2, .reveal h3, .reveal h4{
  margin: 0%;
  margin-bottom: 2%;
}

.reveal h2{
  margin-top: -3%;
  margin-bottom: 0%;
}

.logo-row{
  padding-left: 0.2vw;
  margin-top: 7%;
}

img.photo{
  width: 24vw;
  padding-right: 2vw;
}

img.logo{
  height: 4.5vw;
  padding-right: 1vw;
}

*/

/* Contact Bottom */

.contact-container{
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
  padding-top: 4vh;
}

.contact{
  display: inline-block;
  height: fit-content;
  position: relative;
  color: #ffffff;
  -moz-user-select: auto;
  -webkit-user-select: auto;
  user-select: auto;
}

.contact p{
  height: fit-content;
}



.contacttext{
  font-family: 'DM Sans';
  color: white;
  font-weight: 100;
  font-size: 2.8vw;
  letter-spacing: -1px;
  opacity: 80%;
  line-height: 0%;
  text-decoration: none;
}

.blankspace-top{
  padding-bottom: 4vw;
}

.blankspace-bottom{
  padding-bottom: 5vw;
}

/* Media Queries */

@media (orientation: portrait) or (max-width: 1300px)  {
  .topdesc{
    height: fit-content;
    padding-top: 4.5vh;
  }
  .contacttext{
    font-size: 5vw;
  }
}

@media (max-width: 1300px) {

.portraitlarge{
  display: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

.portraitsmall{
  display: block;
  width: 35vw;
  padding-right: 4vw;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

h2, h3{
  letter-spacing: -0.5px;
}

h4{
  letter-spacing: -0.5px;
}

}

@media (max-width: 1100px) {

.workexperiencetitle h1, .honourstitle h1{
  font-size: 4vw;
}

.workexperience, .honours{
  width: 60%;
  margin: auto;
}

h2, h3{
  font-size: 2.5vw;
}

h4{
  font-size: 2vw;
}

.logo-row{
  padding-left: 0.2vw;
  margin-top: 7%;
}

img.photo{
  width: 28vw;
  padding-right: 2vw;
}

img.logo{
  height: 4.5vw;
  padding-right: 1vw;
}

.reveal h2{
  margin-top: -4%;
  margin-bottom: 0%;
}

}

@media (max-width: 800px) {


  
.workexperiencetitle h1, .honourstitle h1{
  font-size: 5vw;
}

.workexperience, .honours{
  width: 87%;
  margin: auto;
}

h1{
  letter-spacing: -0.2px;
}

h1, h2, h3{
  word-spacing: -1px;
}

img.photo{
  width: 35vw;
  padding-right: 3vw;
}

img.logo{
  height: 6vw;
  padding-right: 3vw;
}

h2, h3{
  font-size: 3.5vw;
}

h4{
  font-size: 3vw;
}

}

/*
@media (orientation: portrait) {
  .reveal{
    transition-delay: 300ms;
  }
}
*/