html{
  background-image: url("bg.jpg");
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10vh;
  }
  #strona{
    min-height: 100%;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    align-items: center;
    color: white;
}
  header {
    padding: 30px;
    text-align: center;
    font-size: 35px;
    color: white;
    border-radius: 20px 20px 20px 20px;
    border: solid 2px;
    border-color: #00ff90;
  }
  header h2{
    color: #eeeeee;
  }
  nav {
    float: left;
    width: 100%;
    padding: 20px;
  }
  nav h1{
    text-shadow: 0px 0px 6px rgba(0, 0, 0, 1);
  }
  nav h1 a{
    color:#272727;
    font-weight: bold;
  }
  nav ul {
    list-style-type: none;
    padding: 5px;
  }
  nav ul li{
    padding: 10px;
    display: inline-block;
  }
  nav ul li a{
    color: #272727;
    font-weight: bold;
    background-color: #88A79A;
    padding: 10px;
    border-radius: 50px;
    border: 1px solid #88A79A;
    text-decoration: none;
    transition: 0.5s;
    display: inline-block;
  }
  nav ul li a:hover{
    color: #00ff90;
    font-weight: bold;
    background-color: transparent;
    padding: 1vh;
    border-radius: 50px;
    border-color: #00ff90;
    text-decoration: none;
    transition: 0.5s;
    display: inline-block;
    box-shadow: 0px 0px 4px #00ff90;
  }
  
  article {
    float: left;
    width: 70%;
    height: 300px; 
    color: #eeeeee;
    padding: 20px
  }
  section::after {
    content: "";
    display: table;
    clear: both;
  }
  section p{
    font-size: 2em;
  }
  footer {
    background-color: #00ff90;
    padding: 10px;
    text-align: center;
    color: #272727;
    font-weight: bold;
    border-radius: 20px 20px 20px 20px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
  }
  @media (max-width: 770px){
    .box{
      position: relative;
      width: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #181a1b;
      overflow: hidden;
      border-radius: 20px;
      padding: 20px;
    }
    .box::before{
      content: '';
      position: absolute;
      width: 100%;
      height: 20%;
      background: linear-gradient(#00ff90, #88A79A);
      animation: animate 10s linear infinite;
      padding-right: 50px;
      padding-left: 50px;
    }
    .box::after{
      content: '';
      position: absolute;
      background: #181a1b;
      inset: 4px;
      border-radius: 16px;
    }
    @keyframes animate{
      0%{
        transform: rotate(0deg);
      }
      100%{
        transform: rotate(360deg);
      }
    }
    .box h2{
      position: relative;
      color: #eeeeee;
      font-size: 3em;
      z-index: 10;
    }
  }
  @media (max-width: 600px) {
    nav, article {
      width: 100%;
      height: auto;
    }
    header {
      background-color: transparent;
      padding: 30px;
      text-align: center;
      font-size: 35px;
      color: white;
      border: none;
    }
    header h2{
      color: #eeeeee;
    }
    article p{
      color: #eeeeee;
      font-size: 15px;
      text-shadow: 0px 0px 6px rgba(0, 0, 0, 1);
    }
    article p a{
      color: #00ff90;
      font-weight: bold;
    }
  }
  #titleh2{
    color: #00ff90;
    font-size: 75px;
    padding-bottom: 0px;
    text-shadow: 0px 0px 30px rgba(66, 68, 90, 1);
  }
  #articleh1{
    font-size: 30px;
    text-shadow: 0px 0px 6px rgba(0, 0, 0, 1);
  }
  article p{
    color: #eeeeee;
    font-size: 25px;
    text-shadow: 0px 0px 6px rgba(0, 0, 0, 1);
  }
  article p a{
    color: #00ff90;
    font-weight: bold;
  }
  .myButton {
    background-color: #88A79A;
    border-radius:42px;
    display:inline-block;
    cursor:pointer;
    color:#272727;
    font-family: Tahoma, sans-serif;
    font-size:28px;
    font-weight:bold;
    padding:10px 30px;
    text-decoration:none;
    transition: 0.5s;
}
.myButton:hover {
    background-color: transparent;
    transition: 0.5s;
    border: solid 1px #00ff90;
    color: #00ff90;
}
* {
  scrollbar-width: auto;
  scrollbar-color: #00ff90;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: #272727;
}

*::-webkit-scrollbar-thumb {
  background-color: #00ff90;
  border-radius: 10px;
}
.main_title{
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
}
.box {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #181a1b;
  overflow: hidden;
  border-radius: 20px;
}

.box::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 70%;
  background: linear-gradient(#00ff90, #88A79A);
  animation: animate 10s linear infinite;
}

.box::after {
  content: '';
  position: absolute;
  background: #181a1b;
  inset: 4px;
  border-radius: 16px;
}

.box h2 {
  position: relative;
  color: #eeeeee;
  font-size: 3em;
  z-index: 10;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 2s steps(30);
}
@keyframes animate{
  0%{
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(360deg);
  }
}
@keyframes typing {
  from {
    width: 0;
  }
}
@media (max-width: 1028px){
  .box {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #181a1b;
    overflow: hidden;
    border-radius: 20px;
    margin: auto;
  }
  
  .box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 70%;
    background: linear-gradient(#00ff90, #88A79A);
    animation: animate 10s linear infinite;
  }
  
  .box::after {
    content: '';
    position: absolute;
    background: #181a1b;
    inset: 4px;
    border-radius: 16px;
  }
  
  .box h2 {
    position: relative;
    color: #eeeeee;
    font-size: 1em;
    z-index: 10;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 2s steps(30);
  }
  @keyframes animate{
    0%{
      transform: rotate(0deg);
    }
    100%{
      transform: rotate(360deg);
    }
  }
  @keyframes typing {
    from {
      width: 0;
    }
  }
}