@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi:wght@500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  background-color: rgb(34, 40, 49);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  width: 50px;
  height: auto;
}

li,
a {
  font-family: "Reem Kufi", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #EEEEEE;
  text-decoration: none;
}

.nav__link {
  list-style: none;
}

.nav__link li {
  display: inline-block;
  padding: 0px 15px;
}

.nav__link li a:hover {
  color: #009199;
  cursor: pointer;
}

.main {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  flex-direction: column;
  flex-wrap: nowrap;
}

.card {
  --bg-color: #111;
  background-color: transparent
}

.card p {
  color: white;
  font-family: "Reem Kufi", sans-serif;
  font-weight: 500;
  font-size: 20px;
}

.loader {
  color: white;
  font-family: "Reem Kufi", sans-serif;
  font-weight: 500;
  font-size: 20px;
  box-sizing: content-box;
  height: 60px;
  display: flex;
  text-align: right;
  direction: rtl;
  gap: 10px;
  justify-items: center;
  margin-bottom: 5em;
}

.words {
  overflow: hidden;
  position: relative;
}

.words::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent(var(--bg-color) 10%, transparent 30%, transparent 70%, var(--bg-color) 90%);
  z-index: 20;
}

.word {
  display: block;
  height: 100%;
  color: #009199;
  animation: spin_4991 4s infinite;
}

@keyframes spin_4991 {
  10% {
    -webkit-transform: translateY(-102%);
    transform: translateY(-102%);
  }

  25% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  35% {
    -webkit-transform: translateY(-202%);
    transform: translateY(-202%);
  }

  50% {
    -webkit-transform: translateY(-200%);
    transform: translateY(-200%);
  }

  60% {
    -webkit-transform: translateY(-302%);
    transform: translateY(-302%);
  }

  75% {
    -webkit-transform: translateY(-300%);
    transform: translateY(-300%);
  }

  85% {
    -webkit-transform: translateY(-402%);
    transform: translateY(-402%);
  }

  100% {
    -webkit-transform: translateY(-400%);
    transform: translateY(-400%);
  }
}

@keyframes blinkCursor {
  50% {
    border-right-color: transparent;
  }
}

@keyframes typeAndDelete {

  0%,
  10% {
    width: 0;
  }

  45%,
  55% {
    width: 10em;
  }

  /* adjust width based on content */
  90%,
  100% {
    width: 0;
  }
}

.terminal-loader {
  border: 0.1em solid #333;
  background-color: #1a1a1a;
  color: #0f0;
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
  padding: 1.5em 1em;
  width: 12em;
  margin: 15em 0 5em 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.terminal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5em;
  background-color: rgb(34, 40, 49);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 0 0.4em;
  box-sizing: border-box;
}

.terminal-controls {
  float: right;
}

.control {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin-left: 0.4em;
  border-radius: 50%;
  background-color: #777;
}

.control.close {
  background-color: #e33;
}

.control.minimize {
  background-color: #ee0;
}

.control.maximize {
  background-color: #0b0;
}

.terminal-title {
  float: left;
  line-height: 1.5em;
  color: #eee;
}

.text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.2em solid green;
  /* Cursor */
  animation: typeAndDelete 4s steps(11) infinite,
    blinkCursor 0.5s step-end infinite alternate;
  margin-top: 1.5em;
}


.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  min-height: auto;
}

.title {
  color: white;
  font-family: "Reem Kufi", sans-serif;
  font-weight: 500;
  font-size: 20px;
  align-items: center;
  margin-top: 2em;
  margin-bottom: 2em;
  transition: 0.7s ease;
  padding: 10px 20px 15px 20px;
}

.title:hover {
  color: #eee;
  cursor: pointer;
  transform: scale(1.1);
}

.calculate {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  text-align: right;
  direction: rtl;
  font-family: "Reem Kufi", sans-serif;
  margin-right: 6em;
  margin-left: auto;
  margin-bottom: 2em;
  border: rgb(82, 79, 79) 7px solid;
  border-radius: 20px;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: rgb(41, 41, 41);
}

.calculate h2 {
  color: #eee;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  margin-right: 20px;
  margin-left: 10px;
  background-color: rgb(41, 41, 41);
  transition: 0.7s ease;
}

.calculate h2:hover {
  color: #e1b832;
  transform: scale(1.1);
}

.calculate p {
  color: #e1b832;
  font-family: "Reem Kufi", sans-serif;
  padding: 10px 10px;
  background-color: rgb(41, 41, 41);
}

.input {
  width: 100px;
  padding: 10px;
  border: none;
  border-radius: 4px;
  box-shadow: 2px 2px 7px 0 rgb(0, 0, 0, 0.2);
  outline: none;
  color: rgb(255, 255, 255);
  margin: 10px 10px;
}

.input:invalid {
  animation: justshake 0.3s forwards;
  color: rgb(254, 19, 19);
}

@keyframes justshake {
  25% {
    transform: translateX(5px);
  }

  50% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }

  100% {
    transform: translateX-(5px);
  }
}

.ui-btn {
  --btn-default-bg: rgb(41, 41, 41);
  --btn-padding: 15px 20px;
  --btn-hover-bg: rgb(51, 51, 51);
  --btn-transition: .3s;
  --btn-letter-spacing: .1rem;
  --btn-animation-duration: 1.2s;
  --btn-shadow-color: rgba(0, 0, 0, 0.137);
  --btn-shadow: 0 2px 10px 0 var(--btn-shadow-color);
  --hover-btn-color: #FAC921;
  --default-btn-color: #fff;
  --font-size: 10px;
  /* 👆 this field should not be empty */
  --font-weight: 600;
  --font-family: Menlo, Roboto Mono, monospace;
  /* 👆 this field should not be empty */
}

/* button settings 👆 */

.ui-btn {
  box-sizing: border-box;
  padding: var(--btn-padding);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-btn-color);
  font: var(--font-weight) var(--font-size) var(--font-family);
  background: var(--btn-default-bg);
  border: none;
  cursor: pointer;
  transition: var(--btn-transition);
  overflow: hidden;
  box-shadow: var(--btn-shadow);
  margin: 10px 10px;
}

.ui-btn span {
  letter-spacing: var(--btn-letter-spacing);
  transition: var(--btn-transition);
  box-sizing: border-box;
  position: relative;
  background: inherit;
}

.ui-btn span::before {
  box-sizing: border-box;
  position: absolute;
  content: "";
  background: inherit;
}

.ui-btn:hover,
.ui-btn:focus {
  background: var(--btn-hover-bg);
}

.ui-btn:hover span,
.ui-btn:focus span {
  color: var(--hover-btn-color);
}

.ui-btn:hover span::before,
.ui-btn:focus span::before {
  animation: chitchat linear both var(--btn-animation-duration);
}

@keyframes chitchat {
  0% {
    content: "#";
  }

  5% {
    content: ".";
  }

  10% {
    content: "^{";
  }

  15% {
    content: "-!";
  }

  20% {
    content: "#$_";
  }

  25% {
    content: "№:0";
  }

  30% {
    content: "#{+.";
  }

  35% {
    content: "@}-?";
  }

  40% {
    content: "?{4@%";
  }

  45% {
    content: "=.,^!";
  }

  50% {
    content: "?2@%";
  }

  55% {
    content: "\;1}]";
  }

  60% {
    content: "?{%:%";
    right: 0;
  }

  65% {
    content: "|{f[4";
    right: 0;
  }

  70% {
    content: "{4%0%";
    right: 0;
  }

  75% {
    content: "'1_0<";
    right: 0;
  }

  80% {
    content: "{0%";
    right: 0;
  }

  85% {
    content: "]>'";
    right: 0;
  }

  90% {
    content: "4";
    right: 0;
  }

  95% {
    content: "2";
    right: 0;
  }

  100% {
    content: "";
    right: 0;
  }
}

footer{
    background-color: #fdf1f1;
}
.footerContainer{
    width: 100%;
    padding: 30px 30px 20px ;
}
.socialIcons{
    display: flex;
    justify-content: center;
}
.socialIcons a{
    text-decoration: none;
    padding:  10px;
    background-color: transparent;
    margin: 10px;
    border-radius: 50%;
}
.socialIcons a i{
    font-size: 2em;
    color: black;
    opacity: 0,9;
}
/* Hover affect on social media icon */
.socialIcons a:hover{
    background-color: transparent;
    transition: 0.5s;
}
.socialIcons a:hover i{
    color: white;
    transition: 0.5s;
}
.footerBottom{
    background-color: rgb(34, 40, 49);
    padding: 20px;
    text-align: center;
}
.footerBottom p{
    color: white;
}
.designer{
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}
.disclaimer{
  display: flex;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 10px 10px;
  margin-bottom: 10px;

}
@media (max-width: 700px){
    .footerNav ul{
        flex-direction: column;
    }
     }
    .socialIcons a{
        padding: 8px;
        margin: 4px;
    }
.container1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  min-height: auto;
}




