html {
  height: 100%;
  width: 100%;
}

body, html {
  margin: 0;
  padding: 0;
  background-color: #F9F9F9;
  background-image: radial-gradient(circle, #7d7d7d 10%, transparent 10%),
                    radial-gradient(circle, #7d7d7d 10%, transparent 10%);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
  background-repeat: repeat;
  font-family: 'MONO45 HEADLINE', sans-serif;
}

.splash{
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #FF8EDD;
  z-index: 200;
}

.splash.display-none{
  position: fixed;
  opacity: 0;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #FF8EDD;
  z-index: -10;
  transition: all 1.5s;
}

@keyframes fadeIn{
  to{
    opacity: 1;
  }
}

.fade-in{
  opacity: 0;  
  animation: fadeIn 0.25s ease-in forwards;
  color: #F9F9F9;
  font-family: 'CONFLICT DRIPS PERSONAL USE', sans-serif;
  -webkit-text-stroke: 1.5px black;
  text-align: center;
  line-height: 80vh;
  padding: 0;
  margin: 0;
}

::-webkit-scrollbar {
  display: none;
}

.logo-title {
  font-family: 'CONFLICT DRIPS PERSONAL USE', sans-serif;
  font-size: 48px;
  color: #FF8EDD;
  -webkit-text-stroke: 1px black;
  font-display: swap;
}

p {
  text-align: center;
  letter-spacing: 3px;
  line-height: 1.5;
}

.subheading {
  font-size: 32px;
  text-align: left;
  margin-left: 100px;
  margin-top: 0;
  letter-spacing: 2px;
}

.subheading-contact {
  line-height: 48px;
  font-size: 46px;
  text-align: left;
  text-shadow: 0px 3px black;
  -webkit-text-stroke: 1px black;
  color: #FFAD29;
  margin-left: 100px;
  margin-top: 150px;
  letter-spacing: 2px;
}

.heading-contact {
  color: #FFAD29;
  letter-spacing: 3px;
}

main {
  min-height: 100vh;
}

h1 {
  font-size: 92px;
  text-align: left;
  margin-left: 100px;
  margin-top: 75px;
  margin-bottom: 0;
  color: #FF8EDD;
  -webkit-text-stroke: 1px black;
  letter-spacing: 3px;
  text-shadow: 0px 6px black;
  line-height: 90px;
}

.scrolling-container {
  width: 100%;
  overflow: hidden;
  background-color: #FF8EDD;
  padding: 5px 0;
  position: relative;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
}

.scrolling-content {
  display: flex;
  white-space: nowrap;
  animation: scroll-left 15s linear infinite;
  align-items: center;
}

.scrolling-content span {
  margin: 0 20px;
  display: inline-block;
}

.scrolling-content img {
  height: 25px;
  width: 25px;
  margin: 0px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

header nav ul li a.active {
  color: #FF8EDD;
  text-decoration: underline;
}

.wrapper{
  display: flex;
}

.static-txt {
  display: inline;
}

.wrapper .dynamic-txts{
  margin-left: 15px;
  line-height: 45px;
  height: 45px;
  overflow: hidden;
}

.dynamic-txts li {
  list-style: none;
  color: #FF8EDD;
  font-size: 34px;
  top: 0;
  position: relative;
  animation: slide 12s steps(4) infinite;
}

@keyframes slide {
  100%{
    top: -200px;
  }
}

.dynamic-txts li ::after{
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #F9F9F9;
  border-left: 16px solid #000000;
  animation: typing 3s steps(10) infinite;
}

@keyframes typing{
  40%, 60%{
    left: calc(100% + 30px);
  }
  100%{
    left: 0
  }
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #F9F9F9;
  color: black;
  padding: 0px 50px;
  margin: 0;
  border-bottom: 3px solid black;
  z-index: 20;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo a {
  margin-right: 15px;
}

header .logo span {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: black;
  -webkit-text-stroke: 0px black;
}

header nav {
  margin-left: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

header nav ul li {
  margin-left: 20px;
}

header nav ul li a {
  text-decoration: none;
  color: black;
  font-size: 28px;
  letter-spacing: 3px;
  padding: 15px 12px;
  transition: background-color 0.3s ease, color 0.3s ease, border-radius 0.3s ease;
  border-radius: 100px;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

header nav ul li a:hover {
  background-color: #FF8EDD;
  color: white;
  background-clip: padding-box;
  transition: background-color 0.3s ease;
  border-radius: 100px;
}

header .contact-button {
  background-color: #FF8EDD;
  padding: 8px 16px;
  border-radius: 100px;
  border: 4px solid black;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

header .contact-button:hover {
  background-color: #f5a623;
}

.buttons-section {
  position: absolute;
  top: 200px;
  left: 50px;
  right: 50px;
  bottom: 200px;
  pointer-events: all;
}

.buttons-section a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  font-size: 64px;
  text-decoration: none;
  color: #000000;
  text-align: center;
  font-weight: bold;
  border: 15px solid #FF8EDD;
  box-shadow: 0 0 0 10px #000000;
  position: absolute;
  transition: transform 2s linear;
  z-index: 10;
}

.projects-button {
  background-color: #F6C26D;
}

.about-button {
  background-color: #CEF6F9;
}

.chat-button {
  background-color: #AAFFAA;
}

a:hover {
  transform: scale(1.1);
}

.footer-container {
  background-color: #585858;
  color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-family: 'Press Start 2P', sans-serif;
  z-index: 20;
}

.footer-left {
  display: flex;
  align-items: flex-start;
  gap: 200px;
  flex: 1;
  min-width: 300px;
}

.footer-navigation, .footer-contact {
  font-size: 12px;
}

.footer-navigation h4, .footer-contact h4 {
  color: #FF8EDD;
  font-family: 'MONO45 HEADLINE', sans-serif;
  font-size: 24px;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.footer-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-navigation ul li {
  margin-bottom: 5px;
}

.footer-navigation ul li a, .footer-contact a {
  text-decoration: underline;
  color: #fff;
  font-size: 18px;
  letter-spacing: 2px;
  font-family: roboto condensed, sans-serif;
}

.footer-contact a:hover, .footer-navigation ul li a:hover {
  color: #ff80cb;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: flex-end;
}

.footer-right p {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  margin-right: 20px;
}

.footer-right .social-links {
  display: flex;
  gap: 20px;
}

.footer-right .social-links a {
  transition: all 0.3s ease; 
}

.footer-right .social-links a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease; 
  margin: 0 10px;
}

.footer-right .social-links a img:hover {
  transform: scale(1.2); 
}

.about {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.about::before,
.about::after {
  content: "";
  height: 12px;
  background-color: black;
  width: 240px;
  margin-left: 40px;
  margin-right: 40px;
}

.about-section {
  text-align: center;
  padding: 60px 20px;
}

.about-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.left-column, .right-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.text-box {
  width: 350px;
  padding: 30px;
  background-color: #F6C26D;
  border: 3px solid #000000;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  font-size: 1.2em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.text-box h2 {
  font-size: 48px;
  color: #FF8EDD;
  margin-bottom: 10px;
  letter-spacing: 3px;
  text-shadow: 
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 5px 0 #000;
}

.text-box p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.about-photo {
  width: 500px;
  height: auto;
  border: 5px solid #FF8EDD;
  border-radius: 10px;
}

.about-image-container {
  text-align: center;
  margin: 20px;
}

figcaption {
  font-size: 22px;
  color: #000000;
  margin-top: 10px;
  font-family: "Caveat", sans-serif;
  font-weight: 700;
}

.button-container a {
  display: inline-block;
  padding: 12px 100px;
  background-color: #FF8EDD;
  color: #000000;
  font-size: 26px;
  letter-spacing: 3%;
  cursor: pointer;
  border-radius: 100px;
  border: 2px solid #000000;
  border-bottom: 6px solid #000000;
  position: relative;
  text-decoration: none;
  text-align: center;
}

.button-container a::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 95%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background-image: url('images/sparkle.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.button-container a::before {
  content: '';
  position: absolute;
  top: 75%;
  left: 5%;
  width: 30px;
  height: 30px;
  background-image: url('images/sparkle.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.button-container a:hover::after,
.button-container a:hover::before {
  opacity: 1;
}

.button-container a:hover {
  transform: scale(1.05);
}

.index-cv{
  padding-left: 100px;
}

.hamburger {
  display: none; 
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 25px;
  border: none;
  cursor: pointer;
  z-index: 30; 
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: black;
  border-radius: 5px;
  transition: all 0.3s ease;
}

@media (max-width: 1024px){
  .logo-title {
    font-size: 28px;
    font-family: 'CONFLICT DRIPS PERSONAL USE', sans-serif;
  }

  h1 {
    font-size: 48px;
    margin-left: 5%;
    margin-top: 10%;
    text-shadow: 0px 4px black;
    line-height: 120%;
  }

  .subheading {
    font-size: 24px;
    margin-left: 5%;
    margin-top: 2%;
  }

  .nav-arrows{
    display: none;
  }

  .buttons-section {
    top: 10%;
    left: 5%;
    right: 5%;
    bottom: 10%;
  }

  .buttons-section a {
    width: 150px;
    height: 150px;
    font-size: 28px;
    color: #000000;
    border: 10px solid #FF8EDD;
    box-shadow: 0 0 0 6px #000000;
  }

  .button-container a {
    padding: 12px 100px;
    font-size: 18px;
  }

  .index-cv{
    padding-left: 5%;
  }

  .footer-container {
    align-items: flex-start; 
    padding: 20px; 
  }

  .footer-left, .footer-right {
    flex: unset; 
    min-width: unset; 
    width: 100%; 
    margin-bottom: 20px; 
  }

  .footer-left {
    gap: 20px; 
  }

  .footer-navigation, .footer-contact {
    font-size: 16px; 
  }

  .footer-navigation h4, .footer-contact h4 {
    font-size: 16px; 
  }

  .footer-navigation ul li a, .footer-contact a {
    font-size: 16px; 
  }

  .footer-right {
    flex-direction: column; 
    align-items: flex-centre; 
    gap: 10px; 
  }

  .footer-right p {
    font-size: 12px; 
    margin-right: 0; 
  }

  .footer-right .social-links {
    gap: 10px; 
  }

  .footer-right .social-links a img {
    width: 30px; 
    height: 30px; 
  }

  .hamburger {
    display: flex; 
  }

  nav {
    display: none; 
    flex-direction: column;
    background-color: #F9F9F9;
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    border-top: 3px solid black;
    z-index: 20;
    box-shadow: 0px 5px 0px rgba(0, 0, 0, 1);
  }

  nav.open {
    display: flex; 
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start; 
    gap: 10px;
  }

  nav ul li {
    margin: 10px 0;
    width: 100%; 
  }

  nav ul li a {
    font-size: 20px;
    padding-top: 20px;
    text-align: left;
    width: 100%;
  }

  nav .contact-button {
    margin-top: 20px;
    padding: 10px 20px; 
    width: auto; 
    text-align: centre;
    align-self: centre; 
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .dynamic-txts {
    display: none;
  }

  .about{
    text-align: center;
  }

  .about-section {
    padding: 40px 20px;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .left-column, .right-column {
    width: 100%;
    gap: 20px;
  }

  .text-box {
    width: 90%;
    padding: 20px;
    font-size: 1.1em;
  }

  .text-box h2 {
    font-size: 36px;
  }

  .about-photo {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  .about-image-container {
    text-align: center;
    margin: 20px;
  }

  figcaption {
    font-size: 18px;
  }

  .splash {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .fade-in {
    font-size: 38px; 
    line-height: 60vh; 
    margin-left: 0;
    margin-top: -30%;
    -webkit-text-stroke: 0.25px black;
  }
}