* {
  --main-color-blue: #4557f4;
  --minor-color-blue: #49acee;
  --main-color-text: wheat;
  --footer-color: #3586ff;

  text-decoration: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--main-color-text);
}
html, body {
    height: 100%;
    background-color: linear-gradient(to right var(--main-color-blue), var(--minor-color-blue));
    font-family: 'Alkatra', cursive, Arial, sans-serif;
  }

  h1 { font-size: 32px;}
  h2 { font-size: 28px;}
  h3 { font-size: 24px;}
  P { font-size: 24px;}
  .top-nav {
    position: fixed;
    top:0;
    left:0;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color:  var(--minor-color-blue);
    background: linear-gradient(to left,var(--main-color-blue), var(--minor-color-blue));
    color: #FFF;
    height: 50px;
    padding: 1em;
    z-index: 5;
  }
  
  .menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  .menu > li {
    margin: 0 0.2rem;
    overflow: hidden;
  }
  .menu li a {
    display: block;
    padding: 11px 10px;
    text-decoration: none;
    border-radius: 5px;
    color: #fff;
    align-self: center;
  }
  .menu li a:hover {
    background-color:var(--minor-color-blue);
    transition: 200ms;
    color: black;
}
  .menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  #menu-toggle {
    display: none;
  }
  
  .menu-button,
  .menu-button::before,
  .menu-button::after {
    display: block;
    background-color: #fff;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
  }
  
  .menu-button::before {
    content: '';
    margin-top: -8px;
  }
  
  .menu-button::after {
    content: '';
    margin-top: 8px;
  }
  
  #menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(45deg);
  }
  
  #menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(250, 250, 250, 0);
  }
  
  #menu-toggle:checked + .menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-45deg);
  }
  

/*-----MAIN----*/
  .main-page {
    background-image: url(/img/7207687.jpg);
    background-color: var(--minor-color-blue);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 15vh;

    min-height: 300px;
    overflow: hidden;
}
/*------TAB---------*/

.tabs-tab {
  flex: 1;
  border-radius: 0 0 0 0;
}
.tabs-tab label {
  display: block;
  box-sizing: border-box;
  height: 40px;
  text-align: center;
  background: var(--main-color-blue);
  cursor: pointer;
  transition: 200ms;
  border-radius: 0 0 0 0;
  padding-top: 10px;
  border-radius: 55px;
  color: #fff;
}
.tabs-tab label:hover {
  background: rgba(8, 6, 29, 0.849);
  margin: auto;
}
.tab-content {
  position: absolute;
  top:40px; /*height in tabs-tab label*/
  left:0;
  right:0;
  bottom: 0;
  z-index: 2;

  transition: 500ms;

  min-height: 200px;
  overflow: hidden;

  opacity: 0;
  transform: scale(0.1);
  transform-origin: top left;
}
.tab-content-text {
  width: 98%;
  height:100%;
  margin: 1%;
}
.tabs-tab [type=radio] { 
  display: none; 
}
[type=radio]:checked ~ label {
  background: var(--minor-color-blue);
  z-index: 3;
}
[type=radio]:checked ~ label ~ .tab-content {
  z-index: 1;

  opacity: 1;
  transform: scale(1);
}

/*------FOOTER----------*/
  .f-body {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    min-height: 80vh;
  }
  
  .footer {
    display: flex;
    position: relative;
    width: 100%;
    background: var(--footer-color);
    min-height: 100px;
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .menu__link:hover {
    opacity: 1;
  }
  .part1 h3, .part2 h3 {
    color: #fff;
  }

  .footer p {
    color: #fff;
    margin: 15px 0 10px 0;
    font-size: 1rem;
  }
  
  .wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("/img/wave.png");
    background-size: 1000px 100px;
  }
  .part-all {
    display: flex;
    width: 50%;
    background-color: var(--footer-color);
    justify-content: center;
  }
  .part1, .part2 {
    display: grid;
    width:60%;
    justify-items: center;
  }
  .part1 {
    width:40%;
  }
  
/*footer waves*/
.wave#wave1 {
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
  z-index: 3;
}

.wave#wave2 {
  z-index: 2;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.wave#wave3 {
  z-index: 3;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
  z-index: 3;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

  /*-----MEDIA-----*/

  @media (max-width: 990px) {
    .menu-button-container {
      display: flex;
    }
    .menu {
      position: absolute;
      top: 0;
      margin-top: 50px;
      left: 0;
      flex-direction: column;
      width: 100%;
      justify-content: center;
      align-items: center;
    }
    #menu-toggle ~ .menu li {
      height: 0;
      margin: 0;
      padding: 0;
      border: 0;
      transition: height 500ms cubic-bezier(0.23, 1, 0.32, 1);
    }
    #menu-toggle:checked ~ .menu li {
      height: 2.5em;
      padding: 0.5em;
      transition: height 500ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .menu > li {
      display: flex;
      justify-content: center;
      margin: 0;
      padding: 0.5em 0;
      width: 100%;
      color: #fff;
      background: linear-gradient(to left,var(--main-color-blue), var(--minor-color-blue));
    }
    .menu li a {
      border-radius: 30px ;
    }
    .part-all {
      width: 100%;
    }
  }
  @media (max-width: 420px) {
    h1 {
      font-size: 24px;
    }
    .part1 p, .part2 p {
      font-size: 14px;
  }
}