@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;700&display=swap');

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  /* background: rgb(255, 136, 0); */
  background: rgba(4, 66, 232, 1);
  /* background: transparent; */
  color: #f5f5f5;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  height: 100dvh;
}

a {
  color: #f5f5f5;
}

a.nav-link {
  color: #000000;
}

body.dark-theme {
  background: #000000;
  color: #f5f5f5;
}

body.dark-theme > nav > div > #theme-toggle,
body.dark-theme .social-media-icon,
body.dark-theme .profile_image {
  border-color: #fff;
  color: #fff;
}

body.dark-theme a {
  color: #fff;
}

.glassy-background {
  background: #fff2;
  backdrop-filter: blur(4px);
  padding: 2rem;
}

/*================================
======= Navigation Bar ===========
================================*/

.navbar {
  backdrop-filter: blur(4px);
  background-color: #fff8 !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  display: flex;
  padding: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.nav-link {
  text-decoration: none;
}

.navbar-nav {
  list-style: none;
}

/*================================
========= Home Section ===========
================================*/

#home {
  display: flex;
  justify-content: center;
  gap: 12rem;
  align-items: center;
  min-height: 100dvh;
  backdrop-filter: blur(4px);
  background-color: #fff2;
}

#home h1 {
  font-size: 2.5rem;
}

#home h2 {
  letter-spacing: 0.1rem;
  font-size: large;
}

.social-media-icon {
  display: flex;
  border: 1px solid #f5f5f5;
  border-radius: 100%;
  height: 3rem;
  width: 3rem;
  justify-content: center;
  align-items: center;
  color: #f5f5f5;
}

.social-media-btns {
  display: flex;
  gap: 1rem;
}

.social-media-icon:hover {
  box-shadow: 0 0 10px white;
}

#theme-toggle {
  border: 1px solid #000;
  font-size: 0.8rem;
  border-radius: 8px;
  padding: 5px 12px;
  background: transparent;
  cursor: pointer;
}

#intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.icon {
  height: 28px;
}

.profile_image {
  border-radius: 100%;
  border: 2px solid #FFF;
  width: 220px;
}

/* Footer */

footer {
  text-align: center;
  font-size: 0.8rem;
  background: transparent;
  position: fixed;
  margin-bottom: 1%;
  bottom: 0;
  margin: auto;
  width: 100%;
  color: #eee5;
}

/* Animation */

.block {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.block li {
  position: absolute;
  display: block;
  list-style: none;
  width: 25px;
  height: 25px;
  background: rgba(255, 255, 255, 0.2);
  animation: animate 30s linear infinite;
  bottom: -100px;
}

.block li:nth-child(1) {
  left: 1%;
  width: 90px;
  height: 90px;
  animation-delay: 12s;
}

.block li:nth-child(2) {
  left: 20%;
  width: 30px;
  height: 30px;
  animation-delay: 1.5s;
  animation-duration: 10s;
}

.block li:nth-child(3) {
  left: 90%;
  width: 100px;
  height: 100px;
  animation-delay: 6s;
  animation-duration: 10s;
}

.block li:nth-child(4) {
  left: 50%;
  width: 100px;
  height: 100px;
  animation-delay: 0s;
  animation-duration: 15s;
}

.block li:nth-child(5) {
  left: 65%;
  width: 40px;
  height: 40px;
  animation-delay: 0s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(-800px) rotate(360deg);
    opacity: 0;
  }
}

@media screen and (max-width: 768px) {
  #home {
    flex-direction: column-reverse;
    gap: 2rem;
    text-align: center;
  }
  .social-media-btns {
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  #home h1 {
    font-size: 1.5rem;
  }

  #home h2 {
    font-size: 1rem;
  }
}
