section {
  padding: 100px 5%;
}

.hero {
  display: flex;
  flex-direction: column;
  height: auto;
  background-image: url("../assets/hero.svg");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: right 50px;
}

.hero-text-container {
  padding-top: 100px;
  max-width: 730px;
}

.hero-text-container h1 {
  font-size: 3.75rem;
}

.hero-text-container p {
  padding: 24px 0;
  font-size: 1.5rem;
  font-weight: 500;
  font-family: Raleway-Medium;
  line-height: 1.75rem;
}

.hero-details-container {
  padding: 15% 5% 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}


.hero-details-container div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 200px;
  text-align: center;
}

.hero-details-container img {
  height: 108px;
  width: 108px;
	cursor: default;
}

.hero-details-container p:first-of-type {
  padding: 20px 0;
  font-size: 2.75rem;
  font-weight: 700;
  font-family: Raleway-Bold;
}
.hero-details-container p:last-of-type {
  color: var(--light-blue);
  line-height: 1.75rem;
}

.about {
  padding-top: 0;
  padding-bottom: 15px;
  transform: skewY(-6deg);
  height: 640px;
  background-image: radial-gradient(98% 109%, #0A3049 0%, #042236 100%);
  box-shadow: 2px 2px 4px 4px #051F31;
  border-radius: 6px;
}

.about div {
  transform: skewY(6deg);
  padding-top: 150px;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-image: url("../assets/about_us.svg");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: right top;
}

.about h2 {
  font-size: 1.5rem;
  color: var(--light-blue);
  padding-bottom: 16px;
  font-family: Raleway-Medium;
}

.about p {
  max-width: 520px;
  color: var(--white);
  line-height: 1.75rem;
}

.about p:first-of-type {
  padding: 32px 0;
}

.details {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.details div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  text-align: center;
}

.details .line {
  height: 2px;
  width: 60px;
}

.engagement-line {
  background-color: var(--engagement-color);
}

.reliability-line {
  background-color: var(--reliability-color);
}

.security-line {
  background-color: var(--security-color);
}

.details img {
  height: 120px;
  width: 120px;
	cursor: default;
}

.details div p:first-of-type {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 8px 0;
  font-family: Raleway-Bold;
}

.details div p:last-of-type {
  color: var(--light-blue);
  line-height: 1.75rem;
  height: 160px;
}

.projects {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects h1 {
  font-weight: 700;
}

.projects .projects-subtitle {
  max-width: 624px;
  font-family: Raleway-Regular;
  line-height: 1.75rem;
}

.projects p {
  font-size: 1.5rem;
  padding: 24px 0 44px;
  font-family: Raleway-Bold;
}

.projects-first-subsection, .projects-second-subsection {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.projects-first-subsection img {
  width: 124px;
  height: 124px;
	cursor: default;
  padding-top: 10px;
}

.projects-second-subsection img {
  width: 124px;
  height: 124px;
	cursor: default;
  padding-top: 10px;
}

.projects-first-subsection, .projects-second-subsection p:first-of-type {
  font-size: 1.5rem;
  padding: 32px 0 24px;
  font-weight: 700;
  font-family: Raleway-Bold;
}

.projects-first-subsection div p:last-of-type {
  color: var(--light-blue);
  line-height: 1.75rem;
  font-size: 1rem;
  font-family: Raleway-Regular;
  padding: 0;
}

.projects-second-subsection div p:last-of-type {
  color: var(--light-blue);
  line-height: 1.75rem;
  font-size: 1rem;
  font-family: Raleway-Regular;
  padding: 0;
}


.projects-first-subsection .contributions-outline{
  border: 3px solid #0A3048;
  border-radius: 0 100px 100px 100px;
  margin-right: 36px;
}

.projects-first-subsection .contributions-container {
  max-width: 624px;
  height: 420px;
  padding: 40px 106px;
  margin: 20px -20px -40px 20px;
  background-image: radial-gradient(98% 109%, #0A3049 0%, #042236 100%);
  box-shadow: 2px 2px 4px 4px #051F31;
  border-radius: 100px 6px 100px 6px;
  border: 3px solid #0A3048;
}

.projects-first-subsection .wallet-outline {
  border: 3px solid #0A3048;
  border-radius: 100px 0 100px 100px;
  margin-left: 20px;
}

.projects-first-subsection .wallet-container {
  max-width: 624px;
  height: 420px;
  padding: 40px 106px;
  margin: 20px 20px -40px -20px;
  background-image: radial-gradient(98% 109%, #042236 0%, #0A3049 100%);
  box-shadow: 2px 2px 4px 4px #051F31;
  border-radius: 6px 100px 6px 100px;
}

.projects-second-subsection {
  margin-top: 86px;
}

.projects-second-subsection .security-outline {
  border: 3px solid #0A3048;
  border-radius: 100px 100px 100px 0;
  margin-right: 36px;
}

.projects-second-subsection .security-container {
  max-width: 624px;
  height: 420px;
  padding: 40px 106px;
  margin: -40px -20px 20px 20px;
  background-image: radial-gradient(98% 109%, #042236 0%, #0A3049 100%);
  box-shadow: 2px 2px 4px 4px #051F31;
  border-radius: 6px 100px 6px 100px;
}

.projects-second-subsection .bots-outline {
  border: 3px solid #0A3048;
  border-radius: 100px 100px 0 100px;
  margin-left: 20px;
}

.projects-second-subsection .bots-container {
  max-width: 624px;
  height: 420px;
  padding: 40px 106px;
  margin: -40px 20px 20px -20px;
  background-image: radial-gradient(98% 109%, #042236 0%, #0A3049 100%);
  box-shadow: 2px 2px 4px 4px #051F31;
  border-radius: 100px 6px 100px 6px;
}

.bots-container li {
  color: var(--light-blue);
  line-height: 1.75rem;
  font-size: 1rem;
  font-family: Raleway-Regular;
  padding: 0;
  list-style: none;
}

.infrastructure {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 600px;
  background-image: url("../assets/map.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.infrastructure h1 {
  padding: 0 16px;
}

.infrastructure p {
  color: var(--light-blue);
  font-size: 1.5rem;
}

.infrastructure img {
  width: 136px;
  height: 34px;
  padding: 0 0 16px;
	cursor: default;
}

.infrastructure .infrastructure-details-container {
  padding-top: 44px;
  width: 40%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.infrastructure .infrastructure-details-container div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 136px;
  text-align: center;
  padding: 0 36px;
}

.infrastructure .infrastructure-details-container p:first-of-type {
  padding-top: 0;
  color: var(--white);
  font-size: 3rem;
  font-family: Raleway-Bold;
}

.infrastructure .infrastructure-details-container p:last-of-type {
  padding-top: 8px;
  font-size: 1rem;
}

.infrastructure button {
  margin-top: 40px;
  width: 175px;
}

.network {
  padding: 0;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.network .network-details-outline {
  border: 3px solid #0A3048;
  border-radius: 100px 6px 100px 6px;
}


.network .network-details-container {
  min-width: 624px;
  min-height: 430px;
  margin: 20px -20px -40px 20px;
  background-image: radial-gradient(98% 109%, #0A3049 0%, #042236 100%);
  box-shadow: 2px 2px 4px 4px #051F31;
  border-radius: 100px 6px 100px 6px;
  border: 3px solid #0A3048;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.network-details-container img {
  width: 152px;
  height: 152px;
  padding: 0 40px 0;
	cursor: default;
}

.network-details-container div:last-of-type {
  max-width: 600px;
}

.network-details-container div:last-of-type p:first-of-type {
  color: var(--light-blue);
  font-size: 1.5rem;
}

.network-details-container div:last-of-type h1 {
  font-weight: 700;
  padding: 16px 0;
}

.network-details-container div:last-of-type .network-details-text {
  color: var(--light-blue);
  line-height: 1.75rem;
  padding: 0 0 16px 0;
}

.network-details-container button {
  width: 200px;
}

.social {
  height: auto;
}

.social .social-container {
  position: relative;
  height: 300px;
  background-image: radial-gradient(98% 109%, #0A3049 0%, #042236 100%);
  box-shadow: 2px 2px 4px 4px #051F31;
}

.contact-left, .contact-right {
  position: absolute;
  width: 284px;
  height: auto;
}

.social-container .contact-left {
  top: 0;
  left: 0;
}

.social-container .contact-right {
  bottom: 0;
  right: 0;
}

.social-container .social-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

.social-container .social-content p:first-of-type {
  color: var(--light-blue);
  font-size: 1.5rem;
}

.social-container .social-content p:last-of-type {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: Raleway-Bold;
}

.social-container .social-content a {
  font-size: 1.15rem;
  color: var(--yellow);
  text-decoration: underline;
  font-family: Raleway-Bold;
}

.social-container .social-content .social-icons {
  margin: 24px 0 32px;
}

.social-content .social-icons a, img {
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 0;
}

.social-container .social-content .social-icons a:nth-child(2) {
  padding: 0 16px;
}

.modal-window {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  background-color: var(--dark-blue);
  padding: 20px;
  width: 80%;
}

.modal-window:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal-window .modal-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  width: 420px;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2.5rem 2rem 1.75rem;
  background: var(--dark-blue);
  text-align: center;
  border-radius: 6px;
}
.modal-window div button {
  width: 120px;
  font-size: 1rem;
}
.modal-window div p {
  padding: 24px 0 16px;
  color: var(--light-blue);
  line-height: 1.75rem;
}

.modal-window .modal-content a {
  font-family: Raleway-Bold;
  text-decoration: none;
}

.modal-window div img {
  height: 24px;
  width: 24px;
  margin: 0 3px;
}

.modal-close {
  color: var(--white);
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}

.modal-close:hover {
  color: black;
}

.liquid-stake-button {
  margin-left: 10px;
  color: white;
  border-color: #8ecaf2;
  background-color: #0A3049;
}

.hero-text-container div{
  float: left;
  clear: none;
}

.button-apr-info {
  position: relative;
  text-align: left;
  padding-top: 20px;
  padding-left: 25px;
}

.inner1 {
  float:left;
}

.inner2{
  float:left;
  clear: left;
}

@media (max-width: 400px) {
  .button-header-margin-left {
    margin-left: 10px;
  }

  .button-header-margin-top {
    margin-top: 20px;
  }
}