header{
  background-color: var(--color-index-header-background);
  background-image: url(/static/img/header_bg.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: right;
  display: flex;
  flex-wrap: wrap;
  color: var(--color-header-text);
  padding: 10px;
  height: 500px;
}

nav{
  width: 100%;
  font-size: 26px;
  display: flex;
  align-items: center;
  height: 40px;
  margin: 20px 0px 0px 30px;
}

section{
  width: 100%;
  display: flex;
}

button{
  width: 70%;
  border: none;
  border-radius: 4px;
  color: #fff;
  padding: 10px;
  font-size: 18px;
  background-color: var(--color-index-button);
}

button:hover{
  background-color: var(--color-index-button-hover);
  cursor: pointer;
}

.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  width: 340px;
  font-size: 24px;
  font-weight: normal;
}

.header-text{
  width: 50%;
  font-size: 36px;
  padding-left: 30px;
  text-align: initial;
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);;
}

.common-section{
  display: flex;
  flex-wrap: wrap;
  padding: 30px 5% 0px 5%;
  justify-content: space-between;
  font-size: 20px;
}

.common-section.forwho{
  justify-content: center;
  align-items: center;
}


.common-section.join-now{
  justify-content: center;
  gap: 10%;
  margin: auto;
}

.common-section.contacts{
  justify-content: center;
  gap: 10%;
  margin: auto auto 40px auto;
}

.common-section-label{
  width: 100%;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
}

.nav-links{
  list-style: none;
  display: flex;
  gap: 30px;
  font-size: 16px;
  margin: 0px 30px 0px auto;
}

.nav-links li a{
  text-decoration: none;
  color: #fff;
  font-size: 24px;
  transition: color 0.2s;
}

.nav-links li a:hover{
  color: #aad8ff;
}

.advantages-elem, .howitworks-elem{
  width: 30%;
  min-height: 240px;
  background-color: rgba(120, 166, 221, 0.15);
  border-radius: 10px;
  text-align: center;
  font-size: inherit;
  padding: 0px 10px 10px 10px;
}

.forwho-elem {
  width: auto;
  min-height: 180px;
  background-color: rgba(120, 166, 221, 0.15);
  border-radius: 10px;
  text-align: center;
  font-size: inherit;
  padding: 0px 10px 10px 10px;
  display: flex;
  justify-content: center;
}

.forwho-elem > p{
  width: 70%;
  height: min-content;
  margin: auto;
  text-align: initial;
}

.join-now-elem{
  width: 30%;
  min-height: 180px;
  background-color: rgba(120, 166, 221, 0.15);
  border-radius: 10px;
  text-align: center;
  font-size: inherit;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contacts-elem{
  width: 30%;
  min-width: 500px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  font-size: inherit;
  padding: 20px;
  margin: 0 0 20px 0;
  background-color: rgba(120, 166, 221, 0.15);
  border-radius: 10px;
}

.contacts-elem-label{
  text-align: center;
}

.contacts-elem-contact > a:link{
  color: var(--color-index-header-background);
  background-color: transparent;
  text-decoration: none;
}

.contacts-elem-contact > a:visited{
  color: var(--color-index-header-background);
}

.join-now-elem > p{
  margin: auto 0px auto 0px;
}

.join-now-elem > button{
  width: 70%;
  margin: 10px auto 0px auto;
}

.advantages-elem-img, .howitworks-elem-img{
  width: 150px;
}

.forwho-elem-img{
  width: 200px;
  height: 140px;
  margin: auto 0 auto 0;
}

@media only screen and (max-width: 1000px){
  .common-section{
    font-size: 26px;
  }
  .common-section-label{
    font-size: 36px;
  }
  .join-now-elem{
    width: 45%;
    gap: 5%;
  }
  .join-now-elem > button{
    font-size: 26px;
  }
}