* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.hero {
    background-image: url(./images/buc1.png);
    background-repeat: no-repeat;
    background-size: cover;
    
    padding: 40px 80px 0;

}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.menu a {
    color: white;
    text-decoration: none;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 0;
}

.text-block h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.text-block p {
    width: 500px;
    line-height: 1.6;
}

.btns {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.btns button {
    padding: 12px 25px;
    border-radius: 30px;
    border: 1px solid white;
    background: transparent;
    color: white;
}

.phones-top img,
.phone-middle img {
    width: 280px;
}

.wave {
    height: 120px;
    background: white;
    border-top-left-radius: 50% 100px;
    border-top-right-radius: 50% 100px;
}

.functions {
    text-align: center;
    padding: 80px;
}

.content-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.left-items,
.right-items {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 250px;
    text-align: left;
}

.footer {
    margin-top: 80px;
    background: linear-gradient(135deg, #7a3ff2, #c35cf0);
    color: white;
    padding: 50px 80px;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 510px) 

    {
.hero{
    width: 100%;
    background-color: #7a3ff2;
    background-image: none;
}

.menu{display: none;}
    .hero-content,
    .content-center,
    .footer {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        width: 100%;
    }

    .text-block p {
        width: 100%;
    }
}