* {
    font-family:'Roboto Slab', serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.header {
    background-color: #f8f9fa;
    position: fixed;
    z-index: 999;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 150px;
}

.logo{
    text-decoration: none;
    color: #5a189a;
    font-weight: 700;
        font-size: 1.6em;
    }

.nav-bar a{
    text-decoration: none;
    color: #5a189a;
    font-weight: 500;
    font-size: 1em;
    padding-left: 10px;
}

.nav-bar a:hover{
    color: black    ;
}

section {
    padding: 100px 150px;
}

.hero {
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(#4f0147, #11001c);
    display: flex;
    align-items: center;
}

.hero h2 {
    color: #fff;
    font-size: 1.4em;
    font-weight: 500;
    text-shadow: 0 0 1px black;
}

.hero h2 span{
    display: inline-block;
    margin-top: 10px;
    color: #e0aaff;
    font-size: 3em;
    font-weight: 600;
    text-shadow: 0 0 1px black;
}

.hero h3 {
    color: #fff;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 1px black;
    margin-top: 10px;
    margin-bottom: 30px;
}

.main-btn{
    text-decoration: none;
    background-color: #560bad;
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    text-shadow: 0 0 1px black;
    padding: 0.9375em 2.1875em;
    display: inline-block;
    border-radius: 15px;
    letter-spacing: 1px;
    margin-bottom: 40px;
    transition: 0.7s ease;
}

.main-btn:hover {
    background-color: #3a0ca3;
    transform: scale(1.1);
}

.icon a{
    color: #fff;
    font-size: 1.7em;
    padding-right: 60px;
}

.title {
    display: flex;
    justify-content: center;
    color: #7b2cbf;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
}

.content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    width: 18.25em;
    background-color: #fff;
    box-shadow: 0 5px 25px rgba(1, 1, 1, 15%);
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
    text-align: center;
}

.card:hover {
    transform: scale(1.1);
}

.card .icon {
    margin: 15px;
    color: #7b2cbf;
    font-size: 8em;
}

.info h3 {
    color: #7b2cbf;
    font-weight: 600;
    margin: 15px;

}

.info p {
    font-weight: 400;
}

.projects {
    background-color: #11001c;
}

.projects .content {
    margin-top: 30px;
}
.project-card {
    background-color: #fff;
    border: 1px solid #fff;
    min-height: 14em;
    width: 19.3em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;
}

.project-card:hover {
    transform: scale(1.1);
}

.project-card:hover .project-img {
    opacity: 0.9;
}

.project-img img{
    width: 100%;
}

.project-info {
    padding: 1em;
}

.project-category {
    color: #000;
    font-size: 0.8em;
}

.project-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.7em;
    margin-top: 10px;
}

.details{
    text-decoration: none;
    color: #7b2cbf;
}

.details:hover{
    color: #3c096c;
}

.footer {
    background-color: #11001c;
    color: #fff;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

.footer p {
    color: #fff;
}

.footer p span{
    color: #e0aaff;
}

.footer .icon a{
    font-size: 1.5em;
    padding: 0 12px 0 0;
}

@media (max-width: 1023px) {
    .header {
        padding: 10px 20px;
    }

    .nav-bar a{
        padding-left: 5px;
    }

    section {
        padding: 80px 20px;
    }

    .title {
        font-size: 1.8em;
    }

    .hero h2 {
        font-size: 1em;
    }

    .hero h3 {
        font-size: 1.6em;
    }

    .content {
        flex-direction: column;
        align-items: center;
    }

}

@media (max-width: 641px) {
    body {
        font-size: 12px;
    }

    .hero h2 {
        font-size: 0.8em;
    }

    .hero h3 {
        font-size: 1.4em;
    }
}
