@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url("http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css");

@media only screen and (min-width: 0px) and (max-width: 1199px) {
  body {
    overflow-y: scroll !important;
  }

  #wrapper {
    height: auto !important;
  }

  #left {
    height: 100vh;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }

  #right {
    height: auto !important;
    overflow-y: hidden !important;
  }

  #pageTrans {
    padding-bottom: 2rem !important;
    margin-bottom: 5rem !important;
  }
}


/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

  html,
  body {
    background-color: #F7F9FB !important;
    height: 100%;
    min-height: 100%;
    margin: 0;
    font-size: 62.5%;
  }

  #left {
    min-height: 100vh !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }

  .projects {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 5rem !important;
    padding-right: 5rem !important;
    padding-bottom: 5rem !important;
  }

  .project:hover {
    cursor: pointer;
  }

  .projTitle {
    font-size: 2.5rem;
    font-weight: 300;
  }

  #projectsTitle {
    display: block;
    margin: auto;
    width: auto;
  }

  #projects {
    display: block;
    margin: auto;
    width: auto;
    margin-top: 20px;
    margin-bottom: 30px;
    width: 20em;
    height: 20em;
    min-width: 15em;
    min-height: 15em;
  }

  .projDesc {
    font-size: 1.6rem;
    padding-top: 1rem;
    text-align: center;
    font-weight: 300;
  }

  #fig1 {
    aspect-ratio: auto;
    width: 20rem;
  }

  #fig2 {
    aspect-ratio: auto;
    width: 20rem;
  }
}


@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

  html,
  body {
    background-color: #F7F9FB !important;
    height: 100%;
    min-height: 100%;
    margin: 0;
    font-size: 100%;
  }

  #left {
    min-height: 100vh !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }

  .projTitle {
    font-size: 2.5rem;
    font-weight: 300;
  }

  #projectsTitle {
    display: block;
    margin: auto;
    width: auto;
  }

  #projects {
    padding-left: 30px;
    padding-top: 2em;
    width: 25em;
    height: 25em;
    min-width: 15em;
    min-height: 15em;
  }

  .projDesc {
    font-size: 1.6rem;
    padding-top: 1rem;
    text-align: center;
    font-weight: 300;
  }

  #fig1 {
    aspect-ratio: auto;
    width: 25rem;
  }

  #fig2 {
    aspect-ratio: auto;
    width: 25rem;
  }
}


/* Desktops and laptops ----------- */
@media only screen and (min-device-width : 1224px) {

  html,
  body {
    background-color: #F7F9FB !important;
    height: 100vh;
    min-height: 100vh;
    margin: 0;
    font-size: 70%;
    padding: 0px;
  }

  body {
    overflow-x: hidden;
    overflow-y: hidden;
  }

  #right {
    overflow-y: scroll;
  }

  .service:hover {
    background-color: rgba(247, 249, 251, 0.685) !important;
    color: black;
    text-decoration: none;
    opacity: 0.5;
  }

  .navBut:hover {
    text-decoration: none;
    opacity: 0.5;
  }

  img.profile:hover {
    cursor: pointer;
  }

  #profileName:hover {
    cursor: pointer;
    transform: scale(1.05);
  }

  #profileDesc:hover {
    cursor: pointer;
    transform: scale(1.05);
  }

  #pageTrans {
    height: 1px;
    padding: 0;
    margin: 0;
  }

  .projTitle {
    font-size: 2.5rem;
    font-weight: 300;
  }

  #projectsTitle {
    display: block;
    margin: auto;
    width: auto;
  }

  #projects {
    padding-left: 30px;
    padding-top: 2em;
    width: 25em;
    height: 25em;
    min-width: 15em;
    min-height: 15em;
  }

  .projDesc {
    font-size: 1.6rem;
    padding-top: 1rem;
    font-weight: 300;
    text-align: center;
  }

  #fig1 {
    aspect-ratio: auto;
    width: 30rem;
  }

  #fig2 {
    aspect-ratio: auto;
    width: 30rem;
  }
}



#wrapper {
  /*min-height: 100vh !important;*/
  height: 10vh;
}

#left {
  min-height: 100vh;
  background-color: #F7F9FB;
}

#right {
  height: 100vh;
  background-color: #F7F9FB;
  overflow-y: scroll;
}

/*background-color: #F7F9FB;*/


#profileContainer {
  font-family: 'Lato';
  min-height: 60% !important;
}

img.profile {
  width: 15rem;
  border-radius: 80%;
}

#profileName {
  color: #212529;
  font-weight: 300;
  font-size: 3.0rem;
  font-size-adjust: auto;
  width: auto;
}

#profileDesc {
  color: #212529;
  font-size: 1.6rem;
  font-weight: 300;
  font-size-adjust: auto;
  width: auto;
}


.about {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 5rem !important;
  padding-right: 5rem !important;
  padding-top: 5rem !important;
}

#aboutTitle {
  font-weight: 300;
  font-size: 2.5rem;
  font-size-adjust: auto;
  width: auto;
}

#about {
  font-size: 1.6rem;
  font-weight: 300;
  font-size-adjust: auto;
  width: auto;
  margin-bottom: 1em;
  margin-top: 1em;
}


.projects {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 2rem !important;
  padding-left: 5rem !important;
  padding-right: 5rem !important;
  padding-bottom: 5rem !important;
}

.project:hover {
  cursor: pointer;
}

#projectsTitle {
  font-size: 2.5rem;
  font-weight: 300;
  font-size-adjust: auto;
}


.contact {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 5rem !important;
  padding-right: 5rem !important;
  padding-bottom: 5rem !important;
}

#contactTitle {
  font-size: 2.5rem;
  font-size-adjust: auto;
  width: auto;
}

#contact {
  font-size: 1.6rem;
  font-size-adjust: auto;
  width: auto;
}



.pubs {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 3em !important;
  padding-left: 5rem !important;
  padding-right: 5rem !important;
  padding-bottom: 2rem !important;
}

#pubsTitle {
  font-weight: 300;
  font-size: 2.5rem;
  font-size-adjust: auto;
  width: auto;
}

#pub {
  font-size: 1.6rem;
  font-size-adjust: auto;
  width: auto;
  font-weight: 300;
  text-decoration: none;
  color: black;
}

#postDate {
  font-size: 3.0rem;
  font-weight: 300;
  width: auto;
}



#projWrapper {
  min-height: 100vh !important;
}


.service-holder {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
}

#service-icons {
  position: relative;
  padding-top: 5%;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

#service-name {
  position: absolute;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  opacity: 1.0;
}

.service {
  color: #424242 !important;
  opacity: 1.0;
  text-decoration: none;
  cursor: pointer;
}

.service:visited,
.service:focus {
  color: #424242;
  text-decoration: none;
}

.navBut {
  font-size: 1rem;
  opacity: 1.0;
  text-decoration: none;
  cursor: pointer;
}

.navBut:visited,
.navBut:focus {
  text-decoration: none;
}



.disable-select {
  user-select: none;
}

.nomargin {
  margin: 0 !important;
}

.paddingtb-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.paddingl-0 {
  padding-left: 0 !important;
}

.paddingr-0 {
  padding-right: 0 !important;
}

.paddingtb-sm {
  padding-top: 0.8rem !important;
  padding-bottom: 0.8rem !important;
}

.paddingtb-md {
  padding-top: 1.6rem !important;
  padding-bottom: 1.6rem !important;
}

.paddingtb-lg {
  padding-top: 3.2rem !important;
  padding-bottom: 3.2rem !important;
}

.paddinglr-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.paddinglr-sm {
  padding-left: 0.8rem !important;
  padding-right: 0.8rem !important;
}

.paddinglr-md {
  padding-left: 1.6rem !important;
  padding-right: 1.6rem !important;
}

.paddinglr-lg {
  padding-left: 3.2rem !important;
  padding-right: 3.2rem !important;
}

.margintb-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.marginl-0 {
  margin-left: 0;
}

.margint-sm {
  margin-top: 0.8rem !important;
}

.marginb-sm {
  margin-bottom: 0.8rem !important;
}

.marginb-md {
  margin-bottom: 1.6rem !important;
}

.marginb-lg {
  margin-bottom: 3.2rem !important;
}

.margintb-sm {
  margin-top: 0.8rem !important;
  margin-bottom: 0.8rem !important;
}

.margintb-md {
  margin-top: 1.6rem !important;
  margin-bottom: 1.6rem !important;
}

.margintb-lg {
  margin-top: 3.2rem !important;
  margin-bottom: 3.2rem !important;
}

.marginlr-xs {
  margin-left: 0.4rem !important;
  margin-right: 0.4rem !important;
}

.marginlr-sm {
  margin-left: 0.8rem !important;
  margin-right: 0.8rem !important;
}

.marginlr-md {
  margin-left: 1.6rem !important;
  margin-right: 1.6rem !important;
}

.marginlr-lg {
  margin-left: 3.2rem !important;
  margin-right: 3.2rem !important;
}

.container {
  border: 1px dashed;
  display: grid;
  grid-template-columns: 33% 33% 33%;
}