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

body{
    background:#000021;
    color:white;
}

/* NAVBAR */

nav{
    background:#12123E;
    height:70px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 8%;
    position:relative;
}

.left{
    font-size:1.4rem;
    font-weight:600;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin:0 15px;
}

nav ul li a{
    text-decoration:none;
    color:white;
}

nav ul li a:hover{
    color:#9898de;
}

.menu-toggle{
    display:none;
    font-size:28px;
    cursor:pointer;
}

/* HERO */

.first{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:80px 8%;
    gap:40px;
}

.first > div{
    flex:1;
}

.purpule{
    color:#ac72e1;
}

#element{
    color:#ac72e1;
}

.hero-desc{
    margin-top:15px;
    font-size:1rem;
    color:gray;
}

.rightSection img{
    width:100%;
    max-width:350px;
}

/* SECTIONS */

.second, .projects, .contact{
    width:90%;
    margin:auto;
    padding:60px 0;
    text-align:center;
}

.box{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:30px;
    margin-top:40px;
}

.vertical{
    width:250px;
    background:#12123E;
    padding:20px;
    border-radius:10px;
    transition:0.3s;
}

.vertical:hover{
    transform:translateY(-8px);
}

.projects a{
    text-decoration: none;
    display: inline-block;
    width:250px;
    background:#12123E;
    border-radius:10px;
    transition:0.3s;
}
.img-top{
    width:60px;
    margin-bottom:15px;
}

.vertical-title{
    color: white;
    font-weight:600;
    margin-bottom:10px;
}

.vertical-desc{
    color:gray;
    font-size:0.9rem;
}

/* CONTACT */

.contact a{
    color:#ac72e1;
    text-decoration:none;
}

/* MOBILE */

@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .right{
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:#12123E;
        display:none;
    }

    .right.active{
        display:block;
    }

    nav ul{
        flex-direction:column;
        padding:20px 0;
        text-align:center;
    }

    nav ul li{
        margin:15px 0;
    }

    .first{
        flex-direction:column;
        text-align:center;
    }

    .rightSection img{
        max-width:250px;
    }
}