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

body {
  font-family: "Open Sans", sans-serif;
}

.main {
  background-color: #32467f;
  border: 3px #32467f solid;
  border-radius: 10px;
  overflow: hidden;
}

.main .title {
  text-align: center;
  color: white;
  font-size: 1.75rem;
  padding: 1rem;
  font-weight: 400;
}

.region-display {
  margin: 1rem;
  color: #32467f;
  font-weight: 600;
}

.inline {
  display: inline;
}

.block {
  display: block;
}

.width-50 {
  width: 50%;
}

.adjust-margin {
  margin-top: 0.5rem;
  background-color: #f2f2f2;
  padding: 0.5rem;
  border-radius: 5px;
}

.mode-explanation {
  text-align: center;
}

.block-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 15vh;
  background-color: #fcf8f8;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
}

.block-wrapper-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.block-wrapper--large {
  height: 20vh;
}

.block-wrapper--small {
  height: 13vh;
}

.block-wrapper .adjust-position {
  position: absolute;
  top: 50%;
  left: 75%;
  -webkit-transform: translate(50%, -40%);
          transform: translate(50%, -40%);
}

.button-copy {
  color: #5e5e5e;
  background-color: white;
  font-size: 1.5rem;
  margin: 0.6rem;
  -webkit-transform: translateX(20%);
          transform: translateX(20%);
}

.button-convert {
  margin: 1rem;
  padding: 1rem 2rem;
  border-radius: 30px;
  border: none;
  text-align: center;
  color: white;
  background-color: #32467f;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 12rem;
}

.button-convert:active {
  -webkit-box-shadow: 0 5px 10px #aaaaaa;
          box-shadow: 0 5px 10px #aaaaaa;
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
}

.button {
  margin: 1rem;
  padding: 1rem 2rem;
  border-radius: 30px;
  border: none;
  text-align: center;
  color: white;
  background-color: #32467f;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 12rem;
}

.button:active {
  -webkit-box-shadow: 0 5px 10px #aaaaaa;
          box-shadow: 0 5px 10px #aaaaaa;
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
}

.result__dropdown {
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #c0c5c7;
}

input[type="text"] {
  display: inline;
  border-radius: 2px;
  border: none;
  padding: 1rem 0.5rem;
  width: 10rem;
  margin: 0.6rem 0.3rem;
  border: lightgray solid 1px;
}

input[type="text"]:focus {
  -webkit-box-shadow: 0 0 10px #79a1bb;
          box-shadow: 0 0 10px #79a1bb;
}

.content .input-field--small {
  padding: 0.75rem 0.5rem;
}

.line {
  border-bottom: rgba(211, 211, 211, 0.521) 1px solid;
}

.multiply,
.plus,
.equals {
  display: inline-block;
  margin: 0.5rem;
}

.result {
  width: 20rem !important;
  text-align: center;
}

.fa-exchange-alt {
  margin: 0.2rem;
  padding: 0.5rem;
  border-radius: 20px;
}

.fa-exchange-alt:active {
  -webkit-box-shadow: 0 5px 10px #e4e4e4;
          box-shadow: 0 5px 10px #e4e4e4;
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
}

.text-area {
  margin: 1rem;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #c8c8c8;
  -webkit-box-shadow: 0 5px 10px gainsboro;
          box-shadow: 0 5px 10px gainsboro;
}

.toggle {
  position: relative;
  background-color: gray;
  border-radius: 20px;
  width: 3rem;
  height: 1.85rem;
  margin: 1rem;
}

.toggler {
  position: absolute;
  top: 50%;
  background-color: white;
  border-radius: 100%;
  width: 1.5rem;
  height: 1.5rem;
  -webkit-transform: translate(12%, -50%);
          transform: translate(12%, -50%);
  -webkit-transition: 200ms -webkit-transform;
  transition: 200ms -webkit-transform;
  transition: 200ms transform;
  transition: 200ms transform, 200ms -webkit-transform;
}

.toggled {
  background-color: #365088;
}

.question-mark {
  margin: 1rem;
  padding: 0.25rem 0.52rem;
  background-color: #e4e4e4;
  border-radius: 100%;
  color: #2e2d2d;
}

.tooltip {
  position: relative;
}

.tooltip::after {
  --scale: 0;
  content: attr(data-tooltip);
  position: absolute;
  top: -1.4rem;
  left: 50%;
  background-color: #333333e6;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  -webkit-transform: translate(-50%, -100%) scale(var(--scale));
          transform: translate(-50%, -100%) scale(var(--scale));
  font-size: 0.8rem;
  color: white;
  font-family: "Open Sans", sans-serif;
  padding: 0.5rem;
  text-align: center;
  border-radius: 5px;
  font-weight: 400;
  -webkit-transition: 150ms -webkit-transform;
  transition: 150ms -webkit-transform;
  transition: 150ms transform;
  transition: 150ms transform, 150ms -webkit-transform;
  -webkit-transform-origin: bottom center;
          transform-origin: bottom center;
}

.tooltip:hover::after {
  --scale: 1;
}

.tooltip-long::after {
  width: 15rem;
}

.navbar {
  background-color: #32467f;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.navbar__logo {
  color: white;
  font-size: 1.25rem;
  list-style: none;
  font-weight: 600;
  border-radius: 5px;
  padding: 0.6rem 1rem;
}

.navbar__logo i {
  padding: 0.5rem;
}

.navbar__links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.navbar__links .navbar__element {
  text-decoration: none;
  color: white;
  padding: 0 1rem;
  font-size: 1rem;
  padding: 1rem 1.5rem;
}

.navbar__links .navbar__element:hover {
  color: #6badc4;
}

.navbar__links li {
  list-style: none;
}

.exchange-rate__input {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.about-me__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 92.5vh;
}

.about-me__introduction {
  font-size: 1.1rem;
  background-color: #f2f2f2;
  margin: 5rem 25rem;
  line-height: 2rem;
  border-radius: 5px;
  padding: 5rem 4rem;
}

.calc-and-exch__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #fcf8f8;
  height: 92.5vh;
  position: relative;
}

@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .container .main {
    width: 70% !important;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .container .main {
    width: 70% !important;
  }
  .container .main .question-mark-top {
    margin: 2rem !important;
  }
  .container .main .question-mark-bottom {
    margin: 1rem 3rem !important;
  }
}

@media only screen and (max-width: 769px) {
  .container .main {
    width: 80% !important;
  }
  .container .main .block-wrapper .button-copy {
    margin: 0rem !important;
  }
  .container .main .block-wrapper .question-mark {
    margin: 0.5rem !important;
  }
  .container .main .block-wrapper .toggle {
    margin: 0.2rem !important;
  }
  .container .main .block-wrapper .question-mark-bottom {
    margin: 0.5rem 3.7rem !important;
  }
  .adjust-position {
    -webkit-transform: translate(50%, 0%) !important;
            transform: translate(50%, 0%) !important;
  }
}

.log__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-color: white;
  padding: 2rem;
}

.content {
  padding: 1.5rem;
  background-color: #fcf8f8;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
