@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #fff;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: #fff;
    color: inherit;
}

img {
    max-width: 100%;
}

.wrapper {
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(32, 34, 217, 1) 100%);
    width: 100%;
}

.container {
    width: 100%; 
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 15px; 
}

header {
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    align-items: center;
}

header .logo {
    text-transform: uppercase;
    font-size: 24px; 
    font-weight: 800;
}

header nav {
    width: 100%; 
    text-align: center; 
    order: 1; 
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around; 
    padding: 0;
    margin: 15px 0 0;
    flex-wrap: wrap; 
}

header nav ul li {
    display: inline-block;
    margin: 5px 0; 
}

header nav ul li a {
    color: #fff;
    display: block; 
    padding: 5px 10px; 
}

header nav ul li.active::after {
    content: '';
    display: block;
    width: 30px; 
    height: 3px; 
    background: #2022d9;
    border-radius: 10px;
    position: relative;
    top: 5px; 
    left: 50%;
    transform: translateX(-50%); 
}

header nav ul li:not(.active):not(.btn) a:hover {
    border-bottom: 3px solid #2022d9;
}

header nav ul li.btn a {
    background: #2022d9;
    padding: 7px 13px; 
    border-radius: 5px;
    transition: all 500ms ease;
}

header nav ul li.btn a:hover {
    background: #0d0e83;
}

.hero {
    padding-bottom: 100px;
}

.text-container img {
    height: 100px;
    width: 100px;
}

.text-container {
    width: 530px;
    padding-top: 50px;
    margin-bottom: 100px;
}

.text-container h1 {
    font-size: 50px;
    font-weight: 600;
}

.text-container h1 {
    font-weight: 500;
    line-height: 170%;
    margin: 30px 0;
}


.image-container {
    position: absolute;
    top: 100px;
    right: 200px;
    height: 350px;
    width: 500px;
}



.features {
    background: url("/img/ночной\ город\ main\ 1.png") no-repeat center center fixed;
    background-size: cover;
    padding: 80px 0;
    margin-top: 30px;
}

.features h1,
.features p {
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features .info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.features .info .block {
    text-align: center;
    width: 20%;
    margin: 30px 2%;
}

.features .info .block img {
    margin-bottom: 15px;
}

.container-prod {
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container-prod a {
    text-decoration: none;
}

.container-prod h1 {
    text-align: center;
    color: #ffffff;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
}

.features h2 {
    text-align: center
}

.feature {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature h2 {
    color: #333;
    margin-bottom: 10px;
}

.feature p {
    color: #555;
}

.feature img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 5px;
}

.container-price{
    display: flex;
    flex-direction: row;
}

.container_list {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 400px;
    width: 100%;
    margin-left: 100px;
}

.container_list h2{
    color: #000000;
}

.container_list h5{
    color: #000000;
}

.title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

.list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.list li {
    position: relative;
    padding: 10px 0;
    font-size: 1.2em;
    color: #555;
    transition: transform 0.3s ease, color 0.3s ease;
}

.list li::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #bc2e2e, #4c79c2);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.list li:hover {
    transform: scale(1.05);
    color: #333;
}

.list li::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d3d3d3, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.list li:hover::after {
    opacity: 1;
}

.pre-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 150px;
    margin-top: 20px;
}


 .features-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    width: 90%;
    
  }

  .feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 200px;
  }

  .feature-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #fff;
  }

  .feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
  }

  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  }

  .oao h1{
    text-align: center;
    color: #ffffff;
    margin: 70px;
  }

  .oaoao h1{
    text-align: center;
    color: #ffffff;
    margin: 70px;
  }

/* Footer */
.site-footer {
    margin-top: 4rem;
    padding: 3rem 0;
    background: rgba(12, 2, 68, 0.9);
}

footer {
    background: #000000;
    padding: 50px;
    margin-top: 50px;
}

footer .blocks{
    display: flex;
    justify-content: space-between;
}

footer .logo{
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 800;
}

footer .blocks p{
    width: 300px;
    margin: 15px 0;
}

footer .blocks h4{
    font-weight: 500;
    font-size: 17px;
}

footer .blocks ul{
    list-style: none;
}

footer .blocks ul li{
    margin-top: 7px;
    opacity: 0.8;
}

hr{
    margin-top: 20px;
}

@media (max-width: 767px) {

    .hero {
        padding-bottom: 50px; 
    }

    .text-container {
        width: 90%; 
        padding-top: 30px; 
        margin-bottom: 50px; 
        text-align: center; 
        padding-left: 25px;
    }

    .text-container img {
        height: 70px; 
        width: 70px;
    }

    .text-container h1 {
        font-size: 2.5em; 
        line-height: 1.2; 
        margin: 20px 0; 
    }

    .image-container {
        position: static; 
        width: 100%; 
        height: auto; 
        text-align: center; 
        padding-top: 20px;
    }

    .image-container img {
        max-width: 90%; 
        height: auto;
    }

    .container {
        width: 90%; 
    }

    .container-price {
        flex-direction: column;
        padding: 30px;
    }

    .container_list {
        width: 90%; 
        max-width: none; 
        margin-left: auto; 
        margin-right: auto;
        margin-bottom: 20px; 
    }

    .title {
        font-size: 2em; 
    }

    .list li {
        font-size: 1em; 
    }

    .list li::before{
        width: 15px;
        height: 15px;
        left: -20px;
    }

    /* Footer */
    footer {
        padding: 30px; 
        text-align: center; 
    }

    footer .blocks {
        flex-direction: column;
        align-items: center;
    }

    footer .blocks p {
        width: 100%;
        max-width: 300px;
        margin: 10px 0;
    }

    footer .logo {
        font-size: 24px;
    }

    footer .blocks{
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    footer .blocks ul{
        display: flex;
        flex-direction: column;
        align-items: center;

    }
}

@media (min-width: 767px) {

    /* Header */
    header {
        flex-wrap: nowrap;
    }

    header nav {
        width: 50%;
        text-align: right;
        order: 0;
    }
}