/*
(с) Мир принадлежит терпеливым,десятка достается выносливым.
*/


@font-face {
    font-family: 'Aeroport';
    src: url('fonts/Aeroport-Medium.woff2') format('woff2'),
        url('fonts/Aeroport-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aeroport';
    src: url('fonts/Aeroport-Light.woff2') format('woff2'),
        url('fonts/Aeroport-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Unbounded';
    src: url('fonts/Unbounded-Regular.woff2') format('woff2'),
        url('fonts/Unbounded-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Анимации*/
@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    animation: fadeInUp 1s ease forwards;
}

/*Говорящий рачок*/
.hover-area{
    position: absolute;
    /* позиционирование*/
    left: 55%;
    margin-top: 30%;
    width: 35%;
    height: 40%;
    background: transparent;
    cursor: pointer;
    z-index: 2;
    
    /*background:rgba(0, 0, 0, 0.5)*/
}

.comic-cloud {
    position: absolute;
    /* Настройка позиционирования облачка*/
    left: 35%;
    margin-top: 35%;
    max-width: 260px;
    opacity: 0;
    visibility: hidden;
    z-index: 3;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.hover-area:hover ~ .comic-cloud {
    opacity: 1;
    visibility: visible;
    display: block;
}

/* Остальное */
body {
    font-family: 'Aeroport';
    font-weight: 300;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.btn-up {
    position: fixed;
    background-color: #f90879;
    right: 20px;
    bottom: 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex
;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 50px;
    z-index: 100;
}

.header {
    animation: scaleIn 0.8s ease-out forwards;
    height: 1000px;
    background-color: #B1E5F4;
    background-image: url(images/rak.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 800px;

}

.heading {
    position: relative;
    animation: fadeInUp 0.8s ease-out forwards;
    font-family: 'Unbounded';
    font-size: 84px;
    color: #141414;
    line-height: 140px;
    padding-top: 100px;
    position: relative;
}

.school-text {
    position: relative;
    
}

.inline-aside {
    animation: fadeInUp 0.8s ease-out forwards;
    position: absolute;
    left: calc(100% + 20px);
    top: 20%;
    transform: translateY(-50%);
    
    font-weight: 500;
    font-family: 'Aeroport';    
    color: #141414;
    text-decoration: none;
    font-size: 16px;
    line-height: 15px;
    width: 296px;
    padding-left: 15px;
    padding-top: 25px;
}

.introduction {
    max-width: 300px;
    line-height: 14px;
    font-weight: 500;
}
.container {
    max-width: 1300px;
    margin: 0 auto;
}
.menu-item {
    margin-left: 50px;
}

.menu-item a {
    font-family: 'Aeroport';    
    color: #141414;
    text-decoration: none;
    font-size: 16px;

}
.header-menu {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    line-height: 14px;

}
.menu {
    display: flex;
}



.mission {
    animation: fadeInUp 0.8s ease-out forwards;
    height: 306px;
    display: flex;
    flex-wrap: wrap;
}

.title {
    font-family: 'Unbounded';
    font-size: 30px;
    /* max-width: 318px; */
    line-height: 58px;
    padding-top: 70px;
    display: flex;
    margin-right: 40px;
}

.title h2 {
    font-size: 64px;
    margin-bottom: 15px;
}

.mission-description {
    animation: fadeInUp 0.8s ease-out forwards;
    padding-top: 84px;
    align-items: left;
    max-width: 276px;
    line-height: 14px;
    margin-left: 55px;
}
.logo img {
    width: 400px;
    margin-top: -30px;
}
.mission-description-continue {
    animation: fadeInUp 0.8s ease-out forwards;
    padding-top: 84px;
    align-items: left;
    max-width: 276px;
    line-height: 14px;
    margin-left: 55px;
}

.mission-first {
    animation: fadeInUp 0.8s ease-out forwards;
    margin-left: -60px;
    width: 300px;
}

.safety {
    position: relative;
    background-image: url(images/crab_on_a_string.jpg);
    background-size: cover;
    color: #fff;
}

.safety-wrapper {
    animation: scaleIn 0.8s ease-out forwards;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 900px;
    padding: 20px;
}

.safety-heading {
    display: flex;
    align-items: end;
}

.safety-heading h2, .safety-footer h2 {
    font-family: 'Unbounded';
    font-size: 165px;
    font-weight: 400;
    line-height: 0.85;
    color: #fff;
}

.safety-content {
    margin-left: -150px;
    max-width: 285px;
}

.safety-content p {
    font-size: 16px;
    line-height: 1.1;
    color: #fff;
    font-weight: 400;
}


.safety-content button {
    display: inline-block;
    padding: 1px 16px 7px 16px;
    background: none;
    border-radius: 25px;
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    font-size: 24px;
    font-family: 'Aeroport';
    text-transform: lowercase;
    margin-top: 11px;
}

.cards {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.card {
    animation: scaleIn 0.8s ease-out forwards;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: calc(100% / 3 - 28px)
}
.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
.btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px 0 0 0;
    background: #fff;
    border-radius: 25px;
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #000000;
}

.btn:hover {
    background-color: #000000;
    border-color: #000000;
    color: #fff;
}

.signup {
    background-color: #D9D9D9;
}

.signup .container {
    background-image: url(images/arrow.png);
    background-repeat: no-repeat;
    background-position: right 20px;
}



.form-container {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    width: 300px; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.description {
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  
  .form-group {
    margin: 0 0 15px 0;
    width: 400px;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"] {
    width: 100%;
    padding: 12px 33px;
    border: 2px solid #000000;
    border-radius: 50px; 
    font-size: 28px;
    font-family: 'Aeroport';
    font-weight: 300;
  }
  
  button:hover {
    background-color: #ccc; 
  }

  .signup .introduction {
    max-width: 550px;
    font-weight: 300;
    margin-bottom: 47px;
  }
 
  .signup .btn {
    background-color: initial;
    font-size: 28px;
    font-family: 'Aeroport';
    font-weight: 300;
    border-radius: 50px; 
    cursor: pointer;
  }

  .signup .btn:hover {
    background-color: #000000;
    border-color: #000000;
    color: #fff;
  }
  
  .modal {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}
  
.modal.active {
    display: block;
}

.modal-fader {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.modal-window {
    position: relative;
    width: 600px;
    border-radius: 20px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
}
  
  .close-window {
    position: absolute; 
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
  }
  
  .close-window:hover {
    color: #333;
  }
  


  .name {
    display: flex;
    
  }

  .name .rope {
    margin-right: 250px;
  }

  .footer {
    display: flex;
    padding: 20px 0 70px 0;
}

.social {  
    display: flex;
    flex-direction: column; 
    margin-right: 405px;
}

.social a {
    text-decoration: none;
    color: #000;
    margin-bottom: 45px; 
}


.social a:last-child {
  margin-bottom: 0;
}

.partners p {
  margin-bottom: 10px; 
}

.srcoll img {
    max-width: 900px;
    border-radius: 50px;
}

.slick-initialized .slick-slide {
    display: flex;
    justify-content: center;
}

.srcoll-items {
    margin-bottom: 50px;
}