* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-margin: 10vh;
  }
  
  @font-face {
    font-family: "Daytona-Fat";
    src: local("DaytonaPro-Bold"),
    url(data/Daytona/DaytonaPro-Bold.otf);
  }
  
  @font-face {
    font-family: "Daytona";
    font-style: normal;
    src: local("DaytonaPro-Regular"), 
    url(data/Daytona/DaytonaPro-Regular.otf); 
  }
  
  h1{
    color: rgb(255,181,0);
    font-family: "Daytona-Fat"; 
    letter-spacing: 0.04em;
    font-size: 5rem;
    line-height: 0.98;
  }
  
  h2{
    /* padding-top: 5vh; */
    /* padding-bottom: 5vh; */
    color: rgb(255,181,0);
    text-align: center;
    font-family: "Daytona-Fat"; 
    letter-spacing: 0.04em;
    font-size: 3rem;
  }

  strong{
    font-family: "Daytona-Fat";
  }
  
  body{
    background-color: rgb(49, 43, 33);
    font-family: "Daytona";
    font-size: 1rem;
    color: white;
    overflow-x: hidden;
  }
  
  header{
    z-index: 5;
    width: 100vw;
    min-height: 10vh;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    background-color: rgb(255,181,0);
    font-family: "Daytona";
  }
  
  header img{
    margin: 2.5vh;
    height: 5vh;
  }
  
  header img:hover{
    transform: scale(1.1);
    transition: transform 0.1s cubic-bezier(0.82, -0.27, 0.16, 1.39);
  }
  
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    height: 100%; 
    background-color: rgb(255,181,0);
    color: rgb(49, 43, 33);
    font-family: "Daytona-Fat";
    letter-spacing: 0.02em;
  }
  
  nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
    height: 100%;    
    height: 10vh;
    transition: all 0.6s ease-in-out;
  }
  
  nav li {
    flex: 1;
    text-align: center;
    color: rgb(49,43,33);
  }
  
  nav li a:link {
    color: white;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  nav li a:visited {
    color: white;
  }
  nav li a:hover {
    color: rgb(49,43,33);
  }

  #burger{
    display: none;
    margin-top: 2vw;
    margin-right: 2vw;
  }
  
/* nav-icon-2 */
.nav-icon-2{
  width: 35px;
  height: 30px;
  margin: 2.5vh 2.5vh;
  position: relative;
  cursor: pointer;
  display: inline-block;
}
.nav-icon-2 span{
  background-color: rgb(49,43,33);
  position: absolute;
  border-radius: 2px;
  transition: .3s cubic-bezier(.8, .5, .2, 1.4);
}
.nav-icon-2 span:nth-child(1){
  width: 100%;
  height:  5px;
  display: block;
  top: 0px;
  left: 0px;
}
.nav-icon-2 span:nth-child(2){
  width: 100%;
  height:  5px;
  display: block;
  top: 13px;
  left: 0px;
}
.nav-icon-2 span:nth-child(3){
  width: 100%;
  height:  5px;
  display: block;
  bottom: 0px;
  left: 0px;
}

.nav-icon-2.open span:nth-child(1){
  left: 3px;
  top: 2px;
  width: 30px;
  transition: .3s cubic-bezier(.8, .5, .2, 1.4);
  transform: rotate(90deg);
  transition-delay: 150ms;
}
.nav-icon-2.open span:nth-child(3){
  left: 2px;
  top: -5px;
  width: 20px;
  transition: .3s cubic-bezier(.8, .5, .2, 1.4);
  transform: rotate(-45deg);
  transition-delay: 50ms;
}
.nav-icon-2.open span:nth-child(2){
  left: 14px;
  top: -5px;
  width: 20px;
  transition: .3s cubic-bezier(.8, .5, .2, 1.4);
  transform: rotate(45deg);
  transition-delay: 100ms;
}

footer{
  display: flex;
  justify-content: space-between;
  align-items: center;
  position:relative;
  bottom: 0;  
  z-index: 2;
  width: 100vw;
  height: 15vh;
  background-color: rgb(255,181,0);
}

#footerInfo{
  width: 20vw;
  padding-left: 5vw;
}

#footerInfo a{
  text-decoration: none;
  color: rgb(49, 43, 33);
}
#footerInfo a:hover{
  font-family: "Daytona-Fat";
}
#footerInfo a:visited{
  color: rgb(49, 43, 33);
}
#footerLogo img{
  width: 5vw;
}

#footerContact{
  margin-right: 5vw;
  width: 20vw;
}

#footerContact h3{
  margin-bottom: 1vw;
}

#footerIcons{
  display: flex;
  justify-content: space-between;
  align-items: center;

}

#footerIcons img{
  width: 2vw;
}
  
  #container{
    z-index: 1;
    display: grid;
    width: 80vw;
    margin: auto;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto, auto, auto;
    gap: 5vw 2vw;
  }
  
  #title{
    grid-row: 1;
    grid-column: 5 / 7;
    justify-self: center;
    align-self: end;
    margin-bottom: 5vw;
  }
  
  #about{
    grid-row: 2;
    grid-column: 1 / 7;
    margin-bottom: 5vw;
    margin-top:10vh;
    display: flex;
    flex-direction: row;
  }

  #aboutContainer{
    width: 50%;
    padding: 2em;
  }

  #aboutContainer h2{
    text-align: left;
    padding-top: 0;
  }

  #aboutImgCont{
    max-width: 75vh;
    max-height: 75vh;
    margin: 2em;
    overflow: hidden;
  }

  #aboutImgCont > img{
    width: 100%;
    object-fit:cover;
    transition: transform 500ms cubic-bezier(0, 0.32, 0.11, 0.87);
  }

  #aboutImgCont:hover #aboutImg{
    transform: scale(1.1);
  }
  
  #work{
    grid-row: 3;
    grid-column: 1 / 7;
    justify-self: center;
    align-self: start;
    margin-bottom: 5vw;
  }
  
  #contact{
    grid-row: 4;
    grid-column: 1 / 7;
    justify-self: center;
    align-self: start;
    margin-bottom: 40vh; 
  }

  #contact h2{
    margin-bottom: 5vh;
  }

  #contact a{
    text-decoration: none;
    color: rgb(255,181,0);
  }

  #contact a:hover{
    font-family: "Daytona-Fat";
  }
  #contact a:visited{
    color: rgb(255,181,0);
  }

  #contact a:hover img{
    transform: scale(1.05);
  }


  #contactInfo{
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: flex-start;
    text-align: center;
    gap: 2vw;
  }

  #contactInfo img {
    width: 5vw;
    margin-left: 5vw;
    margin-right: 5vw;
    margin-bottom: 1vw;
  }

  
  #animation{
    z-index: -10;
    position:relative;
    top: 0;
    left: 0;  
  }

  .work{
    margin: 6.25em auto;
	  height: 5em;
	  overflow: hidden;
	  width: 100%;
  }

  .work:hover .workmore{
    animation-play-state: paused;  
    cursor:default;
  }

  .workmore{
    animation-name: switch-work;
	  animation: switch-work 7s ease-in-out infinite;
    animation-play-state: running; 
  }

  .workmore li{
    height: 15em;
	  margin: 0px;
	  padding: 0px;
	  width: 100%;
    list-style-type: none;
	  margin: 0px 0 1px 0;
	  height: 1em !important;
	  padding: 0px 0 0px 0;
	  font-size: 2em;
	  width: 100%;
  }

  .workmore ul{
	  height: 15em;
	  margin: 0px;
	  padding: 0px;
	  width: 100%;
	}


  @keyframes switch-work {
	  0%, 20% {
	  transform: translate(0px, -9.8em);
	  }
	  20%, 40% {
	  transform: translate(0px, -7.6em);
	  }
	  40%, 60% {
	    /* -webkit-transform: translate(0px, -6.44em); */
	    transform: translate(0px, -5.6em);
	  }
	  60%, 80% {
	    transform: translate(0px, -3.6em);
	  }
	  80%, 100% {
	    transform: translate(0px, -1.5em);
	  }
	  100%, 0% {
	    transform: translate(0px, -9.8em);
	  }
	}

  .js-scroll {
    transition: opacity 1000ms;
  }
   
  .js-scroll.scrolled {
    opacity: 1; 
  }

  .scrolled.fade-in {
    animation: fade-in 1s ease-in-out both;
  }

  .scrolled.slide-left {
    animation: slide-in-left 1s cubic-bezier(0.55, 0.09, 0.68, 0.53) both;
  }

  .scrolled.slide-right {
    animation: slide-in-right 1s cubic-bezier(0.55, 0.09, 0.68, 0.53) both;

  }

  .scrolled.fade-bottom {
    animation: fade-in-bottom 0.2s cubic-bezier(0.55, 0.09, 0.68, 0.53) both;
    transition: opacity 200ms;
  }

  @keyframes slide-in-left {
    0% {
      transform: translateX(-800px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes slide-in-right {
    0% {
      transform: translateX(800px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

  @keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }  

  @keyframes fade-in-bottom {
    0% {
      transform: translateY(-50px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @media (prefers-reduced-motion) {
    .js-scroll {
      opacity: 1;
    }
    .scrolled {
      animation: none !important;
    }
  }


  /* Tablet */
@media screen and (min-width: 760px) and (max-width: 979px) {

  h1{
    font-size: 3rem;
  }
  
  h2{
    letter-spacing: 0.04em;
    font-size: 2rem;
  }

  #container{
    width: 96vw;
    grid-template-rows: repeat(4, auto);
  }

  #about{
    flex-direction: column;
    flex-wrap: wrap;
  }

  #aboutImg{
    width: 100%;
    padding: 0;
  }
  #aboutContainer{
    width:100%;
    padding: 0;
    padding-top: 5vh;
  }
  #aboutContainer h2{
    text-align: center;
  }

  #aboutContainer p{
    padding-left: 4vw;
    padding-right: 4vw;
  }

  #burger{
    display: block;
  }

  header{
    height: auto;
  }

  nav ul{
    display: none;
    width: 100%;
  }

  nav ul{
    flex-direction:column;
    transition: all 0.6s ease-in-out;
  }
  
  nav ul.show{
    display: flex;
    margin-bottom: 2vh;
  }
  nav li {
    margin-bottom: 0.5vh;
  }

  #contactInfo{
    width: 80vw;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5vw;
  }

  #contactInfo img {
    width: 15vw;
  }

  #footerInfo{
    width: 25vw;
  }

  #footerContact{
    width: 25vw;
  }

  #footerIcons img{
    width: 5vw;
  }


  .work{
	  height: 3.5em;
	  overflow: hidden;
	  width: 100%;
  }

  @keyframes switch-work {
	  0%, 20% {
	  transform: translate(0px, -10.4em);
	  }
	  20%, 40% {
	  transform: translate(0px, -8.4em);
	  }
	  40%, 60% {
	    /* -webkit-transform: translate(0px, -6.44em); */
	    transform: translate(0px, -6.4em);
	  }
	  60%, 80% {
	    transform: translate(0px, -4.4em);
	  }
	  80%, 100% {
	    transform: translate(0px, -2.2em);
	  }
	  100%, 0% {
	    transform: translate(0px, -10.4em);
	  }
	}

}

/* Smartphone */
@media screen and (min-width: 280px) and (max-width: 759px) {

  h1{
    font-size: 3rem;
  }
  
  h2{
    letter-spacing: 0.04em;
    font-size: 2rem;
    padding-top: 2vh;
    padding-bottom: 2vh;
  }

  #container{
    width: 96vw;
    grid-template-rows: repeat(4, auto);
  }

  #about{
    flex-direction: column;
    flex-wrap: wrap;
  }

  #aboutImg{
    width: 100%;
    padding: 0;
  }
  #aboutContainer{
    width:100%;
    padding: 0;
    padding-top: 2vh;
  }
  #aboutContainer h2{
    text-align: center;
  }

  #aboutContainer p{
    padding-left: 4vw;
    padding-right: 4vw;
  }

  #burger{
    display: block;
  }

  header{
    min-height: 10vh;
    height: auto;
  }

  nav ul{
    display: none;
    width: 100%;
  }

  nav ul{
    flex-direction:column;
    gap: 1vh;
    transition: all 0.6s ease-in-out;

  }
  
  nav ul.show{
    display: flex;
    margin-bottom: 2vh;
  }
  nav li {
    margin-bottom: 0.5vh;
  }

  #contact{
    margin-bottom: 25vh;
  }

  #contact h2{
    margin-bottom: 5vh;
  }

  #contactInfo{
    width: 80%;
    flex-direction: row;
    align-items: center;
    gap: 8vw;
  }

  #contactInfo img {
    width: 10vw;
    margin-left: 5vw;
    margin-right: 5vw;
    margin-bottom: 1vw;
  }

  footer{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100vw;
    padding-top: 5vh;
    padding-bottom: 2vh;
    height: auto;
  }

  #footerLogo{
    order: -1;
  }
  
  #footerInfo{
    width: 80vw;
    padding-left: 0vw;
    order: 1;
    margin-bottom: 5vh;
  }
  
  #footerLogo img{
    width: 20vw;
    margin-bottom: 2vh;
  }
  
  #footerContact{
    margin-right: 0vw;
    margin-bottom: 5vh;
    width: 80vw;
  }
  
  #footerContact h3{
    margin-bottom: 1vw;
  }
  
  #footerIcons img{
    width: 12vw;
  }

  .work{
	  height: 3.5em;
	  overflow: hidden;
	  width: 100%;
  }

  @keyframes switch-work {
	  0%, 20% {
	  transform: translate(0px, -9.2em);
	  }
	  20%, 40% {
	  transform: translate(0px, -7.2em);
	  }
	  40%, 60% {
	    /* -webkit-transform: translate(0px, -6.44em); */
	    transform: translate(0px, -5.2em);
	  }
	  60%, 80% {
	    transform: translate(0px, -3.2em);
	  }
	  80%, 100% {
	    transform: translate(0px, -1.1em);
	  }
	  100%, 0% {
	    transform: translate(0px, -9.2em);
	  }
	}
}