:root {
  --bg-color: #111827;
  --typewriterSpeed: 6s;
  --typewriterCharacters: 24;
}

html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

*,
*::before,
::after {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: "Roboto", sans-serif;
  text-align: center;
  background: #111827;
  --nav-load-time: 700ms;
  --nav-link-load-time: 900ms;
  --article-load-delay: calc(var(--nav-load-time) + var(--nav-link-load-time));
}

a {
  text-decoration: none;
}

body p {
  margin: 20px auto;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0;
}

p {
  margin-top: 0;
}

a,
a:visited,
a:active {
  text-decoration: none;
}

.main-heading::before {
  background: #111827;
  animation: typewriter var(--typewriterSpeed) steps(var(--typewriterCharacters)) 1s forwards;
}

.main-heading::after {
  width: 0.125em;
  background: black;
  animation: typewriter var(--typewriterSpeed) steps(var(--typewriterCharacters)) 1s forwards, blink 750ms steps(var(--typewriterCharacters)) infinite;
}

.subtitle {
  width: 100%;
  color: hsla(0deg, 0%, 0%, 0.7);
  font-size: 2rem;
  font-weight: 400;
  opacity: 0;
  transform: translateY(3rem);
  animation: fadeInUp 2s ease calc(var(--typewriterSpeed) + 2s) forwards;
}

@keyframes typewriter {
  to {
    left: 100%;
  }
}
@keyframes blink {
  to {
    background: transparent;
  }
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes nav-load {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes nav-link-load {
  0% {
    transform: scale(0);
  }
  90% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes nav-first-link-load {
  0% {
    transform: translateX(-1000%);
    -webkit-transform: translateX(-1000%);
    -moz-transform: translateX(-1000%);
    -ms-transform: translateX(-1000%);
    -o-transform: translateX(-1000%);
  }
  90% {
    transform: translateX(50%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes nav-last-link-load {
  0% {
    transform: translateX(1000%);
  }
  90% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
.nav-wrapper {
  animation: article-load 2000ms ease-in-out var(--article-load-delay);
  animation-fill-mode: forwards;
  transform: translateY(-20px);
  opacity: 0;
}

.column {
  animation: article-load 2000ms ease-in-out calc(var(--article-load-delay) + 200ms);
  animation-fill-mode: forwards;
  transform: translateY(-20px);
  opacity: 0;
}

@keyframes article-load {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
.footer {
  background-color: rgba(255, 255, 255, 0.2666666667);
  color: rgb(254, 253, 255);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}

.logo {
  width: 50px;
  height: 50px;
  animation-name: nav-link-load;
  animation-duration: var(--nav-link-load-time);
  animation-timing-function: ease-in;
  animation-delay: var(--nav-load-time);
  animation-fill-mode: forwards;
  transform: scale(0);
}

nav {
  display: flex;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2666666667);
  color: white;
  animation: nav-load var(--nav-load-time) ease-in-out;
}

nav ul {
  margin: 0;
  display: flex;
  justify-content: center;
}

nav li {
  list-style: none;
  padding: 10px;
  margin: 0 10px;
  animation-name: nav-link-load;
  animation-duration: var(--nav-link-load-time);
  animation-timing-function: ease-in-out;
  animation-delay: var(--nav-load-time);
  animation-fill-mode: forwards;
  transform: scale(0);
}

nav li:first-child {
  animation-name: nav-first-link-load;
  transform: translateX(-1000%);
}

nav li:last-child {
  animation-name: nav-last-link-load;
  transform: translateX(1000%);
}

nav li:hover {
  background-color: rgba(255, 255, 255, 0.2666666667);
}

nav a {
  color: inherit;
  text-decoration: none;
}

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

.main-heading {
  font-size: 4em;
  font-family: "Source Code Pro", monospace;
  color: rgb(254, 253, 255);
  position: relative;
}

.main-heading::before,
.main-heading::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.subtitle {
  font-size: 2em;
  color: rgb(254, 253, 255);
}

.nav-wrapper {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-gap: 0 10px;
}

.grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  margin: 0 5px;
}

.nav-image {
  max-width: 100%;
  aspect-ratio: 16/9;
  border: 2px solid rgb(0, 230, 77);
}

.card {
  box-shadow: 0px 0px 24px 3px rgba(0, 0, 0, 0.4);
}

@media screen and (min-width: 320px) and (max-width: 480px) {
  .main-heading {
    font-size: 1.2em;
  }
  .card {
    margin: 10px;
  }
  .subtitle {
    font-size: 0.88em;
  }
  .social {
    justify-content: center;
  }
  .grid-row {
    grid-template-columns: 1fr;
    grid-gap: 5px;
  }
  .icons {
    flex-wrap: wrap;
    gap: 50px;
  }
}
@media screen and (min-width: 481px) and (max-width: 991px) {
  .main-heading {
    font-size: 1.9em;
  }
  .card {
    margin: 5px 20px;
  }
  .subtitle {
    font-size: 1.2em;
  }
  .grid-row {
    grid-template-columns: 1fr;
    grid-gap: 5px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1023px) {
  .nav-wrapper {
    flex-direction: column;
  }
  .card {
    margin: 5px 10px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .nav-wrapper {
    flex-direction: column;
  }
  .card {
    margin: 5px 10px;
    padding-bottom: 5px;
  }
}
@media screen and (min-width: 1221px) {
  .nav-wrapper {
    flex-direction: column;
  }
  .card {
    margin: 5px 8px;
  }
}
.social {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  animation: article-load 1000ms ease-in-out calc(var(--article-load-delay) + 200ms);
  animation-fill-mode: both;
  animation-delay: 1s;
  transform: translateY(-20px);
}

.icons {
  display: flex;
  justify-content: center;
}

.icons a {
  margin: 0 25px;
  text-decoration: none;
  color: #fff;
  display: block;
  position: relative;
}

.icons a .layer {
  width: 55px;
  height: 55px;
  transition: transform 0.3s;
}

.icons a:hover .layer {
  transform: rotate(-35deg) skew(20deg);
}

.icons a .layer span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border: 1px solid #fff;
  border-radius: 5px;
  transition: all 0.3s;
}

.icons a .layer span.fab {
  font-size: 30px;
  line-height: 55px;
  text-align: center;
}

.icons a:hover .layer span:nth-child(1) {
  opacity: 0.2;
}

.icons a:hover .layer span:nth-child(2) {
  opacity: 0.4;
  transform: translate(5px, -5px);
}

.icons a:hover .layer span:nth-child(3) {
  opacity: 0.6;
  transform: translate(10px, -10px);
}

.icons a:hover .layer span:nth-child(4) {
  opacity: 0.8;
  transform: translate(15px, -15px);
}

.icons a:hover .layer span:nth-child(5) {
  opacity: 1;
  transform: translate(20px, -20px);
}

.icons a:nth-child(1) .layer span,
.icons a:nth-child(1) .text {
  color: #4267b2;
  border-color: #4267b2;
}

.icons a:nth-child(2) .layer span,
.icons a:nth-child(2) .text {
  color: #1da1f2;
  border-color: #1da1f2;
}

.icons a:nth-child(3) .layer span,
.icons a:nth-child(3) .text {
  color: #e1306c;
  border-color: #e1306c;
}

.icons a:nth-child(4) .layer span,
.icons a:nth-child(4) .text {
  color: #2867b2;
  border-color: #2867b2;
}

.icons a:nth-child(5) .layer span,
.icons a:nth-child(5) .text {
  color: #ff0000;
  border-color: #ff0000;
}

.icons a:hover:nth-child(1) .layer span {
  box-shadow: -1px 1px 3px #4267b2;
}

.icons a:hover:nth-child(2) .layer span {
  box-shadow: -1px 1px 3px #1da1f2;
}

.icons a:hover:nth-child(3) .layer span {
  box-shadow: -1px 1px 3px #e1306c;
}

.icons a:hover:nth-child(4) .layer span {
  box-shadow: -1px 1px 3px #2867b2;
}

.icons a:hover:nth-child(5) .layer span {
  box-shadow: -1px 1px 3px #ff0000;
}

.icons a .text {
  position: absolute;
  left: 50%;
  bottom: -5px;
  opacity: 0;
  font-weight: 500;
  transform: translateX(-50%);
  transition: bottom 0.3s ease, opacity 0.3s ease;
}

.icons a:hover .text {
  bottom: -35px;
  opacity: 1;
}

#scroll-btn {
  position: fixed;
  right: 10px;
  bottom: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 60px;
  text-indent: -9999px;
  background-color: #3498db;
  display: none;
}

#scroll-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -12px;
  height: 0px;
  width: 0px;
  border: 8px solid transparent;
  border-bottom-color: #ffffff;
}

#scroll-btn:hover {
  background-color: #e74c3c;
  opacity: 1;
  filter: "alpha(opacity=100)";
}

.contact {
  padding-bottom: 160px;
}

.form-container {
  background-color: white;
  max-width: 500px;
  padding: 30px;
  margin: 30px auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

h1 {
  margin-bottom: 20px;
}

form {
  max-width: 600px;
  margin: 0 auto;
}

label {
  display: block;
  margin-bottom: 5px;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 5px;
}

button:hover {
  background-color: #45a049;
}

.error {
  color: red;
  font-weight: bold;
  margin-bottom: 20px;
}

.submit {
  padding-top: 20px;
}

/* Responsive styling for tablets */
@media only screen and (max-width: 768px) {
  /* Add tablet-specific styles here */
  input[type=text], input[type=email], textarea {
    font-size: 14px;
    padding: 10px;
  }
  button[type=submit] {
    font-size: 14px;
    padding: 10px 20px;
  }
  .contact {
    padding-bottom: 70px;
  }
}
/* Responsive styling for mobile devices */
@media only screen and (max-width: 480px) {
  /* Add mobile-specific styles here */
  .contact {
    padding-bottom: 0.05px;
  }
  input[type=text], input[type=email], textarea {
    font-size: 12px;
    padding: 8px;
  }
  button[type=submit] {
    font-size: 12px;
    padding: 8px 16px;
  }
}

/*# sourceMappingURL=styles.css.map */
