@font-face {
  font-family: HolidayFree;
  src: url("HolidayFree.otf");
}

:root {
  --primary-color: #f4d6d3;
  --secondary-color: #c44761;
  --heading-text-color: #6d6e71;
  --box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  --heading-font: "Roboto", sans-serif;
}

* {
  box-sizing: border-box;
}

.head-background {
  background: linear-gradient(-45deg, #84c98a, #f1c8c3, #c44761, #c44761);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  border-radius: 10px;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body {
  background-color: var(--primary-color);
}

.navbar-brand {
  font-family: HolidayFree;
  color: #6d6e71;
}
.nav-link {
  font-family: "Roboto", sans-serif;
}
.navbar {
  opacity: 0.8;
}

.hello {
  text-align: center;
  font-size: 300px;
  color: white;
  font-weight: bold;
  font-family: var(--heading-font);
}

.typewriter {
  font-size: 320px;
  padding: 100px 100px;
  text-shadow: 7px 7px #6d6e71;
}

.typewriter .hello {
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: 0.15em solid #ffffff; /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: 0em; /* Adjust as needed */
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #ffffff;
  }
}

h2 {
  text-align: center;
  font-size: 60px;
  font-family: HolidayFree;
  color: #6d6e71;
}

.i-am {
  padding-top: 50px;
}

.my-name {
  font-size: 80px;
  color: white;
}

.developer,
.based {
  font-size: 68px;
}

.maple-leaf {
  color: #c44761;
  font-size: 100px;
}

.primary-link {
  display: block;
  margin: 0 auto;
  width: 350px;
  border-radius: 10px;
  padding: 20px 15px;
  text-decoration: none;
  text-align: center;
  background: white;
  box-shadow: var(--box-shadow);
  font-family: var(--heading-font);
  color: #6d6e71;
  font-size: 25px;
  transition: 0.3s ease-in-out;
}

.primary-link:hover {
  color: white;
  background-color: #c44761;
  transform: scale(0.97);
}

.about-me {
  background: rgba(255, 255, 255, 0.4);
  padding: 20px;
  margin: 50px 215px 0px 215px;
  border-radius: 10px;
}

.about-header {
  font-size: 60px;
  font-family: HolidayFree;
  color: var(--primary-color);
  text-shadow: 2px 2px #6d6e71;
  margin-top: 20px;
  -webkit-text-stroke: 1px #6d6e71;
}

.a-little-bit {
  margin-bottom: 0px;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  color: white;
  font-size: 20px;
  text-shadow: 2px 2px #6d6e71;
  -webkit-text-stroke: 0.6px #6d6e71;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.about-text {
  font-family: "Roboto", sans-serif;
  color: #6d6e71;
  padding: 10px;
  font-weight: 500;
}

/* CONTACT ME PAGE  */

/* .get-in-touch {
  text-align: center;
  font-size: 100px;
  color: white;
  font-weight: bold;
  font-family: var(--heading-font);
}

.typewriter-get-in-touch {
  padding: 100px 100px;
  text-shadow: 4px 4px #6d6e71;
}

.typewriter-get-in-touch .get-in-touch {
  overflow: hidden; 
  border-right: 0.15em solid #ffffff; 
  white-space: nowrap; 
  margin: 0 auto; 
  letter-spacing: 0em; 
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
} */

.questions {
  padding-top: 100px;
  text-align: center;
  font-size: 100px;
  font-family: HolidayFree;
  color: white;
}

.mail-img {
  width: 1200px;
  margin: 0px;
  padding: 0px;
}

.mail {
  animation-direction: alternate;
  position: relative;
  animation: gotmail 5s 1;
}

@keyframes gotmail {
  0% {
    left: -1200px;
    top: 0px;
  }

  100% {
    left: 0px;
    top: 0px;
  }
}

.contact {
  color: #6d6e71;
  font-size: 30px;
  background: rgba(255, 255, 255, 0.4);
  padding: 40px;
  margin: 50px 215px 80px 215px;
  border-radius: 10px;
}
.email,
.phone {
  text-align: center;
  margin: 0 auto;
}

/* PORTFOLIO */

.my-portfolio {
  font-size: 100px;
  text-align: center;
  margin-top: 120px;
  margin-bottom: 50px;
  font-family: HolidayFree;
  color: white;
  text-shadow: 4px 4px #6d6e71;
}

.home-btn {
  display: block;
  margin: 0 auto;
  width: 400px;
  padding: 10px;
  font-size: 16px;
  border: solid 1px #6d6e71;
}

.home-btn:hover {
  background-color: white;
  border: solid 1px white;
  text-decoration: none;
  transition: ease-in-out;
}

.project-container {
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 30px 30px 20px 30px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
}

.project-text {
  margin-top: 30px;
}

.project-heading {
  font-size: 40px;
  -webkit-text-stroke: 0.6px #6d6e71;
  font-family: HolidayFree;
  color: var(--primary-color);
  text-shadow: 2px 2px #6d6e71;
}

.project-paragraph {
  font-family: "Roboto", sans-serif;
  color: #6d6e71;
}
.project-skills {
  font-family: "Roboto", sans-serif;
  color: #6d6e71;
  font-size: 25px;
}

.secondary-link {
  border-radius: 4px;
  padding: 10px;
  border: solid 1px #6d6e71;
  display: block;
  margin: 0 auto;
}

.secondary-link:hover {
  color: white;
  background-color: #c44761;
  border: none;
  text-decoration: none;
  transform: scale(0.97) ease-in-out;
}

/* FOOTER  */

.footer,
a {
  text-align: center;
  color: #6d6e71;
  font-family: "Roboto", sans-serif;
  text-decoration: none;
  border-radius: 4px;
}

a {
  padding-right: 20px;
  padding-left: 20px;
}

a:hover {
  color: #c44761;
  transition: all 100ms ease-in-out;
}

.social-links {
  font-family: HolidayFree;
  font-size: 20px;
}

.footer {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 40px 20px 10px 20px;
  /* margin-top: 100px; */
}

.github {
  font-family: HolidayFree;
  padding: 2px;
  font-weight: bold;
}

.open-source {
  padding-top: 10px;
}

@media (max-width: 1250px) {
  .typewriter {
    padding-top: 120px;
  }
  .hello,
  .typewriter {
    font-size: 150px;
  }
  .i-am {
    font-size: 45px;
    padding-top: 50px;
  }
  .my-name {
    font-size: 60px;
  }
  .developer,
  .based,
  .maple-leaf {
    font-size: 60px;
  }
  .about-me {
    margin: 30px 50px 0px 50px;
  }

  .about-header {
    font-size: 50px;
  }

  .who-paragraph {
    font-size: 20px;
  }

  .col {
    height: 100px;
  }
  .footer {
    margin-top: 80px;
  }

  .questions {
    font-size: 50px;
  }
  .mail-img {
    width: 700px;
  }

  .contact {
    margin: 100px 50px 100px 50px;
    font-size: 20px;
  }

  .my-portfolio {
    font-size: 80px;
    text-shadow: 4px 4px #6d6e71;
  }
}

@media (max-width: 631px) {
  .typewriter,
  .hello {
    font-size: 70px;
  }

  .i-am {
    font-size: 25px;
    padding-top: 30px;
  }
  .owner-img {
    width: 250px;
  }
  .typewriter {
    text-shadow: 4px 4px #6d6e71;
    padding: 100px 50px 50px 50px;
  }
  .my-name {
    font-size: 35px;
  }
  .coding {
    width: 350px;
  }
  .developer,
  .based,
  .maple-leaf {
    font-size: 32px;
  }
  .primary-link {
    display: block;
    text-align: center;
    margin: 0 auto;
    font-size: 20px;
  }
  .a-little-bit {
    font-size: 13px;
    text-shadow: 1px 1px #6d6e71;
  }

  .about-me {
    margin: 30px 20px 0px 20px;
  }

  .about-header {
    font-size: 40px;
  }

  .about-text {
    font-size: 10px;
    padding: 5px;
  }

  .icon {
    width: 25px;
  }

  .who-paragraph {
    font-size: 15px;
  }
  .open-source {
    font-size: 9px;
  }
  .social-links {
    font-size: 15px;
  }

  .questions {
    font-size: 30px;
  }
  .mail-img {
    width: 350px;
  }

  .contact {
    font-size: 10px;
    margin: 60px 20px 60px 20px;
  }
  .my-portfolio {
    font-size: 50px;
  }

  .home-btn {
    width: 200px;
  }
  /* .project-container {
    width: 350px;
  } */

  .project-heading {
    font-size: 30px;
  }
}
