* {
  box-sizing: border-box;
}
body {
  font-family: "Roboto", sans-serif;
}
header, footer, main {
  display: flex;
  align-items: center;
  justify-content: center;
}
main {
  flex-direction: column;
}
header {
  position: sticky;
  top: 0;
  z-index: 11;
}
header, footer {
  height: 50px;
  background-color: #333333;
  color: #FFFFFF;
}
footer > .container {
  justify-content: flex-end;
}
.container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}
.main-section {
  padding: 60px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}
.main-section:nth-child(odd) {
  background-color: #F0F0F0;
}
.main-section > .container {
  flex-direction: column;
}
.section-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 25px;
}
.section-caption {
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 56px;
  text-align: center;
}
.logo {
  height: 20px;
}
.logo-name {
  margin-left: 7px;
  height: 19.5px;
}
.flex-spacer {
  width: 100%;
}
.header-footer-text {
  white-space: nowrap;
  font-size: 14px;
  margin-left: 30px;
  font-weight: 300;
  font-style: normal;
}
.navigator {
  cursor: pointer;
}
.navigator:hover {
  text-decoration: underline;
}
custom-input {
  width: 100%;
}
custom-input:not(:first-child) {
  margin-left: 30px;
}
.connect-details {
  display: flex;
  width: 100%;
}
.connect-details-bottom {
  margin-top: 30px;
}

/* Card Section */
.cards-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  row-gap: 30px;
  column-gap: 30px;
}
.card-block {
  width: 100%;
  max-width: 380px;
  min-width: 335px;
  background-color: #FFFFFF;
  border-radius: 10px;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,0.3));
  padding: 30px;
  transition: 0.3s;
}
.card-block:hover {
  transform: scale(1.1);
}
.card-block-hidden {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  padding: 0;
}
.card-icon {
  height: 96px;
  margin-bottom: 15px;
}
.card-small-title {
  font-weight: 500;
  font-size: 12px;
  margin-bottom: 5px;
}
.card-large-title {
  font-weight: 500;
  font-style: bold;
  font-size: 18px;
  margin-bottom: 20px;
}
.card-details {
  font-size: 16px;
}
/* Card Section */

/* Button Section */
.button-section {
  margin-top: 45px;
}
.button-section > button:last-child {
  margin-left: 30px;
}
button {
  height: 62px;
  width: 190px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s;
}
button:active {
  transform: scale(0.9);
}
.button-clear {
  color: #0F4AB2;
  border: 2px solid #0F4AB2;
}
.button-connect {
  background-color: rgba(15,74,178,1);
  color: white;
  border: none;
}
.button-connect:disabled {
  background-color: rgba(15,74,178,0.5);
  pointer-events: none;
}
/* Button Section */

/* Mobile navigation */
.navigator-background {
  background-color: #333333;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
}
.mobile-navigator-container {
  background-color: #333333;
  position: absolute;
  top: 100%;
  width: calc(100% + 40px);
  left: -20px;
  font-size: 14px;
  display: none;
  flex-direction: column;
  row-gap: 10px;
  padding: 15px;
  align-items: center;
  z-index: -2;
  transition: 0.3s;
}
.mobile-navigator-show {
  top: 100%;
}
.mobile-navigator-hide {
  top: -100%;
}
.mobile-burger {
  display: none;
  height: 12px;
  cursor: pointer;
  z-index: -5;
}
.mobile-burger-close {
  height: 18px;
  cursor: pointer;
  z-index: -5;
}
.mobile-menu-hide {
  opacity: 0;
}
.mobile-burger, .mobile-burger-close {
  position: absolute;
  right: 0;
  transition: 0.3s;
}
/* Mobile navigation */

@media only screen and (max-width: 1200px) {
  header, footer {
    padding: 0 20px;
  }
  .main-section {
    padding: 60px 20px;
  }
}

@media only screen and (max-width: 850px) {
  footer > .container {
    justify-content: center;
  }
  .header-footer-text {
    margin-left: 0;
  }
  .main-section {
    padding: 30px 20px;
  }
  .section-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .section-caption {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .cards-section {
    row-gap: 22px;
  }
  .card-large-title {
    font-size: 16px;
  }
  .card-details {
    font-size: 14px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-burger {
    display: block;
    z-index: 0;
  }
  .mobile-burger-close {
    z-index: 0;
  }
  .mobile-navigator-container {
    display: flex;
  }
  button {
    width: 155px;
    height: 52px;
    font-size: 16px;
  }
  .connect-details {
    flex-direction: column;
    row-gap: 15px;
  }
  .connect-details-bottom {
    margin-top: 15px;
  }
  custom-input:not(:first-child) {
    margin-left: 0;
  }
  .button-section {
    margin-top: 30px;
  }
}