@import url('https://fonts.googleapis.com/css2?family=Rajdhani&family=Teko:wght@300&display=swap');
html {
    scroll-behavior: smooth;
  }
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}
body{
    background-color: #0b0a08;
    margin: 0;
    padding: 0;
    overflow-y: auto; 
    overflow-x: hidden;
    animation: body 8s linear forwards; 
    user-select: none;
}
/* MARS ABOUT FOOON */
.section__background__mars{
    width: 100%;
}
.back__mars__img{
    width: 100%;
    height: 100vh;
    background-image: url(../img/mars__bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* scrollbar */
::-webkit-scrollbar {
    width: 12px;
  }
::-webkit-scrollbar-track {
    background: transparent;
  }
::-webkit-scrollbar-thumb {
    background-image: linear-gradient(to bottom, transparent,#f55200);
    box-shadow:  0 0 30px black;
    border-radius:7px;
  }

/* ЛОГОТИП МАРСА СТИЛИЗАЦИЯ */
.container-mars{
    width: 100%;
    height: 100px;
    display: flex;
    position: absolute;
    top: 0;
    z-index: 3;
    justify-content: flex-end;
}
.container-img-mars{
    background-image: url(../img/mars__logo.png);
    background-size: cover;
    width: 120px;
    height: 120px;
    top: -20px;
    position: relative;
    animation: anim-mars 6s ease-in-out infinite;
}
@keyframes anim-mars{
    70%{
        transform: rotateZ(360deg);
    }
}

/* ГЛАВНАЯ АДАПТАЦИЯ */
@media screen{
    @media (min-width: 768px){
        /* FOOOTER */
        .footer__fon{
            width: 100%;
            height: 100%;
            background-image: url(../img/sarkulov__1100px.png);
            background-size: cover;
            background-position: center;
        }
        /* ЭТАПЫ СЕКЦИЯ 3 */
        .regist__box__registr{ 
            font-size: 2rem;
        }
        .itapi__content{
            max-width: 1000px;
            grid-template-columns: repeat(3 , 1fr);
            grid-template-rows: repeat(1 , 450px);
        }
        /* ALL ABOUT BESTON */
        .about__beston img{
            top: 30px;
        }
        .all__about{
            justify-content: space-between;
        }
        .beston__text__2{ 
            font-size: 4rem;
        }
        /* ФОН МАРСА СЕКЦИЯ 1 */
        .back__mars__img{
            background-position: center;
        }
        /* about__стилизация */
        .all__about{
            max-width: 1000px;
            padding: 16px;
        }
        /* SKEW_MENU */
        .input__container form{
            width: 61%;
            height: 82%;
        }
        .input__one{
            width: 50%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        /* COnt mars */
        .container-mars{
            max-width: 730px;
        }
        .skew-menu ul li {
            font-size: 16px; 
          }
        .skew-menu ul li a {
            padding: 20px 30px;
      } 
      .hamburger-menu{
        display: none;
    }
    .right__skew{
        width: 65%;
        border-radius: 0 0 0 80px;
    }
    }
    @media ( max-width: 767px){
        /* FOOOTER */
        .footer__fon{
            width: 100%;
            height: 100%;
            background-image: url(../img/sarkulov__1100px.png);
            background-size: cover;
            background-position: center;
        }
        /* ЭТАПЫ СЕКЦИЯ 3 */
        .regist__box__registr{ 
            font-size: 1.5rem;
        }
        .itapi__content{
            max-width: 500px;
            grid-template-columns: repeat(1 , 1fr);
            grid-template-rows: repeat(3 , 200px);
        }
        .opisanie___itaps{
            display: flex;
            align-content: center;
        }
        .fr .text__regist{
            height: 100%;
        }
        .fr .logo__regist{
            display: none;
        }
        /* ABOUT-СТИЛИЗАЦИЯ  */
        .about__beston img{
            top: 16px;
        }
        .about__lorem{
            display: none;
        }
        .all__about{
            justify-content: center;
        }
        .beston__text__2{ 
            font-size: 3.5rem;
        }
        /* ФОН МАРСА СЕКЦИЯ 1 */
        .back__mars__img{
            background-position: center;
        }
        /* SKEW _ MENU _ INPUT */
        .left__skew{
            display: none;
        }
        .right__skew{
            width: 100%;
            border-radius: 0;
        }
        .input__container{
            justify-content: center;
        }
        .input__container form{
            width: 50%;
            height: 82%;
        }
        .input__one{
            display: none;
        }
        
        /* NAVBAR + MARsLOGO */
        .container-mars{
            max-width: 600px;
        }
        .skew-menu ul li {
            font-size: 15px; 
          }
        .skew-menu ul li a {
            padding: 16px 24px;
      } 
      .hamburger-menu{
        display: none;
    }
    } 
    @media ( max-width: 580px){
        /* FOOOTER */
        .footer__fon{
            width: 100%;
            height: 100%;
            background-image: url(../img/sarkulov.png);
            background-size: cover;
            background-position: center;
        }
        .regist__box__registr{ 
            font-size: 1.5rem;
        }
        /* ABOUT ВКЛАДКА */
        .about__beston img{
            top: 16px;
        }
        .beston__text__2{
            font-size: 3.5rem;
        }
        /* ФОН МАРСА СЕКЦИЯ 1 */
        .container-img-mars{
            width: 100px;
            height: 100px;
        }
        .container-mars{
            max-width: 600px;
        }
        .skew-menu ul li {
            font-size: 12px; 
          }
        .skew-menu ul li a {
            padding: 16px 20px;
      } 
      .hamburger-menu{
        display: none;
    }
    }
    @media ( max-width: 480px){
        /* FOOOOTER */
        .footer__fon{
            width: 100%;
            height: 100%;
            background-image: url(../img/sarkulov.png);
            background-size: cover;
            background-position: center;
        }
        .regist__box__registr{ 
            font-size: 1.5rem;
        }
        /* ABOUT_Bкладка */
        .about__beston img{
            top: 16px;
        }
        .beston__text__2{
            font-size: 3rem;
        }
        nav.skew-menu{
            display: none;
        }
        .container-mars{
            display: none;
        }
        .hamburger-menu{
            display: block;
        }

        /* FORM */
        .input__container form{
            width: 70%;
        }
    }
}
footer{
    width: 100%;
    height: 130px;
    padding: 6px;
    background-image: linear-gradient(to left, transparent , #8CF4FF);
    background-size: 400% 400%;
    animation: footer-anim 6s linear infinite;
}
@keyframes footer-anim  {
    0%{
        background-position: 0% 50%;
    }
    50%{
        background-position: 100% 0%;
    }
    100%{
        background-position: 0% 100%;
    }
}
/* Навбар */
@keyframes skew__anim{
    0%{
        transform: scale(0.5);
    }
    100%{
        transform: scale(1)
    } 
}
.skew-menu{
    width: 100%;
    margin: 0 auto;
    animation: skew__anim 0.5s linear forwards;
    animation-delay: 4s;
    display: flex;
    position: fixed;
    top: 10px;
    z-index: 5;
    justify-content: center;
}
.skew__menu__container ul{
    justify-content: center;
    display: flex;
    list-style: none;
    transform: skewX(-25deg);
    flex-wrap: nowrap;
}
.skew-menu ul li:first-child{
      border-radius: 8px 0 0 8px;
      border-left: #8CF4FF 4px solid;
      border-bottom:#4c5862 4px solid ;
      box-shadow: #24272a 0 0 10px;
  }
  .skew-menu ul li:first-child:hover{
    border-bottom:#8CF4FF 4px solid ;
  }
.skew-menu ul li:last-child{
      border-radius: 0 8px 8px 0;
      border-right: #8CF4FF 4px solid;
      border-bottom:#8CF4FF 4px solid ;
      box-shadow: #24272a 0 0 10px;
  }
.skew-menu ul li:nth-child(3):hover{
    border-bottom: #8CF4FF 4px solid;
}
.skew-menu ul li:nth-child(2):hover{
    border-bottom: #8CF4FF 4px solid;
}
  .skew-menu ul li {
    font-weight: 700;
    margin-right: 5px;
    letter-spacing: 2px;
    background: transparent;
    float: left;
    text-transform: uppercase;
    color: rgb(160, 158, 158);
    background-color: #24272a;
  }
  .skew-menu ul li:hover{
      background-color: #3C464F;
      color: #8CF4FF;
  }
  .skew-menu ul li a {
      display: block;
      color: inherit;
      text-decoration: none;
      transform: skew(25deg);
} 
/* ABOUT стилизация */
.about__us{
    border-top: #8CF4FF 4px solid;
    width: 100%;
    height: 140px;
    background-image: linear-gradient(to right, transparent 68.5%,#f55200);
    display: flex;
    justify-content: center;
    animation: border__about 10s linear infinite;
}
@keyframes border__about{
    0%{
        transform: rotateZ(0deg);
    }
    25%{
        transform: rotateZ(0.5deg);
    }
    50%{
        transform: rotateZ(0deg);
    }
    75%{
        transform: rotateZ(-0.5deg);
    }
    100%{
        transform: rotateZ(0deg);
    }
}
.all__about{
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
}
.about__beston{
    display: flex;
    color: #f55200;
    cursor: pointer;
}
.about__beston img{
    position: relative;
    width: 25px;
    height: 25px;
    border-radius: 80%;
}
.about__beston h2:hover{
    color: #8CF4FF;
}
.hfour__text{
    height: 60px;
    display: flex;
    cursor: pointer;
    color: #f55200;
    font-size: 2rem;
    background-color: #24272a;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 0 20px black;
    align-items: center;
}

.about__lorem:hover{
    color: #8CF4FF;
    filter: brightness(140%);
}
.about__lorem .hfour__text h4:hover{
    transform: scale(1.1);
    transition: linear 0.2s;
}
.about__lorem__image{
    height: 100%;
    display: block;
}
.about__lorem__image img{
    position: absolute;
    left: 100%;
    display: none;
    top: -30%;
    width: 90px;
    height: 90px;
    filter: brightness(60%);
}
.about__lorem__image img:hover{
    filter: brightness(70%);
    transition: 0.1s linear;
}
.about__lorem__image img:active{
    filter: brightness(40%);
    transition: 0.1s linear;
}
.about__lorem:hover .about__lorem__image img{
    display: block;
} 


/* SKEW ФОНS */
.container__skew{
    display: flex;
    width: 100%;
    height: 450px;
    justify-content: space-between;
}
.left__skew{
    padding: 9px;
    width: 30%;
    height: 100%;
    border-radius: 0 0 80px 0;
    opacity: 0.95;
}
.starlink__back{
    width: 100%;
    height: 100%;
    border-radius: 0 0 80px 0;
    background-image: url(../img/starlink.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.9;
}
.right__skew{
    height: 100%;
    padding: 9px;
}
.input__container{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.skew{
    background-color: rgba(60, 70, 79,0.4);
    box-shadow: 0 0 30px 1px black;
}
/* INPUT */
.feedback-input {
    z-index: 1000;
    letter-spacing: 3px;
    font-weight:500;
    font-size: 18px;
    border-radius: 5px;
    line-height: 22px;
    background-color: #f55200;
    border: 2px #24272a solid;
    opacity: 0.6;
    border-left: #8CF4FF 2px solid;
    border-top: #8CF4FF 2px solid;
    transition: all 0.3s;
    padding: 13px;
    margin-bottom: 15px;
    width:100%;
    box-sizing: border-box;
    outline:0;
  }
  .feedback-input:focus{ 
      border:3px solid #3C464F;
      opacity: 1;
}
.feedback-input:hover{
    opacity: 1;
}
  textarea {
    height: 150px;
    line-height: 150%;
    resize:vertical;
  }
::-webkit-input-placeholder{
    color: #24272a;
}
  [type="submit"] {
    letter-spacing: 3px;
    font-family: 'Teko', sans-serif;
    width: 100%;
    background:#8CF4FF;
    border-radius:5px;
    cursor:pointer;
    color:white;
    font-size:32px;
    padding-top:10px;
    padding-bottom:10px;
    transition: all 0.3s;
    margin-top:-4px;
    font-weight:700;
    opacity: 0.7;
  }
  [type="submit"]:hover { 
      opacity: 1;
      color: #3C464F;
    }
/* Section night */
.itapi{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-image: url(../img/mars__back__night.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
.itapi__content{
    display: grid;
    padding: 9px;
    width: 100%;
}
.fr{
    background-color: rgba(60, 70, 79,0.4);
    box-shadow: 0 0 30px 1px black;
    padding: 9px;
}
.opisanie___itaps{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color:rgb(140,244,255,0.6);
}
.text__regist{
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: center;
}
.text__regist__box{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.regist__box__registr{    /* Регистрация */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50%;
    color: #3C464F;
    font-weight: 700;
}
.img__regist__box{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50%;
}
.planets{
    position: relative;
    width: 100px;
    height: 100px;
}
.moon__logo{
    position: relative;
    width: 160px;
    height: 160px;
}
/* LOGO REGIST */
.logo__regist{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px 15px 15px;
}
.regist{
    width: 90%;
    height: 100%;
    background-image: url(../img/doc__logo.png);
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}
.astronaut{
    width: 90%;
    height: 100%;
    background-image: url(../img/astronaut__logo.png);
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}
.rockets{
    width: 90%;
    height: 100%;
    background-image: url(../img/rocket__logo.png);
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}
.rotate__logo{
    animation: planets__rotate 14s linear infinite;
}
@keyframes planets__rotate{
    100%{
        transform: rotateZ(360deg);
    }
}
/* BURGER!!! ****************************************/
#menu__toggle {
    opacity: 0;
  }
  
  #menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(45deg);
  }
  #menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
  }
  #menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }
  #menu__toggle:checked ~ .menu__box {
    visibility: visible;
    left: 0;
  }
  
  .menu__btn {
    display: flex;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 20px;
  
    width: 40px;
    height: 40px;
  
    cursor: pointer;
    z-index: 1;
  }
  
  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    display: block;
    position: absolute;
  
    width: 100%;
    height: 2px;
  
    background-color: #8CF4FF;
  
    transition-duration: .25s;
  }
  .menu__btn > span::before {
    content: '';
    top: -8px;
  }
  .menu__btn > span::after {
    content: '';
    top: 8px;
  }
  
  .menu__box {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: -100%;
  
    width: 300px;
    height: 100%;
  
    margin: 0;
    padding: 80px 0;
  
    list-style: none;
  
    background-color: rgba(49, 49, 49, 0.8);
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
  
    transition-duration: .25s;
  }
  
  .menu__item {
    display: block;
    padding: 12px 24px;
  
    color: #CFD8DC;
  
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
  
    text-decoration: none;
  
    transition-duration: .25s;
  }
  .menu__item:hover {
    background-color: #233335;
  }
  .hamburger-menu{
    z-index: 999;
    position: absolute;
  }
/* preload ***************************************/
.preloader{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: black;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    justify-content: center;
    align-items: center;
    display: flex;
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    animation: rotate 2.5s linear infinite;
}
.circle2 {
    box-shadow: 0px 5px 5px 3px #ff6004;
}
@keyframes rotate {
    100%{
        transform: rotate(360deg);
    }
}
/* когда preload кончит */
.done{
    opacity: 0;
    visibility: hidden;
}





