@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 {
    border-radius: 100px;
    max-width: 550px;
    padding: 50px;
}

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

.container {
    width: 90%; 
    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;
}

.hero---info {
    width: 530px;
    padding-top: 50px;
}

.hero---info h1 {
    font-size: 50px;
    font-weight: 600;
}

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

.hero---info .btn {
    margin-top: 30px;
    background: #2022d9;
    color: #ffffff;
    border-radius: 50px;
    padding: 15px 30px;
    border: 0;
    transition: 500ms ease;
}

.hero---info .btn:hover {
    cursor: pointer;
    transform: scale(1.1);
}

/* Hero Section */

.hero img {
    position: absolute;
    top: 90px;
    right: 150px;
}

/* Footer */
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) {
    
    .container {
        width: 90%; 
    }


    /* Hero Section */
    .hero {
        padding-bottom: 50px;
    }

    .hero---info {
        width: 100%;
        padding-top: 20px;
        text-align: center;
    }

    .hero---info h1 {
        font-size: 32px;
    }

    .hero---info h1 {
        line-height: 1.4;
        margin: 20px 0;
    }

    .hero---info .btn {
        margin-top: 20px;
        padding: 12px 25px;
    }

    .hero img {
        position: static;
        max-width: 90%;
        padding: 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;
    }
}