@import url("https://fonts.googleapis.com/css2?family=Michroma&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Michroma", sans-serif;
  background-color: #0a0e1a; /* Background color 1 */
  color: #ffffff; /* Accessible text color 12 */
}

.sidebar {
  height: 100vh;
  width: 250px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #0b1223; /* Background color 2 */
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: width 0.3s ease;
}

.sidebar img {
  border-radius: 50%;
  margin-bottom: 10px;
  width: 100px;
  height: 100px;
  transition: transform 0.3s ease;
}

.sidebar img:hover {
  transform: scale(1.1);
}

.sidebar h2 {
  margin-bottom: 10px;
  color: #e5e9f0; /* Accessible text color 11 */
}

.sidebar a {
  padding: 10px 15px;
  text-align: center;
  width: 100%;
  color: #e5e9f0; /* Accessible text color 11 */
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.sidebar a:hover {
  background-color: #4c566a; /* Interactive component color 4 */
  transform: scale(1.05);
}

.content {
  margin-left: 250px;
  padding: 20px;
  transition: margin-left 0.3s ease;
}

.jumbotron {
  text-align: center;
  margin-top: 50px;
}

.jumbotron img {
  border-radius: 5%;
  margin-bottom: 20px;
  width: 159px;
  height: 204px;
  transition: transform 0.3s ease;
}

.jumbotron img:hover {
  transform: scale(1.1);
}

.card-title,
.card-text {
  color: black;
}

.container {
  font-family: "arial";
  font-size: 24px;
  display: grid;
  place-items: center;
  width: 260px;
  margin: auto;
}

.container2 {
  font-family: "arial";
  font-size: 24px;
  display: grid;
  place-items: center;
  width: 280px;
  margin: auto;
}

.typed {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid;
  width: 0;
  animation: typing 2s steps(60, end) forwards, blinking 1s infinite;
}

.typed2 {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid;
  width: 0;
  animation: typing 4s steps(60, end) forwards, blinking 1s infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blinking {
  0% {
    border-color: transparent;
  }
  50% {
    border-color: rgb(255, 255, 255);
  }
  100% {
    border-color: transparent;
  }
}

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

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar img {
    width: 75px;
    height: 75px;
  }
  .sidebar a {
    text-align: left;
    padding-left: 30px;
  }
  .content {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .jumbotron h1 {
    font-size: 2rem;
  }
  .jumbotron p {
    font-size: 1rem;
  }
}

.loading-screen,
.no-internet-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-screen {
  background: rgba(255, 255, 255, 0.8);
}

.loading-bar {
  width: 80%;
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.loading-bar::before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  animation: loading 2s infinite;
  position: absolute;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.no-internet-screen {
  background: rgba(255, 0, 0, 0.8);
  color: white;
  font-size: 18px;
  text-align: center;
  display: none;
  flex-direction: column;
}

.no-internet-screen.active {
  display: flex;
}

.no-internet-screen button {
  margin-top: 20px;
  padding: 10px 20px;
  background: white;
  color: red;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.file iframe {
  width: 100%;
  height: 20cm;
  border: none;
}

.sm {
  margin: center;
  padding: 10px 20px;
  padding-bottom: 20px;

}

/* Style all font awesome icons */

.fa {
  border-radius: 5%;
  padding: 20px;
  font-size: 35px;
  width: 50px;
  text-align: center;
  text-decoration: none;
}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}

.fa-whatsapp {
  width: auto;
  text-align: center;
  background: #25d366;
  color: white;
}

.fa-instagram {
  width: auto;
  background-image: linear-gradient(to top, #405de6, #5b51d8, #833ab4, #c13584, #e1306c, #fd1d1d, #f56040, #fcaf45, #ffdc80);
  color: white;
}

.fa-github {
  width: auto;
  background-color: #2b3137;
  color: white;
}

.about-text{
  text-align: justify;
}

