/* Smith-Vidaurre */

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  margin:0;
  padding:0;
  background-color: #fff;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 16px;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden !important;
  overflow-y: auto !important;
}
header, footer {
  background-color: #406a4a;
}
.page-title, .phd, .footer-links a, .translate a, .nmsu a {
  color: #fff;
}
.head {
  border-bottom: 3px solid #333;
}

#myVideo {
  position: absolute;
  top: 4rem;
  width: 100%;
  height: auto;
  z-index: -1;
}

.content {
  position: absolute;
  top: 10%;
  text-align: center;
  color: #f1f1f1;
  width: 100%;
  padding: 0;
  text-shadow: 2px 2px 4px #333;
  line-height: 2;
}

.credit {

  position: absolute;
  left: 1rem;
  top: 5rem;
  color: #fff;
  text-shadow: 2px 2px 4px #333;
  font-size: 10px;
  opacity: 0.5;
}

.credit:hover {

  opacity: 1;
}

.content h2 {

  color: #f1f1f1;
}

.columns {

  width: 100%;
  padding: 0;
  margin: 0;
  margin-top: 50rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: #fff;
}

.research > .columns {

  margin-top: 40rem !important;
}

.rG {

  width: 80%;
  margin: 2rem auto 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.rGa {

  color: #333;
}

.rGa:hover i {

  pointer-events: all;
  cursor: pointer;
  color: #406a4a;
}

.rGbtn {

  margin: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: none;
}

.rGbtn .fab {

  font-size: 60px;
}

.l-column, .r-column {

  display: flex;
  flex-direction: column;
  margin: 0 1rem;
  padding: 0;
}

.r-column {

  width: 40%;
}

footer {
  border-top: 3px solid #333;
}
h3 {
  color: black;
}
#home {
  background-image: url("../img/home-background.jpg");
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  background-position: top;
  background-attachment: fixed;
  background-size: cover;
}
#home-div {
  background-color: transparent;
}
.welcome {
  max-width: 400px;
}
#home-img {

  display: none;
}

#img-float {

  float: left;
  margin: 0 1rem 0 0;
}
.description {

  color: #333;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
}

.desimage {
  line-height: 1.75 !important;
}

.desimage {
  display: flex;
  flex-direction: row;
}
.main-content {
  min-width: 320px;
  max-width: 1200px;
  margin: 3rem auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
}
.before-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: transparent;
}

.bio {
  margin-top: -3rem;
  margin-left: 2rem;
  max-width: 250px;
}
.banner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1000px;
  min-width: 320px;
  margin: 2rem 1rem;
}
.image {
  transform: scale(0.8);
}
.text {
  padding: 0 1rem;
  line-height: 1.5rem;
  vertical-align: middle;
}
.profiles {
  margin-bottom: 0.25rem;
  position: fixed;
  right: 0;
  bottom: 9rem;
  text-align: left;
  background-color: #406a4a;
  border-radius: 5px 0 0 5px;
  box-shadow: 2px 2px 4px;
  border-style: ridge none ridge ridge;
  padding: 0.5rem;
  border: #333;
  transform: translateX(68%);
  transition: 1s;
  opacity: 0.4;
}
.profiles:hover {
  transform: translateX(0);
  opacity: 1;
}
.profiles a {
  color: #333 !important;
  transition: 0.25s;
  font-size: 14px;
}
.profiles a:hover {
  color: #fff !important;
  text-decoration: none !important;
}
.in, .git, .gmail {
  margin-right:0.25rem;
  margin-top:0.25rem;
  margin-bottom:-0.25rem;
}
.head {
  width: 100%;
  margin: 0;
  height: 4rem;
  padding: 0;
  flex-direction: row;
}
.logo {
  position:absolute;
  z-index: 1;
  left: 5rem;
  top: 1.5rem;
}
.page-title {
  font-stretch: ultra-condensed!important;
  background-color: transparent;
  position: absolute;
  top: 0rem;
  margin: 1rem auto;
  font-size: 21px;
  padding: 1rem 3rem;
  text-align: center;
  left: 6rem;
  cursor: default;
}
.translate {
  position: absolute;
  top: 2.25rem;
  right: 5rem;
}
.translate:hover {
  opacity: 0.8;
}
.translate a {
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
}
.phd {
  font-size: 18px;
}
.break {
  display: none;
}
.dash {
  display: inline;
}
.menu, .menu-flat {
  list-style-type: none;
  color: #333;
}
.opt {
  padding: 0 3rem;
  margin: 0 auto;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
}
.sites {
  margin-left: -3rem;
  text-align: center;
}
.main-sections {
  margin: 1rem auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
}
.menu-flat {
  display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;  /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  margin: 0;
}

.menu-section a {
  margin: 0 1rem;
  padding: 1rem;
  color: #333;
  position: relative;
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  background: #fff;
  border: 2px solid transparent;
  transition: 0.25s;
  border-radius: 5px;
  opacity: 0.8;
}
.menu-section a:hover {
  border: 2px solid green;
  background: #fff;
  color: green;
  box-shadow: 1px 1px 3px #333;
  opacity: 1;
}
.menu a {
  list-style-type: none;
  padding: 0.5rem 4rem;
  margin: 0.5rem;
  color: #333;
  position: relative;
  display: block;
  text-decoration: none;
  font-size: 16px;
  border: 2px solid green;
  transition: 0.25s;
  border-radius: 5px;
}
.menu a:hover {
  border: 2px solid green;
  background: #fafafa;
  color: green;
  box-shadow: 1px 1px 3px #333;
}
.signature {

  display: flex;
  align-self: center;
  width: auto;
}

.svg {

  text-align: center;
  margin: 0;
  padding: 0;
  color: #333;
  display: flex;
  align-items: center;
  transition: 1s;
  text-decoration: none;
}

.svg:hover {

  filter: invert(100%);
  opacity: 0.4;
}
#ecook {
  width: 25px;
}
.dev {
  font-size: 11px;
}
.copyright {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
  margin: 0;
  background-color: #333;
  color: #fff;
  font-size: 12px;
  padding: 0.5rem 10rem;
}
footer {
  width: 100%;
  margin: 0;
}
.footer-links {
  bottom: 0;
  height: 4rem;
  margin-top: 2rem;
  margin-bottom: -1rem;
}
.footer-links ul {
  display: flex;
  flex-direction: row;
  list-style-type: none !important;
  justify-content: space-evenly;
  left: 0 !important;
  text-align: left;
  bottom: 0;
  z-index: 4;
  overflow: visible;
}
.footer-links a {
  text-decoration: none;
  transition: 0.25s;
  line-height: 1.4rem;
  color: #fafafa;
}
.footer-links a:hover {
  text-decoration: none;
  color: #fafafa;
}
a.link {
  text-decoration: none;
  color: darkblue;
}
a.link:hover {
  text-decoration: underline;
  color: green;
}

.feet > li > a {

  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1px;
}
.feet > li > a:hover {

  text-shadow: 2px 2px 4px #494949;
  border-bottom: 1px solid #fafafa;
}
#loading {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background: url('loading.gif') no-repeat;
  background-size: 50px 50px;
  background-position: center;
  position: fixed;
  background-color: #fff;
  z-index: 9999;
}
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 6;
    top: 0;
    left: 0;
    margin-right: 3rem;
    background-color:rgba(12,17,38,0.8);
    overflow-x: hidden;
    transition: 0.25s;
    padding-top: 30px;
    margin-left: -3rem;
    padding-bottom: 5rem;
    overflow-y:scroll;
}
.sidenav a {
    margin: 2rem 15px;
    padding-left: 1rem;
    text-decoration: none;
    font-size: 16px;
    color: #fafafa;
    display: block;
    transition: 0.3s;
    line-height: 2;
}

.sidenav a:hover {

    text-shadow: 2px 2px 4px #7b7b7b;
}
.menu-button {
  display: block;
  position: fixed;
  top: 0;
  z-index: 6;
}
.menu-btn {
  position: absolute;
  font-size: 20px;
  cursor: pointer;
  margin-top: 1rem;
  margin-left: 1rem;
  color: #fff;
  padding: 3px 9px;
  background-color: #333;
  border-radius: 3px;
}
.closebtn {
  color: #fff;
  position: absolute;
  right: 0;
  top: 0;
}
.collaborations {
  text-align: center;
}

#s1, #s2, #s3 {
  margin-bottom: 10px;
}

.nmsu {
  font-size: 18px !important;
  font-weight: normal !important;
}

/* Related links aside */
.research .main-content, .research .banner {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 1rem auto;
}
.research .opt, .research .text {
  max-width: 800px;
  margin: 0 auto;
}
.research .banner .pres {
  margin: 0 auto;
}
.inline {
  width: 100px;
  padding: 0;
  margin: auto;
}
.aside {
  list-style: none;
  line-height: 2.5rem;
  width: 100%;
}

/* Projects */

.cards {

  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
}

.flip-img {

  overflow: hidden;
  max-width: 100%;
  border-radius: 10px;
}

.flip-card {

  background-color: transparent;
  width: 350px;
  height: 400px;
  perspective: 1000px;
  margin: 3rem 2rem;
  filter: grayscale(100%);
}

.flip-card-inner {

  position: relative;
  width: 100%;
  height: 99%;
  text-align: center;
  transition: transform 1s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  border-radius: 10px;
}

.flip-card:hover .flip-card-inner {

  transform: rotateY(180deg);
}

.flip-card:hover .flip-card-front h3 {

  display: none;
}

.flip-card-front, .flip-card-back {

  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {

  background-color: #7b7b7b;
  border-radius: 10px;
}

.flip-card-front h3 {

  color: #fff;
  padding: 0 1rem;
  font-size: 24px;
  position: absolute;
  bottom: 3%;
  text-shadow: 2px 2px 3px #333;
}

.flip-card-back {

  background-color: #393939;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  border-radius: 10px;
}

.flip-card-back p {

  color: #fafafa;
  font-weight: 500;
  padding: 1rem;
  line-height: 1.5;
}

.title {

  text-align: center;
  margin: 2rem auto 0 auto;
}

/**/

.vocals {
  width: 50%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.mob-message {
  display: none;
}

.twitterdiv {

  width: 100% !important;
  margin: 1rem 0;
  text-align: center;
  line-height: 2;
  height: 1000px;
  overflow: scroll;
}

.research .twitterdiv {

  width: 100% !important;
  margin: 1rem 0;
  text-align: center;
  line-height: 2;
  height: 1400px;
  overflow: scroll;
  position: relative;
}

.twitter-timeline {

  width: 100vw !important;
  outline: 2px solid #333;
  outline-offset: -2px;
}

p.timeline-Tweet-text {

  font-size: 22px !important;
}

.title-t {

  color: #494949;
  text-align: center;
  width: 100%;
  margin-top: 1rem;
}

.publications {

  display: flex;
  max-width: 900px;
  margin: 0 auto;
  justify-content: center;
  flex-direction: column;
}

.paper {

  margin: 2rem auto;
  display: flex;
  flex-direction: row;
}

.paper .info {

  line-height: 1.5;
}

.altmetric-embed {

  text-align: center;
  margin: 0 1rem;
}

.papers > .info {

  width: 100%;
  display: flex;
  justify-content: center;
}
.donut {

  max-width: 450px;
}

.altmetric-embed a img {

  opacity: 0.9;
  filter: saturate(0.6);
  margin: 3px 3px !important;
  transition-duration: 0.5s;
}

.altmetric-embed a img:hover {

  opacity: 1;
  filter: saturate(1.2);
  margin: 0 !important;
  width: 70px;
  height: 70px;
}

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

  #home-div, #home-div .main-content {
    margin-top: 0;
    pading-top: 0;
  }

  #home-img {

    display: flex;
    align-items: center;
    justify-content: center;
  }

  #img-float, .content {

    display: none;
  }

  .twitterdiv {

    width: 100% !important;
    margin: 0 auto;
    overflow: scroll;
    height: 100%;
  }

  .research .twitterdiv {

    height: 100%;
  }

  .title-t {

    margin-top: 0;
  }
  .columns {

    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  #myVideo {

    z-index: 2;
  }
  .research > .columns {

    margin-top: 12rem !important;
  }

  .r-column, .l-column {

    margin: 0;
    padding: 0;
  }

  .r-column {

    width: 100%;
  }

  .rG {

    margin: 2rem auto;
  }

  .rGa {

    opacity: 1;
  }

  .rGbtn {

    padding: 1rem 2rem;
  }

  .rGbtn .fab {

    font-size: 60px;
  }

  .description {

    font-size: 16px;
    line-height: 2;
  }
  header {
    position: absolute;
  }

  .sidenav a {

    font-size: 18px !important;
    line-height: 1.5;
  }
  header > .head {
    position: fixed !important;
    background-color: #406a4a;
    top: 0;
    z-index: 5;
  }
  h2 {
    font-size: 1rem;
  }
  .nmsu {
    font-size: 12px !important;
  }
  .navlink a {
    font-size: 14px;
  }
  .menu-button {
    display: block;
    position: fixed;
    top: 0;
    z-index: 6;
  }
  .menu-btn {
    position: absolute;
    font-size: 20px;
    cursor: pointer;
    margin-top: 1rem;
    margin-left: 1rem;
    color: #fff;
  }
  .main-content, body.research .main-content  {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 2rem auto;
    justify-content: space-around;
  }
  .main-sections {
    margin: -2rem auto 2rem auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
  }
  .logo {
    display: none;
  }
  .page-title {
    top: -1.5rem;
    position: absolute;
    font-size: 12px;
    text-align: right;
    max-width: 100%;
    padding-right: 1rem;
    right: 0;
  }
  .translate {
    right: 1rem;
  }
  .welcome {
    max-width: 100% !important;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  .phd {
    font-size: 12px;
    top: -0.7rem;
    position: absolute;
    width: 200px;
    right: 0;
    text-align: right;
  }
  .break {
    display: inline;
  }
  .dash {
    display: none;
  }
  .opt {
    padding: 1rem 0.5rem;
    margin: 1rem auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }
  .closebtn {
    color: #fff;
    position: absolute;
    right: 0;
    top: 0;
  }
  .banner > .image > img.rsunrise {
    max-width: 100%;
  }
  .menu-flat {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 0;
    text-align: center;
    margin-top: -3rem;
  }
  .menu-flat > .menu a {
    padding: 1rem 2rem;
  }
  .menu-flat, .before-footer, .banner {
    display: flex;
    flex-direction: column;
    margin: 0;
  }
  .before-footer {
    margin-bottom: 0 !important;
  }
  .desimage {
    display: flex;
    flex-direction: column-reverse;
  }
  .bio {
    max-width: 200px;
    margin: 0 auto;
    display: flex;
  }
  .footer-links {
    margin-left: -1.5rem;
  }
  .profiles {
    margin-bottom: -3rem;
    position: relative;
    text-align: right;
    bottom: 4rem;
    right: 1rem;
    margin-left: 8rem;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    border-style: none;
    padding: 0;
    transform: translateX(0);
    transition: 0s;
    opacity: 1;
  }
  .profiles:hover {
    transform: translateX(0);
  }
  .profiles a {
    color: #fff !important;
  }
  .collaborations {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: -2rem;
  }
  .footer-links ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-left: 2rem;
    margin-bottom: 1rem;
  }
  .footer-links {
    height: auto;
  }
  .feet > li > a {

    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
  }
  .research .welcome {
    display: none;
  }
  .research .bannerl, .research .collaborations, .research .main-content {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
  }
  .menu-section a {
    padding: 1rem;
    display: flex;
    flex-direction: row;
    max-height: 80px;
    justify-content: space-around;
    opacity: 0.8;
  }
  .section {
    max-height: 90px;
  }
  .inline {
    width: 100px;
    margin: 0 auto;
    display: flex;
    float: none;
    padding: 0;
  }
  .aside {
    margin-top: -2rem;
    padding-bottom: 2rem;
    width: auto;
  }
  .title {
    display: block;
    margin: 8rem auto 0 auto;
    font-size: 16px;
    text-align: center !important;
  }

  .title-o {
    margin: 1rem auto;
    text-align: center;
  }

  .flip-card {

    align-items: center;
    margin: 1rem;
  }

  .flip-img {

    height: 100%;
    box-sizing: content-box;
    width: auto;
  }

  .flip-card-front h3 {

    font-size: 20px;
    padding: 0 1rem;
    top: 35%;
  }

  .flip-card:hover .flip-card-front h3 {

    display: none;
  }

  .flip-card-back p {

    font-size: 14px;
    line-height: 1.5;
  }

  .mob-message {
    display: inline-block;
    text-align: center;
    padding: 0;
    width: 100%;
    margin: 0 auto;
  }
  .signature {
    display: none;
  }
  .copyright {
    padding: 0.5rem 1rem;
  }
  .publications {

    display: flex;
    max-width: 100%;
    margin: 0;
    justify-content: center;
    flex-direction: column;
  }

  .paper {

    margin: 2rem auto;
    display: flex;
    flex-direction: column;
  }

  .paper .info {

    line-height: 1.5;
    margin: 0 1rem;
  }

  .altmetric-embed {

    width: 100%;
    text-align: center;
    margin: 1rem 0;
  }
  .donut {

    max-width: 100%;
  }
  .altmetric-embed a img {

    opacity: 1;
    filter: saturate(1.1);
    margin: auto !important;
  }

  .altmetric-embed a img:hover {

    opacity: 1;
    filter: saturate(1.1);
    margin: auto !important;
    width: 64px;
    height: 64px;
  }
}
