@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@500&family=Poppins:wght@200&family=Share+Tech+Mono&display=swap');


:root {
  --primary-color: #01b16a;
  --red: rgb(216, 0, 0);
  --white: rgb(255, 255, 255);
  --blue: rgb(2, 88, 218);
  --grey: rgb(109, 109, 109);
  scroll-behavior: smooth;

}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  border: 7px solid rgb(187, 0, 0);
  border-bottom:none;
  /* linear-gradient(0deg, rgb(187, 0, 0), rgb(4, 85, 177)); */
  margin: auto;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
}

#death-graph {
  z-index: -1;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  opacity: 0.3;
  display: none;
}

body {
  background-color: #f4f4f4;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* overflow: hidden; */
  height: 100vh;
  margin: 0;
  margin-top: 12px;
  padding: 11px;
  background-image: url("../images/usaflag.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  
}
/* Scrollbars */
/* width */
::-webkit-scrollbar {
  width: 20px;
  background: var(-blue);
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px var(--blue);
  border-radius: 10px;
  background-color: var(--blue);
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: red; 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #b30000; 
}
/* End of: Scrollbars */
.refresh {
  position: absolute;
  top: 2%;
  right: 2%;
  cursor: pointer
}
#refresh:hover {
  -webkit-animation: bounce-out 2s ease 0s 1 normal;
  -moz-animation: bounce-out 2s ease 0s 1 normal;
  -ms-animation: bounce-out 2s ease 0s 1 normal;
  animation: bounce-out 2s ease 0s 1 normal;
}


#calculator-page {
  position: absolute;
  top: 2%;
  left: 2%;
  height: 140px;
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  transition: transform .7s ease-in-out;
  transform-style: preserve-3d;
}

#calculator-page:hover {
  -webkit-animation: bounce-out 2s ease 0s 1 normal;
  -moz-animation: bounce-out 2s ease 0s 1 normal;
  -ms-animation: bounce-out 2s ease 0s 1 normal;
  animation: bounce-out 2s ease 0s 1 normal;
}

h1 {
  color: var(--blue);
  font-size: 2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  position: relative;
  left: 4%;
}

p {
  text-align: center;
  color: var(--blue);
  font-weight: 600;
  position: relative;
  top: -2%;
  box-shadow: inset;
  border: 1px solid black;
  padding-left: 4px;
  padding-right: 4px;

}

.symbol-top {
  color: var(--red);
  font-size: 3rem;

}

.symbol {
  color: var(--primary-color);
  font-size: 1.7rem;
  -webkit-text-stroke: .1px rgb(228, 5, 5);
}

.solo-bar {
  position: relative;
  top: 6px;

}

.btn {
  position: relative;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid black;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3em;
  padding: 4px 7px;
  margin-bottom: 26px;
  transition: color .1s ease-in-out;
  font-weight: 550;
  left: 8px;
}

.select-box-usa,
.select-box-israel {
  margin-left: 12px;
}

.btn:hover {
  color: rgb(0, 0, 0);
  background: var(--blue);
  font-weight: 600;
}

#spin-icon {
  /* position:fixed; */
  top: 55%;
  left: 48%;
  width: 120px;
}

.spin-img {
  position: absolute;
  margin-top: 7px;
  left: 25%;
  width: 140px;
  transition: transform .7s ease-in-out;
  cursor: pointer;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  border: 1px solid black;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-color: #ccc; */
  -webkit-transition: .4s;
  transition: .4s;
  border: 1px solid black;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--red);
  -webkit-transition: .4s;
  transition: .4s;
  /* border:1px solid black; */
}

input:checked+.slider {
  background-color: var(--blue);
}

input:focus+.slider {
  box-shadow: 0 0 1px var(--blue);
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


.toggle-music-container {
  position: absolute;
  bottom: 0%;
  left: 2%;
  font-size: 1.4rem;
  font-family: 'Poppins', sans-serif;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 2px;
}

.toggle-img-container {
  position: absolute;
  bottom: 0%;
  right: 2%;
  font-size: 1.4rem;
  font-family: 'Poppins', sans-serif;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 2px;

}

/* End Of: Custom Checkboxes */

/* Start Of: Custom Social Media Icons */
ul {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  display: flex;
}

ul li {
  list-style: none;
}

ul li a {
  position: relative;
  width: 66px;
  height: 66px;
  background: #f1f1f1;
  display: block;
  text-align: center;
  margin: 0 10px;
  border-radius: 50%;
  padding: 6px;
  box-sizing: border-box;
  text-decoration: none;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
  background: linear-gradient(0deg, #ddd, #fff);
  transition: .5s;
}

ul li a:hover {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  font-size: 3rem;
  -webkit-animation:elastic 2s ease 0s 1 normal;
  -moz-animation:elastic 2s ease 0s 1 normal;
  -ms-animation:elastic 2s ease 0s 1 normal;
  animation:elastic 2s ease 0s 1 normal;

}

ul li a .fa {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(0deg, #fff, #ddd);
  border-radius: 50%;
  line-height: calc(60px - 12px);
  font-size: 34px;
  color: #262626;
  transition: .5s;
  padding-top: 3px;
}

ul li:nth-child(1) a:hover .fa {
  color: #3b5998;
  /* facebook */
}

ul li:nth-child(2) a:hover .fa {
  color: #bb0000;
  /* youtube */
}

ul li:nth-child(3) a:hover .fa {
  color: #00aced;
  /* twitter */
}

ul li:nth-child(4) a:hover .fa {
  color: #dd4b39;
  /* google plus */
}

ul li:nth-child(5) a:hover .fa {
  color: #007bb6;
  /* linkedin */
}

ul li:nth-child(6) a:hover .fa {
  color: #b26a8d;
  /* instagram*/
}

/* End Of: Custom Social Media Icons */














/* NOT CURRENTLY IN USE */
/* label {
  font-family: 'Poppins' ;
  font-weight: 600;
  color:var(--blue);
}
#from {
  font-weight: 500;
}
.fromto{
  position:relative;
  top:0%;
 border:none;
  width:22px;
} */


.spin-img:hover {
  transform: rotate(360deg);

}

#dollar-symbol {
  width: 85px;
  position: relative;
  top: 38px;
  padding-right: 10px;
}

.amount {
  padding-left: 7px;
}

.currency {
  padding: 20px 7px 7px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 34px;
  padding-top: 7px;

}

.select-box {
  width: auto;
}

.select-box img {
  max-width: 66px;
}


.currency select {
  padding: 10px 20px 10px 10px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #131212;
  font-size: 16px;
  cursor: pointer;
  background: transparent;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%20000002%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  background-position: right 10px top 50%, 0, 0;
  background-size: 17px auto, 100%;
  background-repeat: no-repeat;
}

.currency input {
  border: 1.5px solid #131212;
  background: transparent;
  background-color: #0762b8;
  font-size: 30px;
  color: var(--white);
  text-align: right - 4px;
  cursor: pointer;
}

.currency input:hover {
  cursor: pointer;
  background-color: red;
}

select,
option {
  width: 100px;
  cursor: pointer;
  margin: 0 -5px 0 5px;
  background-color: rgb(255, 255, 255);
}

.currency select::-webkit-scrollbar {
  width: 12px;
  cursor: pointer;
}

.currency select::-webkit-scrollbar-track {
  background: rgb(189, 1, 1);
  cursor: pointer;
}

.currency select::-webkit-scrollbar-thumb {
  background: rgb(18, 59, 146);
  border-radius: 8px;
  border-right: 1.5px solid #ffffff;
  cursor: pointer;
}

.currency select::-webkit-scrollbar-thumb:hover {
  cursor: pointer;
}

;

#currency-one {
  cursor: pointer;
}

.currency-symbol {
  color: #0762b8;
  font-weight: 500;
  font-size: 1.5rem;
}

.currency-symbol-drop {
  color: #003bdf;
  font-weight: 500;
  font-size: 1rem;
}

.container {
  position: absolute;
  top: 7%;
  background-color: var(--white);
  border-radius: 12%;
  border: .5px solid rgb(44, 44, 44);
  padding: 10px;
  box-shadow: 5px 7px .5px rgb(0, 0, 0);

}

.description-container {
  position: relative;
  text-align: center;
  color: var(--blue);
  font-weight: 600;
  position: absolute;
  border-top-right-radius: 22%;
  border-top-left-radius: 22%;
  top: 14%;
  left: 1%;
  /* background-color: var(--white); */
  border-top-left-radius: 2%;
  border-top-right-radius: 2%;
  /* box-shadow: 2px 2px .5px rgb(70, 70, 70); */
}

.swap-rate-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3em;
}

#swap-icon {
  z-index: 11;
  cursor: pointer;
  position: relative;
  left: 7px;
  font-size: 3rem;
  color: var(--red);
  transition: color .5s ease-in-out;
}

#swap-icon:hover {
  color: var(--blue);
}

.rate {
  color: var(--primary-color);
  font-size: 22px;
  font-weight: 600;
  padding: 0 10px;
}

select:focus,
input:focus,
button:focus {
  outline: 0;
}

#embed-flags {
  position: absolute;
  border: 7px double red;
  box-shadow: inset;
  display: flex;
  align-items: center;
  top: 100%;
  text-transform: (-50%, -50%);
}

/* End Of: Custom Checkboxes */

.wrapper {
  position: absolute;
  display:flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--blue);
  width: 25%;
  padding: 4px 7px;
  top: 12%;
  background-color: rgb(235, 3, 3);
  border-radius: 12px;
  box-shadow: 5px 10px inset;
  display: none;

}

.static-flag {
  cursor: pointer;
}

.fas {
  position: relative;
  font-size: 2.3rem;
  color: var(--red);
  transition: color .2s ease-in;
  transition: scale .3 all;
  top: 14px;
}

.fas:hover {
  font-size: 2.6rem;
  color: var(--blue);
  scale: 2;
  -webkit-animation:rotate 1s ease 0s 1 normal;
-moz-animation:rotate 1s ease 0s 1 normal;
-ms-animation:rotate 1s ease 0s 1 normal;
animation:rotate 1s ease 0s 1 normal;
}

.amountfromto {
  position: relative;
  /* display:inline-block; */
  border: none;
  left: 0%;
}

::selection {
  color: #fff;
  background: #675AFE;
}

.wrapper {
  width: 370px;
  padding: 30px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.05);
}

.wrapper header {
  font-size: 22px;
  font-weight: 550;
  text-align: center;
  color: var(--blue);
  margin-top:11px;
}

.wrapper form {
  margin: 40px 0 20px 0;
}

#usa {
  position: absolute;
  left: 40%;
  text-align: center;
  margin-top: -7px;
  padding-bottom: 7px;

}

#static-usa {
  border: 2px dashed blue;
  box-shadow: inset;
  cursor: pointer;
  /* display:block; */
}
#static-usa:hover {
  -webkit-animation:appear 1s ease 0s 1 normal;
-moz-animation:appear 1s ease 0s 1 normal;
-ms-animation:appear 1s ease 0s 1 normal;
animation:appear 1s ease 0s 1 normal;
}

.bar-connector {
  z-index: 200;
  top: 2%;
  left: 65%;
  background-color: black;
  height: 40px;
  width: 222px;
}

form {
  background-color: var(--white);
  /* background: linear-gradient(0deg, #fff, #ddd); */
  box-shadow: 2px 2px inset;
  border: 2px solid black;
}

form :where(input, select, button) {
  width: 100%;
  outline: none;
  border-radius: 5px;
  border: none;
}

form p {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--blue);
  font-weight: 600;
}

form input {
  height: 50px;
  font-size: 17px;
  padding: 0 15px;
  border: 1px solid #999;
}

form input:focus {
  padding: 0 14px;
  border: 2px solid var(--red);
}

form .drop-list {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
}

.drop-list .select-box {
  display: flex;
  width: 115px;
  height: 45px;
  align-items: center;
  border-radius: 5px;
  justify-content: center;
  border: 1px solid var(--blue);
}

.select-box img {
  max-width: 21px;
}

.select-box select {
  width: auto;
  font-size: 16px;
  background: none;
  margin: 0 -5px 0 5px;
}

.select-box select::-webkit-scrollbar {
  width: 8px;
}

.select-box select::-webkit-scrollbar-track {
  background: var(--blue);
}

.select-box select::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 8px;
  border-right: 2px solid #ffffff;
}

.drop-list .icon {
  cursor: pointer;
  margin-top: 30px;
  font-size: 22px;
}

form .exchange-rate {
  font-size: 17px;
  color: var(--blue);
  font-weight: 600;
  margin: 20px 0 30px;
  text-align: center;
}

#eye_btn {
  position: relative;
  border: 1px solid black;
  display: flex;
  align-items: center;
  transform: translateX(-50%);
  left: 50%;
  text-align: center;
  margin-top: 7px;
  margin-bottom: 12px;
}

#eye:hover {
  -webkit-animation:zoom-in-out 1s ease-out 0s 1 normal;
  -moz-animation:zoom-in-out 1s ease-out 0s 1 normal;
  -ms-animation:zoom-in-out 1s ease-out 0s 1 normal;
  animation:zoom-in-out 1s ease-out 0s 1 normal;
}

#view-rate {
  text-align: center;
  letter-spacing: 1px;
  color: var(--red);
  font-family: Verdana, Geneva, Tahoma, sans-serif
}

form button {
  height: 52px;
  width: 140px;
  color: var(--white);
  font-size: 17px;
  cursor: pointer;
  background: var(--blue);
  transition: 0.3s ease;
  text-align: center;
}

form button:hover {
  background: var(--red);
  color: black;
  font-size: 1.5rem;
}

/* Object Embed  Flag Site*/
.embed-flag -webkit-scrollbar-button:single-button:vertical:decrement {
  border-color: transparent transparent #c40505 transparent;
}

.embed-flag::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
  border-color: transparent transparent white transparent;
}

.embed-flag::-webkit-scrollbar-button:single-button:vertical:increment {
  border-color: #0141a1 transparent transparent transparent;
}

.embed-flag::-webkit-scrollbar-button:single-button:vertical:increment:hover {
  border-color: white transparent transparent transparent;
}

/* Start of: Animations and Reference Guide */
/* 
@keyframes <NAME-OF-ANIMTION>{
  <KEY-POSITION> { <CSS-STYLE> }
 }
 animation: <NAME-OF-ANIMTION> <TOTAL-TIME> <TIMING> <START-DELAY> <REPEAT> <DIRECTION> 
 https://angrytools.com/css-generator/animation/
 */

.intro-enlarge{
  -webkit-animation:bounce-in 1s ease 0s 1 normal;
  -moz-animation:bounce-in 1s ease 0s 1 normal;
  -ms-animation:bounce-in 1s ease 0s 1 normal;
  animation:bounce-in 1s ease 0s 1 normal;
  }
  
  @-webkit-keyframes bounce-in {
  0%{ opacity: 0; -webkit-transform: scale(.3); transform: scale(.3); }
  50%{ opacity: 1; -webkit-transform: scale(1.0); transform: scale(1.0); }
  70%{ -webkit-transform: scale(0.9); transform: scale(0.9); }
  100%{ -webkit-transform: scale(1); transform: scale(1); }
  }
  
  @keyframes bounce-in {
  0%{ opacity: 0; transform: scale(.3); }
  50%{ opacity: 1; transform: scale(1.0); }
  70%{ transform: scale(0.9); }
  100%{ transform: scale(1); }
  }


/* Start of: Media Queriers */

@media (max-width: 600px) {
  .currency input {
    width: 200px;
  }
  ::-webkit-scrollbar-button:single-button:vertical:decrement {
    border-color: transparent transparent #c40505 transparent;
  }
  
  ::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
    border-color: transparent transparent white transparent;
  }
  
  ::-webkit-scrollbar-button:single-button:vertical:increment {
    border-color: #0141a1 transparent transparent transparent;
  }
  
  ::-webkit-scrollbar-button:single-button:vertical:increment:hover {
    border-color: white transparent transparent transparent;
  }

}