

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 1rem;
}

img {
  max-width: 100%;
  max-height: 100%;
}

h1 {
  font-family: 'Bebas Neue';
  font-size: 3em;
  letter-spacing: 0.07em;
  text-align: center;
  color: #f2f0e7;
  text-shadow: 6px 6px 8px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
}

p {
  font-family: 'roboto';
  font-weight: 400;
  font-size: clamp(.8rem, 3vw, 1.2rem);
  line-height: clamp(1rem, 3vw, 1.5rem);
}

hr {
  border-top: 2px solid #f2f0e7;
 }

 footer a {
  color: #353D3E;
 }

.container {
  max-width: 1800px;
  margin: 0 1em auto;
}



/* ============================
        START NAV 
============================= */

.nav {
  position: fixed;
  display: flex;
  width: 100%;
  z-index: 100;
  padding-top: 6.5px;
  justify-content: flex-end;
  background: rgb(0,0,0);
  background: linear-gradient(180deg, rgb(0,0,0) 0%,
  rgba(0,0,0,0.55) 100%);
}

/* navigation menu links */
.nav a {
  color: #353D3E;
  font-family: 'Galgo';
  text-decoration: none;
  font-size: 3.5em;
  font-weight: 700;
  letter-spacing: 0.15em;
  display: block;
  text-align: left;
  transition-duration: .25s;
}

#menuToggle {
  display: flex;
  margin: .5em 1em;
  flex-direction: column;
  position: relative;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input {
  display: flex;
  justify-content: flex-end;
  width: 40px;
  height: 32px;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  z-index: 4;
}

#menuToggle span {
  display: flex;
  width: 29px;
  height: 2.5px;
  margin-bottom: 6.5px;
  position: relative;
  background: #f2f0e7;
  border-radius: 3px;
  z-index: 3;
  transform-origin: 5px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#bars span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-1px, 1.75px);
  background: #36383F;
}
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1.5px);
}

#myLinks {
  position: absolute;
  top: 0;
  right: 0;
  height: 101vh;
  z-index: 2;
  box-shadow: 0 0 10px #85888C;
  margin: -1em -1em;
  padding: 50px;
  background-color: #f2f0e7;
  -webkit-font-smoothing: antialiased;
  transform: translate(100%, 0);
  transition: transform .5s cubic-bezier(0.77,0.2,0.05,1.0);
}

.nav ul {
  padding: 0;
  list-style-type: none;
}

#myLinks li {
  padding: 10px 0; 
}

#menuToggle input:checked ~ ul {
  transform: none;
}

/* ============================
        END NAV 
============================= */

/* ============================
        START HERO
============================= */

.hero {
  min-height: 80vh;
  background: url(/images/MobileHomeLandingBackground.jpg);
  background-repeat: no-repeat;
  background-size: cover, contain;
  padding-bottom: 1.5em;
  box-shadow: 0px 4px 22px #000;
}

.hero img {
  border-radius: 50%;
  border: solid 1rem rgba(0, 0, 0, 0.25);
}

.hero__img img {
  max-height: 400px;
}

.hero__text {
  padding-top: 1.5em;
  margin: auto;
}


.hero__img {
  padding-top: 5em;
  padding-left: 1em;
  padding-right: 1em;
}

/* GREETING */

.greeting {
  margin-top: 1rem;
  height: 3rem;
  margin-right: 1.75em;
  overflow: hidden;
}
  
.greeting__container {
  font-weight: 500;
  height: 3rem;
  padding: 0;
}

.greeting__container__text {
  margin: 0;
  line-height: 3rem;
  display: inline;
  float: right;
  font-family: 'Galgo';
  font-weight: 500;
  font-size: 2.5rem;
  letter-spacing: 0.1rem;
  color: #f2f0e7;
  text-shadow: 6px 6px 8px rgba(0, 0, 0, 0.4);
}

.greeting__container__list {
  position: relative;
  margin: 0;
  list-style: none;
  padding: 0;
  -webkit-animation-name: change;
  -webkit-animation-delay: 2s;
  -webkit-animation-duration: 16s;
  -webkit-animation-iteration-count: infinite;
  animation-name: change;
  animation-delay: 2s;
  animation-duration: 16s;
  animation-iteration-count: infinite;
}

.greeting__container__list__item {
  line-height: 3rem;
  margin:0;
  font-family: 'Galgo';
  font-weight: 500;
  font-size: 2.5rem;
  letter-spacing: 0.1rem;
  color: #f2f0e7;
  text-shadow: 6px 6px 8px rgba(0, 0, 0, 0.4);
  text-align: right;
  padding-right: 10.4rem;
      
}

/* ============================
        END HERO
============================= */

.col {
  width: 100%;
}




.filler {
  height: 8vh;
  background-color: #353D3E;
  position: relative;
  z-index: -1;
}



.who {
  min-height: 80vh;
  background: url(/images/MobileHomeWhoAmI.jpg);
  background-repeat: no-repeat;
  background-size: cover, contain;
  box-shadow:  0px -4px 22px #000, 0px 4px 22px #000;
  padding-bottom: 2em;
}

.education {
  min-height: 80vh;
  background-color: #353D3E;
  position: relative;
  z-index: -1;
}

.work {
  min-height: 80vh;
  background-color: #353D3E;
  padding-bottom: 2em;
}



.who__text {
  padding-top: 1.25em;
}

.education__text {
  padding: 1em;
}

.work__text {
  padding-top: 2em;
}


.who__text--p {
  color: #f2f0e7;
  background-color: rgba(53, 61, 62, 0.85);
  width: 63%;
  padding: 1em;
  margin-top: 3em;
  margin-left: 32%;
  border-radius: 4px;
  box-shadow: 6px 6px 22px #000;
}

.education__text h1 {
  color: #f2f0e7;
  font-family: 'Galgo';
  font-weight: 700;
  font-size: clamp(3.5rem, 8 * (1vw + 1vh) / 2, 9rem);
  text-align: center;
  line-height: clamp(4.255rem, 8 * (1vw + 1vh) / 2, 9.75rem);
  letter-spacing: 0.07em;
  margin-top: 1.5em;
  text-shadow:  1px 1px 1px #979d55, 
                2px 2px 1px #979d55,
                1px 10px 5px rgba(16, 16, 16, 0.5),
                1px 15px 10px rgba(16, 16, 16, 0.4); 
                
}

.education__text p {
  padding-bottom: 1.5em;
  color: #353D3E;
}

.education__text--p {
  
  background-color: rgba(242, 240, 231, .85);
  width: 70%;
  padding: 1em;
  padding-bottom: 3em;
  margin-top: 3em;
  margin-bottom: 3em;
  margin-left: 15%;
  border-radius: 4px;
  box-shadow: 6px 6px 22px #000;
}

.work__text h1 {
  color: #f1f2e7;
  font-family: 'Galgo';
  font-weight: 700;
  font-size: clamp(3.5rem, 8 * (1vw + 1vh) / 2, 9rem);
  text-align: center;
  line-height: clamp(4.255rem, 8 * (1vw + 1vh) / 2, 9.75rem);
  letter-spacing: 0.07em;
  text-shadow:  1px 1px 1px #979d55, 
                2px 2px 1px #979d55,
                1px 10px 5px rgba(16, 16, 16, 0.5),
                1px 15px 10px rgba(16, 16, 16, 0.4);
}



.card {
  /* Add shadows to create the "card" effect */
  width: 80%;
  margin: auto;
  margin-top: 3em;
  background-color: #f2f0e7;
  box-shadow: 0 6px 10px 0 rgba(0,0,0,0.2), 0 -6px 10px 0 rgba(0,0,0,0.2);
  border-radius: 5%;
  transition: 0.3s;
}

.card h4 {
  font-size: clamp(.1rem, 3vw, 1.rem);
}

.card a {
  text-decoration: none;
  color: #000;
}

.card img {
  padding: 3px;
  border-radius: 5% 5% 0 0;
}

/* Add some padding inside the card container */
.container__card {
  padding: 2px 16px;
  border-top: 1px solid lightgray;
  text-align: center;
}

footer {
  display: flex;
  width: 100%;
  height: 2em;
  background-color: #f2f0e7;
  color: #353D3E;
  font-size: 2.5em;
  text-align: center;
  padding: .5em 1em;
  justify-content: space-between;
}



/* ============================
        START ANIMATIONS
============================= */

/* GREETING ANIMATIONS */

/* Currently 6 animations and 4 lines, animation between two lines is 4% of duration,
time spent on each line is 12.66% of duration, to change 6x + 6y = 100% of duration
y = animation between two lines x = time spent on each line, 6 because thats the 
number of animations */

@-webkit-keyframes change {
  0%, 12.66%, 100% {transform:translate3d(0,0,0);}
  16.66%, 29.32% {transform:translate3d(0,-25%,0);}
  33.32%,45.98% {transform:translate3d(0,-50%,0);}
  49.98%,62.64% {transform:translate3d(0,-75%,0);}
  66.64%,79.3% {transform:translate3d(0,-50%,0);}
  83.3%,95.96% {transform:translate3d(0,-25%,0);}
}

@-o-keyframes change {
  0%, 12.66%, 100% {transform:translate3d(0,0,0);}
  16.66%, 29.32% {transform:translate3d(0,-25%,0);}
  33.32%,45.98% {transform:translate3d(0,-50%,0);}
  49.98%,62.64% {transform:translate3d(0,-75%,0);}
  66.64%,79.3% {transform:translate3d(0,-50%,0);}
  83.3%,95.96% {transform:translate3d(0,-25%,0);}
}

@-moz-keyframes change {
  0%, 12.66%, 100% {transform:translate3d(0,0,0);}
  16.66%, 29.32% {transform:translate3d(0,-25%,0);}
  33.32%,45.98% {transform:translate3d(0,-50%,0);}
  49.98%,62.64% {transform:translate3d(0,-75%,0);}
  66.64%,79.3% {transform:translate3d(0,-50%,0);}
  83.3%,95.96% {transform:translate3d(0,-25%,0);}
}

@keyframes change {
  0%, 12.66%, 100% {transform:translate3d(0,0,0);}
  16.66%, 29.32% {transform:translate3d(0,-25%,0);}
  33.32%,45.98% {transform:translate3d(0,-50%,0);}
  49.98%,62.64% {transform:translate3d(0,-75%,0);}
  66.64%,79.3% {transform:translate3d(0,-50%,0);}
  83.3%,95.96% {transform:translate3d(0,-25%,0);}
}

/* ============================
        END HERO
============================= */

/* =============================
        START MEDIA QUERIES
==============================*/


@media only screen and (min-width: 650px) {

/* p {
  font-size: 2.5vw;
  line-height: 3.5vw;
} */

.container {
  width: 80%;
  margin-left: 3vw;
}

.nav {
  display: flex;
  flex-direction: column;
  right: 0;
  width: 25%;
  height: 100%;
  z-index: 100;
  justify-content: start;
  background: none; 
}

/* navigation menu links */
.nav a {
  color: #f2f0e7;
  font-family: 'Galgo';
  text-decoration: none;
  font-size: 7vw;
  font-weight: 700;
  letter-spacing: 0.5vw;
  line-height: 7vw;
  padding-right: 3vw;
  text-shadow:  .10vw .10vw .10vw #ada068, 
                  .20vw .20vw .10vw #ada068,
                  .10vw .4vw .20vw rgba(16, 16, 16, 0.5),
                  .20vw .8vw .4vw rgba(16, 16, 16, 0.4);
}


#menuToggle {
  display: flex;
  margin: 0;
} 

#menuToggle input {
  display: none;
}

#menuToggle span {
  display: none;
}

#myLinks {
  position: fixed;
  right: 0;
  top: 25vh;
  height: auto;
  min-height: 50vh;
  z-index: 2;
  box-shadow: none;
  margin: 0;
  padding: 0;
  background: none;
  -webkit-font-smoothing: antialiased;
  transform: none;
  transition: none;
}



.hero {
  background: url(/images/HomeLandingBackground.jpg);
  background-repeat: no-repeat;
  background-size: cover, contain;
  background-position: center;
  min-height: 85vh;
}

.hero__img {
  padding-top: 5vh;
}

.filler {
  display: none;
 }

.who {
  background: url(/images/HomeWhoAmIBackground.png);
  background-repeat: no-repeat;
  background-size: cover, contain;
  background-position: 20% 50%;
}

.who__text h1 {
  text-align: right;
  padding-right: 17%;
  padding-top: 0vh;
  text-shadow:  .10vw .10vw .10vw #ada068, 
                  .20vw .20vw .10vw #ada068,
                  .10vw .4vw .20vw rgba(16, 16, 16, 0.5),
                  .20vw .8vw .4vw rgba(16, 16, 16, 0.4);
}

.who__text--p {
  margin-top: 2vh;
  margin-left: 15%;
  width: 80%;
  padding: 3vw;
}

.education__text p {
  margin-top: 4vh;
  margin-bottom: 0;
  padding: 0vw 3vw;
  padding-bottom: 0;
}

.work__text{
  padding: 0vw 3vw;
}

.card__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2vw 2vw;
  margin-top: 5vw;
}

.card {
  width: 40%;
  margin: 0;
}



footer {
  justify-content: space-evenly;
}

}


@media only screen and (min-width: 400px) {

.row {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__img {
  display: flex;
  justify-content: center;
}

.greeting {
  height: 10vw;
}

.greeting__container{
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  height: 10vw;
  column-gap: 1vw;
}

.greeting__container__text{
  line-height: 10vw;
  font-size: 9vw;
}

.greeting__container__list {
  min-height: 40vw;
}

.greeting__container__list__item{
  padding-right: 0;
  font-size: 9vw;
  line-height: 10vw;
}

h1 {
  font-size: clamp(3.25rem, 10vw, 5.5rem);
  letter-spacing: 0.07em;
}

}

@media only screen and (min-width: 1000px) {
 
  h1 {
    font-family: 'Redaction';
    font-size: clamp(5.5rem, 7vw, 10rem);
    text-align: end;
  }
  
  .hero {
    min-height: 100vh;
    background-position: bottom;
  }
  
  .hero .container {
    flex-direction: row-reverse;
    min-height: 100vh;
  }
  
  .hero__img {
    justify-content: start;
    padding-left: 4vw;
  }
  
  .hero__img img {
    max-height: 500px;
    transition-duration: .5s;
  }
  
  .hero__img img:hover {
    transform: scale(1.1);
  }

  .greeting {
    height: 6vw;
  }
  
  .greeting__container{
    height: 6vw;
    column-gap: .75vw;
  }
  
  .greeting__container__text{
    line-height: 6vw;
    font-size: 5vw;
  }
  
  .greeting__container__list {
    min-height: 24vw;
  }
  
  .greeting__container__list__item{
    padding-right: 0;
    font-size: 5vw;
    line-height: 6vw;
  }
  
  .nav a {
    color: #f2f0e7;
    font-family: 'Galgo';
    text-decoration: none;
    font-size: clamp(4rem, 7 * (1vw + 1vh) / 2, 8rem);
    font-weight: 700;
    letter-spacing: 0.5vw;
    line-height: clamp(4.75rem, 7 * (1vw + 1vh) / 2, 8.75rem);
    padding-right: 3vw;
    text-shadow:  .10vw .10vw .10vw #ada068, 
                  .20vw .20vw .10vw #ada068,
                  .10vw .4vw .20vw rgba(16, 16, 16, 0.5),
                  .20vw .8vw .4vw rgba(16, 16, 16, 0.4);
  }
  
  .active {
    transform: scale(1.1);
  }

  #myLinks li {
    padding: 5px 0;
    min-height: none;
    top: 40%;
  }
  
  .who {
    min-height: 100vh;
  }

  .who__text h1 {
    font-family: 'Bebas Neue';
    /* margin-top: 3vh; */
    text-shadow:  .10vw .10vw .10vw #ada068, 
                  .20vw .20vw .10vw #ada068,
                  .10vw .4vw .20vw rgba(16, 16, 16, 0.5),
                  .20vw .8vw .4vw rgba(16, 16, 16, 0.4);
  }
  
  .who__text--p{
    display: flex;
    align-items: stretch;
    background-color: rgba(53, 61, 62, 0.85);
    width: 70%;
    margin-left: 30%;
  }

  .who p {
    width: 100%;
  }
  
  .who p + p {
    padding-left: 3vw;
  }

  .education {
    min-height: 100vh;
  }

  .education__text h1 {
    text-shadow:  .075vw .075vw .075vw #ada068, 
                  .15vw .15vw .075vw #ada068,
                  .075vw .3vw .15vw rgba(16, 16, 16, 0.5),
                  .15vw .6vw .3vw rgba(16, 16, 16, 0.4);
  }

  .work__text h1 {
    text-shadow:  .075vw .075vw .075vw #ada068, 
                  .15vw .15vw .075vw #ada068,
                  .075vw .3vw .15vw rgba(16, 16, 16, 0.5),
                  .15vw .6vw .3vw rgba(16, 16, 16, 0.4);
  }

  .card {
    transition-duration: .4s;
  }
  /* On mouse-over, add a deeper shadow */
  .card:hover {
    box-shadow: 16px 16px 32px 0 rgba(0,0,0,.6);
    transform: scale(1.1);
  }
  .card__1 {
    width: 20%;
    margin: 0;
  }

  .card__2 {
    width: 40%;
    margin: 0;
  }

  .card__3 {
    width: 30%;
    margin: 0;
  }

  footer {
    justify-content: center;
  }

  footer a {
    padding-left: 2em;
  }
  
  }
