html {
  overflow-y: initial;
  height: 100%;
}

body {
  overflow-x: hidden;
}

html,
body {
  padding: 0;
  margin: 0;

  font-family: "Montserrat", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

p {
  display: block;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

main {
  max-width: 80em;
  margin: 0 auto;
  padding: 0 1em;
}

section {
  position: relative;
  margin: 2em 0 4em;
}

body {
  background: url(../img/bg.jpg) no-repeat center center;
  background-size: cover;
}

body[lang="ar"] {
    font-family: "Cairo", sans-serif;
    font-size:18px;
  }

/**/

.languages {
  display: flex;
  list-style: none;
  padding: 0;
}
.languages li {
  display: block;
  margin-left: 0.5rem;
}
.languages__link{
    display:inline-block;
    transition: transform .3s ease;
}
.languages__link:hover {
    transform: translateY(-.25rem);

}

.languages__flag {
    max-width: 24px;
  }
/**/
.col-btn--left {
  text-align: right;
}
.col-btn--right {
}
/**/

.title__heading {
  color: white;
  font-weight: 500;
  letter-spacing: 5px;
  text-align: center;
  font-size: 1.3rem;
  text-transform:uppercase;
}

body[lang="ar"] .title__heading {
    letter-spacing: 0px;
    font-size: 2rem;
    font-weight:800;
    word-spacing: 5px;
}

.logo {
  text-align: center;

  margin-top: 6rem;
  margin-bottom: 6rem;
}
.logo__inner {
  display: inline-block;
  max-width: 32rem;
}
.logo__img {
  max-width: 100%;
}

/**/

/**/

.btn {
  padding: 0.5rem 1rem;
  color: white;
  background-color: #0c778e;
  font-size: 1.1rem;
  border-radius: 1rem;
  line-height: 1.2;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  min-width: 16rem;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  transition: background .3s ease;
}

.btn:hover {
    background-color:#ecc335;
}

main p {
  color: white;
}

.link {
  color: #ecc335;
}

.footer {
  margin-top: 5rem;
  text-align: center;
}
.footer p {
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.arabesco{
position:fixed;
width:100%;
}
.arabesco::before,
.arabesco::after {
  content: "";
  display: block;
  width: 512px;
  height: 512px;
  z-index: 1;
  position: absolute;
  top: calc(-1 * (512px / 2));
  background: transparent url(../img/arabesco--bankily.png) no-repeat center
    center;
  background-size: contain;
  animation: 60s linear 0s infinite normal none running rotate;
}

.arabesco::before {
top:6rem;
  left: calc(-1 * (512px / 2));
}
.arabesco::after {
    top:6rem;
  right: calc(-1 * (512px / 2));
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

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

@media only screen and (max-width: 1348px) {
    html {
        height:initial
    }
}
@media only screen and (max-width: 576px) {

  .grid--languages {
    justify-content: center !important;
    align-self: flex-center !important;
  }

  .languages li {
    margin-right: 0.5rem;
  }

  .arabesco::before{
    display:none;
  }
}
