@media screen and (min-width: 320px) and (max-width: 1020px) {
  .preloader {
    transition: 0.5s ease;
  }

  .done {
    top: 0;
    opacity: 0;
    border-bottom: none;
  }

  .done .smi {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  .info,
  .popup,
  .firt {
    display: none;
  }

  .logo:hover {
    transform: none;
  }

  #menu-close:hover {
    transform: none;
  }

  .menu-links {
    width: 100%;
  }

  #mobile-menu {
    transition: none;
  }

  .menu-links a {
    color: #000;
    padding: 20px;
    margin-top: 40px;
    white-space: nowrap;
    width: 100%;
  }

.pon{
  margin-top: 40px;
}

  .ok {
    background: #0093af;
  }

  .oka {
    background: #20b2aa;
  }

  #menuToggle li {
    left: 40%;
    top: 20%;
  }

  .contentwel h2 {
    font-size: 140px;
  }

  .allabim h2 {
    top: -20px;
    text-shadow: none;
    animation: none;
  }

  .allabim p {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    font-size: 20px;
  }

  .stav {
    margin-top: 0px;
  }

  .stavbox {
    position: absolute;
    width: 35%;
    height: 60%;
    right: 0;
    top: 360px;
    background: #000;
    padding: 70px;
    color: #fff;
    font-weight: 700;
    border-radius: 20px;
    font-size: 35px;
    overflow: hidden;
    transform: translate(-0%, -50%);
    z-index: 2;
    align-items: center;
    justify-content: center;
    justify-items: center;
    display: flex;
  }

  .stavbox p {
    font-family: "Josefin Sans", sans-serif;
    position: absolute;
    z-index: 3;
    margin: 10px;
  }

  .imsta {
    position: absolute;
    left: -50px;
    top: 130px;
    width: 480px;
    height: 380px;
    z-index: 1;
  }

  .alho {
    display: none;
  }

  .anoh {
    height: 600px;
  }

  .anh {
    font-size: 60px;
  }

  .anmy1,
  .anmy2 {
    width: 325px;
    letter-spacing: 0px;
    background: transparent;
    -webkit-text-fill-color: #0093af;
    top: 80px;
    text-shadow: none;
  }

  .mainpro {
    font-size: 250px;
    color: white;
  }

  .mainpropa {
    font-size: 120px;
    color: #20b2aa;
  }

  .progis {
    font-size: 90px;
    color: white;
  }

  .glbsas li {
    text-decoration: none;
    margin-top: 40px;
  }

  .glbsas li a:hover {
    letter-spacing: 0px;
  }

  .lastsli {
    font-size: 40px;
    color: white;
  }

  .text-wrapper {
    margin-bottom: 220px;
  }

  .text-wrapper h1 {
    font-size: 120px;
  }

  .im h1 {
    letter-spacing: 40px;
  }

  .allabim h2 {
    top: -15px;
  }

  .anmy1,
  .anmy2 {
    top: 10px;
  }

  .porsti {
    width: 0;
    height: 0;
    animation: none;
  }

  .pulse-button:hover {
    transform: none;
  }

  .paskakon {
    margin-top: -150px;
  }

  .contaks a svg:hover {
    transform: none;
    opacity: 1;
  }
}

@media screen and (min-width: 100px) and (max-width: 600px) {
  html {
    scroll-behavior: auto;
  }

  .pulse-button:hover {
    transform: none;
  }

  .pulse-button {
    bottom: 0;
    right: 0;
  }

  .info,
  .popup,
  .firt {
    display: none;
  }

  .letter {
    font-size: 70px;
  }

  .menu-links {
    width: 100%;
  }

 

  #mobile-menu {
    transition: none;
  }

  .menu-links a {
    color: #000;
    padding: 20px;
    margin-top: 40px;
    white-space: nowrap;
  }

  .ok {
    background: #0093af;
  }

  .oka {
    background: #20b2aa;
  }

  #main {
    bottom: 100px;
    position: relative;
  }

  .welomp {
    background-attachment: scroll;
    background: #000;
    overflow: visible;
    height: 550px;
    bottom: 0px;
  }

  .contentwel {
    position: absolute;
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);
  }

  .contentwel h2 {
    font-size: 60px;
  }

  .welomp h1 {
    position: absolute;
    font-size: 450px;
    color: #0093af;
    opacity: 0.7;
    visibility: visible;
    left: 50%;
    top: 10%;
    transform: translate(-50%, -50%);
    font-family: sans-serif;
    z-index: 5;
  }

  .logo {
    right: 0;
  }

  .logo:hover {
    transform: none;
    box-shadow: none;
  }

  .stav {
    top: 0px;
  }

  .stavbox {
    position: absolute;
    width: 100%;
    height: 50%;
    right: 0;
    top: 360px;
    background: #20b2aa;
    padding: 70px;
    color: #000;
    font-weight: 700;
    border-radius: 20px;
    font-size: 35px;
    overflow: hidden;
    transform: translate(-0%, -50%);
    z-index: 2;
    align-items: center;
    justify-content: center;
    justify-items: center;
    display: flex;
  }

  .stavbox p {
    font-family: sans-serif;
    position: absolute;
    z-index: 3;
    padding: 10px;
  }

  .imsta {
    position: absolute;
    display: none;
  }

  .srosti {
    margin-bottom: 20px;
    margin-top: -100px;
  }

  .srosti h3 {
    white-space: nowrap;
    font-size: 28px;
  }

  .srosti i {
    position: absolute;
    top: 200px;
    font-size: 30px;
    transition: 0.5s ease;
    animation: sroiti 1s ease infinite;
    color: #20b2aa;
  }

  .mainpro {
    font-size: 150px;
    color: white;
  }

  .mainpropa {
    font-size: 70px;
    color: #20b2aa;
  }

  .progis {
    font-size: 48px;
    color: white;
  }

  #main {
    position: relative;
    bottom: 60px;
  }

  main {
    height: 300vh;
  }

  .slides .slide {
    height: 75vh;
  }

  .glbsas {
    position: absolute;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(10px);
    height: 250px;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    border-radius: 0px;
  }

  .glbsas li {
    text-decoration: none;
    margin-top: 0px;
  }

  i {
    text-shadow: none;
  }

  .lastsli {
    font-size: 30px;
    color: white;
  }

  .lita {
    font-size: 30px;
  }

  .glbsas li a:hover {
    letter-spacing: 0px;
  }

  .porsti {
    width: 0;
    height: 0;
    animation: none;
  }

  .text-wrapper {
    top: -30px;
    margin-bottom: -100px;
  }

  .text-wrapper h1 {
    font-size: 55px;
  }

  .im h1 {
    letter-spacing: 10px;
  }

  .allabim h2 {
    top: -15%;
  }

  .allabim p {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-size: 17px;
  }

  main {
    margin-bottom: 300px;
  }

  .anoh {
    margin-top: 50px;
  }

  .alho {
    display: none;
  }

  .anmy1,
  .anmy2 {
    top: 80px;
    width: 175px;
    font-size: 22px;
    text-shadow: none;
  }

  .wavesah {
    position: absolute;
    width: 0%;
    height: 0vh;
    margin-bottom: -7px;
    /*Fix for safari gap*/
    min-height: 200px;
    max-height: 150px;
    z-index: 1;
    left: 0;
    bottom: 0;
  }

  .anh {
    font-size: 35px;
  }

  .custom-btn {
    margin: 15px;
  }

  .im {
    background: #000;
    margin-top: -200px;
  }

  .area {
    height: 200px;
  }

  .paskakon {
    margin-top: -250px;
    margin-bottom: 0px;
  }

  .contaks {
    border-radius: 0px;
  }

  .contaks h1 {
    font-size: 80px;
  }

  .contaks a svg:hover {
    transform: none;
    opacity: 1;
  }

  #mobile-menu {
    width: 100%;
  }

}

@media screen and (min-width: 280px) and (max-width: 376px) {
  .anmy1,
  .anmy2 {
    width: 150px;
    font-size: 20px;
  }

  .alert p {
    font-size: 19px;
    width: 100%;
    top: 55px;
  }

  .anh {
    top: 0;
    font-size: 35px;
    transform: none;
  }

  .text-wrapper {
    top: -30px;
    margin-bottom: -10px;
  }
}

/* CSS for desktop and tablet */
@media screen and (min-width: 1020px) and (max-width: 3000px) {
  #menu-toggle {
    display: none;
  }



  #mobile-menu {
    position: fixed;
    height: 50px;
    width: 500px;
    background: #000;
    border-radius: 30px;
    box-shadow: none;
    top: 15px;
    left: 20px;
    font-family: "Dosis", sans-serif;
    transition: 0.5s ease;
  }

  #mobile-menu:hover {
    transform: scale(0.95);
  }

  .menu-links {
    flex-direction: row;
  }

  #menu-close {
    opacity: 0;
  }

  .menu-links a {
    text-decoration: none;
    color: #fff;
    padding: 10px;
    display: block;
    position: relative;
    border-radius: 5px;
    transition: all 0.5s ease;
    text-align: center;
    margin-top: 5px;
    white-space: nowrap;
  }

  .sim {
    font-size: 28px;
  }

  .menu-links a:hover {
    background: none;
    color: #fff;
    transform: none;
    transition: all 0.3s ease;
  }

  .menu-links a::before {
    content: "";
    bottom: 10px;
    right: 0;
    position: absolute;
    width: 0%;
    height: 1.5px;
    background-color: #20b2aa;
    transition: 0.2s;
  }

  .menu-links a:hover:before {
    width: 100%;
    left: 0;
  }

  #mobile-menu h1 {
    font-size: 0px;
  }

  .portfolio-parent {
    transition: all 3s ease;
  }

  .submenu {
    visibility: hidden;
    position: absolute;
    top: 84%;
    left: -200px;
    background: #000;
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 0px 0px 20px 20px;
  }

  .portfolio-parent:hover .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    z-index: 3;
    left: 67px;
  }

  .submenu li {
    display: block;
  }

  .submenu a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #20b2aa;
    font-size: 23px;
  }
}

/* CSS for mobile */
@media screen and (min-width: 100px) and (max-width: 1024px) {
  #menu-toggle {
    display: block;
  }

  #mobile-menu {
    position: fixed;
    height: 100%;
    width: 100%;
    background: #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    left: -100%;
  }

  .menu-links {
    flex-direction: column;
  }

  #menu-close {
    opacity: 1;
    z-index: 999;
  }

  .submenu {
    display: none;
    position: absolute;
    top: 225px;
    left: 50%;
    transform: translate(-50%);
    background: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    text-align: center;
    flex-direction: row;
    list-style: none;
    padding: 0;
  }

  .sim{
    z-index: 4;
  }

.submenu li a{
  position: relative;
  top: 100px;
  opacity: 0;
  z-index: 3;
}

  .portfolio-parent:hover .submenu {
    display: block;
    opacity: 1;
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 0;
  }

.portfolio-parent:hover .submenu li a{
  top: 0;
  opacity: 1;
}


.portfolio-parent:hover .ok{
margin-bottom: 70px;
}

  .submenu li {
    display: inline-block;
  }

  .submenu a {
    display: inline-block;
    padding-right: 10px;
    text-decoration: none;
    color: #20b2aa;
  }

  .submenu li {
    display: inline-block;
  }
}






@media screen and (min-width: 100px) and (max-width: 600px){

.submenu{
  flex-direction: column;
}

  .portfolio-parent:hover .submenu {
    opacity: 1;
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
  }

.submenu {
  top: 255px;
}

  .submenu li a{
    position: relative;
    opacity: 0;
    z-index: 3;
    margin: 0;
    padding: 3px;
    font-size: 24px;
  }

  .portfolio-parent:hover .ok{
    margin-bottom: 100px;
    }
}